1!function(){function t(){var e=qe([":@@logout\u241fbb694b49d408265c91c62799c2b3a7e3151c824d\u241f3797778920049399855:Logout"]);return t=function(){return e},e}function e(){var t=qe([":@@changePassword\u241f5edf054f14aa57bc25a28cb7db01956fee53dac8\u241f6582573664846559511:Change Password"]);return e=function(){return t},t}function n(){var t=qe([":@@toggleNavigation\u241f319e0745bcbc132451569294fa2fa21bf10f555a\u241f8255834268347738766:Toggle navigation"]);return n=function(){return t},t}function i(){var t=qe([":@@logout\u241fbb694b49d408265c91c62799c2b3a7e3151c824d\u241f3797778920049399855:Logout"]);return i=function(){return t},t}function r(){var t=qe([":@@changePassword\u241f5edf054f14aa57bc25a28cb7db01956fee53dac8\u241f6582573664846559511:Change Password"]);return r=function(){return t},t}function a(){var t=qe([":@@myAccountMenuItem\u241f5ce2bda884ea801c34a1a6c23627d9a5e08f0a82\u241f4818852650817502025:My Account"]);return a=function(){return t},t}function o(){var t=qe([":@@dashboardMenuItem\u241feb3d5aefff38a814b76da74371cbf02c0789a1ef\u241f4804785061014590286:Logs"]);return o=function(){return t},t}function s(){var t=qe([":@@dashboardMenuItem\u241f121cc5391cd2a5115bc2b3160379ee5b36cd7716\u241f4930506384627295710:Settings"]);return s=function(){return t},t}function c(){var t=qe([":@@clusterMenuItem\u241ff4d1dd59b039ad818d9da7e29a773e10e41d9821\u241f2944102521023817891:Cluster"]);return c=function(){return t},t}function u(){var t=qe([":@@dashboardMenuItem\u241ff65253954b66e929a8b4d5ecaf61f9129f8cec64\u241f6570363013146073520:Dashboard"]);return u=function(){return t},t}function l(){var t=qe([":@@dashboardMenuItem\u241fb5629d298ff1a69b8db19a4ba2995c76b52da604\u241f2288513108450439427:Support"]);return l=function(){return t},t}function h(){var t=qe([":@@applicationsMenuItem\u241ff1abafaeb40ce52355ddcc24686e3cd17b64e08a\u241f6658000829978978023:Applications"]);return h=function(){return t},t}function f(){var t=qe([":@@antMediaServer\u241fe797878cb9c561a168b0eedd181ade26b2f2127e\u241f5460951923824244241: Ant Media Server "]);return f=function(){return t},t}function d(){var t=qe([":@@settingsJson\u241f9f798415e8864820fac524faef300e91ae358552\u241f6365768503184159397: AppSettings - ",":START_LINK:Documentation",":CLOSE_LINK:"]);return d=function(){return t},t}function p(){var t=qe([":@@jwtFilter\u241ffb558737ee3ac889f54a0d6375508f55ac0f32f6\u241f5154171325519101292: Secret key for JWT Filter",":START_LINK:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:",":CLOSE_LINK:"]);return p=function(){return t},t}function m(){var t=qe([":@@remoteAllowedCIDR\u241f950ce81be0929b201c1fef2ce4510da2fc5b2055\u241f1781679617784983222: CIDR notations (comma-separated) ",":START_LINK:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:",":CLOSE_LINK:"]);return m=function(){return t},t}function v(){var t=qe([":@@jwtFilter\u241fded56b8bd0c1a73fa6158fcd3c4d1b018a579389\u241f935340202119916135: Secret key for JWT Tokens",":START_LINK:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:",":CLOSE_LINK:"]);return v=function(){return t},t}function b(){var t=qe([":not Enterprise@@notEnterpriseEditionMessage\u241fdd3f0754f7ad04cb187d2c0b23017eb3d7151623\u241f4128215103348688835: Get ",":START_LINK:Enterprise Edition",":CLOSE_LINK: to use JWT Stream for Filter feature. "]);return b=function(){return t},t}function g(){var t=qe([":not Enterprise@@notEnterpriseEditionMessage\u241f2c3a395756240de345936c06819d6d876492c5b3\u241f6313754376977570788: Get ",":START_LINK:Enterprise Edition",":CLOSE_LINK: to use Accept only time based token Subscribers feature. "]);return g=function(){return t},t}function y(){var t=qe([":@@jwtFilter\u241f2277cd0e215d3418aebac47c6d5a0387e16a72fb\u241f455587709480355930: Secret for TOTP Playing "]);return y=function(){return t},t}function _(){var t=qe([":@@jwtFilter\u241f9bd5892f39dbd4b5c139497f6b15cf8fc1e072da\u241f4915750497222396975: Secret for TOTP Publishing "]);return _=function(){return t},t}function w(){var t=qe([":not Enterprise@@notEnterpriseEditionMessage\u241f470f285d163fd8375b682056b9ed6f44e8a36ead\u241f4571661725443163246: Get ",":START_LINK:Enterprise Edition",":CLOSE_LINK: to use One Time Token feature. "]);return w=function(){return t},t}function k(){var t=qe([":@@s3Endpoint\u241fb151944861534c4a9e9623537dba0a95f60e4455\u241f3804204581529582717:Endpoint"]);return k=function(){return t},t}function S(){var t=qe([":@@s3BucketName\u241f8b9a7626f1c45c5b0b4bbaf455b247315f54c252\u241f1861115902756837579:Bucket Name*"]);return S=function(){return t},t}function x(){var t=qe([":@@s3RegionName\u241f9e0a6d9cd15e8e6084cfc2eba19bea3f667ac582\u241f6211487715803444236:Region Name*"]);return x=function(){return t},t}function C(){var t=qe([":@@s3SecretKey\u241f05e2572a33c725b2b77adcb4602323fad61e0725\u241f8425910538508542812:Secret Key*"]);return C=function(){return t},t}function T(){var t=qe([":@@s3AccessKey\u241fa3c5cb678d2a83ad1f9f11efc71806219fca4d72\u241f8460338738826393450:Access Key*"]);return T=function(){return t},t}function E(){var t=qe([":@@enableWebMRecording\u241f76dee6caa2dd64980d797f215c5a27a6b1191d91\u241f7557153770835006073: Record Live Streams as WebM "]);return E=function(){return t},t}function O(){var t=qe([":@@enableMP4Recording\u241f9f44abc1e3b9a745e6c3edc0823cd0ba7dec5bfa\u241f8690654086908007291: Record Live Streams as MP4 "]);return O=function(){return t},t}function M(){var t=qe([":not Enterprise@@notEnterpriseEditionMessage\u241ffa159657c8a49eb4a661227556888fd792b5239e\u241f2423007679141601357: Get ",":START_LINK:Enterprise Edition",":CLOSE_LINK: to use WebRTC real time Data Channel communication. "]);return M=function(){return t},t}function A(){var t=qe([":not Enterprise@@notEnterpriseEditionMessage\u241fa633304a678558b3e679318abb0f1e3ceeee72c3\u241f6624096568257558035: Get ",":START_LINK:Enterprise Edition",":CLOSE_LINK: to use Object Detection feature. "]);return A=function(){return t},t}function I(){var t=qe([":@@deleteDASHFilesOnEnded\u241f621523a023ebea823f41cc216e359a105c27bec0\u241f4944858722089857183: Delete DASH files after the stream is finished "]);return I=function(){return t},t}function R(){var t=qe([":@@lLHLSEnabled\u241ffc6bd647ead24202a7a0d8af91e53b09ca46d6d4\u241f2428710268181850094: Enable Low Latency HLS Streaming(CMAF) "]);return R=function(){return t},t}function L(){var t=qe([":@@lLDashEnabled\u241feb646a1a78867e03d22626d5d1775fefd69e4c24\u241f8972090601204999721: Enable Low Latency DASH Streaming(CMAF) "]);return L=function(){return t},t}function P(){var t=qe([":@@DASHSegmentDuration\u241f6d494a56b58dcbb850320b
101cba9ded455b53b23\u241f7730021624700731986:Fragment Duration"]);return P=function(){return t},t}function j(){var t=qe([":@@dashSegDuration\u241f56466dea57adb060a687bb90476579e551e8571b\u241f5426314159199684017:Segment Duration"]);return j=function(){return t},t}function D(){var t=qe([":@@enableDASHLiveStreaming\u241f80bb235c508882ae916f349710600ec0cf4ed394\u241f2891613600805459817: Create DASH Streaming "]);return D=function(){return t},t}function N(){var t=qe([":not Enterprise@@notEnterpriseEditionMessage\u241fccabdd98588444df98badae9e079fc24123b100b\u241f7116690798371397174: Get ",":START_LINK:Enterprise Edition",":CLOSE_LINK: to use DASH Streaming feature. "]);return N=function(){return t},t}function B(){var t=qe([":@@deleteHLSFilesOnEnded\u241f95e339ce5d1f99545ed9453fd722536624461129\u241f1522936420114992473: Delete HLS files after the stream is finished "]);return B=function(){return t},t}function F(){var t=qe([":@@HLSSegmentDuration\u241f56466dea57adb060a687bb90476579e551e8571b\u241f5426314159199684017:Segment Duration"]);return F=function(){return t},t}function z(){var t=qe([":@@HLSSegmentListSize\u241f21d89079f8f1c2e59fde5aee9c02a4aa4021df3e\u241f1349364187205075491:Segment List Size"]);return z=function(){return t},t}function V(){var t=qe([":@@enableHLSLiveStreaming\u241f08750d7bd1d666283f9abf59d081fa163e2035d2\u241f6197829195023901387: Create HLS Streaming "]);return V=function(){return t},t}function U(){var t=qe([":not Enterprise@@notEnterpriseEditionMessage\u241f6ea0e4e620bf86c75ab9a95c2c6e0612bd3c6517\u241f94333947208871789: Get ",":START_LINK:Enterprise Edition",":CLOSE_LINK: to use Adaptive Streaming feature. "]);return U=function(){return t},t}function H(){var t=qe([":@@ResolutionHeight\u241f81e1f9c11a925b5e85e8661cac3fa1ab5d473108\u241f5550467088918702915:Audio Bitrate (Kbps)"]);return H=function(){return t},t}function q(){var t=qe([":@@ResolutionHeight\u241f686822e667bc3e9d5d46a15d9b0a0456567cb02d\u241f6198421691887860521:Video Bitrate (Kbps)"]);return q=function(){return t},t}function W(){var t=qe([":@@ResolutionHeight\u241fb284ee2481274869dfb81764f597da8a13a6813d\u241f1963136290621768454:Resolution"]);return W=function(){return t},t}function K(){var t=qe([":@@addNewStream\u241f070dd9f3cafea6fd3cf2bba34698f948729c1cfd\u241f512303447327957994: Add New Bitrate "]);return K=function(){return t},t}function X(){var t=qe([":not Enterprise@@notEnterpriseEditionMessage\u241f19dc6a00ed9e42793a03d341dd34d6a237697104\u241f8937614624990936529: Get ",":START_LINK:Enterprise Edition",":CLOSE_LINK: to use other encoders different than H.264 "]);return X=function(){return t},t}function J(){var t=qe([":@@saveForm\u241fc048e5ba4c882c4bf5c7074a16a33dbe0f17f2f9\u241f1484879241809621296:Save "]);return J=function(){return t},t}function G(){var t=qe([":@@Security\u241fbd7b254b13f061371f88af576e1b47be42b1db2d\u241f3373021751492181565: Push Notification "]);return G=function(){return t},t}function Y(){var t=qe([":@@jwtFilter\u241f9ed2c612be83e7114359d66743f0c40e6dba8fa4\u241f5854733923577552194: Enable JWT Filter for RESTful API ",":START_LINK:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:",":CLOSE_LINK:"]);return Y=function(){return t},t}function Z(){var t=qe([":@@ipFilter\u241ff9ce493e7d08ac876c8f5d45b9b698db3a1a0203\u241f4455330527229823949: Enable IP Filter for RESTful API ",":START_LINK:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:",":CLOSE_LINK:"]);return Z=function(){return t},t}function Q(){var t=qe([":@@Security\u241fe197f380209843a153f0a575ae310755e31f2741\u241f7625020705932152828: REST API Security "]);return Q=function(){return t},t}function tt(){var t=qe([":@@acceptOnlyStreamsInDataStore\u241fe0891fd003054a649225080fa500e1db5a4cd165\u241f651482102870420214: Accept Undefined Streams ",":START_LINK:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:",":CLOSE_LINK:"]);return tt=function(){return t},t}function et(){var t=qe([":@@Security\u241f3f06eba151151cf4383b83bfb31a43b2738dcb48\u241f1263910895615280149: Stream Security "]);return et=function(){return t},t}function nt(){var t=qe([":@@addDateTimeToMP4Recordings\u241fa9ab4942953c004cc9a23b8943e1e85e7f6a395b\u241f492762209639440029: Add Date-Time to Record File names "]);return nt=function(){return t},t}function it(){var t=qe([":@@Mp4Recording\u241f7b7d81322ab80bba04a48a72f1c77e74c5548ed1\u241f2527090113598754203: Stream Recording "]);return it=function(){return t},t}function rt(){var t=qe([":@@Advanced\u241f53bae51557a55bb9d7c181ee3970701d9cae2fb3\u241f4898757244646514579: Advanced Settings "]);return rt=function(){return t},t}function at(){var t=qe([":@@settingMode\u241f5f56186edf7d18d2910af2799f864e7ad6bb861c\u241f3628336866529388491:",":START_TAG_OPTION:Basic",":CLOSE_TAG_OPTION:",":START_TAG_OPTION_1:Advanced",":CLOSE_TAG_OPTION:"]);return at=function(){return t},t}function ot(){var t=qe([":no vod stream info | text messages appears when no vod streams@@noVoDStreamExistsMessage\u241f2164246fe3bc0ac7f2553e8d9b1e79c4622e50ea\u241f2818982978342326883: There is no VoD stream in this app. "]);return ot=function(){return t},t}function st(){var t=qe([":no live stream info | text messages appears when no live streams@@noLiveStreamExistsMessage\u241f9cda5a99643ecbc9bab676a60c624b123ddc0b20\u241f3486319442096917503: There is no stream at this time. "]);return st=function(){return t},t}function ct(){var t=qe([":\u241f121cc5391cd2a5115bc2b3160379ee5b36cd7716\u241f4930506384627295710:Settings"]);return ct=function(){return t},t}function ut(){var t=qe([":\u241f121cc5391cd2a5115bc2b3160379ee5b36cd7716\u241f4930506384627295710:Settings"]);return ut=function(){return t},t}function lt(){var t=qe([":\u241f7b1cbc676685c1d8c8304bed2e00507befca860d\u241f
11331241367356091218:Play Stream"]);return lt=function(){return t},t}function ht(){var t=qe([":@@tableObjectDetected\u241fc43531932a397698cd01c94bd31e2d8811f81a04\u241f5495290346507891342: Detected Objects"]);return ht=function(){return t},t}function ft(){var t=qe([":@@disableWebMRecording\u241f39d6830b5a83b9f9ded5a286c1715c4c852d2244\u241f3559674797100209135:",":START_TAG_SPAN:Stop",":CLOSE_TAG_SPAN:",":START_TAG_SPAN_1:Disable",":CLOSE_TAG_SPAN: WebM Recording"]);return ft=function(){return t},t}function dt(){var t=qe([":@@enableWebMRecording\u241fe9cc3ef30be05b55f8eb1d3f71960a4cb8b89ac8\u241f6175105682900336177:",":START_TAG_SPAN:Start",":CLOSE_TAG_SPAN:",":START_TAG_SPAN_1:Enable",":CLOSE_TAG_SPAN: WebM Recording"]);return dt=function(){return t},t}function pt(){var t=qe([":@@disableMp4Recording\u241f462f02d7cc57946b764c72e902728253f323e906\u241f9087698691861252326:",":START_TAG_SPAN:Stop",":CLOSE_TAG_SPAN:",":START_TAG_SPAN_1:Disable",":CLOSE_TAG_SPAN: MP4 Recording"]);return pt=function(){return t},t}function mt(){var t=qe([":@@enableMp4Recording\u241f98d70f8c1a81ecbf4d5bd12f68fc654687194a89\u241f8425125002390330846:",":START_TAG_SPAN:Start",":CLOSE_TAG_SPAN:","
1:START_TAG_SPAN_1:Enable",":CLOSE_TAG_SPAN: MP4 Recording"]);return mt=function(){return t},t}function vt(){var t=qe([":@@editRTMPEndpoint\u241f70b0e14a4226b459909a71610f2fc9bdd798e86e\u241f8201193889218985253:Edit RTMP Endpoints"]);return vt=function(){return t},t}function bt(){var t=qe([":@@stopBroadcast\u241f5d22e0e3a5d13d415f32f44f3a3c1340288b4da8\u241f5599207776364189705:Stop Broadcast"]);return bt=function(){return t},t}function gt(){var t=qe([":@@startBroadcast\u241fd5a5eb850fbbb4bf978cb6b904551e5ca3e35c7e\u241f2947619058010462908:Start Broadcast"]);return gt=function(){return t},t}function yt(){var t=qe([":@@tableDeleteButton\u241fbb03fd6d3fbf3c9431f6207b267b027b3979d28d\u241f4854389701403450392: Delete Broadcast"]);return yt=function(){return t},t}function _t(){var t=qe([":@@copyPublishUrl\u241f0e386bdcf32265e2be9c602f29d29e7db18e0757\u241f2112706909236435737:Copy Publish URL"]);return _t=function(){return t},t}function wt(){var t=qe([":@@tableEmbedCode\u241f5afb662e78808e05c3e73e7f64fbbbd152a10518\u241f4979644986633084750:Copy Embed Code "]);return wt=function(){return t},t}function kt(){var t=qe([":\u241fc65e59841c2de7dba204ee5ecf7cc682e65f2488\u241f3128293408739574:Speed"]);return kt=function(){return t},t}function St(){var t=qe([":@@newLiveStreamCreateButton\u241ff3c72b16fc4f28c2f1efe9a67a1bac4f9b857441\u241f5266345104877387101:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:Create"]);return St=function(){return t},t}function xt(){var t=qe([":@@newLiveStreamCancelButton\u241fd7b35c384aecd25a516200d6921836374613dfe7\u241f2159130950882492111:Cancel"]);return xt=function(){return t},t}function Ct(){var t=qe([":@@playlistLoopEnabled\u241f983b1e3f3f9920dd76b12031ffdedbb3da8a86b9\u241f4625879851014635524: Loop Playlist "]);return Ct=function(){return t},t}function Tt(){var t=qe([":@@newPlaylistCreateButton\u241fa0cac63eda0a7e13ee3211e74ac9c7bef96f3b76\u241f5811247021898175400: Add Playlist Item ",":START_TAG_SPAN:","
1:CLOSE_TAG_SPAN:"]);return Tt=function(){return t},t}function Et(){var t=qe([":@@playlistNameIsRequired\u241f49b652f74b76fa861849880111780deae5f863fe\u241f1683803001211311801: Playlist name should be at least 4 characters. "]);return Et=function(){return t},t}function Ot(){var t=qe([":@@stream_name_place_holder\u241f1cc6fe21e192183e0618d082ff6a2428b95a38d7\u241f4701963207207275827:Stream name"]);return Ot=function(){return t},t}function Mt(){var t=qe([":@@newLiveStreamName\u241f1f400a1165fd247b67f52fbcf633054d5a77116f\u241f3204650007580719652:Playlist Name*"]);return Mt=function(){return t},t}function At(){var t=qe([":@@newLiveStreamCardTitle\u241f91692245aba5fa221e50271b26c9afc5ea2b6754\u241f7787170117769430282: New Playlist "]);return At=function(){return t},t}function It(){var t=qe([":@@newLiveStreamCreateButton\u241f38a26d7db25acc2c4f8cd99a4c25ffdf833e450a\u241f7931405919512135267:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:Create"]);return It=function(){return t},t}function Rt(){var t=qe([":@@newLiveStreamSocialShare\u241f0bd8b27f60a1f098a53e06328426d818e3508ff9\u241f7419704019640008953:Share"]);return Rt=function(){return t},t}function Lt(){var t=qe([":@@newLiveStreamCancelButton\u241fd7b35c384aecd25a516200d6921836374613dfe7\u241f2159130950882492111:Cancel"]);return Lt=function(){return t},t}function Pt(){var t=qe([":@@newLiveStreamUrl\u241fc2be6574c1b602f1e85062f630591a50210e3abe\u241f9024683688359159375:Stream URL*"]);return Pt=function(){return t},t}function jt(){var t=qe([":@@broadcastNameIsRequired\u241fe952386f2a8fccdb5ded226eb8568f8723251a77\u241f5174956405979087314: Stream name should be at least 4 characters. "]);return jt=function(){return t},t}function Dt(){var t=qe([":@@stream_name_place_holder\u241f1cc6fe21e192183e0618d082ff6a2428b95a38d7\u241f4701963207207275827:Stream name"]);return Dt=function(){return t},t}function Nt(){var t=qe([":@@newLiveStreamName\u241fbee730319b22d8b71bb323ebe09f93309c96017e\u241f7609748400763849959:Name*"]);return Nt=function(){return t},t}function Bt(){var t=qe([":@@newLiveStreamCardTitle\u241f7349d8cd1e8db6dab7067a54ab6e659f340271f8\u241f6005763253708651016: New Stream Source "]);return Bt=function(){return t},t}function Ft(){var t=qe([":@@newLiveStreamCreateButton\u241f70a7bfa4b9378ed8f47f4c19b2fe766df4b66bd2\u241f6346930999549376181:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:Add"]);return Ft=function(){return t},t}function zt(){var t=qe([":@@newLiveStreamCancelButton\u241fd7b35c384aecd25a516200d6921836374613dfe7\u241f2159130950882492111:Cancel"]);return zt=function(){return t},t}function Vt(){var t=qe([":@@newLiveStreamName\u241f2f26855bb76c0e862cb083e564d926933b5c6ca2\u241f784618262367951982:Password*"]);return Vt=function(){return t},t}function Ut(){var t=qe([":@@newLiveStreamName\u241f932e90b38f7265e2fb763c438028a7b86d43c8d6\u241f3632580217861682989:User Name*"]);return Ut=function(){return t},t}function Ht(){var t=qe([":@@broadcastNameIsRequired\u241f94d91ac80741a0df1335eba7c122b6f82f2f40de\u241f1288119369965394267: URL should be at least 4 characters. "]);return Ht=function(){return t},t}function qt(){var t=qe([":@@onvifUrl_place_holder\u241f0bcf2ec5a718bbc0288de1085fd91aa778aa685d\u241f3220622418025630377:Onvif Url"]);return qt=function(){return t},t}function Wt(){var t=qe([":@@newOnvifIPUrl\u241f806cd44930e97e36288c624db9027768a5c57177\u241f2873248141820715935:ONVIF IP*"]);return Wt=function(){return t},t}function Kt(){var t=qe([":@@broadcastNameIsRequired\u241fbd04b2ed4a68c1a492bee615707b97ff9edc4d46\u241f5271433332168564867: Camera name should be at least 4 characters. "]);return Kt=function(){return t},t}function Xt(){var t=qe([":@@newLiveStreamName\u241fbee730319b22d8b71bb323ebe09f93309c96017e\u241f7609748400763849959:Name*"]);return Xt=function(){return t},t}function Jt(){var t=qe([":@@newIPCameraTitle\u241f14d9848cc10b26d37e94221235e69b4764b5944d\u241f9143079054786521241: New IP Camera "]);return Jt=function(){return t},t}function Gt(){var t=qe([":@@newLiveStreamCreateButton\u241f38a26d7db25acc2c4f8cd99a4c25ffdf833e450a\u241f7931405919512135267:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:Create"]);return Gt=function(){return t},t}function Yt(){var t=qe([":@@newLiveStreamSocialShare\u241f0bd8b27f60a1f098a53e06328426d818e3508ff9\u241f7419704019640008953:Share"]);return Yt=function(){return t},t}function Zt(){var t=qe([":@@newLiveStreamCancelButton\u241fd7b35c384aecd25a516200d6921836374613dfe7\u241f2159130950882492111:Cancel"]);return Zt=function(){return t},t}function Qt(){var t=qe([":@@broadcastNameIsRequired\u241fe952386f2a8fccdb5ded226eb8568f8723251a77\u241f5174956405979087314: Stream name should be at least 4 characters. "]);return Qt=function(){return t},t}function $t(){var t=qe([":@@stream_name_place_holder\u241f1cc6fe21e192183e0618d082ff6a2428b95a38d7\u241f4701963207207275827:Stream name"]);return $t=function(){return t},t}function te(){var t=qe([":@@newLiveStreamName\u241fbee730319b22d8b71bb323ebe09f93309c96017e\u241f7609748400763849959:Name*"]);return te=function(){return t},t}function ee(){var t=qe([":@@newLiveStreamCardTitle\u241f50cb00784b8beb7dd41c0456a8339590c68d59b8\u241f3198689030135940317: New Live Stream "]);return ee=function(){return t},t}function ne(){var t=qe([":@@newLiveStreamButton\u241fd9afe787cbace88fe3addcf045cff0758e7a95b1\u241f4586451545776006720:New Live Stream ",":START_TAG_SPAN:","
1:CLOSE_TAG_SPAN:"]);return ne=function(){return t},t}function ie(){var t=qe([":@@settingsTabHeader\u241f121cc5391cd2a5115bc2b3160379ee5b36cd7716\u241f4930506384627295710:Settings"]);return ie=function(){return t},t}function re(){var t=qe([":VoD|Vod tab header that lists vod@@vodTabHeader\u241f20901b638db96d1fb7b3e0827e4721b3fb51d4a5\u241f1160413494187295020:VoD"]);return re=function(){return t},t}function ae(){var t=qe([":live stream|Live Streams tab header that lists live stream@@liveStreamTabHeader\u241f42ad214d1aeedf299d335e60fb82cbc72eef51a1\u241f506671217087151960:Live Streams"]);return ae=function(){return t},t}function oe(){var t=qe([":@@playlistLoopEnabled\u241fc2bb27f7f2c716b01cf5df1959e76cd981cd37bf\u241f966749078320546150: Loop Playlist "]);return oe=function(){return t},t}function se(){var t=qe([":@@newPlaylistCreateButton\u241f371b3f075197a1c5fe8d6da3840bdd8b833ade2c\u241f7172375726455448850: Add Playlist Item ",":START_TAG_SPAN:",":CLOSE_TAG_SPAN:"]);return se=function(){return t},t}function ce(){var t=qe([":@@playlistNameIsRequired\u241f0fa094bd9b444c6eb1308932d5b2db028620460a\u241f8610191978136523634: Playlist name should be at least 4 characters. "]);return ce=function(){return t},t}function ue(){var t=qe([":@@stream_name_place_holder\u241f1cc6fe21e192183e0618d082ff6a2428b95a38d7\u241f4701963207207275827:Stream name"]);return ue=function(){return t},t}function le(){var t=qe([":@@newLiveStreamName\u241f49a784122010a13208211d51a0c0a7621a40d057\u241f342903126174184028:Playlist Name"]);return le=function(){return t},t}function he(){var t=qe([":@@editLiveStreamCardTitle\u241f392a1784396d7b47249aa25695167a9232c6e49e\u241f6414853166928827441: Edit Playlist "]);return he=function(){return t},t}function fe(){var t=qe([":@@RTMPEndpointListCardTitle\u241f445ced72675cd2b254ade175573c27ce8b6280a7\u241f2457044366051573604: RTMP Endpoint List "]);return fe=function(){return t},t}function de(){var t=qe([":@@RTMPEndpointCancelButton\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return de=function(){return t},t}function pe(){var t=qe([":@@addRTMPEndpointAddButton\u241f20e061205e64d9a0a55c947c48e41f78cf71ae8e\u241f1841183388013985601:Add RTMP Endpoint"]);return pe=function(){return t},t}function me(){var t=qe([":@@rtmp_endpoint_name_place_holder\u241f52e14f9b7e970e3524570dc4ee81fe440437b3fb\u241f606943785687009601:RTMP Endpoint Name"]);return me=function(){return t},t}function ve(){var t=qe([":@@addRTMPEndpointCardTitle\u241f88de10b827c17c821ca38010fc100eaadff0e435\u241f8165938591683593342: Add RTMP Endpoint "]);return ve=function(){return t},t}function be(){var t=qe([":@@newLiveStreamSaveButton\u241fac77c04f0d920e68b29b7ca9ba452dbd739598cd\u241f1976612411741313291:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:Save"]);return be=function(){return t},t}function ge(){var t=qe([":@@newLiveStreamSocialShare\u241f0bd8b27f60a1f098a53e06328426d818e3508ff9\u241f7419704019640008953:Share"]);return ge=function(){return t},t}function ye(){var t=qe([":@@password_place_holder\u241fc32ef07f8803a223a83ed17024b38e8d82292407\u241f1431416938026210429:Password"]);return ye=function(){return t},t}function _e(){var t=qe([":@@newPassword\u241fc32ef07f8803a223a83ed17024b38e8d82292407\u241f1431416938026210429:Password"]);return _e=function(){return t},t}function we(){var t=qe([":@@username_place_holder\u241f08c74dc9762957593b91f6eb5d65efdfc975bf48\u241f5248717555542428023:Username"]);return we=function(){return t},t}function ke(){var t=qe([":@@newUserName\u241f08c74dc9762957593b91f6eb5d65efdfc975bf48\u241f5248717555542428023:Username"]);return ke=function(){return t},t}function Se(){var t=qe([":@@onvif_url_place_holder\u241f323c9ef5666b19594a996a89206655d6da2ccefd\u241f3863421020116735015:Onvif url"]);return Se=function(){return t},t}function xe(){var t=qe([":@@newOnvifUrl\u241f0bcf2ec5a718bbc0288de1085fd91aa778aa685d\u241f3220622418025630377:Onvif Url"]);return xe=function(){return t},t}function Ce(){var t=qe([":@@onvif_url_place_holder\u241fac050f1eae7f2053cb3c9e9f5c96193c5949acf9\u241f3991837665010705308:Stream Url"]);return Ce=function(){return t},t}function Te(){var t=qe([":@@newStreamUrl\u241fac050f1eae7f2053cb3c9e9f5c96193c5949acf9\u241f3991837665010705308:Stream Url"]);return Te=function(){return t},t}function Ee(){var t=qe([":@@newLiveStreamCancelButton\u241fd7b35c384aecd25a516200d6921836374613dfe7\u241f2159130950882492111:Cancel"]);return Ee=function(){return t},t}function Oe(){var t=qe([":@@dash_viewer_limit_place_holder\u241f4235424c922477d664a04a7797ab02c912dcf3ae\u241f3215339696169352296:DASH Viewer Limit"]);return Oe=function(){return t},t}function Me(){var t=qe([":@@dashViewerLimit\u241f4235424c922477d664a04a7797ab02c912dcf3ae\u241f3215339696169352296:DASH Viewer Limit"]);return Me=function(){return t},t}function Ae(){var t=qe([":@@hls_viewer_limit_place_holder\u241fc770f6e6e5a491d5b93f031e79e7a0a44c3a43fb\u241f3516077314353003288:HLS Viewer Limit"]);return Ae=function(){return t},t}function Ie(){var t=qe([":@@hlsViewerLimit\u241fc770f6e6e5a491d5b93f031e79e7a0a44c3a43fb\u241f3516077314353003288:HLS Viewer Limit"]);return Ie=function(){return t},t}function Re(){var t=qe([":@@webrtc_viewer_limit_place_holder\u241ff523a916092c1a059766a9ba14386a9195fcd953\u241f4242484773456997795:WebRTC Viewer Limit"]);return Re=function(){return t},t}function Le(){var t=qe([":@@webRTCViewerLimit\u241ff523a916092c1a059766a9ba14386a9195fcd953\u241f4242484773456997795:WebRTC Viewer Limit"]);return Le=function(){return t},t}function Pe(){var t=qe([":@@broadcastNameIsRequired\u241fb674f0609f5ce30ec901da9862521b157f57a649\u241f155584550141732016: Stream name should be at least 4 characters. "]);return Pe=function(){return t},t}function je(){var t=qe([":@@stream_name_place_holder\u241f1cc6fe21e192183e0618d082ff6a2428b95a38d7\u241f4701963207207275827:Stream name"]);return je=function(){return t},t}function De(){var t=qe([":@@newLiveStreamName\u241fcff1428d10d59d14e45edec3c735a27b5482db59\u241f8953033926734869941:Name"]);return De=function(){return t},t}function Ne(){var t=qe([":@@editLiveStreamCardTitle\u241ffff30e8f8a64168c97292f008af508eb5755d8d1\u241f3273471978892774351: Edit Stream "]);return Ne=function(){return t},t}function Be(){var t=qe([":@@newLiveStreamSaveButton\u241f77327b1928517b9067c3838d4ca517971fde48f8\u241f3050829954074902498:",":START_ITALIC_TEXT:",":CLOSE_ITALIC_TEXT:Save "]);return Be=function(){return t},t}function Fe(){var t=qe([":@@newLiveStreamCancelButton\u241f9ed6ad44e68cb3f6d61390b487c407d60e33b49a\u241f4657712205238442246: Cancel "]);return Fe=function(){return t},t}function ze(){var t=qe([":@@onvif_url_place_holder\u241f2a06d0c8dd0c9f01480c2811bada0e09c931626d\u241f4268680555579676152:VoD Name"]);return ze=function(){return t},t}function Ve(){var t=qe([":@@newVoDName\u241fcff1428d10d59d14e45edec3c735a27b5482db59\u241f8953033926734869941:Name"]);return Ve=function(){return t},t}function Ue(){var t=qe([":@@editLiveStreamCardTitle\u241fc782f4f400f49d868f7db756b11f7fd0a4cd855f\u241f3578493620188202481: Upload VoD "]);return Ue=function(){return t},t}function He(){var t=qe([":@@newLiveStreamCancelButton\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return He=function(){return t},t}function qe(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function We(t,e,n){return(We=sn()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&nn(r,n.prototype),r}).apply(null,arguments)}function Ke(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(c){r=!0,a=c}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(t,e)||Ye(t,e)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xe(t){return function(t){if(Array.isArray(t))return Ze(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Ye(t)||function(){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 Je(t,e,n){return(Je="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=cn(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}})(t,e,n||t)}function Ge(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=Ye(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function Ye(t,e){if(t){if("string"==typeof t)return Ze(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ze(t,e):void 0}}function Ze(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Qe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function tn(t,e,n){return e&&$e(t.prototype,e),n&&$e(t,n),t}function en(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nn(t,e)}function nn(t,e){return(nn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rn(t){var e=sn();return function(){var n,i=cn(t);if(e){var r=cn(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return an(this,n)}}function an(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?on(t):e}function on(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sn(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function cn(t){return(cn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"+0xr":function(t,e,n){"use strict";n.d(e,"a",(function(){return Wt})),n.d(e,"b",(function(){return Nt})),n.d(e,"c",(function(){return Vt})),n.d(e,"d",(function(){return Ht})),n.d(e,"e",(function(){return Ft})),n.d(e,"f",(function(){return Zt})),n.d(e,"g",(function(){return Xt})),n.d(e,"h",(function(){return $t})),n.d(e,"i",(function(){return Gt})),n.d(e,"j",(function(){return jt})),n.d(e,"k",(function(){return ne})),n.d(e,"l",(function(){return ee}));var i=n("8LU1"),r=n("0EQZ"),a=n("fXoL"),o=n("cH1L"),s=n("nLfN"),c=n("ofXK"),u=n("XNiG"),l=n("Cfvw"),h=n("2Vo4"),f=n("7+OI"),d=n("LRne"),p=n("1G5W"),m=n("IzEk"),v=[[["caption"]],[["colgroup"],["col"]]],b=["caption","colgroup, col"];function g(t){return function(t){en(n,t);var e=rn(n);function n(){var t;Qe(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r)))._sticky=!1,t._hasStickyChanged=!1,t}return tn(n,[{key:"hasStickyChanged",value:function(){var t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}},{key:"sticky",get:function(){return this._sticky},set:function(t){var e=this._sticky;this._sticky=Object(i.c)(t),this._hasStickyChanged=e!==this._sticky}}]),n}(t)}var y,_,w,k,S,x,C,T,E,O,M,A,I,R,L,P=new a.s("CDK_TABLE"),j=((w=function t(e){Qe(this,t),this.template=e}).\u0275fac=function(t){return new(t||w)(a.Nb(a.N))},w.\u0275dir=a.Ib({type:w,selectors:[["","cdkCellDef",""]]}),w),D=((_=function t(e){Qe(this,t),this.template=e}).\u0275fac=function(t){return new(t||_)(a.Nb(a.N))},_.\u0275dir=a.Ib({type:_,selectors:[["","cdkHeaderCellDef",""]]}),_),N=((y=function t(e){Qe(this,t),this.template=e}).\u0275fac=function(t){return new(t||y)(a.Nb(a.N))},y.\u0275dir=a.Ib({type:y,selectors:[["","cdkFooterCellDef",""]]}),y),B=g((function t(){Qe(this,t)})),F=((k=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this))._table=t,i._stickyEnd=!1,i}return tn(n,[{key:"_updateColumnCssClassName",value:function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]}},{key:"name",get:function(){return this._name},set:function(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(t){var e=this._stickyEnd;this._stickyEnd=Object(i.c)(t),this._hasStickyChanged=e!==this._stickyEnd}}]),n}(B)).\u0275fac=function(t){return new(t||k)(a.Nb(P,8))},k.\u0275dir=a.Ib({type:k,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){var i;1&t&&(a.Gb(n,j,!0),a.Gb(n,D,!0),a.Gb(n,N,!0)),2&t&&(a.xc(i=a.hc())&&(e.cell=i.first),a.xc(i=a.hc())&&(e.headerCell=i.first),a.xc(i=a.hc())&&(e.footerCell=i.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[a.Ab([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:k}]),a.yb]}),k),z=function t(e,n){Qe(this,t);var i,r=n.nativeElement.classList,a=Ge(e._columnCssClassName);try{for(a.s();!(i=a.n()).done;){var o=i.value;r.add(o)}}catch(s){a.e(s)}finally{a.f()}},V=((x=function(t){en(n,t);var e=rn(n);function n(t,i){return Qe(this,n),e.call(this,t,i)}return n}(z)).\u0275fac=function(t){return new(t||x)(a.Nb(F),a.Nb(a.l))},x.\u0275dir=a.Ib({type:x,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[a.yb]}),x),U=((S=function(t){en(n,t);var e=rn(n);function n(t,i){return Qe(this,n),e.call(this,t,i)}return n}(z)).\u0275fac=function(t){return new(t||S)(a.Nb(F),a.Nb(a.l))},S.\u0275dir=a.Ib({type:S,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[a.yb]}),S),H=function t(){Qe(this,t),this.tasks=[],this.endTasks=[]},q=((T=function(){function t(e){Qe(this,t),this._ngZone=e,this._currentSchedule=null,this._destroyed=new u.a}
1return tn(t,[{key:"schedule",value:function(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}},{key:"scheduleEnd",value:function(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_createScheduleIfNeeded",value:function(){var t=this;this._currentSchedule||(this._currentSchedule=new H,this._getScheduleObservable().pipe(Object(p.a)(this._destroyed)).subscribe((function(){for(;t._currentSchedule.tasks.length||t._currentSchedule.endTasks.length;){var e=t._currentSchedule;t._currentSchedule=new H;var n,i=Ge(e.tasks);try{for(i.s();!(n=i.n()).done;)(0,n.value)()}catch(o){i.e(o)}finally{i.f()}var r,a=Ge(e.endTasks);try{for(a.s();!(r=a.n()).done;)(0,r.value)()}catch(o){a.e(o)}finally{a.f()}}t._currentSchedule=null})))}},{key:"_getScheduleObservable",value:function(){return this._ngZone.isStable?Object(l.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(m.a)(1))}}]),t}()).\u0275fac=function(t){return new(t||T)(a.cc(a.B))},T.\u0275prov=a.Jb({token:T,factory:T.\u0275fac}),T),W=((C=function(){function t(e,n){Qe(this,t),this.template=e,this._differs=n}
1return tn(t,[{key:"ngOnChanges",value:function(t){if(!this._columnsDiffer){var e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(t){return this instanceof X?t.headerCell.template:this instanceof G?t.footerCell.template:t.cell.template}}]),t}()).\u0275fac=function(t){return new(t||C)(a.Nb(a.N),a.Nb(a.u))},C.\u0275dir=a.Ib({type:C,features:[a.zb]}),C),K=g(function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(W)),X=((E=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t,i))._table=r,a}return tn(n,[{key:"ngOnChanges",value:function(t){Je(cn(n.prototype),"ngOnChanges",this).call(this,t)}}]),n}(K)).\u0275fac=function(t){return new(t||E)(a.Nb(a.N),a.Nb(a.u),a.Nb(P,8))},E.\u0275dir=a.Ib({type:E,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[a.yb,a.zb]}),E),J=g(function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(W)),G=((L=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t,i))._table=r,a}return tn(n,[{key:"ngOnChanges",value:function(t){Je(cn(n.prototype),"ngOnChanges",this).call(this,t)}}]),n}(J)).\u0275fac=function(t){return new(t||L)(a.Nb(a.N),a.Nb(a.u),a.Nb(P,8))},L.\u0275dir=a.Ib({type:L,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[a.yb,a.zb]}),L),Y=((R=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t,i))._table=r,a}return n}(W)).\u0275fac=function(t){return new(t||R)(a.Nb(a.N),a.Nb(a.u),a.Nb(P,8))},R.\u0275dir=a.Ib({type:R,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[a.yb]}),R),Z=((I=function(){function t(e){Qe(this,t),this._viewContainer=e,t.mostRecentCellOutlet=this}
1return tn(t,[{key:"ngOnDestroy",value:function(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}]),t}()).\u0275fac=function(t){return new(t||I)(a.Nb(a.R))},I.\u0275dir=a.Ib({type:I,selectors:[["","cdkCellOutlet",""]]}),I.mostRecentCellOutlet=null,I),Q=((A=function t(){Qe(this,t)}).\u0275fac=function(t){return new(t||A)},A.\u0275cmp=a.Hb({type:A,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&a.Pb(0,0)},directives:[Z],encapsulation:2}),A),$=((M=function t(){Qe(this,t)}).\u0275fac=function(t){return new(t||M)},M.\u0275cmp=a.Hb({type:M,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&a.Pb(0,0)},directives:[Z],encapsulation:2}),M),tt=((O=function t(e){Qe(this,t),this.templateRef=e}).\u0275fac=function(t){return new(t||O)(a.Nb(a.N))},O.\u0275dir=a.Ib({type:O,selectors:[["ng-template","cdkNoDataRow",""]]}),O),et=["top","bottom","left","right"],nt=function(){function t(e,n,i,r){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];Qe(this,t),this._isNativeHtmlTable=e,this._stickCellCss=n,this.direction=i,this._coalescedStyleScheduler
1=r,this._isBrowser=a,this._needsPositionStickyOnElement=o}return tn(t,[{key:"clearStickyPositioning",value:function(t,e){var n,i=this,r=[],a=Ge(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.nodeType===o.ELEMENT_NODE){r.push(o);for(var s=0;s<o.children.length;s++)r.push(o.children[s])}}}catch(c){a.e(c)}finally{a.f()}this._coalescedStyleScheduler.schedule((function(){var t,n=Ge(r);try{for(n.s();!(t=n.n()).done;){var a=t.value;i._removeStickyStyle(a,e)}}catch(c){n.e(c)}finally{n.f()}}))}},{key:"updateStickyColumns",value:function(t,e,n){var i=this;if(t.length&&this._isBrowser&&(e.some((function(t){return t}))||n.some((function(t){return t})))){var r=t[0],a=r.children.length,o=this._getCellWidths(r),s=this._getStickyStartColumnPositions(o,e),c=this._getStickyEndColumnPositions(o,n);this._coalescedStyleScheduler.schedule((function(){var r,o="rtl"===i.direction,u=o?"right":"left",l=o?"left":"right",h=Ge(t);try{for(h.s();!(r=h.n()).done;)for(var f=r.value,d=0;d<a;d++){var p=f.children[d];e[d]&&i._addStickyStyle(p,u,s[d]),n[d]&&i._addStickyStyle(p,l,c[d])}}catch(m){h.e(m)}finally{h.f()}}))}}},{key:"stickRows",value:function(t,e,n){var i=this;if(this._isBrowser){for(var r="bottom"===n?t.slice().reverse():t,a="bottom"===n?e.slice().reverse():e,o=[],s=[],c=0,u=0;c<r.length;c++)if(o[c]=u,a[c]){var l=r[c];s[c]=this._isNativeHtmlTable?Array.from(l.children):[l],c!==r.length-1&&(u+=l.getBoundingClientRect().height)}this._coalescedStyleScheduler.schedule((function(){for(var t=0;t<r.length;t++)if(a[t]){var e,c=o[t],u=Ge(s[t]);try{for(u.s();!(e=u.n()).done;){var l=e.value;i._addStickyStyle(l,n,c)}}catch(h){u.e(h)}finally{u.f()}}}))}}},{key:"updateStickyFooterContainer",value:function(t,e){var n=this;if(this._isNativeHtmlTable){var i=t.querySelector("tfoot");this._coalescedStyleScheduler.schedule((function(){e.some((function(t){return!t}))?n._removeStickyStyle(i,["bottom"]):n._addStickyStyle(i,"bottom",0)}))}}},{key:"_removeStickyStyle",value:function(t,e){var n,i=Ge(e);try{for(i.s();!(n=i.n()).done;){var r=n.value;t.style[r]=""}}catch(a){i.e(a)}finally{i.f()}et.some((function(n){return-1===e.indexOf(n)&&t.style[n]}))?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=n+"px",t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}},{key:"_getCalculatedZIndex",value:function(t){var e,n={top:100,bottom:10,left:1,right:1},i=0,r=Ge(et);try{for(r.s();!(e=r.n()).done;){var a=e.value;t.style[a]&&(i+=n[a])}}catch(o){r.e(o)}finally{r.f()}return i?""+i:""}},{key:"_getCellWidths",value:function(t){for(var e=[],n=t.children,i=0;i<n.length;i++)e.push(n[i].getBoundingClientRect().width);return e}},{key:"_getStickyStartColumnPositions",value:function(t,e){for(var n=[],i=0,r=0;r<t.length;r++)e[r]&&(n[r]=i,i+=t[r]);return n}},{key:"_getStickyEndColumnPositions",value:function(t,e){for(var n=[],i=0,r=t.length;r>0;r--)e[r]&&(n[r]=i,i+=t[r]);return n}}]),t}();function it(t){return Error('Could not find column with id "'.concat(t,'".'))}var rt,at,ot,st,ct,ut=((ct=function t(e,n){Qe(this,t),this.viewContainer=e,this.elementRef=n}).\u0275fac=function(t){return new(t||ct)(a.Nb(a.R),a.Nb(a.l))},ct.\u0275dir=a.Ib({type:ct,selectors:[["","rowOutlet",""]]}),ct),lt=((st=function t(e,n){Qe(this,t),this.viewContainer=e,this.elementRef=n}).\u0275fac=function(t){return new(t||st)(a.Nb(a.R),a.Nb(a.l))},st.\u0275dir=a.Ib({type:st,selectors:[["","headerRowOutlet",""]]}),st),ht=((ot=function t(e,n){Qe(this,t),this.viewContainer=e,this.elementRef=n}).\u0275fac=function(t){return new(t||ot)(a.Nb(a.R),a.Nb(a.l))},ot.\u0275dir=a.Ib({type:ot,selectors:[["","footerRowOutlet",""]]}),ot),ft=((at=function t(e,n){Qe(this,t),this.viewContainer=e,this.elementRef=n}).\u0275fac=function(t){return new(t||at)(a.Nb(a.R),a.Nb(a.l))},at.\u0275dir=a.Ib({type:at,selectors:[["","noDataRowOutlet",""]]}),at),dt=((rt=function(){function t(e,n,i,r,a,o,s,c){Qe(this,t),this._differs=e,this._changeDetectorRef=n,this._coalescedStyleScheduler
1=i,this._elementRef=r,this._dir=o,this._platform=c,this._onDestroy=new u.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this.viewChange=new h.a({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return tn(t,[{key:"ngOnInit",value:function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n}))}},{key:"ngAfterContentChecked",value:function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");var t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():t&&this.updateStickyColumnStyles(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var n=this._rowOutlet.viewContainer;e.forEachOperation((function(e,i,r){if(null==e.previousIndex)t._insertRow(e.item,r);else if(null==r)n.remove(i);else{var a=n.get(i);n.move(a,r)}})),this._updateRowIndexContext(),e.forEachIdentityChange((function(t){n.get(t.currentIndex).context.$implicit=t.item.data})),this._updateNoDataRow(),this.updateStickyColumnStyles()}else this._updateNoDataRow()}},{key:"addColumnDef",value:function(t){this._customColumnDefs.add(t)}},{key:"removeColumnDef",value:function(t){this._customColumnDefs.delete(t)}},{key:"addRowDef",value:function(t){this._customRowDefs.add(t)}},{key:"removeRowDef",value:function(t){this._customRowDefs.delete(t)}},{key:"addHeaderRowDef",value:function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}},{key:"updateStickyHeaderRowStyles",value:function(){var t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");var n=this._headerRowDefs.map((function(t){return t.sticky}));this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach((function(t){return t.resetStickyChanged()}))}},{key:"updateStickyFooterRowStyles",value:function(){var t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");var n=this._footerRowDefs.map((function(t){return t.sticky}));this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEac
1h((function(t){return t.resetStickyChanged()}))}},{key:"updateStickyColumnStyles",value:function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([].concat(Xe(e),Xe(n),Xe(i)),["left","right"]),e.forEach((function(e,n){t._addStickyColumnStyles([e],t._headerRowDefs[n])})),this._rowDefs.forEach((function(e){for(var i=[],r=0;r<n.length;r++)t._renderRows[r].rowDef===e&&i.push(n[r]);t._addStickyColumnStyles(i,e)})),i.forEach((function(e,n){t._addStickyColumnStyles([e],t._footerRowDefs[n])})),Array.from(this._columnDefsByName.values()).forEach((function(t){return t.resetStickyChanged()}))}},{key:"_getAllRenderRows",value:function(){var t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var i=this._data[n],r=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(var a=0;a<r.length;a++){var o=r[a],s=this._cachedRenderRowsMap.get(o.data);s.has(o.rowDef)?s.get(o.rowDef).push(o):s.set(o.rowDef,[o]),t.push(o)}}return t}},{key:"_getRenderRowsForData",value:function(t,e,n){return this._getRowDefs(t,e).map((function(i){var r=n&&n.has(i)?n.get(i):[];if(r.length){var a=r.shift();return a.dataIndex=e,a}return{data:t,rowDef:i,dataIndex:e}}))}},{key:"_cacheColumnDefs",value:function(){var t=this;this._columnDefsByName.clear(),pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach((function(e){if(t._columnDefsByName.has(e.name))throw Error('Duplicate column definition name provided: "'.concat(e.name,'".'));t._columnDefsByName.set(e.name,e)}))}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var t=this._rowDefs.filter((function(t){return!t.when}));if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}},{key:"_renderUpdatedColumns",value:function(){var t=function(t,e){return t||!!e.getColumnsDiff()},e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();var n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();var i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}},{key:"_switchDataSource",value:function(t){this._data=[],Object(r.e)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}},{key:"_observeRenderChanges",value:function(){var t=this;if(this.dataSource){var e;if(Object(r.e)(this.dataSource)?e=this.dataSource.connect(this):Object(f.a)(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Object(d.a)(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(Object(p.a)(this._onDestroy)).subscribe((function(e){t._data=e||[],t.renderRows()}))}}},{key:"_forceRenderHeaderRows",value:function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(e,n){return t._renderRow(t._headerRowOutlet,e,n)})),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(e,n){return t._renderRow(t._footerRowOutlet,e,n)})),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(t,e){var n=this,i=Array.from(e.columns||[]).map((function(t){var e=n._columnDefsByName.get(t);if(!e)throw it(t);return e})),r=i.map((function(t){return t.sticky})),a=i.map((function(t){return t.stickyEnd}));this._stickyStyler.updateStickyColumns(t,r,a)}},{key:"_getRenderedRows",value:function(t){for(var e=[],n=0;n<t.viewContainer.length;n++){var i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}},{key:"_getRowDefs",value:function(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter((function(n){return!n.when||n.when(e,t)}));else{var i=this._rowDefs.find((function(n){return n.when&&n.when(e,t)}))||this._defaultRowDef;i&&n.push(i)}if(!n.length)throw function(t){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(t))}(t);return n}},{key:"_insertRow",value:function(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})}},{key:"_renderRow",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t.viewContainer.createEmbeddedView(e.template,i,n);var r,a=Ge(this._getCellTemplates(e));try{for(a.s();!(r=a.n()).done;){var o=r.value;Z.mostRecentCellOutlet&&Z.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i)}}catch(s){a.e(s)}finally{a.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var t=this._rowOutlet.viewContainer,e=0,n=t.length;e<n;e++){var i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}},{key:"_getCellTemplates",value:function(t){var e=this;return t&&t.columns?Array.from(t.columns,(function(n){var i=e._columnDefsByName.get(n);if(!i)throw it(n);return t.extractCellTemplate(i)})):[]}},{key:"_applyNativeTableSections",value:function(){for(var t=this._document.createDocumentFragment(),e=0,n=[{tag:"thead",outlets:[this._headerRowOutlet]}
1,{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];e<n.length;e++){var i=n[e],r=this._document.createElement(i.tag);r.setAttribute("role","rowgroup");var a,o=Ge(i.outlets);try{for(o.s();!(a=o.n()).done;){var s=a.value;r.appendChild(s.elementRef.nativeElement)}}catch(c){o.e(c)}finally{o.f()}t.appendChild(r)}this._elementRef.nativeElement.appendChild(t)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}},{key:"_checkStickyStates",value:function(){var t=function(t,e){return t||e.hasStickyChanged()};this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()}},{key:"_setupStickyStyler",value:function(){var t=this;this._stickyStyler=new nt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:Object(d.a)()).pipe(Object(p.a)(this._onDestroy)).subscribe((function(e){t._stickyStyler.direction=e,t.updateStickyColumnStyles()}))}},{key:"_getOwnDefs",value:function(t){var e=this;return t.filter((function(t){return!t._table||t._table===e}))}},{key:"_updateNoDataRow",value:function(){if(this._noDataRow){var t=0===this._rowOutlet.viewContainer.length;if(t!==this._isShowingNoDataRow){var e=this._noDataRowOutlet.viewContainer;t?e.createEmbeddedView(this._noDataRow.templateRef):e.clear(),this._isShowingNoDataRow=t}}}},{key:"trackBy",get:function(){return this._trackByFn},set:function(t){Object(a.X)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(t),".")),this._trackByFn=t}},{key:"dataSource",get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=Object(i.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}}]),t}()).\u0275fac=function(t){return new(t||rt)(a.Nb(a.u),a.Nb(a.h),a.Nb(q),a.Nb(a.l),a.dc("role"),a.Nb(o.b,8),a.Nb(c.e),a.Nb(s.a))},rt.\u0275cmp=a.Hb({type:rt,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){var i;1&t&&(a.Gb(n,tt,!0),a.Gb(n,F,!0),a.Gb(n,Y,!0),a.Gb(n,X,!0),a.Gb(n,G,!0)),2&t&&(a.xc(i=a.hc())&&(e._noDataRow=i.first),a.xc(i=a.hc())&&(e._contentColumnDefs=i),a.xc(i=a.hc())&&(e._contentRowDefs=i),a.xc(i=a.hc())&&(e._contentHeaderRowDefs=i),a.xc(i=a.hc())&&(e._contentFooterRowDefs=i))},viewQuery:function(t,e){var n;1&t&&(a.Ec(ut,!0),a.Ec(lt,!0),a.Ec(ht,!0),a.Ec(ft,!0)),2&t&&(a.xc(n=a.hc())&&(e._rowOutlet=n.first),a.xc(n=a.hc())&&(e._headerRowOutlet=n.first),a.xc(n=a.hc())&&(e._footerRowOutlet=n.first),a.xc(n=a.hc())&&(e._noDataRowOutlet=n.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[a.Ab([{provide:P,useExisting:rt},q])],ngContentSelectors:b,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(a.qc(v),a.pc(0),a.pc(1,1),a.Pb(2,0),a.Pb(3,1),a.Pb(4,2),a.Pb(5,3))},directives:[lt,ut,ft,ht],encapsulation:2}),rt);function pt(t,e){return t.concat(Array.from(e))}var mt,vt,bt,gt,yt,_t,wt,kt,St,xt,Ct,Tt,Et=((mt=function t(){Qe(this,t)}).\u0275mod=a.Lb({type:mt}),mt.\u0275inj=a.Kb({factory:function(t){return new(t||mt)}}),mt),Ot=n("FKr1"),Mt=n("quSY"),At=n("VRyK"),It=n("itXk"),Rt=n("lJxs"),Lt=[[["caption"]],[["colgroup"],["col"]]],Pt=["caption","colgroup, col"],jt=((vt=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.apply(this,arguments)).stickyCssClass="mat-table-sticky",t.needsPositionStickyOnElement=!1,t}return n}(dt)).\u0275fac=function(t){return Dt(t||vt)},vt.\u0275cmp=a.Hb({type:vt,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[a.Ab([{provide:dt,useExisting:vt},{provide:P,useExisting:vt},q]),a.yb],ngContentSelectors:Pt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(a.qc(Lt),a.pc(0),a.pc(1,1),a.Pb(2,0),a.Pb(3,1),a.Pb(4,2),a.Pb(5,3))},directives:[lt,ut,ft,ht],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky;position:sticky}\n'],encapsulation:2}),vt),Dt=a.Vb(jt),Nt=((bt=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(j)).\u0275fac=function(t){return Bt(t||bt)},bt.\u0275dir=a.Ib({type:bt,selectors:[["","matCellDef",""]],features:[a.Ab([{provide:j,useExisting:bt}]),a.yb]}),bt),Bt=a.Vb(Nt),Ft=((gt=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(D)).\u0275fac=function(t){return zt(t||gt)},gt.\u0275dir=a.Ib({type:gt,selectors:[["","matHeaderCellDef",""]],features:[a.Ab([{provide:D,useExisting:gt}]),a.yb]}),gt),zt=a.Vb(Ft),Vt=((yt=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"_updateColumnCssClassName",value:function(){Je(cn(n.prototype),"_updateColumnCssClassName",this).call(this),this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)}}]),n}(F)).\u0275fac=function(t){return Ut(t||yt)},yt.\u0275dir=a.Ib({type:yt,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[a.Ab([{provide:F,useExisting:yt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:yt}]),a.yb]}),yt),Ut=a.Vb(Vt),Ht=((_t=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(V)).\u0275fac=function(t){return qt(t||_t)},_t.\u0275dir=a.Ib({type:_t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[a.yb]}),_t),qt=a.Vb(Ht),Wt=((wt=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(U)).\u0275fac=function(t){return Kt(t||wt)},wt.\u0275dir=a.Ib({type:wt,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[a.yb]}),wt),Kt=a.Vb(Wt),Xt=((kt=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(X)).\u0275fac=function(t){return Jt(t||kt)},kt.\u0275dir=a.Ib({type:kt,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[a.Ab([{provide:X,useExisting:kt}]),a.yb]}),kt),Jt=a.Vb(Xt),Gt=((St=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(Y)).\u0275fac=function(t){return Yt(t||St)},St.\u0275dir=a.Ib({type:St,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[a.Ab([{provide:Y,useExisting:St}]),a.yb]}),St),Yt=a.Vb(Gt),Zt=((xt=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(Q)).\u0275fac=function(t){return Qt(t||xt)},xt.\u0275cmp=a.Hb({type:xt,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[a.Ab([{provide:Q,useExisting:xt}]),a.yb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&a.Pb(0,0)},directives:[Z],encapsulation:2}),xt),Qt=a.Vb(Zt),$t=((Ct=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}($)).\u0275fac=function(t){return te(t||Ct)},Ct.\u0275cmp=a.Hb({type:Ct,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[a.Ab([{provide:$,useExisting:Ct}]),a.yb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&a.Pb(0,0)},directives:[Z],encapsulation:2}),Ct),te=a.Vb($t),ee=((Tt=function t(){Qe(this,t)}).\u0275mod=a.Lb({type:Tt}),Tt.\u0275inj=a.Kb({factory:function(t){return new(t||Tt)},imports:[[Et,Ot.j],Ot.j]}),Tt),ne=function(t){en(n,t);var e=rn(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Qe(this,n),(t=e.call(this))._renderData=new h.a([]),t._filter=new h.a(""),t._internalPageChanges=new u.a,t._renderChangesSubscription=Mt.a.EMPTY,t.sortingDataAccessor=function(t,e){var n=t[e];if(Object(i.a)(n)){var r=Number(n);return r<9007199254740991?r:n}return n},t.sortData=function(e,n){var i=n.active,r=n.direction;return i&&""!=r?e.sort((function(e,n){var a=t.sortingDataAccessor(e,i),o=t.sortingDataAccessor(n,i),s=0;return null!=a&&null!=o?a>o?s=1:a<o&&(s=-1):null!=a?s=1:null!=o&&(s=-1),s*("asc"==r?1:-1)})):e},t.filterPredicate=function(t,e){var n=Object.keys(t).reduce((function(e,n){return e+t[n]+"\u25ec"}),"").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},t._data=new h.a(r),t._updateChangeSubscription(),t}return tn(n,[{key:"_updateChangeSubscription",value:function(){var t=this,e=this._sort?Object(At.a)(this._sort.sortChange,this._sort.initialized):Object(d.a)(null),n=this._paginator?Object(At.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(d.a)(null),i=this._data,r=Object(It.b)([i,this._filter]).pipe(Object(Rt.a)((function(e){var n=Ke(e,1)[0];return t._filterData(n)}))),a=Object(It.b)([r,e]).pipe(Object(Rt.a)((function(e){var n=Ke(e,1)[0];return t._orderData(n)}))),o=Object(It.b)([a,n]).pipe(Object(Rt.a)((function(e){var n=Ke(e,1)[0];return t._pageData(n)})));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=o.subscribe((function(e){return t._renderData.next(e)}))}},{key:"_filterData",value:function(t){var e=this;return this.filteredData=this.filter?t.filter((function(t){return e.filterPredicate(t,e.filter)})):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(t){return this.sort?this.sortData(t.slice(),this.sort):t}},{key:"_pageData",value:function(t){if(!this.paginator)return t;var e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}},{key:"_updatePaginator",value:function(t){var e=this;Promise.resolve().then((function(){var n=e.paginator;if(n&&(n.length=t,n.pageIndex>0)){var i=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,i);r!==n.pageIndex&&(n.pageIndex=r,e._internalPageChanges.next())}}))}},{key:"connect",value:function(){return this._renderData}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(t){this._data.next(t)}},{key:"filter",get:function(){return this._filter.value},set:function(t){this._filter.next(t)}},{key:"sort",get:function(){return this._sort},set:function(t){this._sort=t,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(t){this._paginator=t,this._updateChangeSubscription()}}]),n}(r.b)},"+DxB":function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},"+qE3":function(t,e,n){"use strict";var i,r="object"==typeof Reflect?Reflect:null,a=r&&"function"==typeof r.apply?r.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(n,i){function r(){void 0!==a&&t.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==e&&(a=function(n){t.removeListener(e,r),i(n)},t.once("error",a)),t.once(e,r)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function h(t,e,n,i){var r,a,o;if(u(n),void 0===(a=t._events)?(a=t._events=Object.create(null),t._eventsCount=0):(void 0!==a.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),a=t._events),o=a[e]),void 0===o)o=a[e]=n,++t._eventsCount;else if("function"==typeof o?o=a[e]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),(r=l(t))>0&&o.length>r&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=o.length,console&&console.warn&&console.warn(s)}return t}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(t,e,n){var i={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=f.bind(i);return r.listener=n,i.wrapFn=r,r}function p(t,e,n){var i=t._events;if(void 0===i)return[];var r=i[e];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(r):v(r,r.length)}function m(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(t,e){for(var n=new Array(e),i=0;i<e;++i)n[i]=t[i];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push
vendor: 2,797 bytes, line 1
1(arguments[n]);var i="error"===t,r=this._events;if(void 0!==r)i=i&&void 0===r.error;else if(!i)return!1;if(i){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var c=r[t];if(void 0===c)return!1;if("function"==typeof c)a(c,this,e);else{var u=c.length,l=v(c,u);for(n=0;n<u;++n)a(l[n],this,e)}return!0},s.prototype.on=s.prototype.addListener=function(t,e){return h(this,t,e,!1)},s.prototype.prependListener=function(t,e){return h(this,t,e,!0)},s.prototype.once=function(t,e){return u(e),this.on(t,d(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return u(e),this.prependListener(t,d(this,t,e)),this},s.prototype.off=s.prototype.removeListener=function(t,e){var n,i,r,a,o;if(u(e),void 0===(i=this._events))return this;if(void 0===(n=i[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(r=-1,a=n.length-1;a>=0;a--)if(n[a]===e||n[a].listener===e){o=n[a].listener,r=a;break}if(r<0)return this;0===r?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,r),1===n.length&&(i[t]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",t,o||e)}return this},s.prototype.removeAllListeners=function(t){var e,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var r,a=Object.keys(n);for(i=0;i<a.length;++i)"removeListener"!==(r=a[i])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(i=e.length-1;i>=0;i--)this.removeListener(t,e[i]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},"+rOU":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return b})),n.d(e,"h",(function(){return v})),n.d(e,"i",(function(){return c}));var i=n("fXoL"),r=n("ofXK");function a(){throw Error("Host already has a portal attached")}var o=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"attach",value:function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&a(),this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),t}(),s=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this)).component=t,o.viewContainerRef=i,o.injector=r,o.componentFactoryResolver=a,o}return n}(o),c=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this)).templateRef=t,a.viewContainerRef=i,a.context=r,a}return tn(n,[{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,Je(cn(n.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,Je(cn(n.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),n}(o),u=function(t){en(n,t);var e=rn(n);function n(t){var r;return Qe(this,n),(r=e.call(this)).element=t instanceof i.l?t.nativeElement:t,r}return n}(o),l=function(){function t(){Qe(this,t),this._isDisposed=!1,this.attachDomPortal=null}
1return tn(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&a(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof s?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof c?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof u?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}(),h=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s,c;return Qe(this,n),(c=e.call(this)).outletElement=t,c._componentFactoryResolver=i,c._appRef=r,c._defaultInjector=a,c.attachDomPortal=function(t){if(!c._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=c._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),c.outletElement.appendChild(e),Je((s=on(c),cn(n.prototype)),"setDisposeFn",s).call(s,(function(){i.parentNode&&i.parentNode.replaceChild(e,i)}))},c._document=o,c}return tn(n,[{key:"attachComponentPortal",value:function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((function(){return e.destroy()}))):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn((function(){n._appRef.detachView(e.hostView),e.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(e)),e}},{key:"attachTemplatePortal",value:function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach((function(t){return e.outletElement.appendChild(t)})),i.detectChanges(),this.setDisposeFn((function(){var t=n.indexOf(i);-1!==t&&n.remove(t)})),i}},{key:"dispose",value:function(){Je(cn(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}]),n}(l),f=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i){return Qe(this,n),e.call(this,t,i)}return n}(c);return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N),i.Nb(i.R))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.yb]}),t}(),d=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,r,a){var o,s;return Qe(this,n),(s=e.call(this))._componentFactoryResolver=t,s._viewContainerRef=r,s._isInitialized=!1,s.attached=new i.o,s.attachDomPortal=function(t){if(!s._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=s._document.createComment("dom-portal");t.setAttachedHost(on(s)),e.parentNode.insertBefore(i,e),s._getRootNode().appendChild(e),Je((o=on(s),cn(n.prototype)),"setDisposeFn",o).call(o,(function(){i.parentNode&&i.parentNode.replaceChild(e,i)}))},s._document=a,s}return tn(n,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){Je(cn(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(i,e.length,t.injector||e.
1injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),Je(cn(n.prototype),"setDisposeFn",this).call(this,(function(){return r.destroy()})),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(t){var e=this;t.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return Je(cn(n.prototype),"setDisposeFn",this).call(this,(function(){return e._viewContainerRef.clear()})),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}},{key:"portal",get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&Je(cn(n.prototype),"detach",this).call(this),t&&Je(cn(n.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),n}(l);return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.j),i.Nb(i.R),i.Nb(r.e))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.yb]}),t}(),p=function(){var t=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(d);return t.\u0275fac=function(e){return m(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[i.Ab([{provide:d,useExisting:t}]),i.yb]}),t}(),m=i.Vb(p),v=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t}(),b=function(){function t(e,n){Qe(this,t),this._parentInjector=e,this._customTokens=n}
1return tn(t,[{key:"get",value:function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}]),t}()},"/ab2":function(t,e,n){var i=n("iUdu"),r=n("QihY"),a=n("6F8h");e.createCipher=e.Cipher=i.createCipher,e.createCipheriv=e.Cipheriv=i.createCipheriv,e.createDecipher=e.Decipher=r.createDecipher,e.createDecipheriv=e.Decipheriv=r.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(a)}},"/ayr":function(t,e,n){var i;function r(t){this.rand=t}if(t.exports=function(t){return i||(i=new r(null)),i.generate(t)},t.exports.Rand=r,r.prototype.generate=function(t){return this._rand(t)},r.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),n=0;n<e.length;n++)e[n]=this.rand.getByte();return e},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?r.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?r.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"==typeof window&&(r.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=n(6);if("function"!=typeof a.randomBytes)throw new Error("Not supported");r.prototype._rand=function(t){return a.randomBytes(t)}}catch(o){}},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){Qe(this,t),this.compare=e,this.keySelector=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).keySelector=r,a.hasKey=!1,"function"==typeof i&&(a.compare=i),a}return tn(n,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}]),n}(i.a)},0:function(t,e,n){t.exports=n("zUnb")},"0EQZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return c}));var i=n("7+OI"),r=n("LRne"),a=n("XNiG"),o=n("fXoL"),s=function t(){Qe(this,t)};function c(t){return t&&"function"==typeof t.connect}var u=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this))._data=t,i}return tn(n,[{key:"connect",value:function(){return Object(i.a)(this._data)?this._data:Object(r.a)(this._data)}},{key:"disconnect",value:function(){}}]),n}(s),l=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Qe(this,t),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new a.a,i&&i.length&&(n?i.forEach((function(t){return e._markSelected(t)})):this._markSelected(i[0]),this._selectedToEmit.length=0)}
1return tn(t,[{key:"select",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach((function(e){return t._markSelected(e)})),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach((function(e){return t._unmarkSelected(e)})),this._emitChangeEvent()}},{key:"toggle",value:function(t){this.isSelected(t)?this.deselect(t):this.select(t)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(t){return this._selection.has(t)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(t){this._multiple&&this.selected&&this._selected.sort(t)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}},{key:"_unmarkSelected",value:function(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}},{key:"_unmarkAll",value:function(){var t=this;this.isEmpty()||this._selection.forEach((function(e){return t._unmarkSelected(e)}))}},{key:"_verifyValueAssignment",value:function(t){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),t}(),h=function(){var t=function(){function t(){Qe(this,t),this._listeners=[]}
1return tn(t,[{key:"notify",value:function(t,e){var n,i=Ge(this._listeners);try{for(i.s();!(n=i.n()).done;){(0,n.value)(t,e)}}catch(r){i.e(r)}finally{i.f()}}},{key:"listen",value:function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter((function(e){return t!==e}))}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(o.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t}()},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("bHdf");function r(){return Object(i.a)(1)}},"0IaG":function(t,e,n){"use strict";n.d(e,"a",(function(){return T})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return j})),n.d(e,"d",(function(){return R})),n.d(e,"e",(function(){return P})),n.d(e,"f",(function(){return N})),n.d(e,"g",(function(){return x})),n.d(e,"h",(function(){return L}));var i=n("rDax"),r=n("+rOU"),a=n("fXoL"),o=n("FKr1"),s=n("cH1L"),c=n("ofXK"),u=n("XNiG"),l=n("NXyV"),h=n("LRne"),f=n("pLZG"),d=n("IzEk"),p=n("JX91"),m=n("R0Ic"),v=n("FtGj"),b=n("u47x");function g(t,e){}var y=function t(){Qe(this,t),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},_={dialogContainer:Object(m.n)("dialogContainer",[Object(m.k)("void, exit",Object(m.l)({opacity:0,transform:"scale(0.7)"})),Object(m.k)("enter",Object(m.l)({transform:"none"})),Object(m.m)("* => enter",Object(m.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(m.l)({transform:"none",opacity:1}))),Object(m.m)("* => void, * => exit",Object(m.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(m.l)({opacity:0})))])};function w(){throw Error("Attempting to attach dialog content after content is already attached")}var k=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,r,o,s,c){var u;return Qe(this,n),(u=e.call(this))._elementRef=t,u._focusTrapFactory=i,u._changeDetectorRef=r,u._config=s,u._focusMonitor=c,u._elementFocusedBeforeDialogWasOpened=null,u._closeInteractionType=null,u._state="enter",u._animationStateChanged=new a.o,u.attachDomPortal=function(t){return u._portalOutlet.hasAttached()&&w(),u._setupFocusTrap(),u._portalOutlet.attachDomPortal(t)},u._ariaLabelledBy=s.ariaLabelledBy||null,u._document=o,u}return tn(n,[{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached()&&w(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached()&&w(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(t)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){var e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){var t=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return t._elementRef.nativeElement.focus()})))}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}},{key:"_onAnimationDone",value:function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}},{key:"_onAnimationStart",value:function(t){this._animationStateChanged.emit(t)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(r.a);return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(b.i),a.Nb(a.h),a.Nb(c.e,8),a.Nb(y),a.Nb(b.h))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var n;1&t&&a.Ec(r.c,!0),2&t&&a.xc(n=a.hc())&&(e._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&a.Hc("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)}
1)),2&t&&(a.Cb("id",e._id)("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),a.Ic("@dialogContainer",e._state))},features:[a.yb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&a.Jc(0,g,0,0,"ng-template",0)},directives:[r.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[_.dialogContainer]}}),t}(),S=0,x=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+S++;Qe(this,t),this._overlayRef=e,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new u.a,this._afterClosed=new u.a,this._beforeClosed=new u.a,this._state=0,n._id=r,n._animationStateChanged.pipe(Object(f.a)((function(t){return"done"===t.phaseName&&"enter"
1===t.toState})),Object(d.a)(1)).subscribe((function(){i._afterOpened.next(),i._afterOpened.complete()})),n._animationStateChanged.pipe(Object(f.a)((function(t){return"done"===t.phaseName&&"exit"===t.toState})),Object(d.a)(1)).subscribe((function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()})),e.detachments().subscribe((function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()})),e.keydownEvents().pipe(Object(f.a)((function(t){return t.keyCode===v.g&&!i.disableClose&&!Object(v.s)(t)}))).subscribe((function(t){t.preventDefault(),C(i,"keyboard")})),e.backdropClick().subscribe((function(){i.disableClose?i._containerInstance._recaptureFocus():C(i,"mouse")}))}return tn(t,[{key:"close",value:function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe(Object(f.a)((function(t){return"start"===t.phaseName})),Object(d.a)(1)).subscribe((function(n){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout((function(){return e._finishDialogClose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),t}();function C(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}var T=new a.s("MatDialogData"),E=new a.s("mat-dialog-default-options"),O=new a.s("mat-dialog-scroll-strategy"),M={provide:O,deps:[i.c],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},A=function(){var t=function(){function t(e,n,i,r,a,o,s){var c=this;Qe(this,t),this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new u.a,this._afterOpenedAtThisLevel=new u.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(l.a)((function(){return c.openDialogs.length?c._getAfterAllClosed():c._getAfterAllClosed().pipe(Object(p.a)(void 0))})),this._scrollStrategy=a}
1return tn(t,[{key:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,e){var n=this;if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new y)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'.concat(e.id,'" exists already. The dialog id must be unique.'));var i=this._createOverlay(e),r=this._attachDialogContainer(i,e),a=this._attachDialogContent(t,r,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe((function(){return n._removeOpenDialog(a)})),this.afterOpened.next(a),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find((function(e){return e.id===t}))}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)}},{key:"_getOverlayConfig",value:function(t){var e=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}},{key:"_attachDialogContainer",value:function(t,e){var n=a.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),i=new r.d(k,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}},{key:"_attachDialogContent",value:function(t,e,n,i){var o=new x(n,e,i.id);if(t instanceof a.N)e.attachTemplatePortal(new r.i(t,null,{$implicit:i.data,dialogRef:o}));else{var s=this._createInjector(i,o,e),c=e.attachComponentPortal(new r.d(t,i.viewContainerRef,s));o.componentInstance=c.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}},{key:"_createInjector",value:function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:k,useValue:n},{provide:T,useValue:t.data},{provide:x,useValue:e}];return!t.direction||i&&i.get(s.b,null)||r.push({provide:s.b,useValue:{value:t.direction,change:Object(h.a)()}}),a.t.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var e=t.length;e--;)t[e].close()}},{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.cc(i.c),a.cc(a.t),a.cc(c.l,8),a.cc(E,8),a.cc(O),a.cc(t,12),a.cc(i.e))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}(),I=0,R=function(){var t=function(){function t(e,n,i){Qe(this,t),this.dialogRef=e,this._elementRef=n,this._dialog=i,this.type="button"}
1return tn(t,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=D(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}},{key:"_onButtonClick",value:function(t){C(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Nb(x,8),a.Nb(a.l),a.Nb(A))},t.\u0275dir=a.Ib({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&a.gc("click",(function(t){return e._onButtonClick(t)})),2&t&&a.Cb("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[a.zb]}),t}(),L=function(){var t=function(){function t(e,n,i){Qe(this,t),this._dialogRef=e,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+I++}
1return tn(t,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=D(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Nb(x,8),a.Nb(a.l),a.Nb(A))},t.\u0275dir=a.Ib({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&a.Wb("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),P=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}(),j=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t}();function D(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find((function(t){return t.id===n.id})):null}var N=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[A,M],imports:[[i.f,r.h,o.j],o.j]}),t}()},"0MNC":function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return k}));var i,r=n("fXoL"),a=n("nLfN"),o=n("XNiG"),s=n("itXk"),c=n("GyhO"),u=n("HDdC"),l=n("IzEk"),h=n("zP0r"),f=n("Kj3r"),d=n("lJxs"),p=n("JX91"),m=n("1G5W"),v=n("8LU1"),b=new Set,g=function(){var t=function(){function t(e){Qe(this,t),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):y}
1return tn(t,[{key:"matchMedia",value:function(t){return this._platform.WEBKIT&&function(t){if(!b.has(t))try{i||((i=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule("@media ".concat(t," {.fx-query-test{ }}"),0),b.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(a.a))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(a.a))},token:t,providedIn:"root"}),t}();function y(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var _=function(){var t=function(){function t(e,n){Qe(this,t),this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new o.a}return tn(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var e=this;return w(Object(v.b)(t)).some((function(t){return e._registerQuery(t).mql.matches}))}},{key:"observe",value:function(t){var e=this,n=w(Object(v.b)(t)).map((function(t){return e._registerQuery(t).observable})),i=Object(s.b)(n);return(i=Object(c.a)(i.pipe(Object(l.a)(1)),i.pipe(Object(h.a)(1),Object(f.a)(0)))).pipe(Object(d.a)((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),e})))}},{key:"_registerQuery",value:function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new u.a((function(t){var i=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(i),function(){n.removeListener(i)}})).pipe(Object(p.a)(n),Object(d.a)((function(e){return{query:t,matches:e.matches}})),Object(m.a)(this._destroySubject)),mql:n};return this._queries.set(t,i),i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(g),r.cc(r.B))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(g),Object(r.cc)(r.B))},token:t,providedIn:"root"}),t}();function w(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}var k={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"0ROu":function(t,e,n){"use strict";var i={};function r(t,e,n){n||(n=Error);var r=function(t){var n,i;function r(n,i,r){return t.call(this,function(t,n,i){return"string"==typeof e?e:e(t,n,i)}(n,i,r))||this}return i=t,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,r}(n);r.prototype.name=n.name,r.prototype.code=t,i[t]=r}function a(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}r("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(t,e,n){var i,r,o,s;if("string"==typeof e&&"not "===e.substr(0,"not ".length)?(i="must not be",e=e.replace(/^not /,"")):i="must be",o=t,(void 0===s||s>o.length)&&(s=o.length)," argument"===o.substring(s-" argument".length,s))r="The ".concat(t," ").concat(i," ").concat(a(e,"type"));else{var c=function(t,e,n){return"number"!=typeof n&&(n=0),!(n+".".length>t.length)&&-1!==t.indexOf(".",n)}(t)?"property":"argument";r='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(a(e,"type"))}return r+". Received type ".concat(typeof n)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENT
1ED",(function(t){return"The "+t+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=i},"0XuU":function(t,e,n){t.exports=n("43KI").Transform},"0cit":function(t,e,n){"use strict";var i=n("P7XM");function r(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function a(t,e){this.path=t,this.rethrow(e)}e.Reporter=r,r.prototype.isError=function(t){return t instanceof a},r.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},r.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},r.prototype.enterKey=function(t){return this._reporterState.path.push(t)},r.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},r.prototype.leaveKey=function(t,e,n){var i=this._reporterState;this.exitKey(t),null!==i.obj&&(i.obj[e]=n)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},r.prototype.leaveObject=function(t){var e=this._reporterState,n=e.obj;return e.obj=t,n},r.prototype.error=function(t){var e,n=this._reporterState,i=t instanceof a;if(e=i?t:new a(n.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!n.options.partial)throw e;return i||n.errors.push(e),e},r.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},i(a,Error),a.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},1:function(t,e){},"1CSz":function(t,e,n){"use strict";var i=n("P7XM"),r=n("hwdV").Buffer,a=n("ZDAU"),o=r.alloc(128);function s(t,e){a.call(this,"digest"),"string"==typeof e&&(e=r.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=r.concat([e,o],64));for(var n=this._ipad=r.allocUnsafe(64),i=this._opad=r.allocUnsafe(64),s=0;s<64;s++)n[s]=54^e[s],i[s]=92^e[s];this._hash=[n]}i(s,a),s.prototype._update=function(t){this._hash.push(t)},s.prototype._final=function(){var t=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,t]))},t.exports=s},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("zx2A");function r(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(e){Qe(this,t),this.notifier=e}
1return tn(t,[{key:"call",value:function(t,e){var n=new o(t),r=Object(i.c)(this.notifier,new i.a(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t)).seenValue=!1,i}return tn(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(i.b)},"1IWx":function(t,e,n){t.exports=r;var i=n("+qE3").EventEmitter;function r(){i.call(this)}n("P7XM")(r,i),r.Readable=n("43KI"),r.Writable=n("LGOv"),r.Duplex=n("CWBI"),r.Transform=n("0XuU"),r.PassThrough=n("wq4j"),r.Stream=r,r.prototype.pipe=function(t,e){var n=this;function r(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function a(){n.readable&&n.resume&&n.resume()}n.on("data",r),t.on("drain",a),t._isStdio||e&&!1===e.end||(n.on("end",s),n.on("close",c));var o=!1;function s(){o||(o=!0,t.end())}function c(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(l(),0===i.listenerCount(this,"error"))throw t}function l(){n.removeListener("data",r),t.removeListener("drain",a),n.removeListener("end",s),n.removeListener("close",c),n.removeListener("error",u),t.removeListener("error",u),n.removeListener("end",l),n.removeListener("close",l),t.removeListener("close",l)}return n.on("error",u),t.on("error",u),n.on("end",l),n.on("close",l),t.on("close",l),t.emit("pipe",n),t}},"1M8x":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("qCKp"),r=n("Xk39");i.Observable.prototype.catch=r._catch,i.Observable.prototype._catch=r._catch},"1uah":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return u}));var i=n("yCtX"),r=n("DH7j"),a=n("7o/Q"),o=n("Lhse"),s=n("zx2A");function c(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[e.length-1];return"function"==typeof r&&e.pop(),Object(i.a)(e,void 0).lift(new u(r))}var u=function(){function t(e){Qe(this,t),this.resultSelector=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.resultSelector))}}]),t}(),l=function(t){en(n,t);var e=rn(n);function n(t,i){var r;arguments.length>2&&void 0!==arguments[2]||Object.create(null);return Qe(this,n),(r=e.call(this,t)).resultSelector=i,r.iterators=[],r.active=0,r.resultSelector="function"==typeof i?i:void 0,r}return tn(n,[{key:"_next",value:function(t){var e=this.iterators;Object(r.a)(t)?e.push(new f(t)):e.push("function"==typeof t[o.a]?new h(t[o.a]()):new d(this.destination,this,t))}},{key:"_complete",value:function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;n<e;n++){var i=t[n];i.stillUnsubscribed?this.destination.add(i.subscribe()):this.active--}}else this.destination.complete()}},{key:"notifyInactive",value:function(){this.active--,0===this.active&&this.destination.complete()}},{key:"checkIterators",value:function(){for(var t=this.iterators,e=t.length,n=this.destination,i=0;i<e;i++){var r=t[i];if("function"==typeof r.hasValue&&!r.hasValue())return}for(var a=!1,o=[],s=0;s<e;s++){var c=t[s],u=c.next();if(c.hasCompleted()&&(a=!0),u.done)return void n.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),a&&n.complete()}},{key:"_tryresultSelector",value:function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(a.a),h=function(){function t(e){Qe(this,t),this.iterator=e,this.nextResult=e.next()}
1return tn(t,[{key:"hasValue",value:function(){return!0}},{key:"next",value:function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t}},{key:"hasCompleted",value:function(){var t=this.nextResult;return Boolean(t&&t.done)}}]),t}(),f=function(){function t(e){Qe(this,t),this.array=e,this.index=0,this.length=0,this.length=e.length}return tn(t,[{key:o.a,value:function(){return this}},{key:"next",value:function(t){var e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}},{key:"hasValue",value:function(){return this.array.length>this.index}},{key:"hasCompleted",value:function(){return this.array.length===this.index}}]),t}(),d=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).parent=i,a.observable=r,a.stillUnsubscribed=!0,a.buffer=[],a.isComplete=!1,a}return tn(n,[{key:o.a,value:function(){return this}},{key:"next",value:function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}},{key:"hasValue",value:function(){return this.buffer.length>0}},{key:"hasCompleted",value:function(){return 0===this.buffer.length&&this.isComplete}},{key:"notifyComplete",value:function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}},{key:"notifyNext",value:function(t){this.buffer.push(t),this.parent.checkIterators()}},{key:"subscribe",value:function(){return Object(s.c)(this.observable,new s.a(this))}}]),n}(s.b)},"1w4i":function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},2:function(t,e){},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("XNiG"),r=n("9ppp"),a=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this))._value=t,i}return tn(n,[{key:"_subscribe",value:function(t){var e=Je(cn(n.prototype),"_subscribe",this).call(this,t);return e&&!e.closed&&t.next(this._value),e}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}},{key:"next",value:function(t){Je(cn(n.prototype),"next",this).call(this,this._value=t)}},{key:"value",get:function(){return this.getValue()}}]),n}(i.a)},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"2j6C":function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=n,n.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},3:function(t,e){},"3BRs":function(t,e,n){"use strict";(function(e,i,r){var a=n("lm0R");function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var i=t.entry;for(t.entry=null;i;){var r=i.callback;e.pendingcb--,r(void 0),i=i.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=g;var s,c=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?i:a.nextTick;g.WritableState=b;var u=Object.create(n("Onz0"));u.inherits=n("P7XM");var l,h={deprecate:n("t9FE")},f=n("QpuX"),d=n("qPBE").Buffer,p=r.Uint8Array||function(){},m=n("RoFp");function v(){}function b(t,e){s=s||n("sZro");var i=e instanceof s;this.objectMode=!!(t=t||{}).objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,u=t.writableHighWaterMark;this.highWaterMark=r||0===r?r:i&&(u||0===u)?u:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===t.decodeStrings),this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,i=n.sync,r=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,i,r){--e.pendingcb,n?(a.nextTick(r,i),a.nextTick(x,t,e),t._writableState.errorEmitted=!0,t.emit("error",i)):(r(i),t._writableState.errorEmitted=!0,t.emit("error",i),x(t,e))}(t,n,i,e,r);else{var o=k(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||w(t,n),i?c(_,t,n,o,r):_(t,n,o,r)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function g(t){if(s=s||n("sZro"),!(l.call(g,this)||this instanceof s))return new g(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),f.call(this)}function y(t,e,n,i,r,a,o){e.writelen=i,e.writecb=o,e.writing=!0,e.sync=!0,n?t._writev(r,e.onwrite):t._write(r,a,e.onwrite),e.sync=!1}function _(t,e,n,i){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,i(),x(t,e)}function w(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=new Array(e.bufferedRequestCount),r=e.corkedRequestsFree;r.entry=n;for(var a=0,s=!0;n;)i[a]=n,n.isBuf||(s=!1),n=n.next,a+=1;i.allBuffers=s,y(t,e,!0,e.length,i,"",r.finish),e.pendingcb++,e.lastBufferedRequest=null,r.next?(e.corkedRequestsFree=r.next,r.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk;
vendor: 4,452 bytes, line 1
1if(y(t,e,!1,e.objectMode?1:c.length,c,n.encoding,n.callback),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function S(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),x(t,e)}))}function x(t,e){var n=k(e);return n&&(function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,a.nextTick(S,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}u.inherits(g,f),b.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(b.prototype,"buffer",{get:h.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===g&&t&&t._writableState instanceof b}})):l=function(t){return t instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(t,e,n){var i,r=this._writableState,o=!1,s=!r.objectMode&&(d.isBuffer(i=t)||i instanceof p);return s&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"==typeof e&&(n=e,e=null),s?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=v),r.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),a.nextTick(e,n)}(this,n):(s||function(t,e,n,i){var r=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),a.nextTick(i,o),r=!1),r}(this,r,t,n))&&(r.pendingcb++,o=function(t,e,n,i,r,a){if(!n){var o=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=d.from(e,n)),e}(e,i,r);i!==o&&(n=!0,r="buffer",i=o)}var s=e.objectMode?1:i.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:r,isBuf:n,callback:a,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else y(t,e,!1,s,i,r,a);return c}(this,r,s,t,e,n)),o},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},g.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(t,e,n){var i=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(t,e,n){e.ending=!0,x(t,e),n&&(e.finished?a.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,i,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n("8oxB"),n("URgk").setImmediate,n("yLpj"))},"3E0/":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("D0XW"),r=n("mlxB"),a=n("7o/Q"),o=n("WMd4");function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a,n=Object(r.a)(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new c(n,e))}}var c=function(){function t(e,n){Qe(this,t),this.delay=e,this.scheduler
1=n}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.delay,this.scheduler))}}]),t}(),u=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).delay=i,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return tn(n,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,n=new l(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(o.a.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(o.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(t,a)}else this.unsubscribe(),e.active=!1}}]),n}(a.a),l=function t(e,n){Qe(this,t),this.time=e,this.notification=n}},"3N8a":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){en(n,t);var e=rn(n);function n(t,i){var r;
1return Qe(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r.pending=!1,r}return tn(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),n}(function(t){en(n,t);var e=rn(n);function n(t,i){return Qe(this,n),e.call(this)}return tn(n,[{key:"schedule",value:function(t){return this}}]),n}(n("quSY").a))},"3Pt+":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return Lt})),n.d(e,"c",(function(){return m})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return Mt})),n.d(e,"f",(function(){return Vt})),n.d(e,"g",(function(){return Dt})),n.d(e,"h",(function(){return x})),n.d(e,"i",(function(){return c})),n.d(e,"j",(function(){return g})),n.d(e,"k",(function(){return _})),n.d(e,"l",(function(){return w})),n.d(e,"m",(function(){return bt})),n.d(e,"n",(function(){return Ct})),n.d(e,"o",(function(){return K})),n.d(e,"p",(function(){return P})),n.d(e,"q",(function(){return Bt})),n.d(e,"r",(function(){return N})),n.d(e,"s",(function(){return Ut})),n.d(e,"t",(function(){return Rt})),n.d(e,"u",(function(){return W})),n.d(e,"v",(function(){return E})),n.d(e,"w",(function(){return Y})),n.d(e,"x",(function(){return Tt}));var i=n("fXoL"),r=n("ofXK"),a=n("cp0P"),o=n("Cfvw"),s=n("lJxs"),c=new i.s("NgValueAccessor"),u={provide:c,useExisting:Object(i.V)((function(){return l})),multi:!0},l=function(){var t=function(){function t(e,n){Qe(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}
1return tn(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.gc("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[i.Ab([u])]}),t}(),h={provide:c,useExisting:Object(i.V)((function(){return d})),multi:!0},f=new i.s("CompositionEventMode"),d=function(){var t=function(){function t(e,n,i){var a;Qe(this,t),this._renderer=e,this._elementRef=n,this._compositionMode=i,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(a=Object(r.B)()?Object(r.B)().getUserAgent():"",!/android (\d+)/.test(a.toLowerCase())))}
1return tn(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_handleInput",value:function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l),i.Nb(f,8))},t.\u0275dir=i.Ib({type:t,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(t,e){1&t&&i.gc("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[i.Ab([h])]}),t}(),p=function(){var t=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"reset",value:function(t){this.control&&this.control.reset(t)}},{key:"hasError",value:function(t,e){return!!this.control&&this.control.hasError(t,e)}},{key:"getError",value:function(t,e){return this.control?this.control.getError(t,e):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t}),t}(),m=function(){var t=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(p);return t.\u0275fac=function(e){return v(e||t)},t.\u0275dir=i.Ib({type:t,features:[i.yb]}),t}(),v=i.Vb(m);function b(){throw new Error("unimplemented")}var g=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return tn(n,[{key:"validator",get:function(){return b()}},{key:"asyncValidator",get:function(){return b()}}]),n}(p),y=function(){function t(e){Qe(this,t),this._cd=e}
1return tn(t,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),t}(),_=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){return Qe(this,n),e.call(this,t)}return n}(y);return t.\u0275fac=function(e){return new(e||t)(i.Nb(g,2))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Fb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.yb]}),t}(),w=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){return Qe(this,n),e.call(this,t)}return n}(y);return t.\u0275fac=function(e){return new(e||t)(i.Nb(m,2))},t.\u0275dir=i.Ib({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Fb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.yb]}),t}();function k(t){return null==t||0===t.length}function S(t){return null!=t&&"number"==typeof t.length}var x=new i.s("NgValidators"),C=new i.s("NgAsyncValidators"),T=/^(?=.{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])?)*$/,E=function(){function t(){Qe(this,t)}return tn(t,null,[{key:"min",value:function(t){return function(e){if(k(e.value)||k(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}},{key:"max",value:function(t){return function(e){if(k(e.value)||k(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}},{key:"required",value:function(t){return k(t.value)?{required:!0}:null}},{key:"requiredTrue",value:function(t){return!0===t.value?null:{required:!0}}},{key:"email",value:function(t){return k(t.value)||T.test(t.value)?null:{email:!0}}},{key:"minLength",value:function(t){return function(e){return k(e.value)||!S(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}}},{key:"maxLength",value:function(t){return function(e){return S(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}}},{key:"pattern",value:function(e){return e?("string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(k(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}):t.nullValidator;var n,i}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){if(!t)return null;var e=t.filter(O);return 0==e.length?null:function(t){return A(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}}},{key:"composeAsync",value:function(t){if(!t)return null;var e=t.filter(O);return 0==e.length?null:function(t){var n=function(t,e){return e.map((function(e){return e(t)}))}(t,e).map(M);return Object(a.a)(n).pipe(Object(s.a)(A))}}}]),t}();function O(t){return null!=t}function M(t){var e=Object(i.tb)(t)?Object(o.a)(t):t;if(!Object(i.sb)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function A(t){var e={};return t.forEach((function(t){e=null!=t?Object.assign(Object.assign({},e),t):e})),0===Object.keys(e).length?null:e}function I(t){return t.validate?function(e){return t.validate(e)}:t}function R(t){return t.validate?function(e){return t.validate(e)}:t}var L={provide:c,useExisting:Object(i.V)((function(){return P})),multi:!0},P=function(){var t=function(){function t(e,n){Qe(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}
1return tn(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.gc("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i.Ab([L])]}),t}(),j={provide:c,useExisting:Object(i.V)((function(){return N})),multi:!0},D=function(){var t=function(){function t(){Qe(this,t),this._accessors=[]}return tn(t,[{key:"add",value:function(t,e){this._accessors.push([t,e])}},{key:"remove",value:function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}},{key:"select",value:function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))}},{key:"_isSameGroup",value:function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),N=function(){var t=function(){function t(e,n,i,r){Qe(this,t),this._renderer=e,this._elementRef=n,this._registry=i,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}
1return tn(t,[{key:"ngOnInit",value:function(){this._control=this._injector.get(g),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}}},{key:"fireUncheck",value:function(t){this.writeValue(t)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l),i.Nb(D),i.Nb(i.t))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.gc("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Ab([j])]}),t}(),B={provide:c,useExisting:Object(i.V)((function(){return F})),multi:!0},F=function(){var t=function(){function t(e,n){Qe(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}
1return tn(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.gc("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i.Ab([B])]}),t}(),z='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',V='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',U='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',H={provide:c,useExisting:Object(i.V)((function(){return W})),multi:!0};function q(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}var W=function(){var t=function(){function t(e,n){Qe(this,t),this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Object.is}
1return tn(t,[{key:"writeValue",value:function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=q(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var i=n[e];if(this._compareWith(this._optionMap.get(i),t))return i}return null}},{key:"_getOptionValue",value:function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}},{key:"compareWith",set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.gc("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.Ab([H])]}),t}(),K=function(){var t=function(){function t(e,n,i){Qe(this,t),this._element=e,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption())}
1return tn(t,[{key:"_setElementValue",value:function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}},{key:"ngValue",set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(q(this.id,t)),this._select.writeValue(this._select.value))}},{key:"value",set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.G),i.Nb(W,9))},t.\u0275dir=i.Ib({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t}(),X={provide:c,useExisting:Object(i.V)((function(){return G})),multi:!0};function J(t,e){return null==t?""+e:("string"==typeof e&&(e="'".concat(e,"'")),e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}var G=function(){var t=function(){function t(e,n){Qe(this,t),this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Object.is}
1return tn(t,[{key:"writeValue",value:function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var i=t.map((function(t){return n._getOptionId(t)}));e=function(t,e){t._setSelected(i.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){var i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,a=0;a<r.length;a++){var o=r.item(a),s=e._getOptionValue(o.value);i.push(s)}else for(var c=n.options,u=0;u<c.length;u++){var l=c.item(u);if(l.selected){var h=e._getOptionValue(l.value);i.push(h)}}e.value=i,t(i)}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_registerOption",value:function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var i=n[e];if(this._compareWith(this._optionMap.get(i)._value,t))return i}return null}},{key:"_getOptionValue",value:function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}},{key:"compareWith",set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&i.gc("change",(function(t){return e.onChange(t.target)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.Ab([X])]}),t}(),Y=function(){var t=function(){function t(e,n,i){Qe(this,t),this._element=e,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption(this))}
1return tn(t,[{key:"_setElementValue",value:function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}},{key:"_setSelected",value:function(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}},{key:"ngValue",set:function(t){null!=this._select&&(this._value=t,this._setElementValue(J(this.id,t)),this._select.writeValue(this._select.value))}},{key:"value",set:function(t){this._select?(this._value=t,this._setElementValue(J(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.G),i.Nb(G,9))},t.\u0275dir=i.Ib({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t}();function Z(t,e){return[].concat(Xe(e.path),[t])}function Q(t,e){t||nt(e,"Cannot find control with"),e.valueAccessor||nt(e,"No value accessor for form control with"),t.validator=E.compose([t.validator,e.validator]),t.asyncValidator=E.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange((function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&$(t,e)}))}(t,e),function(t,e){t.registerOnChange((function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&$(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange((function(t){e.valueAccessor.setDisabledState(t)})),e._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))})),e._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))}))}function $(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function tt(t,e){null==t&&nt(e,"Cannot find control with"),t.validator=E.compose([t.validator,e.validator]),t.asyncValidator=E.composeAsync([t.asyncValidator,e.asyncValidator])}function et(t){return nt(t,"There is no FormControl instance attached to form control element with")}function nt(t,e){var n;throw n=t.path.length>1?"path: '".concat(t.path.join(" -> "),"'"):t.path[0]?"name: '".concat(t.path,"'"):"unspecified name attribute",new Error("".concat(e," ").concat(n))}function it(t){return null!=t?E.compose(t.map(I)):null}function rt(t){return null!=t?E.composeAsync(t.map(R)):null}var at=[l,F,P,W,G,N];function ot(t,e){t._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function st(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function ct(t){var e=lt(t)?t.validators:t;return Array.isArray(e)?it(e):e||null}function ut(t,e){var n=lt(e)?e.asyncValidators:t;return Array.isArray(n)?rt(n):n||null}function lt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var ht=function(){function t(e,n){Qe(this,t),this.validator=e,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}
vendor: 4,922 bytes, line 1
1return tn(t,[{key:"setValidators",value:function(t){this.validator=ct(t)}},{key:"setAsyncValidators",value:function(t){this.asyncValidator=ut(t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=M(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var i=t;return e.forEach((function(t){i=i instanceof dt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof pt&&i.at(t)||null})),i}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}}
1,{key:"_initObservables",value:function(){this.valueChanges=new i.o,this.statusChanges=new i.o}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls((function(e){return e.status===t}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(t){return t.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(t){return t.touched}))}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){lt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}}]),t}(),ft=function(t){en(n,t);var e=rn(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return Qe(this,n),(t=e.call(this,ct(r),ut(a,r)))._onChange=[],t._applyFormState(i),t._setUpdateStrategy(r),t.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),t._initObservables(),t}return tn(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(t){return t(e.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_forEachChild",value:function(t){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1}
1)):this.value=this._pendingValue=t}}]),n}(ht),dt=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,ct(i),ut(r,i))).controls=t,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return tn(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach((function(i){e._throwIfControlMissing(i),e.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach((function(i){e.controls[i]&&e.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof ft?e.value:e.getRawValue(),t}))}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e<n.length;e++){var i=n[e],r=this.controls[i];if(this.contains(i)&&t(r))return!0}return!1}},{key:"_reduceValue",value:function(){var t=this;return this._reduceChildren({},(function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e}))}},{key:"_reduceChildren",value:function(t,e){var n=t;return this._forEachChild((function(t,i){n=e(n,t,i)})),n}},{key:"_allControlsDisabled",value:function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Mu
1st supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(ht),pt=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,ct(i),ut(r,i))).controls=t,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return tn(n,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}},{key:"removeAt",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach((function(t,i){e._throwIfControlMissing(i),e.at(i).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.forEach((function(t,i){e.at(i)&&e.at(i).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map((function(t){return t instanceof ft?t.value:t.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}},{key:"_forEachChild",value:function(t){this.controls.forEach((function(e,n){t(e,n)}))}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))}},{key:"_anyControls",value:function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Mu
1st supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var t,e=Ge(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(ht),mt={provide:m,useExisting:Object(i.V)((function(){return bt}))},vt=Promise.resolve(null),bt=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,r){var a;return Qe(this,n),(a=e.call(this)).submitted=!1,a._directives=[],a.ngSubmit=new i.o,a.form=new dt({},it(t),rt(r)),a}return tn(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(t){var e=this;vt.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),Q(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;vt.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),st(e._directives,t)}))}},{key:"addFormGroup",value:function(t){var e=this;vt.then((function(){var n=e._findContainer(t.path),i=new dt({});tt(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(t){var e=this;vt.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var n=this;vt.then((function(){n.form.get(t.path).setValue(e)}))}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,ot(this.form,this._directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(m);return t.\u0275fac=function(e){return new(e||t)(i.Nb(x,10),i.Nb(C,10))},t.\u0275dir=i.Ib({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.gc("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Ab([mt]),i.yb]}),t}(),gt=function(){var t=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return Z(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return it(this._validators)}},{key:"asyncValidator",get:function(){return rt(this._asyncValidators)}}]),n}(m);return t.\u0275fac=function(e){return yt(e||t)},t.\u0275dir=i.Ib({type:t,features:[i.yb]}),t}(),yt=i.Vb(gt),_t=function(){function t(){Qe(this,t)}return tn(t,null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '.concat(z,'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n '))}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(V,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(U))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(V,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(U))}}]),t}(),wt={provide:m,useExisting:Object(i.V)((function(){return kt}))},kt=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;
1return Qe(this,n),(a=e.call(this))._parent=t,a._validators=i,a._asyncValidators=r,a}return tn(n,[{key:"_checkParentType",value:function(){this._parent instanceof n||this._parent instanceof bt||_t.modelGroupParentException()}}]),n}(gt);return t.\u0275fac=function(e){return new(e||t)(i.Nb(m,5),i.Nb(x,10),i.Nb(C,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.Ab([wt]),i.yb]}),t}(),St={provide:g,useExisting:Object(i.V)((function(){return Ct}))},xt=Promise.resolve(null),Ct=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,r,a,o){var s;return Qe(this,n),(s=e.call(this)).control=new ft,s._registered=!1,s.update=new i.o,s._parent=t,s._rawValidators=r||[],s._rawAsyncValidators=a||[],s.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||nt(t,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return e.forEach((function(e){var a;e.constructor===d?n=e:(a=e,at.some((function(t){return a.constructor===t}))?(i&&nt(t,"More than one built-in value accessor matches form control with"),i=e):(r&&nt(t,"More than one custom value accessor matches form control with"),r=e))})),r||i||n||(nt(t,"No valid value accessor for form control with"),null)}(on(s),o),s}return tn(n,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){Q(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof kt)&&this._parent instanceof gt?_t.formGroupNameException():this._parent instanceof kt||this._parent instanceof bt||_t.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||_t.missingNameException()}},{key:"_updateValue",value:function(t){var e=this;xt.then((function(){e.control.setValue(t,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;xt.then((function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()}))}},{key:"path",get:function(){return this._parent?Z(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return it(this._rawValidators)}},{key:"asyncValidator",get:function(){return rt(this._rawAsyncValidators)}}]),n}(g);return t.\u0275fac=function(e){return new(e||t)(i.Nb(m,9),i.Nb(x,10),i.Nb(C,10),i.Nb(c,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Ab([St]),i.yb,i.zb]}),t}(),Tt=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),Et=new i.s("NgModelWithFormControlWarning"),Ot={provide:m,useExisting:Object(i.V)((function(){return Mt}))},Mt=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,r){var a;return Qe(this,n),(a=e.call(this))._validators=t,a._asyncValidators=r,a.submitted=!1,a.directives=[],a.form=null,a.ngSubmit=new i.o,a}return tn(n,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateV
1alidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return Q(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){st(this.directives,t)}},{key:"addFormGroup",value:function(t){var e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(t){}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){var e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(t){}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,ot(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;this.directives.forEach((function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange((function(){return et(e)})),e.valueAccessor.registerOnTouched((function(){return et(e)})),e._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}(e.control,e),n&&Q(n,e),e.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var t=it(this._validators);this.form.validator=E.compose([this.form.validator,t]);var e=rt(this._asyncValidators);this.form.asyncValidator=E.composeAsync([this.form.asyncValidator,e])}},{key:"_checkFormPresent",value:function(){this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(m);return t.\u0275fac=function(e){return new(e||t)(i.Nb(x,10),i.Nb(C,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.gc("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Ab([Ot]),i.yb,i.zb]}),t}(),At={provide:x,useExisting:Object(i.V)((function(){return Rt})),multi:!0},It={provide:x,useExisting:Object(i.V)((function(){return Lt})),multi:!0},Rt=function(){var t=function(){function t(){Qe(this,t),this._required=!1}
1return tn(t,[{key:"validate",value:function(t){return this.required?E.required(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"required",get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Cb("required",e.required?"":null)},inputs:{required:"required"},features:[i.Ab([At])]}),t}(),Lt=function(){var t=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"validate",value:function(t){return this.required?E.requiredTrue(t):null}}]),n}(Rt);return t.\u0275fac=function(e){return Pt(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Cb("required",e.required?"":null)},features:[i.Ab([It]),i.yb]}),t}(),Pt=i.Vb(Lt),jt={provide:x,useExisting:Object(i.V)((function(){return Dt})),multi:!0},Dt=function(){var t=function(){function t(){Qe(this,t),this._validator=E.nullValidator}
1return tn(t,[{key:"ngOnChanges",value:function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null==this.minlength?null:this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=E.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Cb("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[i.Ab([jt]),i.zb]}),t}(),Nt={provide:x,useExisting:Object(i.V)((function(){return Bt})),multi:!0},Bt=function(){var t=function(){function t(){Qe(this,t),this._validator=E.nullValidator}return tn(t,[{key:"ngOnChanges",value:function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=E.pattern(this.pattern)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Cb("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[i.Ab([Nt]),i.zb]}),t}(),Ft=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t}(),zt=function(){var t=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"group",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(t),i=null,r=null,a=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,a=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new dt(n,{asyncValidators:r,updateOn:a,validators:i})}},{key:"control",value:function(t,e,n){return new ft(t,e,n)}},{key:"array",value:function(t,e,n){var i=this,r=t.map((function(t){return i._createControl(t)}));return new pt(r,e,n)}},{key:"_reduceControls",value:function(t){var e=this,n={};return Object.keys(t).forEach((function(i){n[i]=e._createControl(t[i])})),n}},{key:"_createControl",value:function(t){return t instanceof ft||t instanceof dt||t instanceof pt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),Vt=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[D],imports:[Ft]}),t}(),Ut=function(){var t=function(){function t(){Qe(this,t)}return tn(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:Et,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[zt,D],imports:[Ft]}),t}()},"3UWI":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("D0XW"),r=n("tnsW"),a=n("PqYM");function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;return Object(r.a)((function(){return Object(a.a)(t,e)}))}},4:function(t,e){},"43KI":function(t,e,n){(e=t.exports=n("rXFu")).Stream=e,e.Readable=e,e.Writable=n("3BRs"),e.Duplex=n("sZro"),e.Transform=n("J78i"),e.PassThrough=n("eA/Y")},"49sm":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},"4Hv8":function(t,e,n){var i=n("WnY+"),r=n("tcrS"),a=n("afKu"),o=n("hwdV").Buffer,s=n("fSpj"),c=n("n53Y"),u=n("i+bA"),l=o.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(t,e,n){var s=function(t){return"rmd160"===t||"ripemd160"===t?function(t){return(new r).update(t).digest()}:"md5"===t?i:function(e){return a(t).update(e).digest()}}(t),c="sha512"===t||"sha384"===t?128:64;e.length>c?e=s(e):e.length<c&&(e=o.concat([e,l],c));for(var u=o.allocUnsafe(c+h[t]),f=o.allocUnsafe(c+h[t]),d=0;d<c;d++)u[d]=54^e[d],f[d]=92^e[d];var p=o.allocUnsafe(c+n+4);u.copy(p,0,0,c),this.ipad1=p,this.ipad2=u,this.opad=f,this.alg=t,this.blocksize=c,this.hash=s,this.size=h[t]}f.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,n,i,r){s(n,i);var a=new f(r=r||"sha1",t=u(t,c,"Password"),(e=u(e,c,"Salt")).length),l=o.allocUnsafe(i),d=o.allocUnsafe(e.length+4);e.copy(d,0,0,e.length);for(var p=0,m=h[r],v=Math.ceil(i/m),b=1;b<=v;b++){d.writeUInt32BE(b,e.length);for(var g=a.run(d,a.ipad1),y=g,_=1;_<n;_++){y=a.run(y,a.ipad2);for(var w=0;w<m;w++)g[w]^=y[w]}g.copy(l,p),p+=m}return l}},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},"4XzM":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("89kA")},"4dMO":function(t,e,n){(function(e){var i=n("MzeL"),r=n("AQYT");t.exports=function(t){return new o(t)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(t){this.curveType=a[t],this.curveType||(this.curveType={name:t}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function s(t,n,i){Array.isArray(t)||(t=t.toArray());var r=new e(t);if(i&&r.length<i){var a=new e(i-r.length);a.fill(0),r=e.concat([a,r])}return n?r.toString(n):r}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,o.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},o.prototype.computeSecret=function(t,n,i){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),s(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),i,this.curveType.byteLength)},o.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(n[0]=n[n.length-1]%2?7:6),s(n,t)},o.prototype.getPrivateKey=function(t){return s(this.keys.getPrivate(),t)},o.prototype.setPublicKey=function(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this.keys._importPublic(t),this},o.prototype.setPrivateKey=function(t,n){n=n||"utf8",e.isBuffer(t)||(t=new e(t,n));var i=new r(t);return i=i.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(i),this}}).call(this,n("tjlA").Buffer)},5:function(t,e){},"5+tZ":function(t,e,n){"use strict";n.d(e,"b",(function(){return o}
1)),n.d(e,"a",(function(){return u}));var i=n("lJxs"),r=n("Cfvw"),a=n("zx2A");function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(a){return a.pipe(o((function(n,a){return Object(r.a)(t(n,a)).pipe(Object(i.a)((function(t,i){return e(n,t,a,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new s(t,n))})}var s=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;Qe(this,t),this.project=e,this.concurrent=n}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project,this.concurrent))}}]),t}(),c=function(t){en(n,t);var e=rn(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return Qe(this,n),(r=e.call(this,t)).project=i,r.concurrent=a,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return tn(n,[{key:"_next",value:function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=new a.a(this),n=this.destination;n.add(e);var i=Object(a.c)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(a.b),u=o},6:function(t,e){},"60yG":function(t,e){var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,o=parseInt,s=Object.prototype.toString;function c(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){return function(t,e){var u;if("function"!=typeof e)throw new TypeError("Expected a function");return t=function(t){var e=function(t){return t?(t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==s.call(t)}(t))return NaN;if(c(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=c(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var u=r.test(t);return u||a.test(t)?o(t.slice(2),u?2:8):i.test(t)?NaN:+t}(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}(t),u=e%1;return e==e?u?e-u:e:0}(t),function(){return--t>0&&(u=e.apply(this,arguments)),t<=1&&(e=void 0),u}}(2,t)}},"6F8h":function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},"6lN/":function(t,e,n){"use strict";var i=n("gK+I"),r=n("86MQ"),a=r.getNAF,o=r.getJSF,s=r.assert;function c(t,e){this.type=t,this.p=new i(e.p,16),this.red=e.prime?i.red(e.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=e.n&&new i(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}
1function u(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(t,e){s(t.precomputed);var n=t._getDoubles(),i=a(e,1,this._bitLength),r=(1<<n.step+1)-(n.step%2==0?2:1);r/=3;var o,c,u=[];for(o=0;o<i.length;o+=n.step){c=0;for(var l=o+n.step-1;l>=o;l--)c=(c<<1)+i[l];u.push(c)}for(var h=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=r;d>0;d--){for(o=0;o<u.length;o++)(c=u[o])===d?f=f.mixedAdd(n.points[o]):c===-d&&(f=f.mixedAdd(n.points[o].neg()));h=h.add(f)}return h.toP()},c.prototype._wnafMul=function(t,e){for(var n=4,i=t._getNAFPoints(n),r=i.points,o=a(e,n=i.wnd,this._bitLength),c=this.jpoint(null,null,null),u=o.length-1;u>=0;u--){for(var l=0;u>=0&&0===o[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var h=o[u];s(0!==h),c="affine"===t.type?c.mixedAdd(h>0?r[h-1>>1]:r[-h-1>>1].neg()):c.add(h>0?r[h-1>>1]:r[-h-1>>1].neg())}return"affine"===t.type?c.toP():c},c.prototype._wnafMulAdd=function(t,e,n,i,r){var s,c,u,l=this._wnafT1,h=this._wnafT2,f=this._wnafT3,d=0;for(s=0;s<i;s++){var p=(u=e[s])._getNAFPoints(t);l[s]=p.wnd,h[s]=p.points}for(s=i-1;s>=1;s-=2){var m=s-1,v=s;if(1===l[m]&&1===l[v]){var b=[e[m],null,null,e[v]];0===e[m].y.cmp(e[v].y)?(b[1]=e[m].add(e[v]),b[2]=e[m].toJ().mixedAdd(e[v].neg())):0===e[m].y.cmp(e[v].y.redNeg())?(b[1]=e[m].toJ().mixedAdd(e[v]),b[2]=e[m].add(e[v].neg())):(b[1]=e[m].toJ().mixedAdd(e[v]),b[2]=e[m].toJ().mixedAdd(e[v].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=o(n[m],n[v]);for(d=Math.max(y[0].length,d),f[m]=new Array(d),f[v]=new Array(d),c=0;c<d;c++)f[m][c]=g[3*(1+(0|y[0][c]))+(1+(0|y[1][c]))],f[v][c]=0,h[m]=b}else f[m]=a(n[m],l[m],this._bitLength),f[v]=a(n[v],l[v],this._bitLength),d=Math.max(f[m].length,d),d=Math.max(f[v].length,d)}var _=this.jpoint(null,null,null),w=this._wnafT4;for(s=d;s>=0;s--){for(var k=0;s>=0;){var S=!0;for(c=0;c<i;c++)w[c]=0|f[c][s],0!==w[c]&&(S=!1);if(!S)break;k++,s--}if(s>=0&&k++,_=_.dblp(k),s<0)break;for(c=0;c<i;c++){var x=w[c];0!==x&&(x>0?u=h[c][x-1>>1]:x<0&&(u=h[c][-x-1>>1].neg()),_="affine"===u.type?_.mixedAdd(u):_.add(u))}}for(s=0;s<i;s++)h[s]=null;return r?_:_.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(t,e){t=r.toArray(t,e);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*n)return 6===t[0]?s(t[t.length-1]%2==0):7===t[0]&&s(t[t.length-1]%2==1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(t){return this.encode(t,!0)},u.prototype._encode=function(t){var e=this.curve.p.byteLength(),n=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",e))},u.prototype.encode=function(t,e){return r.encode(this._encode(e),t)},u.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},u.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},u.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,r=0;r<e;r+=t){for(var a=0;a<t;a++)i=i.dbl();n.push(i)}return{step:t,points:n}},u.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],n=(1<<t)-1,i=1===n?null:this.dbl(),r=1;r<n;r++)e[r]=e[r-1].add(i);return{wnd:t,points:e}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(t){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}},7:function(t,e){},"7+OI":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("HDdC");function r(t){return!!t&&(t instanceof i.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"7HRe":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("HDdC"),r=n("quSY"),a=n("kJWO"),o=n("jZKg"),s=n("Lhse"),c=n("c2HN"),u=n("I55L");function l(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return new i.a((function(n){var i=new r.a;return i.add(e.schedule((function(){var r=t[a.a]();i.add(r.subscribe({next:function(t){i.add(e.schedule((function(){return n.next(t)})))},error:function(t){i.add(e.schedule((function(){return n.error(t)})))},complete:function(){i.add(e.schedule((function(){return n.complete()}
1)))}}))}))),i}))}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a((function(n){var i=new r.a;return i.add(e.schedule((function(){return t.then((function(t){i.add(e.schedule((function(){n.next(t),i.add(e.schedule((function(){return n.complete()})))})))}),(function(t){i.add(e.schedule((function(){return n.error(t)})))}))}))),i}))}(t,e);if(Object(u.a)(t))return Object(o.a)(t,e);if(function(t){return t&&"function"==typeof t[s.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a((function(n){var i,a=new r.a;return a.add((function(){i&&"function"==typeof i.return&&i.return()})),a.add(e.schedule((function(){i=t[s.a](),a.add(e.schedule((function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(a){return void n.error(a)}e?n.complete():(n.next(t),this.schedule())}})))}))),a}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},"7Hc7":function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return h}));var i=1,r=Promise.resolve(),a={};function o(t){return t in a&&(delete a[t],!0)}var s=function(t){var e=i++;return a[e]=!0,r.then((function(){return o(e)&&t()})),e},c=function(t){o(t)},u=function(t){en(n,t);var e=rn(n);function n(t,i){var r;
1return Qe(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return tn(n,[{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?Je(cn(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=s(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return Je(cn(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(c(e),t.scheduled=void 0)}}]),n}(n("3N8a").a),l=new(function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}}}]),n}(n("IjjT").a))(u),h=l},"7ckf":function(t,e,n){"use strict";var i=n("w8CP"),r=n("2j6C");function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=a,a.prototype.update=function(t,e){if(t=i.toArray(t,e),this.pending=this.pending?this.pending.concat(t):t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=i.join32(t,0,t.length-n,this.endian);for(var r=0;r<t.length;r+=this._delta32)this._update(t,r,r+this._delta32)}return this},a.prototype.digest=function(t){return this.update(this._pad()),r(null===this.pending),this._digest(t)},a.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,i=new Array(n+this.padLength);i[0]=128;for(var r=1;r<n;r++)i[r]=0;if(t<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)i[r++]=0;i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=t>>>24&255,i[r++]=t>>>16&255,i[r++]=t>>>8&255,i[r++]=255&t}else for(i[r++]=255&t,i[r++]=t>>>8&255,i[r++]=t>>>16&255,i[r++]=t>>>24&255,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,a=8;a<this.padLength;a++)i[r++]=0;return i}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n("n6bG"),r=n("gRHU"),a=n("quSY"),o=n("2QA8"),s=n("2fFW"),c=n("NJ4a"),u=function(t){en(n,t);var e=rn(n);function n(t,i,a){var o;switch(Qe(this,n),(o=e.call(this)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=r.a;break;case 1:if(!t){o.destination=r.a;break}if("object"==typeof t){t instanceof n?(o.syncErrorThrowable=t.syncErrorThrowable,o.destination=t,t.add(on(o))):(o.syncErrorThrowable=!0,o.destination=new l(on(o),t));break}default:o.syncErrorThrowable=!0,o.destination=new l(on(o),t,i,a)}return o}return tn(n,[{key:o.a,value:function(){return this}},{key:"next",value:function(t){this.isStopped||this._next(t)}},{key:"error",value:function(t){this.isStopped||(this.isStopped=!0,this._error(t))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,Je(cn(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(t){this.destination.next(t)}},{key:"_error",value:function(t){this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}],[{key:"create",value:function(t,e,i){var r=new n(t,e,i);return r.syncErrorThrowable=!1,r}}]),n}(a.a),l=function(t){en(n,t);var e=rn(n);function n(t,a,o,s){var c,u;Qe(this,n),(c=e.call(this))._parentSubscriber=t;var l=on(c);return Object(i.a)(a)?u=a:a&&(u=a.next,o=a.error,s=a.complete,a!==r.a&&(l=Object.create(a),Object(i.a)(l.unsubscribe)&&c.add(l.unsubscribe.bind(l)),l.unsubscribe=c.unsubscribe.bind(on(c)))),c._context=l,c._next=u,c._error=o,c._complete=s,c}return tn(n,[{key:"next",value:function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}},{key:"error",value:function(t){if(!this.isStopped){var e=this._parentSubscriber,n=s.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(c.a)(t)}}}},{key:"complete",value:function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}},{key:"__tryOrSetError",value:function(t,e,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return s.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(c.a)(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}]),n}(u)},"7tlc":function(t,e,n){(function(t){var i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},i=0;i<e.length;i++)n[e[i]]=Object.getOwnPropertyDescriptor(t,e[i]);return n},r=/%[sdj%]/g;e.format=function(t){if(!b(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(s(arguments[n]));return e.join(" ")}n=1;for(var i=arguments,a=i.length,o=String(t).replace(r,(function(t){if("%%"===t)return"%";if(n>=a)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(e){return"[Circular]"}default:return t}})),c=i[n];n<a;
vendor: 4,076 bytes, line 1
1c=i[++n])m(c)||!_(c)?o+=" "+c:o+=" "+s(c);return o},e.deprecate=function(n,i){if(void 0!==t&&!0===t.noDeprecation)return n;if(void 0===t)return function(){return e.deprecate(n,i).apply(this,arguments)};var r=!1;return function(){if(!r){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),r=!0}return n.apply(this,arguments)}};var a,o={};function s(t,n){var i={seen:[],stylize:u};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),p(n)?i.showHidden=n:n&&e._extend(i,n),g(i.showHidden)&&(i.showHidden=!1),g(i.depth)&&(i.depth=2),g(i.colors)&&(i.colors=!1),g(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=c),l(i,t,i.depth)}function c(t,e){var n=s.styles[e];return n?"\x1b["+s.colors[n][0]+"m"+t+"\x1b["+s.colors[n][1]+"m":t}function u(t,e){return t}function l(t,n,i){if(t.customInspect&&n&&S(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(i,t);return b(r)||(r=l(t,r,i)),r}var a=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(b(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return v(e)?t.stylize(""+e,"number"):p(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}(t,n);if(a)return a;var o=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(n)),k(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return h(n);if(0===o.length){if(S(n))return t.stylize("[Function"+(n.name?": "+n.name:"")+"]","special");if(y(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return t.stylize(Date.prototype.toString.call(n),"date");if(k(n))return h(n)}var c,u="",_=!1,x=["{","}"];return d(n)&&(_=!0,x=["[","]"]),S(n)&&(u=" [Function"+(n.name?": "+n.name:"")+"]"),y(n)&&(u=" "+RegExp.prototype.toString.call(n)),w(n)&&(u=" "+Date.prototype.toUTCString.call(n)),k(n)&&(u=" "+h(n)),0!==o.length||_&&0!=n.length?i<0?y(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),c=_?function(t,e,n,i,r){for(var a=[],o=0,s=e.length;o<s;++o)O(e,String(o))?a.push(f(t,e,n,i,String(o),!0)):a.push("");return r.forEach((function(r){r.match(/^\d+$/)||a.push(f(t,e,n,i,r,!0))})),a}(t,n,i,s,o):o.map((function(e){return f(t,n,i,s,e,_)})),t.seen.pop(),function(t,e,n){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(c,u,x)):x[0]+u+x[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,n,i,r,a){var o,s,c;if((c=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?s=t.stylize(c.set?"[Getter/Setter]":"[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),O(i,r)||(o="["+r+"]"),s||(t.seen.indexOf(c.value)<0?(s=m(n)?l(t,c.value,null):l(t,c.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),g(o)){if(a&&r.match(/^\d+$/))return s;(o=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function d(t){return Array.isArray(t)}function p(t){return"boolean"==typeof t}function m(t){return null===t}function v(t){return"number"==typeof t}function b(t){return"string"==typeof t}function g(t){return void 0===t}function y(t){return _(t)&&"[object RegExp]"===x(t)}function _(t){return"object"==typeof t&&null!==t}function w(t){return _(t)&&"[object Date]"===x(t)}function k(t){return _(t)&&("[object Error]"===x(t)||t instanceof Error)}function S(t){return"function"==typeof t}function x(t){return Object.prototype.toString.call(t)}function C(t){return t<10?"0"+t.toString(10):t.toString(10)}
1e.debuglog=function(n){if(g(a)&&(a=t.env.NODE_DEBUG||""),n=n.toUpperCase(),!o[n])if(new RegExp("\\b"+n+"\\b","i").test(a)){var i=t.pid;o[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,i,t)}}else o[n]=function(){};return o[n]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=d,e.isBoolean=p,e.isNull=m,e.isNullOrUndefined=function(t){return null==t},e.isNumber=v,e.isString=b,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=g,e.isRegExp=y,e.isObject=_,e.isDate=w,e.isError=k,e.isFunction=S,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n("j/1Z");var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(){var t=new Date,e=[C(t.getHours()),C(t.getMinutes()),C(t.getSeconds())].join(":");return[t.getDate(),T[t.getMonth()],e].join(" ")}function O(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",E(),e.format.apply(e,arguments))},e.inherits=n("FfBw"),e._extend=function(t,e){if(!e||!_(e))return t;for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t};var M="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(M&&t[M]){var e;if("function"!=typeof(e=t[M]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,M,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,i=new Promise((function(t,i){e=t,n=i})),r=[],a=0;a<arguments.length;a++)r.push(arguments[a]);r.push((function(t,i){t?n(t):e(i)}));try{t.apply(this,r)}catch(o){n(o)}return i}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),M&&Object.defineProperty(e,M,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=M,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],i=0;i<arguments.length;i++)n.push(arguments[i]);var r=n.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return r.apply(a,arguments)};e.apply(this,n).then((function(e){t.nextTick(o,null,e)}),(function(e){t.nextTick(A,e,o)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,i(e)),n}}).call(this,n("8oxB"))},"7yq6":function(t,e,n){(function(e){var i=n("jWEn");t.exports=i.satisfies(e.version,"^6.12.0 || >=8.0.0")}).call(this,n("8oxB"))},"7zrB":function(t,e,n){"use strict";var i=n("ND7S"),r=n("IPZY"),a=n("P7XM");function o(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new o(t,e)},o.prototype._createNamed=function(t){var e=this.name;function n(t){this._initNamed(t,e)}return a(n,t),n.prototype._initNamed=function(e,n){t.call(this,e,n)},new n(this)},o.prototype._getDecoder=function(t){return this.decoders.hasOwnProperty(t=t||"der")||(this.decoders[t]=this._createNamed(r[t])),this.decoders[t]},o.prototype.decode=function(t,e,n){return this._getDecoder(e).decode(t,n)},o.prototype._getEncoder=function(t){return this.encoders.hasOwnProperty(t=t||"der")||(this.encoders[t]=this._createNamed(i[t])),this.encoders[t]},o.prototype.encode=function(t,e,n){return this._getEncoder(e).encode(t,n)}},8:function(t,e){},"86MQ":function(t,e,n){"use strict";var i=e,r=n("gK+I"),a=n("2j6C"),o=n("dlgc");i.assert=a,i.toArray=o.toArray,i.zero2=o.zero2,i.toHex=o.toHex,i.encode=o.encode,i.getNAF=function(t,e,n){var i=new Array(Math.max(t.bitLength(),n)+1);i.fill(0);for(var r=1<<e+1,a=t.clone(),o=0;o<i.length;o++){var s,c=a.andln(r-1);a.isOdd()?a.isubn(s=c>(r>>1)-1?(r>>1)-c:c):s=0,i[o]=s,a.iushrn(1)}return i},i.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var i,r=0,a=0;t.cmpn(-r)>0||e.cmpn(-a)>0;){var o,s,c=t.andln(3)+r&3,u=e.andln(3)+a&3;3===c&&(c=-1),3===u&&(u=-1),o=0==(1&c)?0:3!=(i=t.andln(7)+r&7)&&5!==i||2!==u?c:-c,n[0].push(o),s=0==(1&u)?0:3!=(i=e.andln(7)+a&7)&&5!==i||2!==c?u:-u,n[
11].push(s),2*r===o+1&&(r=1-r),2*a===s+1&&(a=1-a),t.iushrn(1),e.iushrn(1)}return n},i.cachedProperty=function(t,e,n){var i="_"+e;t.prototype[e]=function(){return void 0!==this[i]?this[i]:this[i]=n.call(this)}},i.parseBytes=function(t){return"string"==typeof t?i.toArray(t,"hex"):t},i.intFromLE=function(t){return new r(t,"hex","le")}},"89kA":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("qCKp"),r=n("ZR4w");i.Observable.prototype.map=r.map},"8LU1":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return a}));var i=n("fXoL");function r(t){return null!=t&&""+t!="false"}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function s(t){return Array.isArray(t)?t:[t]}function c(t){return null==t?"":"string"==typeof t?t:t+"px"}function u(t){return t instanceof i.l?t.nativeElement:t}},"8Qeq":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t){for(;t;){var e=t,n=e.closed,r=e.destination,a=e.isStopped;if(n||a)return!1;t=r&&r instanceof i.a?r:null}return!0}},"8Spv":function(t,e,n){t.exports=n("+qE3").EventEmitter},"8cin":function(t,e,n){"use strict";t.exports=l;var i=n("0ROu").codes,r=i.ERR_METHOD_NOT_IMPLEMENTED,a=i.ERR_MULTIPLE_CALLBACK,o=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=i.ERR_TRANSFORM_WITH_LENGTH_0,c=n("Xn1i");function u(t,e){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(null===i)return this.emit("error",new a);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),i(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(e,n){f(t,e,n)}))}function f(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new s;if(t._transformState.transforming)throw new o;return t.push(null)}n("P7XM")(l,c),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,n){n(new r("_transform()"))},l.prototype._write=function(t,e,n){var i=this._transformState;if(i.writecb=n,i.writechunk=t,i.writeencoding=e,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){c.prototype._destroy.call(this,t,(function(t){e(t)}))}},"8oxB":function(t,e){var n,i,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var c,u=[],l=!1,h=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):h=-1,u.length&&d())}function d(){if(!l){var t=s(f);l=!0;for(var e=u.length;e;){for(c=u,u=[];++h<e;)c&&c[h].run();h=-1,e=u.length}c=null,l=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new p(t,e)),1!==u.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},"8wnj":function(t,e,n){var i=n("KRB3"),r=function(t,e){i.call(this,t),this.name="NotBeforeError",this.date=e};(r.prototype=Object.create(i.prototype)).constructor=r,t.exports=r},"9GDS":function(t,e,n){var i=n("mObS"),r=n("hwdV").Buffer;function a(t){var e=r.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var n,o=r.alloc(0),s=0;o.length<e;)n=a(s++),o=r.concat([o,i("sha1").update(t).update(n).digest()]);return o.slice(0,e)}},"9Oa7":function(t,e,n){var i=n("FGiv");t.exports=function(t,e){var n=e||Math.floor(Date.now()/1e3);if("string"==typeof t){var r=i(t);
1if(void 0===r)return;return Math.floor(n+r/1e3)}return"number"==typeof t?n+t:void 0}},"9XZ3":function(t,e,n){"use strict";var i=n("P7XM"),r=n("k+aG"),a=n("hwdV").Buffer,o=new Array(16);function s(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(t,e){return t<<e|t>>>32-e}function u(t,e,n,i,r,a,o){return c(t+(e&n|~e&i)+r+a|0,o)+e|0}function l(t,e,n,i,r,a,o){return c(t+(e&i|n&~i)+r+a|0,o)+e|0}function h(t,e,n,i,r,a,o){return c(t+(e^n^i)+r+a|0,o)+e|0}function f(t,e,n,i,r,a,o){return c(t+(n^(e|~i))+r+a|0,o)+e|0}i(s,r),s.prototype._update=function(){for(var t=o,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,i=this._b,r=this._c,a=this._d;n=u(n,i,r,a,t[0],3614090360,7),a=u(a,n,i,r,t[1],3905402710,12),r=u(r,a,n,i,t[2],606105819,17),i=u(i,r,a,n,t[3],3250441966,22),n=u(n,i,r,a,t[4],4118548399,7),a=u(a,n,i,r,t[5],1200080426,12),r=u(r,a,n,i,t[6],2821735955,17),i=u(i,r,a,n,t[7],4249261313,22),n=u(n,i,r,a,t[8],1770035416,7),a=u(a,n,i,r,t[9],2336552879,12),r=u(r,a,n,i,t[10],4294925233,17),i=u(i,r,a,n,t[11],2304563134,22),n=u(n,i,r,a,t[12],1804603682,7),a=u(a,n,i,r,t[13],4254626195,12),r=u(r,a,n,i,t[14],2792965006,17),n=l(n,i=u(i,r,a,n,t[15],1236535329,22),r,a,t[1],4129170786,5),a=l(a,n,i,r,t[6],3225465664,9),r=l(r,a,n,i,t[11],643717713,14),i=l(i,r,a,n,t[0],3921069994,20),n=l(n,i,r,a,t[5],3593408605,5),a=l(a,n,i,r,t[10],38016083,9),r=l(r,a,n,i,t[15],3634488961,14),i=l(i,r,a,n,t[4],3889429448,20),n=l(n,i,r,a,t[9],568446438,5),a=l(a,n,i,r,t[14],3275163606,9),r=l(r,a,n,i,t[3],4107603335,14),i=l(i,r,a,n,t[8],1163531501,20),n=l(n,i,r,a,t[13],2850285829,5),a=l(a,n,i,r,t[2],4243563512,9),r=l(r,a,n,i,t[7],1735328473,14),n=h(n,i=l(i,r,a,n,t[12],2368359562,20),r,a,t[5],4294588738,4),a=h(a,n,i,r,t[8],2272392833,11),r=h(r,a,n,i,t[11],1839030562,16),i=h(i,r,a,n,t[14],4259657740,23),n=h(n,i,r,a,t[1],2763975236,4),a=h(a,n,i,r,t[4],1272893353,11),r=h(r,a,n,i,t[7],4139469664,16),i=h(i,r,a,n,t[10],3200236656,23),n=h(n,i,r,a,t[13],681279174,4),a=h(a,n,i,r,t[0],3936430074,11),r=h(r,a,n,i,t[3],3572445317,16),i=h(i,r,a,n,t[6],76029189,23),n=h(n,i,r,a,t[9],3654602809,4),a=h(a,n,i,r,t[12],3873151461,11),r=h(r,a,n,i,t[15],530742520,16),n=f(n,i=h(i,r,a,n,t[2],3299628645,23),r,a,t[0],4096336452,6),a=f(a,n,i,r,t[7],1126891415,10),r=f(r,a,n,i,t[14],2878612391,15),i=f(i,r,a,n,t[5],4237533241,21),n=f(n,i,r,a,t[12],1700485571,6),a=f(a,n,i,r,t[3],2399980690,10),r=f(r,a,n,i,t[10],4293915773,15),i=f(i,r,a,n,t[1],2240044497,21),n=f(n,i,r,a,t[8],1873313359,6),a=f(a,n,i,r,t[15],4264355552,10),r=f(r,a,n,i,t[6],2734768916,15),i=f(i,r,a,n,t[13],1309151649,21),n=f(n,i,r,a,t[4],4149444226,6),a=f(a,n,i,r,t[11],3174756917,10),r=f(r,a,n,i,t[2],718787259,15),i=f(i,r,a,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+i|0,this._c=this._c+r|0,this._d=this._d+a|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=a.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},A1SM:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return!0===t||!1===t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Boolean]"==n.call(t)}},ADT6:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("kU1M");e.filter=function(t,e){return i.filter(t,e)(this)}},ANxK:function(t,e,n){(function(t){var i=n("WKKt"),r=n("wk3p"),a=n("Vh22"),o={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var n=new t(r[e].prime,"hex"),i=new t(r[e].gen,"hex");return new a(n,i)},e.createDiffieHellman=e.DiffieHellman=function e(n,r,s,c){return t.isBuffer(r)||void 0===o[r]?e(n,"binary",r,s):(r=r||"binary",c=c||"binary",s=s||new t([2]),t.isBuffer(s)||(s=new t(s,c)),"number"==typeof n?new a(i(n,s),s,!0):(t.isBuffer(n)||(n=new t(n,r)),new a(n,s,!0)))}}).call(this,n("tjlA").Buffer)},AQYT:function(t,e,n){(function(t){!function(t,e){"use strict";function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function a(t,e,n){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;
vendor: 5,650 bytes, line 1
1"object"==typeof t?t.exports=a:e.BN=a,a.BN=a,a.wordSize=26;try{o=n(5).Buffer}catch(x){}function s(t,e,n){for(var i=0,r=Math.min(t.length,n),a=e;a<r;a++){var o=t.charCodeAt(a)-48;i<<=4,i|=o>=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return i}function c(t,e,n,i){for(var r=0,a=Math.min(t.length,n),o=e;o<a;o++){var s=t.charCodeAt(o)-48;r*=i,r+=s>=49?s-49+10:s>=17?s-17+10:s}return r}a.isBN=function(t){return t instanceof a||null!==t&&"object"==typeof t&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===e?this._parseHex(t,r):this._parseBase(t,e,r),"-"===t[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),e,n)},a.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},a.prototype._initArray=function(t,e,n){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var a,o,s=0;if("be"===n)for(r=t.length-1,a=0;r>=0;r-=3)this.words[a]|=(o=t[r]|t[r-1]<<8|t[r-2]<<16)<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===n)for(r=0,a=0;r<t.length;r+=3)this.words[a]|=(o=t[r]|t[r+1]<<8|t[r+2]<<16)<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,r,a=0;for(n=t.length-6,i=0;n>=e;n-=6)r=s(t,n,n+6),this.words[i]|=r<<a&67108863,this.words[i+1]|=r>>>26-a&4194303,(a+=24)>=26&&(a-=26,i++);n+6!==e&&(r=s(t,e,n+6),this.words[i]|=r<<a&67108863,this.words[i+1]|=r>>>26-a&4194303),this.strip()},a.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var i=0,r=1;r<=67108863;r*=e)i++;i--,r=r/e|0;for(var a=t.length-n,o=a%i,s=Math.min(a,a-o)+n,u=0,l=n;l<s;l+=i)u=c(t,l,l+i,e),this.imuln(r),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var h=1;for(u=c(t,l,t.length,e),l=0;l<o;l++)h*=e;this.imuln(h),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(t,e,n){n.negative=e.negative^t.negative;var i=t.length+e.length|0;n.length=i,i=i-1|0;var r=0|t.words[0],a=0|e.words[0],o=r*a,s=o/67108864|0;n.words[0]=67108863&o;for(var c=1;c<i;c++){for(var u=s>>>26,l=67108863&s,h=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=h;f++)u+=(o=(r=0|t.words[c-f|0])*(a=0|e.words[f])+l)/67108864|0,l=67108863&o;n.words[c]=0|l,s=0|u}return 0!==s?n.words[c]=0|s:n.length--,n.strip()}a.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var r=0,a=0,o=0;o<this.length;o++){var s=this.words[o],c=(16777215&(s<<r|a)).toString(16);n=0!=(a=s>>>24-r&16777215)||o!==this.length-1?u[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==a&&(n=a.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var f=l[t],d=h[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:u[f-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(t,e){return i(void 0!==o),this.toArrayLike(o,t,e)}
vendor: 4,459 bytes, line 1
1,a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,n){var r=this.byteLength(),a=n||Math.max(1,r);i(r<=a,"byte array longer than desired length"),i(a>0,"Requested array length <= 0"),this.strip();var o,s,c="le"===e,u=new t(a),l=this.clone();if(c){for(s=0;!l.isZero();s++)o=l.andln(255),l.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-r;s++)u[s]=0;for(s=0;!l.isZero();s++)o=l.andln(255),l.iushrn(8),u[a-s-1]=o}return u},a.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},a.prototype.bitLength=function(){var t=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},a.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},a.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var i=0;i<n.length;i++)this.words[i]=e.words[i]^n.words[i];if(this!==e)for(;i<e.length;i++)this.words[i]=e.words[i];return this.length=e.length,this.strip()},a.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var r=0;r<e;r++)this.words[r]=67108863&~this.words[r];return n>0&&(this.words[r]=~this.words[r]&67108863>>26-n),this.strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var n=t/26|0,r=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<r:this.words[n]&~(1<<r),this.strip()},a.prototype.iadd=function(t){var e,n,i;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,i=t):(n=t,i=this);for(var r=0,a=0;a<i.length;a++)this.words[a]=67108863&(e=(0|n.words[a])+(0|i.words[a])+r),r=e>>>26;for(;0!==r&&a<n.length;a++)this.words[a]=67108863&(e=(0|n.words[a])+r),r=e>>>26;if(this.length=n.length,0!==r)this.words[this.length]=r,this.length++;else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;
vendor: 1,190 bytes, line 1
1var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,i,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(n=this,i=t):(n=t,i=this);for(var a=0,o=0;o<i.length;o++)a=(e=(0|n.words[o])-(0|i.words[o])+a)>>26,this.words[o]=67108863&e;for(;0!==a&&o<n.length;o++)a=(e=(0|n.words[o])+a)>>26,this.words[o]=67108863&e;if(0===a&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var d=function(t,e,n){var i,r,a,o=t.words,s=e.words,c=n.words,u=0,l=0|o[0],h=8191&l,f=l>>>13,d=0|o[1],p=8191&d,m=d>>>13,v=0|o[2],b=8191&v,g=v>>>13,y=0|o[3],_=8191&y,w=y>>>13,k=0|o[4],S=8191&k,x=k>>>13,C=0|o[5],T=8191&C,E=C>>>13,O=0|o[6],M=8191&O,A=O>>>13,I=0|o[7],R=8191&I,L=I>>>13,P=0|o[8],j=8191&P,D=P>>>13,N=0|o[9],B=8191&N,F=N>>>13,z=0|s[0],V=8191&z,U=z>>>13,H=0|s[1],q=8191&H,W=H>>>13,K=0|s[2],X=8191&K,J=K>>>13,G=0|s[3],Y=8191&G,Z=G>>>13,Q=0|s[4],$=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,it=et>>>13,rt=0|s[6],at=8191&rt,ot=rt>>>
vendor: 6,347 bytes, line 1
113,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ht=8191<,ft=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var vt=(u+(i=Math.imul(h,V))|0)+((8191&(r=(r=Math.imul(h,U))+Math.imul(f,V)|0))<<13)|0;u=((a=Math.imul(f,U))+(r>>>13)|0)+(vt>>>26)|0,vt&=67108863,i=Math.imul(p,V),r=(r=Math.imul(p,U))+Math.imul(m,V)|0,a=Math.imul(m,U);var bt=(u+(i=i+Math.imul(h,q)|0)|0)+((8191&(r=(r=r+Math.imul(h,W)|0)+Math.imul(f,q)|0))<<13)|0;u=((a=a+Math.imul(f,W)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,i=Math.imul(b,V),r=(r=Math.imul(b,U))+Math.imul(g,V)|0,a=Math.imul(g,U),i=i+Math.imul(p,q)|0,r=(r=r+Math.imul(p,W)|0)+Math.imul(m,q)|0,a=a+Math.imul(m,W)|0;var gt=(u+(i=i+Math.imul(h,X)|0)|0)+((8191&(r=(r=r+Math.imul(h,J)|0)+Math.imul(f,X)|0))<<13)|0;u=((a=a+Math.imul(f,J)|0)+(r>>>13)|0)+(gt>>>26)|0,gt&=67108863,i=Math.imul(_,V),r=(r=Math.imul(_,U))+Math.imul(w,V)|0,a=Math.imul(w,U),i=i+Math.imul(b,q)|0,r=(r=r+Math.imul(b,W)|0)+Math.imul(g,q)|0,a=a+Math.imul(g,W)|0,i=i+Math.imul(p,X)|0,r=(r=r+Math.imul(p,J)|0)+Math.imul(m,X)|0,a=a+Math.imul(m,J)|0;var yt=(u+(i=i+Math.imul(h,Y)|0)|0)+((8191&(r=(r=r+Math.imul(h,Z)|0)+Math.imul(f,Y)|0))<<13)|0;u=((a=a+Math.imul(f,Z)|0)+(r>>>13)|0)+(yt>>>26)|0,yt&=67108863,i=Math.imul(S,V),r=(r=Math.imul(S,U))+Math.imul(x,V)|0,a=Math.imul(x,U),i=i+Math.imul(_,q)|0,r=(r=r+Math.imul(_,W)|0)+Math.imul(w,q)|0,a=a+Math.imul(w,W)|0,i=i+Math.imul(b,X)|0,r=(r=r+Math.imul(b,J)|0)+Math.imul(g,X)|0,a=a+Math.imul(g,J)|0,i=i+Math.imul(p,Y)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,Y)|0,a=a+Math.imul(m,Z)|0;var _t=(u+(i=i+Math.imul(h,$)|0)|0)+((8191&(r=(r=r+Math.imul(h,tt)|0)+Math.imul(f,$)|0))<<13)|0;u=((a=a+Math.imul(f,tt)|0)+(r>>>13)|0)+(_t>>>26)|0,_t&=67108863,i=Math.imul(T,V),r=(r=Math.imul(T,U))+Math.imul(E,V)|0,a=Math.imul(E,U),i=i+Math.imul(S,q)|0,r=(r=r+Math.imul(S,W)|0)+Math.imul(x,q)|0,a=a+Math.imul(x,W)|0,i=i+Math.imul(_,X)|0,r=(r=r+Math.imul(_,J)|0)+Math.imul(w,X)|0,a=a+Math.imul(w,J)|0,i=i+Math.imul(b,Y)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Z)|0,i=i+Math.imul(p,$)|0,r=(r=r+Math.imul(p,tt)|0)+Math.imul(m,$)|0,a=a+Math.imul(m,tt)|0;var wt=(u+(i=i+Math.imul(h,nt)|0)|0)+((8191&(r=(r=r+Math.imul(h,it)|0)+Math.imul(f,nt)|0))<<13)|0;u=((a=a+Math.imul(f,it)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,i=Math.imul(M,V),r=(r=Math.imul(M,U))+Math.imul(A,V)|0,a=Math.imul(A,U),i=i+Math.imul(T,q)|0,r=(r=r+Math.imul(T,W)|0)+Math.imul(E,q)|0,a=a+Math.imul(E,W)|0,i=i+Math.imul(S,X)|0,r=(r=r+Math.imul(S,J)|0)+Math.imul(x,X)|0,a=a+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Z)|0)+Math.imul(w,Y)|0,a=a+Math.imul(w,Z)|0,i=i+Math.imul(b,$)|0,r=(r=r+Math.imul(b,tt)|0)+Math.imul(g,$)|0,a=a+Math.imul(g,tt)|0,i=i+Math.imul(p,nt)|0,r=(r=r+Math.imul(p,it)|0)+Math.imul(m,nt)|0,a=a+Math.imul(m,it)|0;var kt=(u+(i=i+Math.imul(h,at)|0)|0)+((8191&(r=(r=r+Math.imul(h,ot)|0)+Math.imul(f,at)|0))<<13)|0;u=((a=a+Math.imul(f,ot)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,i=Math.imul(R,V),r=(r=Math.imul(R,U))+Math.imul(L,V)|0,a=Math.imul(L,U),i=i+Math.imul(M,q)|0,r=(r=r+Math.imul(M,W)|0)+Math.imul(A,q)|0,a=a+Math.imul(A,W)|0,i=i+Math.imul(T,X)|0,r=(r=r+Math.imul(T,J)|0)+Math.imul(E,X)|0,a=a+Math.imul(E,J)|0,i=i+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Z)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Z)|0,i=i+Math.imul(_,$)|0,r=(r=r+Math.imul(_,tt)|0)+Math.imul(w,$)|0,a=a+Math.imul(w,tt)|0,i=i+Math.imul(b,nt)|0,r=(r=r+Math.imul(b,it)|0)+Math.imul(g,nt)|0,a=a+Math.imul(g,it)|0,i=i+Math.imul(p,at)|0,r=(r=r+Math.imul(p,ot)|0)+Math.imul(m,at)|0,a=a+Math.imul(m,ot)|0;var St=(u+(i=i+Math.imul(h,ct)|0)|0)+((8191&(r=(r=r+Math.imul(h,ut)|0)+Math.imul(f,ct)|0))<<13)|0;u=((a=a+Math.imul(f,ut)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,i=Math.imul(j,V),r=(r=Math.imul(j,U))+Math.imul(D,V)|0,a=Math.imul(D,U),i=i+Math.imul(R,q)|0,r=(r=r+Math.imul(R,W)|0)+Math.imul(L,q)|0,a=a+Math.imul(L,W)|0,i=i+Math.imul(M,X)|0,r=(r=r+Math.imul(M,J)|0)+Math.imul(A,X)|0,a=a+Math.imul(A,J)|0,i=i+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Z)|0)+Math.imul(E,Y)|0,a=a+Math.imul(E,Z)|0,i=i+Math.imul(S,$)|0,r=(r=r+Math.imul(S,tt)|0)+Math.imul(x,$)|0,a=a+Math.imul(x,tt)|0,i=i+Math.imul(_,nt)|0,r=(r=r+Math.imul(_,it)|0)+Math.imul(w,nt)|0,a=a+Math.imul(w,it)|0,i=i+Math.imul(b,at)|0,r=(r=r+Math.imul(b,ot)|0)+Math.imul(g,at)|0,a=a+Math.imul(g,ot)|0,i=i+Math.imul(p,ct)|0,r=(r=r+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,a=a+Math.imul(m,ut)|0;var xt=(u+(i=i+Math.imul(h,ht)|0)|0)+((8191&(r=(r=r+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;u=((a=a+Math.imul(f,ft)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,i=Math.imul(B,V),r=(r=Math.imul(B,U))+Math.imul(F,V)|0,a=Math.imul(F,U),i=i+Math.imul(j,q)|0,r=(r=r+Math.imul(j,W)|0)+Math.imul(D,q)|0,a=a+Math.imul(D,W)|0,i=i+Math.imul(R,X)|0,r=(r=r+Math.imul(R,J)|0)+Math.imul(L,X)|0,a=a+Math.imul(L,J)|0,i=i+Math.imul(M,Y)|0,r=(r=r+Math.imul(M,Z)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Z)|0,i=i+Math.imul(T,$)|0,r=(r=r+Math.imul(T,tt)|0)+Math.imul(E,$)|0,a=a+Math.imul(E,tt)|0,i=i+Math.imul(S,nt)|0,r=(r=r+Math.imul(S,it)|0)+Math.imul(x,nt)|0,a=a+Math.imul(x,it)|0,i=i+Math.imul(_,at)|0,r=(r=r+Math.imul(_,ot)|0)+Math.imul(w,at)|0,a=a+Math.imul(w,ot)|0,i=i+Math.imul(b,ct)|0,r=(r=r+Math.imul(b,ut)|0)+Math.imul(g,ct)|0,a=a+Math.imul(g,ut)|0,i=i+Math.imul(p,ht)|0,r=(r=r+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,a=a+Math.imul(m,ft)|0;var Ct=(u+(i=i+Math.imul(h,pt)|0)|0)+((8191&(r=(r=r+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;u=((a=a+Math.imul(f,mt)|0)+(r>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,i=Math.imul(B,q),r=(r=Math.imul(B,W))+Math.imul(F,q)|0,a=Math.imul(F,W),i=i+Math.imul(j,X)|0,r=(r=r+Math.imul(j,J)|0)+Math.imul(D,X)|0,a=a+Math.imul(D,J)|0,i=i+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Z)|0)+Math.imul(L,Y)|0,a=a+Math.imul(L,Z)|0,i=i+Math.imul(M,$)|0,r=(r=r+Math.imul(M,tt)|0)+Math.imul(A,$)|0,a=a+Math.imul(A,tt)|0,i=i+Math.imul(T,nt)|0,r=(r=r+Math.imul(T,it)|0)+Math.imul(E,nt)|0,a=a+Math.imul(E,it)|0,i=i+Math.imul(S,at)|0,r=(r=r+Math.imul(S,ot)|0)+Math.imul(x,at)|0,a=a+Math.imul(x,ot)|0,i=i+Math.imul(_,ct)|0,r=(r=r+Math.imul(_,ut)|0)+Math.imul(w,ct)|0,a=a+Math.imul(w,ut)|0,i=i+Math.imul(b,ht)|0,r=(r=r+Math.imul(b,ft)|0)+Math.imul(g,ht)|0,a=a+Math.imul(g,ft)|0;var Tt=(u+(i=i+Math.imul(p,pt)|0)|0)+((8191&(r=(r=r+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((a=a+Math.imul(m,mt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,i=Math.imul(B,X),r=(r=Math.imul(B,J))+Math.imul(F,X
vendor: 21,262 bytes, line 1
1)|0,a=Math.imul(F,J),i=i+Math.imul(j,Y)|0,r=(r=r+Math.imul(j,Z)|0)+Math.imul(D,Y)|0,a=a+Math.imul(D,Z)|0,i=i+Math.imul(R,$)|0,r=(r=r+Math.imul(R,tt)|0)+Math.imul(L,$)|0,a=a+Math.imul(L,tt)|0,i=i+Math.imul(M,nt)|0,r=(r=r+Math.imul(M,it)|0)+Math.imul(A,nt)|0,a=a+Math.imul(A,it)|0,i=i+Math.imul(T,at)|0,r=(r=r+Math.imul(T,ot)|0)+Math.imul(E,at)|0,a=a+Math.imul(E,ot)|0,i=i+Math.imul(S,ct)|0,r=(r=r+Math.imul(S,ut)|0)+Math.imul(x,ct)|0,a=a+Math.imul(x,ut)|0,i=i+Math.imul(_,ht)|0,r=(r=r+Math.imul(_,ft)|0)+Math.imul(w,ht)|0,a=a+Math.imul(w,ft)|0;var Et=(u+(i=i+Math.imul(b,pt)|0)|0)+((8191&(r=(r=r+Math.imul(b,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((a=a+Math.imul(g,mt)|0)+(r>>>13)|0)+(Et>>>26)|0,Et&=67108863,i=Math.imul(B,Y),r=(r=Math.imul(B,Z))+Math.imul(F,Y)|0,a=Math.imul(F,Z),i=i+Math.imul(j,$)|0,r=(r=r+Math.imul(j,tt)|0)+Math.imul(D,$)|0,a=a+Math.imul(D,tt)|0,i=i+Math.imul(R,nt)|0,r=(r=r+Math.imul(R,it)|0)+Math.imul(L,nt)|0,a=a+Math.imul(L,it)|0,i=i+Math.imul(M,at)|0,r=(r=r+Math.imul(M,ot)|0)+Math.imul(A,at)|0,a=a+Math.imul(A,ot)|0,i=i+Math.imul(T,ct)|0,r=(r=r+Math.imul(T,ut)|0)+Math.imul(E,ct)|0,a=a+Math.imul(E,ut)|0,i=i+Math.imul(S,ht)|0,r=(r=r+Math.imul(S,ft)|0)+Math.imul(x,ht)|0,a=a+Math.imul(x,ft)|0;var Ot=(u+(i=i+Math.imul(_,pt)|0)|0)+((8191&(r=(r=r+Math.imul(_,mt)|0)+Math.imul(w,pt)|0))<<13)|0;u=((a=a+Math.imul(w,mt)|0)+(r>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,i=Math.imul(B,$),r=(r=Math.imul(B,tt))+Math.imul(F,$)|0,a=Math.imul(F,tt),i=i+Math.imul(j,nt)|0,r=(r=r+Math.imul(j,it)|0)+Math.imul(D,nt)|0,a=a+Math.imul(D,it)|0,i=i+Math.imul(R,at)|0,r=(r=r+Math.imul(R,ot)|0)+Math.imul(L,at)|0,a=a+Math.imul(L,ot)|0,i=i+Math.imul(M,ct)|0,r=(r=r+Math.imul(M,ut)|0)+Math.imul(A,ct)|0,a=a+Math.imul(A,ut)|0,i=i+Math.imul(T,ht)|0,r=(r=r+Math.imul(T,ft)|0)+Math.imul(E,ht)|0,a=a+Math.imul(E,ft)|0;var Mt=(u+(i=i+Math.imul(S,pt)|0)|0)+((8191&(r=(r=r+Math.imul(S,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((a=a+Math.imul(x,mt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,i=Math.imul(B,nt),r=(r=Math.imul(B,it))+Math.imul(F,nt)|0,a=Math.imul(F,it),i=i+Math.imul(j,at)|0,r=(r=r+Math.imul(j,ot)|0)+Math.imul(D,at)|0,a=a+Math.imul(D,ot)|0,i=i+Math.imul(R,ct)|0,r=(r=r+Math.imul(R,ut)|0)+Math.imul(L,ct)|0,a=a+Math.imul(L,ut)|0,i=i+Math.imul(M,ht)|0,r=(r=r+Math.imul(M,ft)|0)+Math.imul(A,ht)|0,a=a+Math.imul(A,ft)|0;var At=(u+(i=i+Math.imul(T,pt)|0)|0)+((8191&(r=(r=r+Math.imul(T,mt)|0)+Math.imul(E,pt)|0))<<13)|0;u=((a=a+Math.imul(E,mt)|0)+(r>>>13)|0)+(At>>>26)|0,At&=67108863,i=Math.imul(B,at),r=(r=Math.imul(B,ot))+Math.imul(F,at)|0,a=Math.imul(F,ot),i=i+Math.imul(j,ct)|0,r=(r=r+Math.imul(j,ut)|0)+Math.imul(D,ct)|0,a=a+Math.imul(D,ut)|0,i=i+Math.imul(R,ht)|0,r=(r=r+Math.imul(R,ft)|0)+Math.imul(L,ht)|0,a=a+Math.imul(L,ft)|0;var It=(u+(i=i+Math.imul(M,pt)|0)|0)+((8191&(r=(r=r+Math.imul(M,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((a=a+Math.imul(A,mt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,i=Math.imul(B,ct),r=(r=Math.imul(B,ut))+Math.imul(F,ct)|0,a=Math.imul(F,ut),i=i+Math.imul(j,ht)|0,r=(r=r+Math.imul(j,ft)|0)+Math.imul(D,ht)|0,a=a+Math.imul(D,ft)|0;var Rt=(u+(i=i+Math.imul(R,pt)|0)|0)+((8191&(r=(r=r+Math.imul(R,mt)|0)+Math.imul(L,pt)|0))<<13)|0;u=((a=a+Math.imul(L,mt)|0)+(r>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,i=Math.imul(B,ht),r=(r=Math.imul(B,ft))+Math.imul(F,ht)|0,a=Math.imul(F,ft);var Lt=(u+(i=i+Math.imul(j,pt)|0)|0)+((8191&(r=(r=r+Math.imul(j,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((a=a+Math.imul(D,mt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863;var Pt=(u+(i=Math.imul(B,pt))|0)+((8191&(r=(r=Math.imul(B,mt))+Math.imul(F,pt)|0))<<13)|0;return u=((a=Math.imul(F,mt))+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,c[0]=vt,c[1]=bt,c[2]=gt,c[3]=yt,c[4]=_t,c[5]=wt,c[6]=kt,c[7]=St,c[8]=xt,c[9]=Ct,c[10]=Tt,c[11]=Et,c[12]=Ot,c[13]=Mt,c[14]=At,c[15]=It,c[16]=Rt,c[17]=Lt,c[18]=Pt,0!==u&&(c[19]=u,n.length++),n};function p(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(d=f),a.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?d(this,t,e):n<63?f(this,t,e):n<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var i=0,r=0,a=0;a<n.length-1;a++){var o=r;r=0;for(var s=67108863&i,c=Math.min(a,e.length-1),u=Math.max(0,a-t.length+1);u<=c;u++){var l=(0|t.words[a-u])*(0|e.words[u]),h=67108863&l;s=67108863&(h=h+s|0),r+=(o=(o=o+(l/67108864|0)|0)+(h>>>26)|0)>>>26,o&=67108863}n.words[a]=s,i=o,o=r}return 0!==i?n.words[a]=i:n.length--,n.strip()}(this,t,e):p(this,t,e)},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=a.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,n,t);return e},m.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var i=0,r=0;r<e;r++)i|=(1&t)<<e-r-1,t>>=1;return i},m.prototype.permute=function(t,e,n,i,r,a){for(var o=0;o<a;o++)i[o]=e[t[o]],r[o]=n[t[o]]},m.prototype.transform=function(t,e,n,i,r,a){this.permute(a,t,e,n,i,r);for(var o=1;o<r;o<<=1)for(var s=o<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<r;l+=s)for(var h=c,f=u,d=0;d<o;d++){var p=n[l+d],m=i[l+d],v=n[l+d+o],b=i[l+d+o],g=h*v-f*b;b=h*b+f*v,n[l+d]=p+(v=g),i[l+d]=m+b,n[l+d+o]=p-v,i[l+d+o]=m-b,d!==s&&(g=c*h-u*f,f=c*f+u*h,h=g)}},m.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),i=1&n,r=0;for(n=n/2|0;n;n>>>=1)r++;return 1<<r+1+i},m.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var i=0;i<n/2;i++){var r=t[i];t[i]=t[n-i-1],t[n-i-1]=r,r=e[i],e[i]=-e[n-i-1],e[n-i-1]=-r}},m.prototype.normalize13b=function(t,e){for(var n=0,i=0;i<e/2;i++){var r=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+n;t[i]=67108863&r,n=r<67108864?0:r/67108864|0}return t},m.prototype.convert13b=function(t,e,n,r){for(var a=0,o=0;o<e;o++)n[2*o]=8191&(a+=0|t[o]),n[2*o+1]=8191&(a>>>=13),a>>>=13;for(o=2*e;o<r;++o)n[o]=0;i(0===a),i(0==(-8192&a))},m.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},m.prototype.mulp=function(t,e,n){var i=2*this.guessLen13b(t.length,e.length),r=this.makeRBT(i),a=this.stub(i),o=new Array(i),s=new Array(i),c=new Array(i),u=new Array(i),l=new Array(i),h=new Array(i),f=n.words;f.length=i,this.convert13b(t.words,t.length,o,i),this.convert13b(e.words,e.length,u,i),this.transform(o,a,s,c,i,r),this.transform(u,a,l,h,i,r);for(var d=0;d<i;d++){var p=s[d]*l[d]-c[d]*h[d];c[d]=s[d]*h[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,i),this.transform(s,c,f,a,i,r),this.conjugate(f,a,i),this.normalize13b(f,i),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),p(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){i("number"==typeof t),i(t<67108864);for(var e=0,n=0;n<this.length;n++){var r=(0|this.words[n])*t,a=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=a>>>26,this.words[n]=67108863&a}return 0!==e&&(this.words[n]=e,this.length++),this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var i=n%26;e[n]=(t.words[n/26|0]&1<<i)>>>i}return e}(t);if(0===e.length)return new a(1);for(var n=this,i=0;i<e.length&&0===e[i];i++,n=n.sqr());if(++i<e.length)for(var r=n.sqr();i<e.length;i++,r=r.sqr())0!==e[i]&&(n=n.mul(r));return n},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,n=t%26,r=(t-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(e=0;e<this.length;e++){var s=this.words[e]&a;this.words[e]=(0|this.words[e])-s<<n|o,o=s>>>26-n}o&&(this.words[e]=o,this.length++)}if(0!==r){for(e=this.length-1;e>=0;e--)this.words[e+r]=this.words[e];for(e=0;e<r;e++)this.words[e]=0;this.length+=r}return this.strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,n){var r;i("number"==typeof t&&t>=0),r=e?(e-e%26)/26:0;var a=t%26,o=Math.min((t-a)/26,this.length),s=67108863^67108863>>>a<<a,c=n;if(r-=o,r=Math.max(0,r),c){for(var u=0;u<o;u++)c.words[u]=this.words[u];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=r);u--){var h=0|this.words[u];this.words[u]=l<<26-a|h>>>a,l=h&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(t,e,n){return i(0===this.negative),this.iushrn(t,e,n)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return!(this.length<=n||!(this.words[n]&1<<e))},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n?this:(0!==e&&n++,this.length=Math.min(n,this.length),0!==e&&(this.words[this.length-1]&=67108863^67108863>>>e<<e),this.strip())},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,n){var r,a;this._expand(t.length+n);var o=0;for(r=0;r<t.length;r++){a=(0|this.words[r+n])+o;var s=(0|t.words[r])*e;o=((a-=67108863&s)>>26)-(s/67108864|0),this.words[r+n]=67108863&a}for(;r<this.length-n;r++)o=(a=(0|this.words[r+n])+o)>>26,this.words[r+n]=67108863&a;if(0===o)return this.strip();for(i(-1===o),o=0,r=0;r<this.length;r++)o=(a=-(0|this.words[r])+o)>>26,this.words[r]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(t,e){var n,i=this.clone(),r=t,o=0|r.words[r.length-1];0!=(n=26-this._countBits(o))&&(r=r.ushln(n),i.iushln(n),o=0|r.words[r.length-1]);var s,c=i.length-r.length;if("mod"!==e){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=i.clone()._ishlnsubmul(r,1,c);0===l.negative&&(i=l,s&&(s.words[c]=1));for(var h=c-1;h>=0;h--){var f=67108864*(0|i.words[r.length+h])+(0|i.words[r.length+h-1]);for(f=Math.min(f/o|0,67108863),i._ishlnsubmul(r,f,h);0!==i.negative;)f--,i.negative=0,i._ishlnsubmul(r,1,h),i.isZero()||(i.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),i.strip(),"div"!==e&&0!==n&&i.iushrn(n),{div:s||null,mod:i}},a.prototype.divmod=function(t,e,n){return i(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(r=s.div.neg()),"div"!==e&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(t)),{div:r,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(r=s.div.neg()),{div:r,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modn(t.words[0]))}:this._wordDiv(t,e);var r,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,i=t.ushrn(1),r=t.andln(1),a=n.cmp(i);return a<0||1===r&&0===a?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modn=function(t){i(t<=67108863);for(var e=(1<<26)%t,n=0,r=this.length-1;r>=0;r--)n=(e*n+(0|this.words[r]))%t;return n},a.prototype.idivn=function(t){i(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*e;this.words[n]=r/t|0,e=r%t}return this.strip()},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(l),o.isub(h)),r.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(h)),s.iushrn(1),c.iushrn(1);e.cmp(n)>=0?(e.isub(n),r.isub(s),o.isub(c)):(n.isub(e),s.isub(r),c.isub(o))}return{a:s,b:c,gcd:n.iushln(u)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r,o=new a(1),s=new a(0),c=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,l=1;0==(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),o.isub(s)):(n.isub(e),s.isub(o))}return(r=0===e.cmpn(1)?o:s).cmpn(0)<0&&r.iadd(t),r},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var i=0;e.isEven()&&n.isEven();i++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var r=e.cmp(n);if(r<0){var a=e;e=n,n=a}else if(0===r||0===n.cmpn(1))break;e.isub(n)}return n.iushln(i)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,n=(t-e)/26,r=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=r,this;for(var a=r,o=n;0!==a&&o<this.length;o++){var s=0|this.words[o];a=(s+=a)>>>26,this.words[o]=s&=67108863}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),i(t<=67108863,"Number is too big");var r=0|this.words[0];e=r===t?0:r<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var i=0|this.words[n],r=0|t.words[n];if(i!==r){i<r?e=-1:i>r&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new k(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){k.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var i=e<this.n?-1:n.ucmp(this.p);return 0===i?(n.words[0]=0,n.length=1):i>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},r(g,b),g.prototype.split=function(t,e){for(var n=Math.min(t.length,9),i=0;i<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var r=t.words[9];for(e.words[e.length++]=4194303&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(4194303&a)<<4|r>>>22,r=a}t.words[i-10]=r>>>=22,t.length-=0===r&&t.length>10?10:9},g.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var i=0|t.words[n];t.words[n]=67108863&(e+=977*i),e=64*i+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},r(y,b),r(_,b),r(w,b),w.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var i=19*(0|t.words[n])+e,r=67108863&i;i>>>=26,t.words[n]=r,e=i}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new g;else if("p224"===t)e=new y;else if("p192"===t)e=new _;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return v[t]=e,e},
vendor: 6,328 bytes, line 1
1k.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},k.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},k.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},k.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},k.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},k.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},k.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},k.prototype.isqr=function(t){return this.imul(t,t.clone())},k.prototype.sqr=function(t){return this.mul(t,t)},k.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var n=this.m.add(new a(1)).iushrn(2);return this.pow(t,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);i(!r.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var h=this.pow(l,r),f=this.pow(t,r.addn(1).iushrn(1)),d=this.pow(t,r),p=o;0!==d.cmp(s);){for(var m=d,v=0;0!==m.cmp(s);v++)m=m.redSqr();i(v<p);var b=this.pow(h,new a(1).iushln(p-v-1));f=f.redMul(b),h=b.redSqr(),d=d.redMul(h),p=v}return f},k.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},k.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new a(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],t);var r=n[0],o=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),i=e.length-1;i>=0;i--){for(var u=e.words[i],l=c-1;l>=0;l--){var h=u>>l&1;r!==n[0]&&(r=this.sqr(r)),0!==h||0!==o?(o<<=1,o|=h,(4==++s||0===i&&0===l)&&(r=this.mul(r,n[o]),s=0,o=0)):s=0}c=26}return r},k.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},k.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new S(t)},r(S,k),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):r.cmpn(0)<0&&(a=r.iadd(this.m)),a._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var n=t.mul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n("YuTi")(t))},AUX7:function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},AYSA:function(t,e,n){"use strict";var i=n("2j6C");function r(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=r,r.prototype._init=function(){},r.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},r.prototype._buffer=function(t,e){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-e),i=0;i<n;i++)this.buffer[this.bufferOff+i]=t[e+i];return this.bufferOff+=n,n},r.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},r.prototype._updateEncrypt=function(t){var e=0,n=0,i=new Array(((this.bufferOff+t.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var r=t.length-(t.length-e)%this.blockSize;e<r;e+=this.blockSize)this._update(t,e,i,n),n+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},r.prototype._updateDecrypt=function(t){for(var e=0,n=0,i=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,r=new Array(i*this.blockSize);i>0;i--)e+=this._buffer(t,e),n+=this._flushBuffer(r,n);return e+=this._buffer(t,e),r},r.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},r.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},r.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},r.prototype._unpad=function(t){return t},r.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},AhHn:function(t,e,n){"use strict";var i=e;i._reverse=function(t){var e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0),e[t[n]]=n})),e},i.der=n("i3FT")},"B/J0":function(t,e,n){"use strict";var i=n("w8CP"),r=n("bu2F");function a(){if(!(this instanceof a))return new a;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(a,r),t.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},BFxc:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}
1));var i=n("7o/Q"),r=n("4I5i"),a=n("EY2u");function o(t){return function(e){return 0===t?Object(a.b)():e.lift(new s(t))}}var s=function(){function t(e){if(Qe(this,t),this.total=e,this.total<0)throw new r.a}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.total))}}]),t}(),c=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).total=i,r.ring=new Array,r.count=0,r}return tn(n,[{key:"_next",value:function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}},{key:"_complete",value:function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var a=e++%n;t.next(i[a])}t.complete()}}]),n}(i.a)},BWpK:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("HDdC"),r=(n("4XzM"),n("S7rW"),n("EUDy"),n("U/Bw")),a=n("fXoL"),o=n("tk/3"),s=n("tyNb"),c=function(){var t=function(){function t(e,n){Qe(this,t),this.http=e,this.router=n}return tn(t,[{key:"handleError",value:function(t){return 401==t.status&&(console.log("error -response: --\x3e "+t),this.router.navigateByUrl("/pages/login")),i.a.throw(t||"Server error")}},{key:"getRestServiceRoot",value:function(){return r.d+"/cluster"}},{key:"getClusterNodeCount",value:function(){return this.http.get(this.getRestServiceRoot()+"/node-count")}},{key:"getClusterNodes",value:function(t,e){return this.http.get(this.getRestServiceRoot()+"/nodes/"+t+"/"+e)}},{key:"deleteClusterNodes",value:function(t){return this.http.delete(this.getRestServiceRoot()+"/node/"+t.id)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.cc(o.b),a.cc(s.c))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}()},BfC4:function(t,e,n){"use strict";var i=n("0ROu").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,r){var a=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,r,n);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0)throw new i(r?n:"highWaterMark",a);return Math.floor(a)}return t.objectMode?16:16384}}},BilO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("qCKp");i.Observable.of=i.of},"C+gy":function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},CH9F:function(t,e,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,r.call(this,64,56)}function u(t){return t<<30|t>>>2}function l(t,e,n,i){return 0===t?e&n|~e&i:2===t?e&n|e&i|n&i:e^n^i}i(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,h=0;h<16;++h)n[h]=t.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var f=0;f<80;++f){var d=~~(f/20),p=0|((e=i)<<5|e>>>27)+l(d,r,a,s)+c+n[f]+o[d];c=s,s=a,a=u(r),r=i,i=p}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=a.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},CWBI:function(t,e,n){t.exports=n("sZro")},CfXC:function(t,e,n){var i=n("OfWw"),r=n("hwdV").Buffer,a=n("ZDAU");function o(t,e,n,o){a.call(this),this._cipher=new i.AES(e),this._prev=r.from(n),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._mode=t}n("P7XM")(o,a),o.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},t.exports=o},Cfvw:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("HDdC"),r=n("SeVD"),a=n("7HRe");function o(t,e){return e?Object(a.a)(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}},D0XW:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a}));var i=n("3N8a"),r=new(n("IjjT").a)(i.a),a=r},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=Array.isArray||function(t){return t&&"number"==typeof t.length}},DLvh:function(t,e,n){"use strict";var i,r=e,a=n("fZJM"),o=n("QTa/"),s=n("86MQ").assert;function c(t){this.curve="short"===t.type?new o.short(t):"edwards"===t.type?new o.edwards(t):new o.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(t,e){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){var n=new c(e);return Object.defineProperty(r,t,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}
1),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{i=n("QJsb")}catch(l){i=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})},DaRl:function(t,e,n){"use strict";var i=n("2j6C"),r=n("P7XM"),a={};function o(t){i.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}r(e,t);for(var n=Object.keys(a),i=0;i<n.length;i++){var o=n[i];e.prototype[o]=a[o]}return e.create=function(t){return new e(t)},e},a._cbcInit=function(){var t=new o(this.options.iv);this._cbcState=t},a._update=function(t,e,n,i){var r=this.constructor.super_.prototype,a=this._cbcState.iv;if("encrypt"===this.type){for(var o=0;o<this.blockSize;o++)a[o]^=t[e+o];for(r._update.call(this,a,0,n,i),o=0;o<this.blockSize;o++)a[o]=n[i+o]}else{for(r._update.call(this,t,e,n,i),o=0;o<this.blockSize;o++)n[i+o]^=a[o];for(o=0;o<this.blockSize;o++)a[o]=t[e+o]}}},DacQ:function(t,e,n){var i=n("tjlA").Buffer;t.exports=function(t){return"string"==typeof t?t:"number"==typeof t||i.isBuffer(t)?t.toString():JSON.stringify(t)}},Dh3D:function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return S})),n.d(e,"c",(function(){return x}));var i=n("fXoL"),r=n("8LU1"),a=n("FKr1"),o=n("FtGj"),s=n("XNiG"),c=n("VRyK"),u=n("R0Ic"),l=n("ofXK"),h=n("u47x"),f=["mat-sort-header",""];function d(t,e){if(1&t){var n=i.Ub();i.Tb(0,"div",3),i.gc("@arrowPosition.start",(function(){return i.Ac(n),i.kc()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){return i.Ac(n),i.kc()._disableViewStateAnimation=!1})),i.Ob(1,"div",4),i.Tb(2,"div",5),i.Ob(3,"div",6),i.Ob(4,"div",7),i.Ob(5,"div",8),i.Sb(),i.Sb()}if(2&t){var r=i.kc();i.rc("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),i.Bb(2),i.rc("@indicator",r._getArrowDirectionState()),i.Bb(1),i.rc("@leftPointer",r._getArrowDirectionState()),i.Bb(1),i.rc("@rightPointer",r._getArrowDirectionState())}}var p=["*"],m=Object(a.B)(Object(a.z)((function t(){Qe(this,t)}))),v=function(){var t=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.apply(this,arguments)).sortables=new Map,t._stateChanges=new s.a,t.start="asc",t._direction="",t.sortChange=new i.o,t}return tn(n,[{key:"register",value:function(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw Error("Cannot have two MatSortables with the same id (".concat(t.id,")."));this.sortables.set(t.id,t)}},{key:"deregister",value:function(t){this.sortables.delete(t.id)}},{key:"sort",value:function(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(t){if(!t)return"";var e,n,i,r=(e=t.start||this.start,n=null!=t.disableClear?t.disableClear:this.disableClear,i=["asc","desc"],"desc"==e&&i.reverse(),n||i.push(""),i),a=r.indexOf(this.direction)+1;return a>=r.length&&(a=0),r[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"direction",get:function(){return this._direction},set:function(t){if(Object(i.X)()&&t&&"asc"!==t&&"desc"!==t)throw function(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}(t);this._direction=t}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=Object(r.c)(t)}}]),n}(m);return t.\u0275fac=function(e){return b(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.yb,i.zb]}),t}
1(),b=i.Vb(v),g=a.b.ENTERING+" "+a.a.STANDARD_CURVE,y={indicator:Object(u.n)("indicator",[Object(u.k)("active-asc, asc",Object(u.l)({transform:"translateY(0px)"})),Object(u.k)("active-desc, desc",Object(u.l)({transform:"translateY(10px)"})),Object(u.m)("active-asc <=> active-desc",Object(u.e)(g))]),leftPointer:Object(u.n)("leftPointer",[Object(u.k)("active-asc, asc",Object(u.l)({transform:"rotate(-45deg)"})),Object(u.k)("active-desc, desc",Object(u.l)({transform:"rotate(45deg)"})),Object(u.m)("active-asc <=> active-desc",Object(u.e)(g))]),rightPointer:Object(u.n)("rightPointer",[Object(u.k)("active-asc, asc",Object(u.l)({transform:"rotate(45deg)"})),Object(u.k)("active-desc, desc",Object(u.l)({transform:"rotate(-45deg)"})),Object(u.m)("active-asc <=> active-desc",Object(u.e)(g))]),arrowOpacity:Object(u.n)("arrowOpacity",[Object(u.k)("desc-to-active, asc-to-active, active",Object(u.l)({opacity:1})),Object(u.k)("desc-to-hint, asc-to-hint, hint",Object(u.l)({opacity:.54})),Object(u.k)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(u.l)({opacity:0})),Object(u.m)("* => asc, * => desc, * => active, * => hint, * => void",Object(u.e)("0ms")),Object(u.m)("* <=> *",Object(u.e)(g))]),arrowPosition:Object(u.n)("arrowPosition",[Object(u.m)("* => desc-to-hint, * => desc-to-active",Object(u.e)(g,Object(u.h)([Object(u.l)({transform:"translateY(-25%)"}),Object(u.l)({transform:"translateY(0)"})]))),Object(u.m)("* => hint-to-desc, * => active-to-desc",Object(u.e)(g,Object(u.h)([Object(u.l)({transform:"translateY(0)"}),Object(u.l)({transform:"translateY(25%)"})]))),Object(u.m)("* => asc-to-hint, * => asc-to-active",Object(u.e)(g,Object(u.h)([Object(u.l)({transform:"translateY(25%)"}),Object(u.l)({transform:"translateY(0)"})]))),Object(u.m)("* => hint-to-asc, * => active-to-asc",Object(u.e)(g,Object(u.h)([Object(u.l)({transform:"translateY(0)"}),Object(u.l)({transform:"translateY(-25%)"})]))),Object(u.k)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(u.l)({transform:"translateY(0)"})),Object(u.k)("hint-to-desc, active-to-desc, desc",Object(u.l)({transform:"translateY(-25%)"})),Object(u.k)("hint-to-asc, active-to-asc, asc",Object(u.l)({transform:"translateY(25%)"}))]),allowChildren:Object(u.n)("allowChildren",[Object(u.m)("* <=> *",[Object(u.i)("@*",Object(u.f)(),{optional:!0})])])},_=function(){var t=function t(){Qe(this,t),this.changes=new s.a,this.sortButtonLabel=function(t){return"Change sorting for "+t}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),w={provide:_,deps:[[new i.C,new i.L,_]],useFactory:function(t){return t||new _}},k=Object(a.z)((function t(){Qe(this,t)})),S=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o,s){var u;if(Qe(this,n),(u=e.call(this))._intl=t,u._sort=r,u._columnDef=a,u._focusMonitor=o,u._elementRef=s,u._showIndicatorHint=!1,u._arrowDirection="",u._disableViewStateAnimation=!1,u.arrowPosition="after",!r)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return u._rerenderSubscription=Object(c.a)(r.sortChange,r._stateChanges,t.changes).subscribe((function(){u._isSorted()&&u._updateArrowDirection(),!u._isSorted()&&u._viewState&&"active"===u._viewState.toState&&(u._disableViewStateAnimation=!1,u._setAnimationTransitionState({fromState:"active",toState:u._arrowDirection})),i.markForCheck()})),an(u)}return tn(n,[{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){return t._setIndicatorHintVisible(!!e)}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}},{key:"_handleClick",value:function(){this._isDisabled()||this._toggleOnInteraction()}},{key:"_handleKeydown",value:function(t){this._isDisabled()||t.keyCode!==o.n&&t.keyCode!==o.f||(t.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var t=this._viewState.fromState;return(t?t+"-to-":"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=Object(r.c)(t)}}]),n}(k);return t.\u0275fac=function(e){return new(e||t)(i.Nb(_),i.Nb(i.h),i.Nb(v,8),i.Nb("MAT_SORT_HEADER_COLUMN_DEF",8),i.Nb(h.h),i.Nb(i.l))},t.\u0275cmp=i.Hb({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&i.gc("click",(function(){return e._handleClick()}))("keydown",(function(t){return e._handleKeydown(t)}))("mouseenter",(function(){return e._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return e._setIndicatorHintVisible(!1)})),2&t&&(i.Cb("aria-sort",e._getAriaSortAttribute()),i.Fb("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[i.yb],attrs:f,ngContentSelectors:p,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(i.qc(),i.Tb(0,"div",0),i.Tb(1,"div",1),i.pc(2),i.Sb(),i.Jc(3,d,6,6,"div",2),i.Sb()),2&t&&(i.Fb("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),i.Cb("tabindex",e._isDisabled()?null:0),i.Bb(3),i.rc("ngIf",e._renderArrow()))},directives:[l.p],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}
1.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[y.indicator,y.leftPointer,y.rightPointer,y.arrowOpacity,y.arrowPosition,y.allowChildren]},changeDetection:0}),t}(),x=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[w],imports:[[l.c]]}),t}()},Duz0:function(t,e,n){var i=n("KRB3"),r=n("8wnj"),a=n("bmkK"),o=n("OXVQ"),s=n("9Oa7"),c=n("7yq6"),u=n("M+8A"),l=["RS256","RS384","RS512","ES256","ES384","ES512"],h=["RS256","RS384","RS512"],f=["HS256","HS384","HS512"];c&&(l.splice(3,0,"PS256","PS384","PS512"),h.splice(3,0,"PS256","PS384","PS512")),t.exports=function(t,e,n,c){var d;if("function"!=typeof n||c||(c=n,n={}),n||(n={}),n=Object.assign({},n),d=c||function(t,e){if(t)throw t;return e},n.clockTimestamp&&"number"!=typeof n.clockTimestamp)return d(new i("clockTimestamp must be a number"));if(void 0!==n.nonce&&("string"!=typeof n.nonce||""===n.nonce.trim()))return d(new i("nonce must be a non-empty string"));var p=n.clockTimestamp||Math.floor(Date.now()/1e3);if(!t)return d(new i("jwt must be provided"));if("string"!=typeof t)return d(new i("jwt must be a string"));var m,v=t.split(".");if(3!==v.length)return d(new i("jwt malformed"));try{m=o(t,{complete:!0})}catch(y){return d(y)}if(!m)return d(new i("invalid token"));var b,g=m.header;if("function"==typeof e){if(!c)return d(new i("verify must be called asynchronous if secret or public key is provided as a callback"));b=e}else b=function(t,n){return n(null,e)};return b(g,(function(e,o){if(e)return d(new i("error in secret or public key callback: "+e.message));var c,b=""!==v[2].trim();if(!b&&o)return d(new i("jwt signature is required"));if(b&&!o)return d(new i("secret or public key must be provided"));if(b||n.algorithms||(n.algorithms=["none"]),n.algorithms||(n.algorithms=~o.toString().indexOf("BEGIN CERTIFICATE")||~o.toString().indexOf("BEGIN PUBLIC KEY")?l:~o.toString().indexOf("BEGIN RSA PUBLIC KEY")?h:f),!~n.algorithms.indexOf(m.header.alg))return d(new i("invalid algorithm"));try{c=u.verify(t,m.header.alg,o)}catch(k){return d(k)}if(!c)return d(new i("invalid signature"));var y=m.payload;if(void 0!==y.nbf&&!n.ignoreNotBefore){if("number"!=typeof y.nbf)return d(new i("invalid nbf value"));if(y.nbf>p+(n.clockTolerance||0))return d(new r("jwt not active",new Date(1e3*y.nbf)))}if(void 0!==y.exp&&!n.ignoreExpiration){if("number"!=typeof y.exp)return d(new i("invalid exp value"));if(p>=y.exp+(n.clockTolerance||0))return d(new a("jwt expired",new Date(1e3*y.exp)))}if(n.audience){var _=Array.isArray(n.audience)?n.audience:[n.audience];if(!(Array.isArray(y.aud)?y.aud:[y.aud]).some((function(t){return _.some((function(e){return e instanceof RegExp?e.test(t):e===t}))})))return d(new i("jwt audience invalid. expected: "+_.join(" or ")))}if(n.issuer&&("string"==typeof n.issuer&&y.iss!==n.issuer||Array.isArray(n.issuer)&&-1===n.issuer.indexOf(y.iss)))return d(new i("jwt issuer invalid. expected: "+n.issuer));if(n.subject&&y.sub!==n.subject)return d(new i("jwt subject invalid. expected: "+n.subject));if(n.jwtid&&y.jti!==n.jwtid)return d(new i("jwt jwtid invalid. expected: "+n.jwtid));if(n.nonce&&y.nonce!==n.nonce)return d(new i("jwt nonce invalid. expected: "+n.nonce));if(n.maxAge){if("number"!=typeof y.iat)return d(new i("iat required when maxAge is specified"));var w=s(n.maxAge,y.iat);if(void 0===w)return d(new i('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(p>=w+(n.clockTolerance||0))return d(new a("maxAge exceeded",new Date(1e3*w)))}return d(null,!0===n.complete?{header:g,payload:y,signature:m.signature}:y)}))}},Dvla:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u}));var i,r,a=n("ofXK"),o=n("fXoL"),s=new o.s("WindowToken","undefined"!=typeof window&&window.document?{providedIn:"root",factory:function(){return window}
1}:{providedIn:"root",factory:function(){}}),c=n("XNiG"),u=((r=function(){function t(e,n,i){Qe(this,t),this.ngZone=e,this.document=n,this.window=i,this.copySubject=new c.a,this.copyResponse$=this.copySubject.asObservable(),this.config={}}return tn(t,[{key:"configure",value:function(t){this.config=t}},{key:"copy",value:function(t){if(!this.isSupported||!t)return this.pushCopyResponse({isSuccess:!1,content:t});var e=this.copyFromContent(t);return this.pushCopyResponse(e?{content:t,isSuccess:e}:{isSuccess:!1,content:t})}},{key:"isTargetValid",value:function(t){if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){if(t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}},{key:"copyFromInputElement",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];try{this.selectTarget(t);var n=this.copyText();return this.clearSelection(e?t:void 0,this.window),n&&this.isCopySuccessInIE11()}catch(i){return!1}}},{key:"isCopySuccessInIE11",value:function(){var t=this.window.clipboardData;return!(t&&t.getData&&!t.getData("Text"))}},{key:"copyFromContent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.document.body;if(this.tempTextArea&&!e.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{e.appendChild(this.tempTextArea)}catch(i){throw new Error("Container should be a Dom element")}}this.tempTextArea.value=t;var n=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),n}},{key:"destroy",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.document.body;this.tempTextArea&&(t.removeChild(this.tempTextArea),this.tempTextArea=void 0)}},{key:"selectTarget",value:function(t){return t.select(),t.setSelectionRange(0,t.value.length),t.value.length}},{key:"copyText",value:function(){return this.document.execCommand("copy")}},{key:"clearSelection",value:function(t,e){var n;t&&t.focus(),null===(n=e.getSelection())||void 0===n||n.removeAllRanges()}},{key:"createTempTextArea",value:function(t,e){var n,i="rtl"===t.documentElement.getAttribute("dir");return(n=t.createElement("textarea")).style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[i?"right":"left"]="-9999px",n.style.top=(e.pageYOffset||t.documentElement.scrollTop)+"px",n.setAttribute("readonly",""),n}},{key:"pushCopyResponse",value:function(t){var e=this;this.copySubject.observers.length>0&&this.ngZone.run((function(){e.copySubject.next(t)}))}},{key:"pushCopyReponse",value:function(t){this.pushCopyResponse(t)}},{key:"isSupported",get:function(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}}]),t}()).\u0275fac=function(t){return new(t||r)(o.cc(o.B),o.cc(a.e),o.cc(s,8))},r.\u0275prov=Object(o.Jb)({factory:function(){return new r(Object(o.cc)(o.B),Object(o.cc)(a.e),Object(o.cc)(s,8))},token:r,providedIn:"root"}),r),l=((i=function t(){Qe(this,t)}).\u0275mod=o.Lb({type:i}),i.\u0275inj=o.Kb({factory:function(t){return new(t||i)},imports:[[a.c]]}),i)},DyzK:function(t,e,n){var i=n("Ku4m"),r=n("9GDS"),a=n("g9U9"),o=n("AQYT"),s=n("qVij"),c=n("mObS"),u=n("UpF+"),l=n("hwdV").Buffer;t.exports=function(t,e,n){var h;h=t.padding?t.padding:n?1:4;var f,d=i(t),p=d.modulus.byteLength();if(e.length>p||new o(e).cmp(d.modulus)>=0)throw new Error("decryption error");f=n?u(new o(e),d):s(e,d);var m=l.alloc(p-f.length);if(f=l.concat([m,f],p),4===h)return function(t,e){var n=t.modulus.byteLength(),i=c("sha1").update(l.alloc(0)).digest(),o=i.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,o+1),u=e.slice(o+1),h=a(s,r(u,o)),f=a(u,r(h,n-o-1));if(function(t,e){t=l.from(t),e=l.from(e);var n=0,i=t.length;t.length!==e.length&&(n++,i=Math.min(t.length,e.length));for(var r=-1;++r<i;)n+=t[r]^e[r];return n}(i,f.slice(0,o)))throw new Error("decryption error");for(var d=o;0===f[d];)d++;if(1!==f[d++])throw new Error("decryption error");return f.slice(d)}(d,f);if(1===h)return function(t,e,n){for(var i=e.slice(0,2),r=2,a=0;0!==e[r++];)if(r>=e.length){a++;break}var o=e.slice(2,r-1);if(("0002"!==i.toString("hex")&&!n||"0001"!==i.toString("hex")&&n)&&a++,o.length<8&&a++,a)throw new Error("decryption error");return e.slice(r)}(0,f,n);if(3===h)return f;throw new Error("unknown padding")}},"E+IA":function(t,e,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("qlaj"),o=i.rotl32,s=i.sum32,c=i.sum32_5,u=a.ft_1,l=r.BlockH
1ash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(f,l),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(t,e){for(var n=this.W,i=0;i<16;i++)n[i]=t[e+i];for(;i<n.length;i++)n[i]=o(n[i-3]^n[i-8]^n[i-14]^n[i-16],1);var r=this.h[0],a=this.h[1],l=this.h[2],f=this.h[3],d=this.h[4];for(i=0;i<n.length;i++){var p=~~(i/20),m=c(o(r,5),u(p,a,l,f),d,n[i],h[p]);d=f,f=l,l=o(a,30),a=r,r=m}this.h[0]=s(this.h[0],r),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],d)},f.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},E872:function(t,e,n){var i,r,a;a=this,i=[n("uki+")],void 0===(r=(function(t){return a.returnExportsGlobal=function(t){"use strict";var e={className:"",classNames:!1,removeAll:!1,legendNames:!1,clickable:!0,onClick:null,position:"top"};return t.plugins=t.plugins||{},t.plugins.legend=function(n){function i(t,e){return t-e}if(n&&n.position){if(!("top"===n.position||"bottom"===n.position||n.position instanceof HTMLElement))throw Error("The position you entered is not a valid position");if(n.position instanceof HTMLElement){var r=n.position;delete n.position}}return n=t.extend({},e,n),r&&(n.position=r),function(e){var r=e.container.querySelector(".ct-legend");if(r&&r.parentNode.removeChild(r),n.clickable){var a=e.data.series.map((function(n,i){return"object"!=typeof n&&(n={value:n}),n.className=n.className||e.options.classNames.series+"-"+t.alphaNumerate(i),n}));e.data.series=a}var o=document.createElement("ul"),s=e instanceof t.Pie;o.className="ct-legend",e instanceof t.Pie&&o.classList.add("ct-legend-inside"),"string"==typeof n.className&&n.className.length>0&&o.classList.add(n.className),e.options.width&&(o.style.cssText="width: "+e.options.width+"px;margin: 0 auto;");var c=[],u=e.data.series.slice(0),l=e.data.series,h=s&&e.data.labels&&e.data.labels.length;if(h){var f=e.data.labels.slice(0);l=e.data.labels}l=n.legendNames||l;var d=Array.isArray(n.classNames)&&n.classNames.length===l.length;l.forEach((function(t,e){var i=document.createElement("li");i.className="ct-series-"+e,d&&(i.className+=" "+n.classNames[e]),i.setAttribute("data-legend",e),i.textContent=t.name||t,o.appendChild(i)})),e.on("created",(function(t){if(n.position instanceof HTMLElement)n.position.insertBefore(o,null);else switch(n.position){case"top":e.container.insertBefore(o,e.container.childNodes[0]);break;case"bottom":e.container.insertBefore(o,null)}})),n.clickable&&o.addEventListener("click",(function(t){var r=t.target;if(r.parentNode===o&&r.hasAttribute("data-legend")){t.preventDefault();var a=parseInt(r.getAttribute("data-legend")),s=c.indexOf(a);s>-1?(c.splice(s,1),r.classList.remove("inactive")):n.removeAll||e.data.series.length>1?(c.push(a),r.classList.add("inactive")):(c=[],Array.prototype.slice.call(o.childNodes).forEach((function(t){t.classList.remove("inactive")})));var l=u.slice(0);if(h)var d=f.slice(0);c.sort(i).reverse(),c.forEach((function(t){l.splice(t,1),h&&d.splice(t,1)})),n.onClick&&n.onClick(e,t),e.data.series=l,h&&(e.data.labels=d),e.update()}}))}},t.plugins.legend}(t)}).apply(e,i))||(t.exports=r)},EQ5u:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u}));var i,r=n("XNiG"),a=n("HDdC"),o=(n("7o/Q"),n("quSY")),s=n("x+ZX"),c=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this)).source=t,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return tn(n,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new o.a).add(this.source.subscribe(new l(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t}},{key:"refCount",value:function(){return Object(s.a)()(this)}}]),n}(a.a),u={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(i=c.prototype)._subscribe},_isComplete:{value:i._isComplete,writable:!0},getSubject:{value:i.getSubject},connect:{value:i.connect},refCount:{value:i.refCount}},l=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).connectable=i,r}return tn(n,[{key:"_error",value:function(t){this._unsubscribe(),Je(cn(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),Je(cn(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}]),n}(r.b)},EUDy:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),n("XC4j")},EW2V:function(t,e,n){t.exports=n("tOiH")},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var i=n("HDdC"),r=new i.a((function(t){return t.complete()}));function a(t){return t?function(t){return new i.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):r}},Edxu:function(t,e,n){"use strict";(function(e,i){var r=n("hwdV").Buffer,a=e.crypto||e.msCrypto;t.exports=a&&a.getRandomValues?function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=r.allocUnsafe(t);if(t>0)if(t>65536)for(var o=0;o<t;o+=65536)a.getRandomValues(n.slice(o,o+65536));else a.getRandomValues(n);return"function"==typeof e?i.nextTick((function(){e(null,n)})):n}:function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,n("yLpj"),n("8oxB"))},"F97/":function(t,e,n){"use strict";function i(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}
1return n.pred=t,n.thisArg=e,n}n.d(e,"a",(function(){return i}))},FGiv:function(t,e){var n=1e3,i=6e4,r=60*i,a=24*r;function o(t,e,n,i){var r=e>=1.5*n;return Math.round(t/n)+" "+i+(r?"s":"")}t.exports=function(t,e){e=e||{};var s,c,u=typeof t;if("string"===u&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*a;case"hours":case"hour":case"hrs":case"hr":case"h":return o*r;case"minutes":case"minute":case"mins":case"min":case"m":return o*i;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(t);if("number"===u&&isFinite(t))return e.long?(s=t,(c=Math.abs(s))>=a?o(s,c,a,"day"):c>=r?o(s,c,r,"hour"):c>=i?o(s,c,i,"minute"):c>=n?o(s,c,n,"second"):s+" ms"):function(t){var e=Math.abs(t);return e>=a?Math.round(t/a)+"d":e>=r?Math.round(t/r)+"h":e>=i?Math.round(t/i)+"m":e>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},FKr1:function(t,e,n){"use strict";n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return y})),n.d(e,"c",(function(){return I})),n.d(e,"d",(function(){return X})),n.d(e,"e",(function(){return R})),n.d(e,"f",(function(){return It})),n.d(e,"g",(function(){return wt})),n.d(e,"h",(function(){return xt})),n.d(e,"i",(function(){return ft})),n.d(e,"j",(function(){return k})),n.d(e,"k",(function(){return J})),n.d(e,"l",(function(){return at})),n.d(e,"m",(function(){return K})),n.d(e,"n",(function(){return Tt})),n.d(e,"o",(function(){return At})),n.d(e,"p",(function(){return St})),n.d(e,"q",(function(){return mt})),n.d(e,"r",(function(){return vt})),n.d(e,"s",(function(){return dt})),n.d(e,"t",(function(){return pt})),n.d(e,"u",(function(){return ht})),n.d(e,"v",(function(){return Et})),n.d(e,"w",(function(){return Ot})),n.d(e,"x",(function(){return x})),n.d(e,"y",(function(){return C})),n.d(e,"z",(function(){return S})),n.d(e,"A",(function(){return E})),n.d(e,"B",(function(){return O})),n.d(e,"C",(function(){return T})),n.d(e,"D",(function(){return G}));var i=n("fXoL"),r=n("u47x"),a=n("cH1L"),o=new i.Q("10.1.3"),s=n("ofXK"),c=n("8LU1"),u=n("XNiG"),l=n("HDdC"),h=n("nLfN"),f=n("JX91"),d=n("R1ws"),p=n("FtGj");function m(t,e){if(1&t&&i.Ob(0,"mat-pseudo-checkbox",3),2&t){var n=i.kc();i.rc("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var v,b=["*"],g=function(){var t=function t(){Qe(this,t)};return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t}(),y=function(){var t=function t(){Qe(this,t)};return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),_=new i.Q("10.1.3"),w=new i.s("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),k=((v=function(){function t(e,n,i){Qe(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}
1return tn(t,[{key:"_getDocument",value:function(){var t=this._document||document;return"object"==typeof t&&t?t:null}},{key:"_getWindow",value:function(){var t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return Object(i.X)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var t=this._getWindow();return t&&(t.__karma__||t.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(!t&&e&&e.body&&"function"==typeof getComputedStyle){var n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);var i=getComputedStyle(n);i&&"none"!==i.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&_.full!==o.full&&console.warn("The Angular Material version ("+_.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}()).\u0275mod=i.Lb({type:v}),v.\u0275inj=i.Kb({factory:function(t){return new(t||v)(i.cc(r.j),i.cc(w,8),i.cc(s.e,8))},imports:[[a.a],a.a]}),v);function S(t){return function(t){en(n,t);var e=rn(n);function n(){var t;Qe(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r)))._disabled=!1,t}return tn(n,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(c.c)(t)}}]),n}(t)}function x(t,e){return function(t){en(i,t);var n=rn(i);function i(){var t;Qe(this,i);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=n.call.apply(n,[this].concat(a))).color=e,t}return tn(i,[{key:"color",get:function(){return this._color},set:function(t){var n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)}}]),i}(t)}function C(t){return function(t){en(n,t);var e=rn(n);function n(){var t;Qe(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r)))._disableRipple=!1,t}return tn(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=Object(c.c)(t)}}]),n}(t)}function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(t){en(i,t);var n=rn(i);function i(){var t;Qe(this,i);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=n.call.apply(n,[this].concat(a)))._tabIndex=e,t}return tn(i,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?Object(c.f)(t):e}}]),i}(t)}function E(t){return function(t){en(n,t);var e=rn(n);function n(){var t;Qe(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))).errorState=!1,t.stateChanges=new u.a,t}return tn(n,[{key:"updateErrorState",value:function(){var t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}]),n}(t)}function O(t){return function(t){en(n,t);var e=rn(n);function n(){var t;Qe(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r)))._isInitialized=!1,t._pendingSubscribers=[],t.initialized=new l.a((function(e){t._isInitialized?t._notifySubscriber(e):t._pendingSubscribers.push(e)})),t}return tn(n,[{key:"_markInitialized",value:function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");
1this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(t){t.next(),t.complete()}}]),n}(t)}var M,A=new i.s("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.W)(i.w)}}),I=function(){function t(){Qe(this,t),this._localeChanges=new u.a}return tn(t,[{key:"deserialize",value:function(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}},{key:"setLocale",value:function(t){this.locale=t,this._localeChanges.next()}},{key:"compareDate",value:function(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}},{key:"sameDate",value:function(t,e){if(t&&e){var n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}},{key:"clampDate",value:function(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}},{key:"localeChanges",get:function(){return this._localeChanges}}]),t}(),R=new i.s("mat-date-formats");try{M="undefined"!=typeof Intl}catch(Rt){M=!1}var L={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},P=N(31,(function(t){return String(t+1)})),j={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},D=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function N(t,e){for(var n=Array(t),i=0;i<t;i++)n[i]=e(i);return n}var B,F,z,V,U,H=((F=function(t){en(n,t);var e=rn(n);function n(t,i){var r,a;return Qe(this,n),(a=e.call(this)).useUtcForDisplay=!0,Je((r=on(a),cn(n.prototype)),"setLocale",r).call(r,t),a.useUtcForDisplay=!i.TRIDENT,a._clampDate=i.TRIDENT||i.EDGE,a}return tn(n,[{key:"getYear",value:function(t){return t.getFullYear()}},{key:"getMonth",value:function(t){return t.getMonth()}},{key:"getDate",value:function(t){return t.getDate()}},{key:"getDayOfWeek",value:function(t){return t.getDay()}},{key:"getMonthNames",value:function(t){var e=this;if(M){var n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return N(12,(function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,t,1)))}))}return L[t]}},{key:"getDateNames",value:function(){var t=this;if(M){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return N(31,(function(n){return t._stripDirectionalityCharacters(t._format(e,new Date(2017,0,n+1)))}))}return P}},{key:"getDayOfWeekNames",value:function(t){var e=this;if(M){var n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return N(7,(function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,0,t+1)))}))}return j[t]}},{key:"getYearName",value:function(t){if(M){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}},{key:"clone",value:function(t){return new Date(t.getTime())}},{key:"createDate",value:function(t,e,n){if(e<0||e>11)throw Error('Invalid month index "'.concat(e,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var i=this._createDateWithOverflow(t,e,n);if(i.getMonth()!=e)throw Error('Invalid date "'.concat(n,'" for month with index "').concat(e,'".'));return i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}},{key:"format",value:function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(M){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}},{key:"addCalendarYears",value:function(t,e){return this.addCalendarMonths(t,12*e)}},{key:"addCalendarMonths",value:function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}},{key:"toIso8601",value:function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}},{key:"deserialize",value:function(t){if("string"==typeof t){if(!t)return null;if(D.test(t)){var e=new Date(t);if(this.isValid(e))return e}}return Je(cn(n.prototype),"deserialize",this).call(this,t)}},{key:"isDateInstance",value:function(t){return t instanceof Date}},{key:"isValid",value:function(t){return!isNaN(t.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(t,e,n){var i=new Date(t,e,n);return t>=0&&t<100&&i.setFullYear(this.getYear(i)-1900),i}},{key:"_2digit",value:function(t){return("00"+t).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(t){return t.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(t,e){var n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)}}]),n}(I)).\u0275fac=function(t){return new(t||F)(i.cc(A,8),i.cc(h.a))},F.\u0275prov=i.Jb({token:F,factory:F.\u0275fac}),F),q=((B=function t(){Qe(this,t)}).\u0275mod=i.Lb({type:B}),B.\u0275inj=i.Kb({factory:function(t){return new(t||B)},providers:[{provide:I,useClass:H}],imports:[[h.b]]}),B),W={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},K=((U=function t(){Qe(this,t)}).\u0275mod=i.Lb({type:U}),U.\u0275inj=i.Kb({factory:function(t){return new(t||U)},providers:[{provide:R,useValue:W}],imports:[[q]]}),U),X=((V=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"isErrorState",value:function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}]),t}()).\u0275fac=function(t){return new(t||V)},V.\u0275prov=Object(i.Jb)({factory:function(){return new V},token:V,providedIn:"root"}),V),J=((z=function t(){Qe(this,t)}).\u0275fac=function(t){return new(t||z)},z.\u0275dir=i.Ib({type:z,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),z);function G(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";t.changes.pipe(Object(f.a)(t)).subscribe((function(t){var i=t.length;Y(e,n+"-2-line",!1),Y(e,n+"-3-line",!1),Y(e,n+"-multi-line",!1),2===i||3===i?Y(e,"".concat(n,"-").concat(i,"-line"),!0):i>3&&Y(e,n+"-multi-line",!0)}))}function Y(t,e,n){var i=t.nativeElement.classList;n?i.add(e):i.remove(e)}var Z,Q,$,tt,et,nt,it,rt,at=((Z=function t(){Qe(this,t)}).\u0275mod=i.Lb({type:Z}),Z.\u0275inj=i.Kb({factory:function(t){return new(t||Z)},imports:[[k],k]}),Z),ot=function(){function t(e,n,i){Qe(this,t),this._renderer=e,this.element=n,this.config=i,this.state=3}
1return tn(t,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),t}(),st={enterDuration:450,exitDuration:400},ct=Object(h.f)({passive:!0}),ut=["mousedown","touchstart"],lt=["mouseup","mouseleave","touchend","touchcancel"],ht=function(){function t(e,n,i,r){Qe(this,t),this._target=e,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Object(c.e)(i))}return tn(t,[{key:"fadeInRipple",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},st),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var o=i.radius||function(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),s=t-r.left,c=e-r.top,u=a.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=s-o+"px",l.style.top=c-o+"px",l.style.height=2*o+"px",l.style.width=2*o+"px",null!=i.color&&(l.style.backgroundColor=i.color),l.style.transitionDuration=u+"ms",this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new ot(this,l,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone((function(){var t=h===n._mostRecentTransientRipple;h.state=1,i.persistent||t&&n._isPointerDown||h.fadeOut()}),u),h}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=Object.assign(Object.assign({},st),t.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone((function(){t.state=3,n.parentNode.removeChild(n)}),i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(t){return t.fadeOut()}))}},{key:"setupTriggerEvents",value:function(t){var e=Object(c.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(ut))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(lt),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=Object(r.l)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(t){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach((function(t){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()})))}},{key:"_runTimeoutOutsideZone",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(t,e)}))}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular((function(){t.forEach((function(t){e._triggerElement.addEventListener(t,e,ct)}))}))}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(ut.forEach((function(e){t._triggerElement.removeEventListener(e,t,ct)})),this._pointerUpEventsRegistered&<.forEach((function(e){t._triggerElement.removeEventListener(e,t,ct)})))}}]),t}(),ft=new i.s("mat-ripple-global-options"),dt=((et=function(){function t(e,n,i,r,a){Qe(this,t),this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new ht(this,n,e,i)}
1return tn(t,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),t}()).\u0275fac=function(t){return new(t||et)(i.Nb(i.l),i.Nb(i.B),i.Nb(h.a),i.Nb(ft,8),i.Nb(d.a,8))},et.\u0275dir=i.Ib({type:et,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),et),pt=((tt=function t(){Qe(this,t)}).\u0275mod=i.Lb({type:tt}),tt.\u0275inj=i.Kb({factory:function(t){return new(t||tt)},imports:[[k,h.b],k]}),tt),mt=(($=function t(e){Qe(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1}).\u0275fac=function(t){return new(t||$)(i.Nb(d.a,8))},$.\u0275cmp=i.Hb({type:$,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.Fb("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),$),vt=((Q=function t(){Qe(this,t)}).\u0275mod=i.Lb({type:Q}),Q.\u0275inj=i.Kb({factory:function(t){return new(t||Q)}}),Q),bt=S((function t(){Qe(this,t)})),gt=0,yt=((nt=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.apply(this,arguments))._labelId="mat-optgroup-label-"+gt++,t}return n}(bt)).\u0275fac=function(t){return _t(t||nt)},nt.\u0275dir=i.Ib({type:nt,inputs:{label:"label"},features:[i.yb]}),nt),_t=i.Vb(yt),wt=new i.s("MatOptgroup"),kt=0,St=function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Qe(this,t),this.source=e,this.isUserInput=n},xt=new i.s("MAT_OPTION_PARENT_COMPONENT"),Ct=((rt=function(){function t(e,n,r,a){Qe(this,t),this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+kt++,this.onSelectionChange=new i.o,this._stateChanges=new u.a}
1return tn(t,[{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(t,e){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(t){t.keyCode!==p.f&&t.keyCode!==p.n||Object(p.s)(t)||(this._selectViaInteraction(),t.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new St(this,t))}},{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=Object(c.c)(t)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}}]),t}()).\u0275fac=function(t){return new(t||rt)(i.Nb(i.l),i.Nb(i.h),i.Nb(void 0),i.Nb(yt))},rt.\u0275dir=i.Ib({type:rt,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),rt),Tt=((it=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){return Qe(this,n),e.call(this,t,i,r,a)}return n}(Ct)).\u0275fac=function(t){return new(t||it)(i.Nb(i.l),i.Nb(i.h),i.Nb(xt,8),i.Nb(wt,8))},it.\u0275cmp=i.Hb({type:it,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.gc("click",(function(){return e._selectViaInteraction()}))("keydown",(function(t){return e._handleKeydown(t)})),2&t&&(i.Wb("id",e.id),i.Cb("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.Fb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.yb],ngContentSelectors:b,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(i.qc(),i.Jc(0,m,1,2,"mat-pseudo-checkbox",0),i.Tb(1,"span",1),i.pc(2),i.Sb(),i.Ob(3,"div",2)),2&t&&(i.rc("ngIf",e.multiple),i.Bb(3),i.rc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[s.p,dt,mt],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),it);function Et(t,e,n){if(n.length){for(var i=e.toArray(),r=n.toArray(),a=0,o=0;o<t+1;o++)i[o].group&&i[o].group===r[a]&&a++;return a}return 0}function Ot(t,e,n,i){var r=t*e;return r<n?r:r+e>n+i?Math.max(0,r-i+e):n}var Mt,At=((Mt=function t(){Qe(this,t)}).\u0275mod=i.Lb({type:Mt}),Mt.\u0275inj=i.Kb({factory:function(t){return new(t||Mt)},imports:[[pt,s.c,vt]]}),Mt),It=new i.s("mat-label-global-options")},FLf1:function(t,e,n){t.exports={decode:n("OXVQ"),verify:n("Duz0"),sign:n("JWdw"),JsonWebTokenError:n("KRB3"),NotBeforeError:n("8wnj"),TokenExpiredError:n("bmkK")}},FUXG:function(t,e,n){"use strict";e.utils=n("Xudb"),e.Cipher=n("AYSA"),e.DES=n("Titl"),e.CBC=n("DaRl"),e.EDE=n("H+yo")},FfBw:function(t,e){t.exports="function"==typeof Object.create?function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},FtGj:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}
1)),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return v})),n.d(e,"d",(function(){return m})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return a})),n.d(e,"g",(function(){return o})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return g})),n.d(e,"k",(function(){return u})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return p})),n.d(e,"n",(function(){return s})),n.d(e,"o",(function(){return r})),n.d(e,"p",(function(){return d})),n.d(e,"q",(function(){return _})),n.d(e,"r",(function(){return b})),n.d(e,"s",(function(){return w}));var i=8,r=9,a=13,o=27,s=32,c=33,u=34,l=35,h=36,f=37,d=38,p=39,m=40,v=46,b=48,g=57,y=65,_=90;function w(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.length?n.some((function(e){return t[e]})):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},"GC/n":function(t,e,n){var i=n("hwdV").Buffer,r=n("ocFe"),a=n("eegf"),o=n("1IWx"),s=n("DacQ"),c=n("7tlc"),u=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function l(t){var e=t.split(".",1)[0];return function(t){if(function(t){return"[object Object]"===Object.prototype.toString.call(t)}(t))return t;try{return JSON.parse(t)}catch(e){return}}(i.from(e,"base64").toString("binary"))}function h(t){return t.split(".")[2]}function f(t){return u.test(t)&&!!l(t)}function d(t,e,n){if(!e){var i=new Error("Missing algorithm parameter for jws.verify");throw i.code="MISSING_ALGORITHM",i}var r=h(t=s(t)),o=function(t){return t.split(".",2).join(".")}(t);return a(e).verify(o,r,n)}function p(t,e){if(e=e||{},!f(t=s(t)))return null;var n=l(t);if(!n)return null;var r=function(t,e){e=e||"utf8";var n=t.split(".")[1];return i.from(n,"base64").toString(e)}(t);return("JWT"===n.typ||e.json)&&(r=JSON.parse(r,e.encoding)),{header:n,payload:r,signature:h(t)}}function m(t){var e=new r((t=t||{}).secret||t.publicKey||t.key);this.readable=!0,this.algorithm=t.algorithm,this.encoding=t.encoding,this.secret=this.publicKey=this.key=e,this.signature=new r(t.signature),this.secret.once("close",(function(){!this.signature.writable&&this.readable&&this.verify()}).bind(this)),this.signature.once("close",(function(){!this.secret.writable&&this.readable&&this.verify()}).bind(this))}c.inherits(m,o),m.prototype.verify=function(){try{var t=d(this.signature.buffer,this.algorithm,this.key.buffer),e=p(this.signature.buffer,this.encoding);return this.emit("done",t,e),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(n){this.readable=!1,this.emit("error",n),this.emit("close")}},m.decode=p,m.isValid=f,m.verify=d,t.exports=m},GJmQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){Qe(this,t),this.predicate=e,this.inclusive=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.predicate,this.inclusive))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).predicate=i,a.inclusive=r,a.index=0,a}return tn(n,[{key:"_next",value:function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(t,e)}},{key:"nextOrComplete",value:function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}]),n}(i.a)},GU7r:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return h}));var i=n("8LU1"),r=n("fXoL"),a=n("HDdC"),o=n("XNiG"),s=n("Kj3r"),c=function(){var t=function(){function t(){Qe(this,t)}return tn(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),u=function(){var t=function(){function t(e){Qe(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}
1return tn(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach((function(e,n){return t._cleanupObserver(n)}))}},{key:"observe",value:function(t){var e=this,n=Object(i.e)(t);return new a.a((function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}}))}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new o.a,n=this._mutationObserverFactory.create((function(t){return e.next(t)}));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(c))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(c))},token:t,providedIn:"root"}),t}(),l=function(){var t=function(){function t(e,n,i){Qe(this,t),this._contentObserver=e,this._elementRef=n,this._ngZone=i,this.event=new r.o,this._disabled=!1,this._currentSubscription=null}
1return tn(t,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){t._currentSubscription=(t.debounce?e.pipe(Object(s.a)(t.debounce)):e).subscribe(t.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=Object(i.f)(t),this._subscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(u),r.Nb(r.l),r.Nb(r.B))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),h=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},providers:[c]}),t}()},Gi4w:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new a(t,e,n))}}var a=function(){function t(e,n,i){Qe(this,t),this.predicate=e,this.thisArg=n,this.source=i}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg,this.source))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t)).predicate=i,o.thisArg=r,o.source=a,o.index=0,o.thisArg=r||on(o),o}return tn(n,[{key:"notifyComplete",value:function(t){this.destination.next(t),this.destination.complete()}},{key:"_next",value:function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(i.a)},Giow:function(t,e,n){"use strict";var i=n("P7XM"),r=n("1CSz"),a=n("ZDAU"),o=n("hwdV").Buffer,s=n("WnY+"),c=n("tcrS"),u=n("afKu"),l=o.alloc(128);function h(t,e){a.call(this,"digest"),"string"==typeof e&&(e=o.from(e));var n="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=e,e.length>n?e=("rmd160"===t?new c:u(t)).update(e).digest():e.length<n&&(e=o.concat([e,l],n));for(var i=this._ipad=o.allocUnsafe(n),r=this._opad=o.allocUnsafe(n),s=0;s<n;s++)i[s]=54^e[s],r[s]=92^e[s];this._hash="rmd160"===t?new c:u(t),this._hash.update(i)}i(h,a),h.prototype._update=function(t){this._hash.update(t)},h.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new h("rmd160",e):"md5"===t?new r(s,e):new h(t,e)}},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("LRne"),r=n("0EUg");function a(){return Object(r.a)()(Object(i.a).apply(void 0,arguments))}},"H+yo":function(t,e,n){"use strict";var i=n("2j6C"),r=n("P7XM"),a=n("AYSA"),o=n("Titl");function s(t,e){i.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),r=e.slice(8,16),a=e.slice(16,24);this.ciphers="encrypt"===t?[o.create({type:"encrypt",key:n}),o.create({type:"decrypt",key:r}),o.create({type:"encrypt",key:a})]:[o.create({type:"decrypt",key:a}),o.create({type:"encrypt",key:r}),o.create({type:"decrypt",key:n})]}function c(t){a.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}r(c,a),t.exports=c,c.create=function(t){return new c(t)},c.prototype._update=function(t,e,n,i){var r=this._edeState;r.ciphers[0]._update(t,e,n,i),r.ciphers[1]._update(n,i,n,i),r.ciphers[2]._update(n,i,n,i)},c.prototype._pad=o.prototype._pad,c.prototype._unpad=o.prototype._unpad},H7XF:function(t,e,n){"use strict";e.byteLength=function(t){var e=u(t),n=e[1];return 3*(e[0]+n)/4-n},e.toByteArray=function(t){var e,n,i=u(t),o=i[0],s=i[1],c=new a(function(t,e,n){return 3*(e+n)/4-n}(0,o,s)),l=0,h=s>0?o-4:o;for(n=0;n<h;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[l++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,r=n%3,a=[],o=0,s=n-r;o<s;o+=16383)a.push(l(t,o,o+16383>s?s:o+16383));return 1===r?a.push(i[(e=t[n-1])>>2]+i[e<<4&63]+"=="):2===r&&a.push(i[(e=(t[n-2]<<8)+t[n-1])>>10]+i[e>>4&63]+i[e<<2&63]+"="),a.join("")};for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=o.length;s<c;++s)i[s]=o[s],r[o.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t,e,n){for(var r,a=[],o=e;o<n;o+=3)a.push(i[(r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]))>>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},HDdC:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var i,r=n("8Qeq"),a=n("7o/Q"),o=n("2QA8"),s=n("gRHU"),c=n("kJWO"),u=n("mCNh"),l=n("2fFW"),h=((i=function(){function t(e){Qe(this,t),this._isScalar=!1,e&&(this._subscribe=e)}
1return tn(t,[{key:"lift",value:function(e){var n=new t;return n.source=this,n.operator=e,n}},{key:"subscribe",value:function(t,e,n){var i=this.operator,r=function(t,e,n){if(t){if(t instanceof a.a)return t;if(t[o.a])return t[o.a]()}return t||e||n?new a.a(t,e,n):new a.a(s.a)}(t,e,n);if(r.add(i?i.call(r,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),l.a.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}},{key:"_trySubscribe",value:function(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),Object(r.a)(t)?t.error(e):console.warn(e)}}},{key:"forEach",value:function(t,e){var n=this;return new(e=f(e))((function(e,i){var r;r=n.subscribe((function(e){try{t(e)}catch(n){i(n),r&&r.unsubscribe()}}),i,e)}))}},{key:"_subscribe",value:function(t){var e=this.source;return e&&e.subscribe(t)}},{key:c.a,value:function(){return this}},{key:"pipe",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?this:Object(u.b)(e)(this)}},{key:"toPromise",value:function(t){var e=this;return new(t=f(t))((function(t,n){var i;e.subscribe((function(t){return i=t}),(function(t){return n(t)}),(function(){return t(i)}))}))}}]),t}()).create=function(t){return new i(t)},i);function f(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},HEbw:function(t,e,n){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=n("Edxu"),e.createHash=e.Hash=n("mObS"),e.createHmac=e.Hmac=n("Giow");var i=n("EW2V"),r=Object.keys(i),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);e.getHashes=function(){return a};var o=n("oJl4");e.pbkdf2=o.pbkdf2,e.pbkdf2Sync=o.pbkdf2Sync;var s=n("lWpZ");e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var c=n("ANxK");e.DiffieHellmanGroup=c.DiffieHellmanGroup,e.createDiffieHellmanGroup=c.createDiffieHellmanGroup,e.getDiffieHellman=c.getDiffieHellman,e.createDiffieHellman=c.createDiffieHellman,e.DiffieHellman=c.DiffieHellman;var u=n("tpL1");e.createSign=u.createSign,e.Sign=u.Sign,e.createVerify=u.createVerify,e.Verify=u.Verify,e.createECDH=n("4dMO");var l=n("ZEK9");e.publicEncrypt=l.publicEncrypt,e.privateEncrypt=l.privateEncrypt,e.publicDecrypt=l.publicDecrypt,e.privateDecrypt=l.privateDecrypt;var h=n("dcwN");e.randomFill=h.randomFill,e.randomFillSync=h.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},Hjy1:function(t,e,n){var i=n("ZDAU"),r=n("FUXG"),a=n("P7XM"),o=n("hwdV").Buffer,s={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function c(t){i.call(this);var e,n=t.mode.toLowerCase(),r=s[n];e=t.decrypt?"decrypt":"encrypt";var a=t.key;o.isBuffer(a)||(a=o.from(a)),"des-ede"!==n&&"des-ede-cbc"!==n||(a=o.concat([a,a.slice(0,8)]));var c=t.iv;o.isBuffer(c)||(c=o.from(c)),this._des=r.create({key:a,iv:c,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=c,a(c,i),c.prototype._update=function(t){return o.from(this._des.update(t))},c.prototype._final=function(){return o.from(this._des.final())}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},IG1u:function(t,e,n){(function(e,i){var r,a=n("hwdV").Buffer,o=n("fSpj"),s=n("n53Y"),c=n("4Hv8"),u=n("i+bA"),l=e.crypto&&e.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(t,e,n,i,r){return l.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return l.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:r}},t,i<<3)})).then((function(t){return a.from(t)}))}t.exports=function(t,n,p,m,v,b){"function"==typeof v&&(b=v,v=void 0);var g=h[(v=v||"sha1").toLowerCase()];if(!g||"function"!=typeof e.Promise)return i.nextTick((function(){var e;try{e=c(t,n,p,m,v)}catch(i){return b(i)}b(null,e)}));if(o(p,m),t=u(t,s,"Password"),n=u(n,s,"Salt"),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){i.nextTick((function(){e(null,t)}))}),(function(t){i.nextTick((function(){e(t)}))}
1))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==f[t])return f[t];var n=d(r=r||a.alloc(8),r,10,128,t).then((function(){return!0})).catch((function(){return!1}));return f[t]=n,n}(g).then((function(e){return e?d(t,n,p,m,g):c(t,n,p,m,v)})),b)}}).call(this,n("yLpj"),n("8oxB"))},IPZY:function(t,e,n){"use strict";var i=e;i.der=n("z71Z"),i.pem=n("jfd1")},ITfd:function(t,e,n){"use strict";var i=n("w8CP"),r=n("2j6C");function a(t,e,n){if(!(this instanceof a))return new a(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(e,n))}t.exports=a,a.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),r(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},a.prototype.update=function(t,e){return this.inner.update(t,e),this},a.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},IjjT:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("Y/cZ"),r=function(t){en(n,t);var e=rn(n);function n(t){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a.now;return Qe(this,n),(r=e.call(this,t,(function(){return n.delegate&&n.delegate!==on(r)?n.delegate.now():a()}))).actions=[],r.active=!1,r.scheduled=void 0,r}return tn(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(t,e,i):Je(cn(n.prototype),"schedule",this).call(this,t,e,i)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}}]),n}(i.a)},Iqt3:function(t,e,n){"use strict";function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n("tjlA").Buffer,o=n(4).inspect,s=o&&o.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e;return(e=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e=a.allocUnsafe(t>>>0),n=this.head,i=0;n;)a.prototype.copy.call(n.data,e,i),i+=n.data.length,n=n.next;return e}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,i=e.data;for(t-=i.length;e=e.next;){var r=e.data,a=t>r.length?r.length:t;if(i+=a===r.length?r:r.slice(0,t),0==(t-=a)){a===r.length?(++n,this.head=e.next?e.next:this.tail=null):(this.head=e,e.data=r.slice(a));break}++n}return this.length-=n,i}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),n=this.head,i=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var r=n.data,o=t>r.length?r.length:t;if(r.copy(e,e.length-t,0,o),0==(t-=o)){o===r.length?(++i,this.head=n.next?n.next:this.tail=null):(this.head=n,n.data=r.slice(o));break}++i}return this.length-=i,e}},{key:s,value:function(t,e){return o(this,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(t.prototype,e),t}()},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("7o/Q"),r=n("4I5i"),a=n("EY2u");function o(t){return function(e){return 0===t?Object(a.b)():e.lift(new s(t))}}var s=function(){function t(e){if(Qe(this,t),this.total=e,this.total<0)throw new r.a}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.total))}}]),t}(),c=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return tn(n,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),n}(i.a)},J78i:function(t,e,n){"use strict";t.exports=o;var i=n("sZro"),r=Object.create(n("Onz0"));function a(t,e){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),i(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function o(t){if(!(this instanceof o))return new o(t);i.call(this,t),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",s)}function s(){var t=this;"function"==typeof this._flush?this._flush((function(e,n){c(t,e,n)})):c(this,null,null)}function c(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}r.inherits=n("P7XM"),r.inherits(o,i),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,i.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,n){var i=this._transformState;if(i.writecb=n,i.writechunk=t,i.writeencoding=e,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},o.prototype._destroy=function(t,e){var n=this;i.prototype._destroy.call(this,t,(function(t){e(t),n.emit("close")}))}},JIr8:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("zx2A");function r(t){return function(e){var n=new a(t),i=e.lift(n);return n.caught=i}}var a=function(){function t(e){Qe(this,t),this.selector=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).selector=i,a.caught=r,a}return tn(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(o){return void Je(cn(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var r=new i.a(this);this.add(r);var a=Object(i.c)(e,r);a!==r&&this.add(a)}}}]),n}(i.b)},JWdw:function(t,e,n){(function(e){var i=n("9Oa7"),r=n("7yq6"),a=n("M+8A"),o=n("nPsm"),s=n("A1SM"),c=n("TbSJ"),u=n("Z94/"),l=n("zZPE"),h=n("mfmY"),f=n("60yG"),d=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];r&&d.splice(3,0,"PS256","PS384","PS512");var p={expiresIn:{isValid:function(t){return c(t)||h(t)&&t},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(t){return c(t)||h(t)&&t},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(t){return h(t)||Array.isArray(t)},message:'"audience" must be a string or array'},algorithm:{isValid:o.bind(null,d),message:'"algorithm" must be a valid string enum value'},header:{isValid:l,message:'"header" must be an object'},encoding:{isValid:h,message:'"encoding" must be a string'},issuer:{isValid:h,message:'"issuer" must be a string'},subject:{isValid:h,message:'"subject" must be a string'},jwtid:{isValid:h,message:'"jwtid" must be a string'},noTimestamp:{isValid:s,message:'"noTimestamp" must be a boolean'},keyid:{isValid:h,message:'"keyid" must be a string'},mutatePayload:{isValid:s,message:'"mutatePayload" must be a boolean'}},m={iat:{isValid:u,message:'"iat" should be a number of seconds'},exp:{isValid:u,message:'"exp" should be a number of seconds'},nbf:{isValid:u,message:'"nbf" should be a number of seconds'}};function v(t,e,n,i){if(!l(n))throw new Error('Expected "'+i+'" to be a plain object.');Object.keys(n).forEach((function(r){var a=t[r];if(a){if(!a.isValid(n[r]))throw new Error(a.message)}else if(!e)throw new Error('"'+r+'" is not allowed in "'+i+'"')}))}var b={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},g=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];t.exports=function(t,n,r,o){"function"==typeof r?(o=r,r={}):r=r||{};var s="object"==typeof t&&!e.isBuffer(t),c=Object.assign({alg:r.algorithm||"HS256",typ:s?"JWT":void 0,kid:r.keyid},r.header);function u(t){if(o)return o(t);throw t}if(!n&&"none"!==r.algorithm)return u(new Error("secretOrPrivateKey must have a value"));if(void 0===t)return u(new Error("payload is required"));if(s){try{!function(t){v(m,!0,t,"payload")}(t)}catch(y){return u(y)}r.mutatePayload||(t=Object.assign({},t))}else{var l=g.filter((function(t){return void 0!==r[t]}));if(l.length>0)return u(new Error("invalid "+l.join(",")+" option for "+typeof t+" payload"))}
1if(void 0!==t.exp&&void 0!==r.expiresIn)return u(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==t.nbf&&void 0!==r.notBefore)return u(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(t){v(p,!1,t,"options")}(r)}catch(y){return u(y)}var h=t.iat||Math.floor(Date.now()/1e3);if(r.noTimestamp?delete t.iat:s&&(t.iat=h),void 0!==r.notBefore){try{t.nbf=i(r.notBefore,h)}catch(_){return u(_)}if(void 0===t.nbf)return u(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(void 0!==r.expiresIn&&"object"==typeof t){try{t.exp=i(r.expiresIn,h)}catch(_){return u(_)}if(void 0===t.exp)return u(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(b).forEach((function(e){var n=b[e];if(void 0!==r[e]){if(void 0!==t[n])return u(new Error('Bad "options.'+e+'" option. The payload already has an "'+n+'" property.'));t[n]=r[e]}}));var d=r.encoding||"utf8";if("function"!=typeof o)return a.sign({header:c,payload:t,secret:n,encoding:d});o=o&&f(o),a.createSign({header:c,privateKey:n,payload:t,encoding:d}).once("error",o).once("done",(function(t){o(null,t)}))}}).call(this,n("tjlA").Buffer)},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("GyhO"),r=n("z+Ro");function a(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=e[e.length-1];return Object(r.a)(a)?(e.pop(),function(t){return Object(i.a)(e,t,a)}):function(t){return Object(i.a)(e,t)}}},KAEN:function(t){t.exports=JSON.parse('{"name":"elliptic","version":"6.5.4","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"[email protected]:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <[email protected]>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},KRB3:function(t,e){var n=function(t,e){Error.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=t,e&&(this.inner=e)};(n.prototype=Object.create(Error.prototype)).constructor=n,t.exports=n},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("7o/Q"),r=n("D0XW");function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){Qe(this,t),this.dueTime=e,this.scheduler=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))}}]),t}(),s=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).dueTime=i,a.scheduler=r,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return tn(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.a);function c(t){t.debouncedNext()}},Kqap:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new a(t,e,n))}}var a=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Qe(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t)).accumulator=i,o._seed=r,o.hasSeed=a,o.index=0,o}return tn(n,[{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)}},{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}}]),n}(i.a)},KqfI:function(t,e,n){"use strict";function i(){}n.d(e,"a",(function(){return i}))},Ku4m:function(t,e,n){var i=n("QRH4"),r=n("1w4i"),a=n("TdD3"),o=n("/ab2"),s=n("oJl4"),c=n("hwdV").Buffer;function u(t){var e;"object"!=typeof t||c.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=c.from(t));var n,u,l=a(t,e),h=l.tag,f=l.data;switch(h){case"CERTIFICATE":u=i.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=i.PublicKey.decode(f,"der")),n=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=i.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":f=function(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=r[t.algorithm.decrypt.cipher.algo.join(".")],u=t.algorithm.decrypt.cipher.iv,l=t.subjectPrivateKey,h=parseInt(a.split("-")[1],10)/8,f=s.pbkdf2Sync(e,n,i,h,"sha1"),d=o.createDecipheriv(a,f,u),p=[];return p.push(d.update(l)),p.push(d.final()),c.concat(p)}(f=i.EncryptedPrivateKey.decode(f,"der"),e);case"PRIVATE KEY":switch(n=(u=i.PrivateKey.decode(f,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:i.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=i.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return{curve:(f=i.ECPrivateKey.decode(f,"der")).parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+h)}}t.exports=u,u.signature=i.signature},LGOv:function(t,e,n){t.exports=n("3BRs")},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("z+Ro"),r=n("yCtX"),a=n("jZKg");function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e[e.length-1];return Object(i.a)(o)?(e.pop(),Object(a.a)(e,o)):Object(r.a)(e)}},LgVm:function(t,e,n){"use strict";function i(t){return(t/8|0)+(t%8==0?0:1)}var r={ES256:i(256),ES384:i(384),ES512:i(521)};t.exports=function(t){var e=r[t];if(e)return e;throw new Error('Unknown algorithm "'+t+'"')}},Lhse:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},"M+8A":function(t,e,n){var i=n("bDwd"),r=n("GC/n");e.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],e.sign=i.sign,e.verify=r.verify,e.decode=r.decode,e.isValid=r.isValid,e.createSign=function(t){return new i(t)},e.createVerify=function(t){return new r(t)}},M9IT:function(t,e,n){"use strict";n.d(e,"a",(function(){return k})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return S}));var i=n("ofXK"),r=n("fXoL"),a=n("bTqV"),o=n("d3UM"),s=n("Qu3c"),c=n("8LU1"),u=n("XNiG"),l=n("FKr1"),h=n("kmnG");function f(t,e){if(1&t&&(r.Tb(0,"mat-option",19),r.Lc(1),r.Sb()),2&t){var n=e.$implicit;r.rc("value",n),r.Bb(1),r.Nc(" ",n," ")}}function d(t,e){if(1&t){var n=r.Ub();r.Tb(0,"mat-form-field",16),r.Tb(1,"mat-select",17),r.gc("selectionChange",(function(t){return r.Ac(n),r.kc(2)._changePageSize(t.value)})),r.Jc(2,f,2,2,"mat-option",18),r.Sb(),r.Sb()}if(2&t){var i=r.kc(2);r.rc("color",i.color),r.Bb(1),r.rc("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),r.Bb(1),r.rc("ngForOf",i._displayedPageSizeOptions)}}function p(t,e){if(1&t&&(r.Tb(0,"div",20),r.Lc(1),r.Sb()),2&t){var n=r.kc(2);r.Bb(1),r.Mc(n.pageSize)}}function m(t,e){if(1&t&&(r.Tb(0,"div",12),r.Tb(1,"div",13),r.Lc(2),r.Sb(),r.Jc(3,d,3,5,"mat-form-field",14),r.Jc(4,p,2,1,"div",15),r.Sb()),2&t){var n=r.kc();r.Bb(2),r.Nc(" ",n._intl.itemsPerPageLabel," "),r.Bb(1),r.rc("ngIf",n._displayedPageSizeOptions.length>1),r.Bb(1),r.rc("ngIf",n._displayedPageSizeOptions.length<=1)}}function v(t,e){if(1&t){var n=r.Ub();r.Tb(0,"button",21),r.gc("click",(function(){return r.Ac(n),r.kc().firstPage()})),r.jc(),r.Tb(1,"svg",7),r.Ob(2,"path",22),r.Sb(),r.Sb()}if(2&t){var i=r.kc();r.rc("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),r.Cb("aria-label",i._intl.firstPageLabel)}}function b(t,e){if(1&t){var n=r.Ub();r.jc(),r.ic(),r.Tb(0,"button",23),r.gc("click",(function(){return r.Ac(n),r.kc().lastPage()})),r.jc(),r.Tb(1,"svg",7),r.Ob(2,"path",24),r.Sb(),r.Sb()}if(2&t){var i=r.kc();r.rc("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),r.Cb("aria-label",i._intl.lastPageLabel)}}var g=function(){var t=function t(){Qe(this,t),this.changes=new u.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,e,n){if(0==n||0==e)return"0 of "+n;var i=t*e;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+e,n):i+e," of ").concat(n)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),y={provide:g,deps:[[new r.C,new r.L,g]],useFactory:function(t){return t||new g}},_=new r.s("MAT_PAGINATOR_DEFAULT_OPTIONS"),w=Object(l.z)(Object(l.B)((function t(){Qe(this,t)}))),k=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,a){var o;if(Qe(this,n),(o=e.call(this))._intl=t,o._changeDetectorRef=i,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new r.o,o._intlChanges=t.changes.subscribe((function(){return o._changeDetectorRef.markForCheck()})),a){var s=a.pageSize,c=a.pageSizeOptions,u=a.hidePageSize,l=a.showFirstLastButtons;null!=s&&(o._pageSize=s),null!=c&&(o._pageSizeOptions=c),null!=u&&(o._hidePageSize=u),null!=l&&(o._showFirstLastButtons=l)}return an(o)}return tn(n,[{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}},{key:"getNumberOfPages",value:function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}},{key:"_changePageSize",value:function(t){var e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}},{key:"_nextButtonsDisabled",value:function(){return this.disabled||!this.hasNextPage()}},{key:"_previousButtonsDisabled",value:function(){return this.disabled||!this.hasPreviousPage()}},{key:"_updateDisplayedPageSizeOptions",value:function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((function(t,e){return t-e})),this._changeDetectorRef.markForCheck())}},{key:"_emitPageEvent",value:function(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}},{key:"pageIndex",get:function(){return this._pageIndex},set:function(t){this._pageIndex=Math.max(Object(c.f)(t),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(t){this._length=Object(c.f)(t),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(t){this._pageSize=Math.max(Object(c.f)(t),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions}
1,set:function(t){this._pageSizeOptions=(t||[]).map((function(t){return Object(c.f)(t)})),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(t){this._hidePageSize=Object(c.c)(t)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(t){this._showFirstLastButtons=Object(c.c)(t)}}]),n}(w);return t.\u0275fac=function(e){return new(e||t)(r.Nb(g),r.Nb(r.h),r.Nb(_,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[r.yb],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"div",1),r.Jc(2,m,5,3,"div",2),r.Tb(3,"div",3),r.Tb(4,"div",4),r.Lc(5),r.Sb(),r.Jc(6,v,3,5,"button",5),r.Tb(7,"button",6),r.gc("click",(function(){return e.previousPage()})),r.jc(),r.Tb(8,"svg",7),r.Ob(9,"path",8),r.Sb(),r.Sb(),r.ic(),r.Tb(10,"button",9),r.gc("click",(function(){return e.nextPage()})),r.jc(),r.Tb(11,"svg",7),r.Ob(12,"path",10),r.Sb(),r.Sb(),r.Jc(13,b,3,5,"button",11),r.Sb(),r.Sb(),r.Sb()),2&t&&(r.Bb(2),r.rc("ngIf",!e.hidePageSize),r.Bb(3),r.Nc(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),r.Bb(1),r.rc("ngIf",e.showFirstLastButtons),r.Bb(1),r.rc("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),r.Cb("aria-label",e._intl.previousPageLabel),r.Bb(3),r.rc("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),r.Cb("aria-label",e._intl.nextPageLabel),r.Bb(3),r.rc("ngIf",e.showFirstLastButtons))},directives:[i.p,a.a,s.a,h.b,o.a,i.o,l.n],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),t}(),S=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},providers:[y],imports:[[i.c,a.b,o.b,s.b]]}),t}()},MutI:function(t,e,n){"use strict";n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return w}));var i=n("ofXK"),r=n("fXoL"),a=n("FKr1"),o=n("8LU1"),s=n("XNiG"),c=n("1G5W"),u=(n("JX91"),n("u47x"),n("0EQZ"),n("FtGj"),n("3Pt+"),n("f0Cb")),l=["*"],h=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],f=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],d=Object(a.z)(Object(a.y)((function t(){Qe(this,t)}))),p=Object(a.y)((function t(){Qe(this,t)})),m=new r.s("MatList"),v=new r.s("MatNavList"),b=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this))._elementRef=t,i._stateChanges=new s.a,"action-list"===i._getListType()&&t.nativeElement.classList.add("mat-action-list"),i}return tn(n,[{key:"_getListType",value:function(){var t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l))},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[r.Ab([{provide:m,useExisting:t}]),r.yb,r.zb],ngContentSelectors:l,decls:1,vars:0,template:function(t,e){1&t&&(r.qc(),r.pc(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{dis
1play:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{dis
1play:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t}(),g=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t}(),y=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t}(),_=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;Qe(this,n),(o=e.call(this))._element=t,o._isInteractiveList=!1,o._destroyed=new s.a,o._disabled=!1,o._isInteractiveList=!!(r||a&&"action-list"===a._getListType()),o._list=r||a;var u=o._getHostElement();return"button"!==u.nodeName.toLowerCase()||u.hasAttribute("type")||u.setAttribute("type","button"),o._list&&o._list._stateChanges.pipe(Object(c.a)(o._destroyed)).subscribe((function(){i.markForCheck()})),o}return tn(n,[{key:"ngAfterContentInit",value:function(){Object(a.D)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(t){this._disabled=Object(o.c)(t)}}]),n}(p);return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(r.h),r.Nb(v,8),r.Nb(m,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){var i;1&t&&(r.Gb(n,g,!0),r.Gb(n,y,!0),r.Gb(n,a.k,!0)),2&t&&(r.xc(i=r.hc())&&(e._avatar=i.first),r.xc(i=r.hc())&&(e._icon=i.first),r.xc(i=r.hc())&&(e._lines=i))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&r.Fb("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}
1,exportAs:["matListItem"],features:[r.yb],ngContentSelectors:f,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(r.qc(h),r.Tb(0,"div",0),r.Ob(1,"div",1),r.pc(2),r.Tb(3,"div",2),r.pc(4,1),r.Sb(),r.pc(5,2),r.Sb()),2&t&&(r.Bb(1),r.rc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[a.s],encapsulation:2,changeDetection:0}),t}(),w=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[a.l,a.t,a.j,a.r,i.c],a.l,a.j,a.r,u.a]}),t}()},MwBp:function(t,e,n){"use strict";var i=n("86MQ"),r=n("gK+I"),a=n("P7XM"),o=n("6lN/"),s=i.assert;function c(t){o.call(this,"short",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(t,e,n,i){o.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(e,16),this.y=new r(n,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(t,e,n,i){o.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(e,16),this.y=new r(n,16),this.z=new r(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(c,o),t.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n;if(t.beta)e=new r(t.beta,16).toRed(this.red);else{var i=this._getEndoRoots(this.p);e=(e=i[0].cmp(i[1])<0?i[0]:i[1]).toRed(this.red)}if(t.lambda)n=new r(t.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(e))?n=a[0]:s(0===this.g.mul(n=a[1]).x.cmp(this.g.x.redMul(e)))}return{beta:e,lambda:n,basis:t.basis?t.basis.map((function(t){return{a:new r(t.a,16),b:new r(t.b,16)}})):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:r.mont(t),n=new r(2).toRed(e).redInvm(),i=n.redNeg(),a=new r(3).toRed(e).redNeg().redSqrt().redMul(n);return[i.redAdd(a).fromRed(),i.redSub(a).fromRed()]},c.prototype._getEndoBasis=function(t){for(var e,n,i,a,o,s,c,u,l,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=t,d=this.n.clone(),p=new r(1),m=new r(0),v=new r(0),b=new r(1),g=0;0!==f.cmpn(0);){var y=d.div(f);u=d.sub(y.mul(f)),l=v.sub(y.mul(p));var _=b.sub(y.mul(m));if(!i&&u.cmp(h)<0)e=c.neg(),n=p,i=u.neg(),a=l;else if(i&&2==++g)break;c=u,d=f,f=u,v=p,p=l,b=m,m=_}o=u.neg(),s=l;var w=i.sqr().add(a.sqr());return o.sqr().add(s.sqr()).cmp(w)>=0&&(o=e,s=n),i.negative&&(i=i.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:i,b:a},{a:o,b:s}]},c.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],i=e[1],r=i.b.mul(t).divRound(this.n),a=n.b.neg().mul(t).divRound(this.n),o=r.mul(n.a),s=a.mul(i.a),c=r.mul(n.b),u=a.mul(i.b);return{k1:t.sub(o).sub(s),k2:c.add(u).neg()}},c.prototype.pointFromX=function(t,e){(t=new r(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(0!==i.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var a=i.fromRed().isOdd();return(e&&!a||!e&&a)&&(i=i.redNeg()),this.point(t,i)},c.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,i=this.a.redMul(e),r=e.redSqr().redMul(e).redIAdd(i).redIAdd(this.b);return 0===n.redSqr().redISub(r).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,e,n){for(var i=this._endoWnafT1,r=this._endoWnafT2,a=0;a<t.length;a++){var o=this._endoSplit(e[a]),s=t[a],c=s._getBeta();o.k1.negative&&(o.k1.ineg(),s=s.neg(!0)),o.k2.negative&&(o.k2.ineg(),c=c.neg(!0)),i[2*a]=s,i[2*a+1]=c,r[2*a]=o.k1,r[2*a+1]=o.k2}for(var u=this._wnafMulAdd(1,i,r,2*a,n),l=0;l<2*a;l++)i[l]=null,r[l]=null;return u},a(u,o.BasePoint),c.prototype.point=function(t,e,n){return new u(this,t,e,n)},c.prototype.pointFromJSON=function(t,e){return u.fromJSON(this,t,e)},u.prototype._getBeta=function(){if(this.curve.endo){var t=this.prec
vendor: 7,332 bytes, line 1
1omputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,i=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(i)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(i)}}}return e}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(t,e,n){"string"==typeof e&&(e=JSON.parse(e));var i=t.point(e[0],e[1],n);if(!e[2])return i;function r(e){return t.point(e[0],e[1],n)}var a=e[2];return i.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[i].concat(a.doubles.points.map(r))},naf:a.naf&&{wnd:a.naf.wnd,points:[i].concat(a.naf.points.map(r))}},i},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),i=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)},u.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),r=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(i),a=r.redSqr().redISub(this.x.redAdd(this.x)),o=r.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(t){return t=new r(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,n){var i=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,r):this.curve._wnafMulAdd(1,i,r,2)},u.prototype.jmulAdd=function(t,e,n){var i=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,r,!0):this.curve._wnafMulAdd(1,i,r,2,!0)},u.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},u.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,i=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return e},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(l,o.BasePoint),c.prototype.jpoint=function(t,e,n){return new l(this,t,e,n)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),i=this.y.redMul(e).redMul(t);return this.curve.point(n,i)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(e),r=t.x.redMul(n),a=this.y.redMul(e.redMul(t.z)),o=t.y.redMul(n.redMul(this.z)),s=i.redSub(r),c=a.redSub(o);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),h=i.redMul(u),f=c.redSqr().redIAdd(l).redISub(h).redISub(h),d=c.redMul(h.redISub(f)).redISub(a.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(f,d,p)},l.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,i=t.x.redMul(e),r=this.y,a=t.y.redMul(e).redMul(this.z),o=n.redSub(i),s=r.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),u=c.redMul(o),l=n.redMul(c),h=s.redSqr().redIAdd(u).redISub(l).redISub(l),f=s.redMul(l.redISub(h)).redISub(r.redMul(u)),d=this.z.redMul(o);return this.curve.jpoint(h,f,d)},l.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e<t;e++)n=n.dbl();return n}var i=this.curve.a,r=this.curve.tinv,a=this.x,o=this.y,s=this.z,c=s.redSqr().redSqr(),u=o.redAdd(o);for(e=0;e<t;e++){var l=a.redSqr(),h=u.redSqr(),f=h.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(i.redMul(c)),p=a.redMul(h),m=d.redSqr().redISub(p.redAdd(p)),v=p.redISub(m),b=d.redMul(v);b=b.redIAdd(b).redISub(f);var g=u.redMul(s);e+1<t&&(c=c.redMul(f)),a=m,s=g,u=b}return this.curve.jpoint(a,u.redMul(r),s)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var t,e,n;if(this.zOne){var i=this.x.redSqr(),r=this.y.redSqr(),a=r.redSqr(),o=this.x.redAdd(r).redSqr().redISub(i).redISub(a);o=o.redIAdd(o);var s=i.redAdd(i).redIAdd(i),c=s.redSqr().redISub(o).redISub(o),u=a.redIAdd(a);u=(u=u.redIAdd(u)).redIAdd(u),t=c,e=s.redMul(o.redISub(c)).redISub(u),n=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),h=this.y.redSqr(),f=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(l).redISub(f);d=d.redIAdd(d);var p=l.redAdd(l).redIAdd(l),m=p.redSqr(),v=f.redIAdd(f);v=(v=v.redIAdd(v)).redIAdd(v),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(v),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,e,n)},l.prototype._threeDbl=function(){var t,e,n;if(this.zOne){var i=this.x.redSqr(),r=this.y.redSqr(),a=r.redSqr(),o=this.x.redAdd(r).redSqr().redISub(i).redISub(a);o=o.redIAdd(o);var s=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),c=s.redSqr().redISub(o).redISub(o);t=c;var u=a.redIAdd(a);u=(u=u.redIAdd(u)).redIAdd(u),e=s.redMul(o.redISub(c)).redISub(u),n=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),h=this.y.redSqr(),f=this.x.redMul(h),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var p=f.redIAdd(f),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(h).redISub(l);var v=h.redSqr();v=(v=(v=v.redIAdd(v)).redIAdd(v)).redIAdd(v),e=d.redMul(p.redISub(t)).redISub(v)}return this.curve.jpoint(t,e,n)},l.prototype._dbl=function(){var t=this.curve.a,e=this.x,n=this.y,i=this.z,r=i.redSqr().redSqr(),a=e.redSqr(),o=n.redSqr(),s=a.redAdd(a).redIAdd(a).redIAdd(t.redMul(r)),c=e.redAdd(e),u=(c=c.redIAdd(c)).redMul(o),l=s.redSqr().redISub(u.redAdd(u)),h=u.redISub(l),f=o.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=s.redMul(h).redISub(f),p=n.redAdd(n).redMul(i);return this.curve.jpoint(l,d,p)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr(),i=e.redSqr(),r
vendor: 5,974 bytes, line 1
1=t.redAdd(t).redIAdd(t),a=r.redSqr(),o=this.x.redAdd(e).redSqr().redISub(t).redISub(i),s=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(a)).redSqr(),c=i.redIAdd(i);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=r.redIAdd(o).redSqr().redISub(a).redISub(s).redISub(c),l=e.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var h=this.x.redMul(s).redISub(l);h=(h=h.redIAdd(h)).redIAdd(h);var f=this.y.redMul(u.redMul(c.redISub(u)).redISub(o.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(o).redSqr().redISub(n).redISub(s);return this.curve.jpoint(h,f,d)},l.prototype.mul=function(t,e){return t=new r(t,e),this.curve._wnafMul(this,t)},l.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(e)).cmpn(0))return!1;var i=e.redMul(this.z),r=n.redMul(t.z);return 0===this.y.redMul(r).redISub(t.y.redMul(i)).cmpn(0)},l.prototype.eqXToP=function(t){var e=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(n))return!0;for(var i=t.clone(),r=this.curve.redN.redMul(e);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(r),0===this.x.cmp(n))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},MzeL:function(t,e,n){"use strict";var i=e;i.version=n("KAEN").version,i.utils=n("86MQ"),i.rand=n("/ayr"),i.curve=n("QTa/"),i.curves=n("DLvh"),i.ec=n("uagp"),i.eddsa=n("lF1L")},N2jm:function(t,e,n){"use strict";var i=n("P7XM"),r=n("xZGU").Buffer,a=n("g2Dh"),o=n("i3FT");function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){a.call(this,"der",t)}function u(t){return t<10?"0"+t:t}t.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},i(c,a),c.prototype._encodeComposite=function(t,e,n,i){var a=function(t,e,n,i){var r;if("seqof"===t?t="seq":"setof"===t&&(t="set"),o.tagByName.hasOwnProperty(t))r=o.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return i.error("Unknown tag: "+t);r=t}return r>=31?i.error("Multi-octet tag encoding unsupported"):(e||(r|=32),r|=o.tagClassByName[n||"universal"]<<6)}(t,e,n,this.reporter);if(i.length<128){var s=r.alloc(2);return s[0]=a,s[1]=i.length,this._createEncoderBuffer([s,i])}for(var c=1,u=i.length;u>=256;u>>=8)c++;var l=r.alloc(2+c);l[0]=a,l[1]=128|c;for(var h=1+c,f=i.length;f>0;h--,f>>=8)l[h]=255&f;return this._createEncoderBuffer([l,i])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var n=r.alloc(2*t.length),i=0;i<t.length;i++)n.writeUInt16BE(t.charCodeAt(i),2*i);return this._createEncoderBuffer(n)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},c.prototype._encodeObjid=function(t,e,n){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(var i=0;i<t.length;i++)t[i]|=0}else if(Array.isArray(t)){t=t.slice();for(var a=0;a<t.length;a++)t[a]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!n){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var o=0,s=0;s<t.length;s++){var c=t[s];for(o++;c>=128;c>>=7)o++}for(var u=r.alloc(o),l=u.length-1,h=t.length-1;h>=0;h--){var f=t[h];for(u[l--]=127&f;(f>>=7)>0;)u[l--]=128|127&f}return this._createEncoderBuffer(u)},c.prototype._encodeTime=function(t,e){var n,i=new Date(t);return"gentime"===e?n=[u(i.getUTCFullYear()),u(i.getUTCMonth()+1),u(i.getUTCDate()),u(i.getUTCHours()),u(i.getUTCMinutes()),u(i.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[u(i.getUTCFullYear()%100),u(i.getUTCMonth()+1),u(i.getUTCDate()),u(i.getUTCHours()),u(i.getUTCMinutes()),u(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!r.isBuffer(t)){var n=t.toArray();!t.sign&&128&n[0]&&n.unshift(0),t=r.from(n)}if(r.isBuffer(t)){var i=t.length;0===t.length&&i++;var a=r.alloc(i);return t.copy(a),0===t.length&&(a[0]=0),this._createEncoderBuffer(a)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var o=1,s=t;s>=256;s>>=8)o++;for(var c=new Array(o),u=c.length-1;u>=0;u--)c[u]=255&t,t>>=8;return 128&c[0]&&c.unshift(0),this._createEncoderBuffer(r.from(c))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,n){var i,r=this._baseState;if(null===r.default)return!1;var a=t.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,e,n).join()),a.length!==r.defaultBuffer.length)return!1;for(i=0;i<a.length;
1i++)if(a[i]!==r.defaultBuffer[i])return!1;return!0}},ND7S:function(t,e,n){"use strict";var i=e;i.der=n("N2jm"),i.pem=n("hbMA")},"NHP+":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("XNiG"),r=n("quSY"),a=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.apply(this,arguments)).value=null,t.hasNext=!1,t.hasCompleted=!1,t}return tn(n,[{key:"_subscribe",value:function(t){return this.hasError?(t.error(this.thrownError),r.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),r.a.EMPTY):Je(cn(n.prototype),"_subscribe",this).call(this,t)}},{key:"next",value:function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)}},{key:"error",value:function(t){this.hasCompleted||Je(cn(n.prototype),"error",this).call(this,t)}},{key:"complete",value:function(){this.hasCompleted=!0,this.hasNext&&Je(cn(n.prototype),"next",this).call(this,this.value),Je(cn(n.prototype),"complete",this).call(this)}}]),n}(i.a)},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout((function(){throw t}),0)}n.d(e,"a",(function(){return i}))},NJ9Y:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n("sVev"),r=n("pLZG"),a=n("BFxc"),o=n("XDbj"),s=n("xbPD"),c=n("SpAZ");function u(t,e){var n=arguments.length>=2;return function(u){return u.pipe(t?Object(r.a)((function(e,n){return t(e,n,u)})):c.a,Object(a.a)(1),n?Object(s.a)(e):Object(o.a)((function(){return new i.a})))}}},NNVn:function(t,e,n){(e=t.exports=n("zzXz")).Stream=e,e.Readable=e,e.Writable=n("Sc7j"),e.Duplex=n("Xn1i"),e.Transform=n("8cin"),e.PassThrough=n("nSiv"),e.finished=n("QqdZ"),e.pipeline=n("rE/R")},NQVK:function(t,e,n){var i=n("hwdV").Buffer,r=n("jIre");function a(t,e,n){var a=e.length,o=r(e,t._cache);return t._cache=t._cache.slice(a),t._prev=i.concat([t._prev,n?e:o]),o}e.encrypt=function(t,e,n){for(var r,o=i.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=i.allocUnsafe(0)),!(t._cache.length<=e.length)){o=i.concat([o,a(t,e,n)]);break}o=i.concat([o,a(t,e.slice(0,r=t._cache.length),n)]),e=e.slice(r)}return o}},NXyV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("HDdC"),r=n("Cfvw"),a=n("EY2u");function o(t){return new i.a((function(e){var n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(a.b)()).subscribe(e)}))}},Nv8m:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("DH7j"),r=n("yCtX"),a=n("l7GE"),o=n("ZUHj");function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(1===e.length){if(!Object(i.a)(e[0]))return e[0];e=e[0]}return Object(r.a)(e,void 0).lift(new c)}var c=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t))}}]),t}(),u=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t)).hasFirst=!1,i.observables=[],i.subscriptions=[],i}return tn(n,[{key:"_next",value:function(t){this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var i=t[n],r=Object(o.a)(this,i,void 0,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}},{key:"notifyNext",value:function(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(var i=0;i<this.subscriptions.length;i++)if(i!==n){var r=this.subscriptions[i];r.unsubscribe(),this.remove(r)}this.subscriptions=null}this.destination.next(e)}}]),n}(a.a)},"OA+I":function(t,e,n){"use strict";var i=n("86MQ"),r=i.assert,a=i.parseBytes,o=i.cachedProperty;function s(t,e){this.eddsa=t,this._secret=a(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=a(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},o(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),o(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),o(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),n=t.encodingLength-1,i=e.slice(0,t.encodingLength);return i[0]&=248,i[n]&=127,i[n]|=64,i})),o(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),o(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),o(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return r(this._secret,"KeyPair is public only"),i.encode(this.secret(),t)},s.prototype.getPublic=function(t){return i.encode(this.pubBytes(),t)},t.exports=s},OLhb:function(t,e,n){"use strict";n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return m})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return b})),n.d(e,"a",(function(){return g}));var i=n("U/Bw"),r=n("lTdr"),a=n("fXoL"),o=n("tyNb"),s=n("ofXK"),c=function(t){return function(t){for(var e,n="0123456789ABCDEF",i="",r=0;r<t.length;r++)e=t.charCodeAt(r),i+=n.charAt(e>>>4&15)+n.charAt(15&e);return i}(function(t){for(var e="",n=0;n<32*t.length;n+=8)e+=String.fromCharCode(t[n>>5]>>>n%32&255);return e}(function(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var n=1732584193,i=-271733879,r=-1732584194,a=271733878,o=0;o<t.length;o+=16){var s=n,c=i,u=r,m=a;i=d(i=d(i=d(i=d(i=f(i=f(i=f(i=f(i=h(i=h(i=h(i=h(i=l(i=l(i=l(i=l(i,r=l(r,a=l(a,n=l(n,i,r,a,t[o+0],7,-680876936),i,r,t[o+1],12,-389564586),n,i,t[o+2],17,606105819),a,n,t[o+3],22,-1044525330),r=l(r,a=l(a,n=l(n,i,r,a,t[o+4],7,-176418897),i,r,t[o+5],12,1200080426),n,i,t[o+6],17,-1473231341),a,n,t[o+7],22,-45705983),r=l(r,a=l(a,n=l(n,i,r,a,t[o+8],7,1770035416),i,r,t[o+9],12,-1958414417),n,i,t[o+10],17,-42063),a,n,t[o+11],22,-1990404162),r=l(r,a=l(a,n=l(n,i,r,a,t[o+12],7,1804603682),i,r,t[o+13],12,-40341101),n,i,t[o+14],17,-1502002290),a,n,t[o+15],22,1236535329),r=h(r,a=h(a,n=h(n,i,r,a,t[o+1],5,-165796510),i,r,t[o+6],9,-1069501632),n,i,t[o+11],14,643717713),a,n,t[o+0],20,-373897302),r=h(r,a=h(a,n=h(n,i,r,a,t[o+5],5,-701558691),i,r,t[o+10],9,38016083),n,i,t[o+15],14,-660478335),a,n,t[o+4],20,-405537848),r=h(r,a=h(a,n=h(n,i,r,a,t[o+9],5,568446438),i,r,t[o+14],9,-1019803690),n,i,t[o+3],14,-187363961),a,n,t[o+8],20,1163531501),r=h(r,a=h(a,n=h(n,i,r,a,t[o+13],5,-1444681467),i,r,t[o+2],9,-51403784),n,i,t[o+7],14,1735328473),a,n,t[o+12],20,-1926607734),r=f(r,a=f(a,n=f(n,i,r,a,t[o+5],4,-378558),i,r,t[o+8],11,-2022574463),n,i,t[o+11],16,1839030562),a,n,t[o+14],23,-35309556),r=f(r,a=f(a,n=f(n,i,r,a,t[o+1],4,-1530992060),i,r,t[o+4],11,1272893353),n,i,t[o+7],16,-155497632),a,n,t[o+10],23,-1094730640),r=f(r,a=f(a,n=f(n,i,r,a,t[o+13],4,681279174),i,r,t[o+0],11,-358537222),n,i,t[o+3],16,-722521979),a,n,t[o+6],23,76029189),r=f(r,a=f(a,n=f(n,i,r,a,t[o+9],4,-640364487),i,r,t[o+12],11,-421815835),n,i,t[o+15],16,530742520),a,n,t[o+2],23,-995338651),r=d(r,a=d(a,n=d(n,i,r,a,t[o+0],6,-198630844),i,r,t[o+7],10,1126891415),n,i,t[o+14],15,-1416354905),a,n,t[o+5],21,-57434055),r
1=d(r,a=d(a,n=d(n,i,r,a,t[o+12],6,1700485571),i,r,t[o+3],10,-1894986606),n,i,t[o+10],15,-1051523),a,n,t[o+1],21,-2054922799),r=d(r,a=d(a,n=d(n,i,r,a,t[o+8],6,1873313359),i,r,t[o+15],10,-30611744),n,i,t[o+6],15,-1560198380),a,n,t[o+13],21,1309151649),r=d(r,a=d(a,n=d(n,i,r,a,t[o+4],6,-145523070),i,r,t[o+11],10,-1120210379),n,i,t[o+2],15,718787259),a,n,t[o+9],21,-343485551),n=p(n,s),i=p(i,c),r=p(r,u),a=p(a,m)}return Array(n,i,r,a)}(function(t){for(var e=Array(t.length>>2),n=0;n<e.length;n++)e[n]=0;for(n=0;n<8*t.length;n+=8)e[n>>5]|=(255&t.charCodeAt(n/8))<<n%32;return e}(t),8*t.length))).toLowerCase()};function u(t,e,n,i,r,a){return p(function(t,e){return t<<e|t>>>32-e}(p(p(e,t),p(i,a)),r),n)}function l(t,e,n,i,r,a,o){return u(e&n|~e&i,t,e,r,a,o)}function h(t,e,n,i,r,a,o){return u(e&i|n&~i,t,e,r,a,o)}function f(t,e,n,i,r,a,o){return u(e^n^i,t,e,r,a,o)}function d(t,e,n,i,r,a,o){return u(n^(e|~i),t,e,r,a,o)}function p(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}var m=function(t){return""==t||null==t||"null"==t||"system"==t},v=function(){var t=function(){function t(e,n,i){var a=this;Qe(this,t),this.restService=e,this.router=n,this.datePipe=i,this.isAuthenticated=!0,this.licenceWarningDisplay=!0,this.isEnterpriseEdition=!1,this.currentLicence=new r.b("",null,null,null,null,null,null),setInterval((function(){a.checkServerIsAuthenticated()}),5e3),setInterval((function(){a.checkLicense()}),3e5)}
1return tn(t,[{key:"checkLicense",value:function(){var t=this,e=localStorage.getItem(g);if(null!=e&&""!=e){var n=JSON.parse(e);this.isAuthenticated&&"system"in n&&(null!=this.serverSettings?this.restService.isEnterpriseEdition().subscribe((function(e){t.isEnterpriseEdition=e.success,t.isEnterpriseEdition&&t.getLicenceStatus(t.serverSettings.licenceKey)}),(function(t){Object(i.g)(t)})):this.getServerSettings())}else console.log("Cant check license because user app permissions are empty/null.")}},{key:"initLicenseCheck",value:function(){var t=this;setTimeout((function(){t.checkLicense()}),5e3)}},{key:"login",value:function(t,e){return this.user=new i.f(t,c(e)),this.restService.authenticateUser(this.user)}},{key:"changeUserPassword",value:function(t,e,n){var r=new i.f(t,c(e));return r.newPassword=c(n),this.restService.changePassword(r)}},{key:"isFirstLogin",value:function(){return this.restService.isFirstLogin()}},{key:"createFirstAccount",value:function(t){return t.password=c(t.password),this.restService.createFirstAccount(t)}},{key:"checkServerIsAuthenticated",value:function(){var t=this;localStorage.getItem("authenticated")?this.restService.isAuthenticated().subscribe((function(e){if(t.isAuthenticated=e.success,t.isAuthenticated||(console.debug("Not authenticated navigating to login "),t.router.navigateByUrl("/pages/login")),"/pages/login"==t.router.url){var n=localStorage.getItem(g);if(null==n||""==n)return;var i=JSON.parse(n);t.router.navigateByUrl("system"in i?"/dashboard/overview":"/applications/"+Object.keys(i)[0])}}),(function(e){t.isAuthenticated=!1,t.router.navigateByUrl("/pages/login"),Object(i.g)(e)})):this.isAuthenticated=!1}},{key:"canActivate",value:function(){var t=this;return console.debug("AuthService: is authenticated: "+this.isAuthenticated+" local storage: "+localStorage.getItem("authenticated")),localStorage.getItem("authenticated")&&this.isAuthenticated?(this.restService.isAuthenticated().subscribe((function(e){t.isAuthenticated=e.success,t.isAuthenticated||t.router.navigateByUrl("/pages/login"),"/pages/login"==t.router.url&&t.router.navigateByUrl("/dashboard/overview")}),(function(e){t.isAuthenticated=!1,t.router.navigateByUrl("/pages/login"),Object(i.g)(e)})),!0):(console.debug("AuthService navigating login"),this.router.navigateByUrl("/pages/login"),this.isAuthenticated=!1,!1)}},{key:"getServerSettings",value:function(){var t=this;this.restService.getServerSettings().subscribe((function(e){t.serverSettings=e,localStorage.setItem("hostAddress",e.hostAddress),t.getLicenceStatus(t.serverSettings.licenceKey)}),(function(t){Object(i.g)(t)}))}},{key:"getLicenceStatus",value:function(t){var e=this;this.currentLicence=null,this.isEnterpriseEdition&&this.restService.getLicenseStatus(t).subscribe((function(t){if(e.currentLicence=t,null!=e.currentLicence&&null!=e.currentLicence.licenceId){var n=e.currentLicence.endDate;return e.leftDays=e.differenceInDays((new Date).getTime(),new Date(n).getTime()),e.leftDays<3&&e.licenceWarningDisplay&&(console.log("Your license expires in "+e.leftDays+" days"),swal({title:"Your license expires in "+e.leftDays+" days",text:"Please Renew Your License ",type:"info",confirmButtonColor:"#3085d6",confirmButtonText:"OK",onClose:function(){}}).then((function(){})).catch((function(){})),e.licenceWarningDisplay=!1),e.currentLicence}return e.licenceWarningDisplay&&!e.serverSettings.buildForMarket&&(console.log("Invalid License"),swal({title:"Invalid License",text:"Please Validate Your License ",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK",onClose:function(){}}).then((function(){window.location.href="/#/serverSettings"})).catch((function(){}))),e.licenceWarningDisplay=!1,null}),(function(t){Object(i.g)(t)}))}},{key:"differenceInDays",value:function(t,e){return Math.round((e-t)/864e5)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.cc(i.e),a.cc(o.c),a.cc(s.f))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}(),b="email",g="appNameUserType"},OQgR:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return h}));var i=n("7o/Q"),r=n("quSY"),a=n("HDdC"),o=n("XNiG");function s(t,e,n,i){return function(r){return r.lift(new c(t,e,n,i))}}var c=function(){function t(e,n,i,r){Qe(this,t),this.keySelector=e,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=r}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}]),t}(),u=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s;return Qe(this,n),(s=e.call(this,t)).keySelector=i,s.elementSelector=r,s.durationSelector=a,s.subjectSelector=o,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return tn(n,[{key:"_next",value:function(t){var e;try{e=this.keySelector(t)}catch(n){return void this.error(n)}this._group(t,e)}},{key:"_group",value:function(t,e){var n=this.groups;n||(n=this.groups=new Map);var i,r=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(c){this.error(c)}else i=t;if(!r){r=this.subjectSelector?this.subjectSelector():new o.a,n.set(e,r);var a=new h(e,r,this);if(this.destination.next(a),this.durationSelector){var s;try{s=this.durationSelector(new h(e,r))}catch(c){return void this.error(c)}this.add(s.subscribe(new l(e,r,this)))}}r.closed||r.next(i)}},{key:"_error",value:function(t){var e=this.groups;e&&(e.forEach((function(e,n){e.error(t)})),e.clear()),this.destination.error(t)}},{key:"_complete",value:function(){var t=this.groups;t&&(t.forEach((function(t,e){t.complete()})),t.clear()),this.destination.complete()}},{key:"removeGroup",value:function(t){this.groups.delete(t)}},{key:"unsubscribe",value:function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&Je(cn(n.prototype),"unsubscribe",this).call(this))}}]),n}(i.a),l=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,i)).key=t,a.group=i,a.parent=r,a}return tn(n,[{key:"_next",value:function(t){this.complete()}},{key:"_unsubscribe",value:function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)}}]),n}(i.a),h=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this)).key=t,a.groupSubject=i,a.refCountSubscription=r,a}return tn(n,[{key:"_subscribe",value:function(t){var e=new r.a,n=this.refCountSubscription,i=this.groupSubject;return n&&!n.closed&&e.add(new f(n)),e.add(i.subscribe(t)),e}}]),n}(a.a),f=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this)).parent=t,t.count++,i}return tn(n,[{key:"unsubscribe",value:function(){var t=this.parent;t.closed||this.closed||(Je(cn(n.prototype),"unsubscribe",this).call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())}}]),n}(r.a)},OXVQ:function(t,e,n){var i=n("M+8A");t.exports=function(t,e){var n=i.decode(t,e=e||{});if(!n)return null;var r=n.payload;if("string"==typeof r)try{var a=JSON.parse(r);null!==a&&"object"==typeof a&&(r=a)}catch(o){}return!0===e.complete?{header:n.header,payload:r,signature:n.signature}:r}},"OZ/i":function(t,e,n){(function(t){!function(t,e){"use strict";function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function a(t,e,n){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"==typeof t?t.exports=a:e.BN=a,a.BN=a,a.wordSize=26;try{o=n(8).Buffer}catch(E){}function s(t,e,n){for(var r=0,a=Math.min(t.length,n),o=0,s=e;s<a;s++){var c,u=t.charCodeAt(s)-48;r<<=4,r|=c=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,o|=c}return i(!(240&o),"Invalid character in "+t),r}function c(t,e,n,r){for(var a=0,o=0,s=Math.min(t.length,n),c=e;c<s;c++){var u=t.charCodeAt(c)-48;a*=r,o=u>=49?u-49+10:u>=17?u-17+10:u,i(u>=0&&o<r,"Invalid character"),a+=o}return a}function u(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}a.isBN=function(t){return t instanceof a||null!==t&&"object"==typeof t&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===e?this._parseHex(t,r):this._parseBase(t,e,r),"-"===t[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),e,n)},a.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},a.prototype._initArray=function(t,e,n){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var a,o,s=0;if("be"===n)for(r=t.length-1,a=0;r>=0;r-=3)this.words[a]|=(o=t[r]|t[r-1]<<8|t[r-2]<<16)<<s&67108863,this.words[a+1]=o>>>
vendor: 5,149 bytes, line 1
126-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===n)for(r=0,a=0;r<t.length;r+=3)this.words[a]|=(o=t[r]|t[r+1]<<8|t[r+2]<<16)<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this._strip()},a.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,r,a=0;for(n=t.length-6,i=0;n>=e;n-=6)r=s(t,n,n+6),this.words[i]|=r<<a&67108863,this.words[i+1]|=r>>>26-a&4194303,(a+=24)>=26&&(a-=26,i++);n+6!==e&&(r=s(t,e,n+6),this.words[i]|=r<<a&67108863,this.words[i+1]|=r>>>26-a&4194303),this._strip()},a.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var i=0,r=1;r<=67108863;r*=e)i++;i--,r=r/e|0;for(var a=t.length-n,o=a%i,s=Math.min(a,a-o)+n,u=0,l=n;l<s;l+=i)u=c(t,l,l+i,e),this.imuln(r),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var h=1;for(u=c(t,l,t.length,e),l=0;l<o;l++)h*=e;this.imuln(h),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype._move=function(t){u(t,this)},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?a.prototype[Symbol.for("nodejs.util.inspect.custom")]=l:a.prototype.inspect=l;var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,e,n){n.negative=e.negative^t.negative;var i=t.length+e.length|0;n.length=i,i=i-1|0;var r=0|t.words[0],a=0|e.words[0],o=r*a,s=o/67108864|0;n.words[0]=67108863&o;for(var c=1;c<i;c++){for(var u=s>>>26,l=67108863&s,h=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=h;f++)u+=(o=(r=0|t.words[c-f|0])*(a=0|e.words[f])+l)/67108864|0,l=67108863&o;n.words[c]=0|l,s=0|u}return 0!==s?n.words[c]=0|s:n.length--,n._strip()}a.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var r=0,a=0,o=0;o<this.length;o++){var s=this.words[o],c=(16777215&(s<<r|a)).toString(16);n=0!=(a=s>>>24-r&16777215)||o!==this.length-1?h[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==a&&(n=a.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],l=d[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(l).toString(t);n=(p=p.idivn(l)).isZero()?m+n:h[u-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16,2)},o&&(a.prototype.toBuffer=function(t,e){return this.toArrayLike(o,t,e)}),a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,n){this._strip();var r=this.byteLength(),a=n||Math.max(1,r);i(r<=a,"byte array longer than desired length"),i(a>0,"Requested array length <= 0");var o=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,a);return this["_toArrayLike"+("le"===e?"LE":"BE")](o,r),o},a.prototype._toArrayLikeLE=function(t,e){for(var n=0,i=0,r=0,a=0;r<this.length;r++){var o=this.words[r]<<a|i;t[n++]=255&o,n<t.length&&(t[n++]=o>>8&255),n<t.length&&(t[n++]=o>>16&255),6===a?(n<t.length&&(t[n++]=o>>24&255),i=0,a=0):(i=o>>>24,a+=2)}if(n<t.length)for(t[n++]=i;n<t.length;)t[n++]=0},a.prototype._toArrayLikeBE=function(t,e){for(var n=t.length-1,i=0,r=0,a=0;r<this.length;r++){var o=this.words[r]<<a|i;t[n--]=255&o,n>=0&&(t[n--]=o>>8&255),n>=0&&(t[n--]=o>>16&255),6===a?(n>=0&&(t[n--]=o>>24&255),i=0,a=0):(i=o>>>24,a+=2)}if(n>=0)for(t[n--]=i;n>=0;)t[n--]=0},a.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>
vendor: 3,838 bytes, line 1
1>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},a.prototype.bitLength=function(){var t=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},a.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this._strip()},a.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var i=0;i<n.length;i++)this.words[i]=e.words[i]^n.words[i];if(this!==e)for(;i<e.length;i++)this.words[i]=e.words[i];return this.length=e.length,this._strip()},a.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var r=0;r<e;r++)this.words[r]=67108863&~this.words[r];return n>0&&(this.words[r]=~this.words[r]&67108863>>26-n),this._strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var n=t/26|0,r=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<r:this.words[n]&~(1<<r),this._strip()},a.prototype.iadd=function(t){var e,n,i;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,i=t):(n=t,i=this);for(var r=0,a=0;a<i.length;a++)this.words[a]=67108863&(e=(0|n.words[a])+(0|i.words[a])+r),r=e>>>26;for(;0!==r&&a<n.length;a++)this.words[a]=67108863&(e=(0|n.words[a])+r),r=e>>>26;if(this.length=n.length,0!==r)this.words[this.length]=r,this.length++;else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;
vendor: 1,191 bytes, line 1
1var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,i,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(n=this,i=t):(n=t,i=this);for(var a=0,o=0;o<i.length;o++)a=(e=(0|n.words[o])-(0|i.words[o])+a)>>26,this.words[o]=67108863&e;for(;0!==a&&o<n.length;o++)a=(e=(0|n.words[o])+a)>>26,this.words[o]=67108863&e;if(0===a&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var m=function(t,e,n){var i,r,a,o=t.words,s=e.words,c=n.words,u=0,l=0|o[0],h=8191&l,f=l>>>13,d=0|o[1],p=8191&d,m=d>>>13,v=0|o[2],b=8191&v,g=v>>>13,y=0|o[3],_=8191&y,w=y>>>13,k=0|o[4],S=8191&k,x=k>>>13,C=0|o[5],T=8191&C,E=C>>>13,O=0|o[6],M=8191&O,A=O>>>13,I=0|o[7],R=8191&I,L=I>>>13,P=0|o[8],j=8191&P,D=P>>>13,N=0|o[9],B=8191&N,F=N>>>13,z=0|s[0],V=8191&z,U=z>>>13,H=0|s[1],q=8191&H,W=H>>>13,K=0|s[2],X=8191&K,J=K>>>13,G=0|s[3],Y=8191&G,Z=G>>>13,Q=0|s[4],$=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,it=et>>>13,rt=0|s[6],at=8191&rt,ot=rt>>>
vendor: 11,219 bytes, line 1
113,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ht=8191<,ft=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var vt=(u+(i=Math.imul(h,V))|0)+((8191&(r=(r=Math.imul(h,U))+Math.imul(f,V)|0))<<13)|0;u=((a=Math.imul(f,U))+(r>>>13)|0)+(vt>>>26)|0,vt&=67108863,i=Math.imul(p,V),r=(r=Math.imul(p,U))+Math.imul(m,V)|0,a=Math.imul(m,U);var bt=(u+(i=i+Math.imul(h,q)|0)|0)+((8191&(r=(r=r+Math.imul(h,W)|0)+Math.imul(f,q)|0))<<13)|0;u=((a=a+Math.imul(f,W)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,i=Math.imul(b,V),r=(r=Math.imul(b,U))+Math.imul(g,V)|0,a=Math.imul(g,U),i=i+Math.imul(p,q)|0,r=(r=r+Math.imul(p,W)|0)+Math.imul(m,q)|0,a=a+Math.imul(m,W)|0;var gt=(u+(i=i+Math.imul(h,X)|0)|0)+((8191&(r=(r=r+Math.imul(h,J)|0)+Math.imul(f,X)|0))<<13)|0;u=((a=a+Math.imul(f,J)|0)+(r>>>13)|0)+(gt>>>26)|0,gt&=67108863,i=Math.imul(_,V),r=(r=Math.imul(_,U))+Math.imul(w,V)|0,a=Math.imul(w,U),i=i+Math.imul(b,q)|0,r=(r=r+Math.imul(b,W)|0)+Math.imul(g,q)|0,a=a+Math.imul(g,W)|0,i=i+Math.imul(p,X)|0,r=(r=r+Math.imul(p,J)|0)+Math.imul(m,X)|0,a=a+Math.imul(m,J)|0;var yt=(u+(i=i+Math.imul(h,Y)|0)|0)+((8191&(r=(r=r+Math.imul(h,Z)|0)+Math.imul(f,Y)|0))<<13)|0;u=((a=a+Math.imul(f,Z)|0)+(r>>>13)|0)+(yt>>>26)|0,yt&=67108863,i=Math.imul(S,V),r=(r=Math.imul(S,U))+Math.imul(x,V)|0,a=Math.imul(x,U),i=i+Math.imul(_,q)|0,r=(r=r+Math.imul(_,W)|0)+Math.imul(w,q)|0,a=a+Math.imul(w,W)|0,i=i+Math.imul(b,X)|0,r=(r=r+Math.imul(b,J)|0)+Math.imul(g,X)|0,a=a+Math.imul(g,J)|0,i=i+Math.imul(p,Y)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,Y)|0,a=a+Math.imul(m,Z)|0;var _t=(u+(i=i+Math.imul(h,$)|0)|0)+((8191&(r=(r=r+Math.imul(h,tt)|0)+Math.imul(f,$)|0))<<13)|0;u=((a=a+Math.imul(f,tt)|0)+(r>>>13)|0)+(_t>>>26)|0,_t&=67108863,i=Math.imul(T,V),r=(r=Math.imul(T,U))+Math.imul(E,V)|0,a=Math.imul(E,U),i=i+Math.imul(S,q)|0,r=(r=r+Math.imul(S,W)|0)+Math.imul(x,q)|0,a=a+Math.imul(x,W)|0,i=i+Math.imul(_,X)|0,r=(r=r+Math.imul(_,J)|0)+Math.imul(w,X)|0,a=a+Math.imul(w,J)|0,i=i+Math.imul(b,Y)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Z)|0,i=i+Math.imul(p,$)|0,r=(r=r+Math.imul(p,tt)|0)+Math.imul(m,$)|0,a=a+Math.imul(m,tt)|0;var wt=(u+(i=i+Math.imul(h,nt)|0)|0)+((8191&(r=(r=r+Math.imul(h,it)|0)+Math.imul(f,nt)|0))<<13)|0;u=((a=a+Math.imul(f,it)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,i=Math.imul(M,V),r=(r=Math.imul(M,U))+Math.imul(A,V)|0,a=Math.imul(A,U),i=i+Math.imul(T,q)|0,r=(r=r+Math.imul(T,W)|0)+Math.imul(E,q)|0,a=a+Math.imul(E,W)|0,i=i+Math.imul(S,X)|0,r=(r=r+Math.imul(S,J)|0)+Math.imul(x,X)|0,a=a+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Z)|0)+Math.imul(w,Y)|0,a=a+Math.imul(w,Z)|0,i=i+Math.imul(b,$)|0,r=(r=r+Math.imul(b,tt)|0)+Math.imul(g,$)|0,a=a+Math.imul(g,tt)|0,i=i+Math.imul(p,nt)|0,r=(r=r+Math.imul(p,it)|0)+Math.imul(m,nt)|0,a=a+Math.imul(m,it)|0;var kt=(u+(i=i+Math.imul(h,at)|0)|0)+((8191&(r=(r=r+Math.imul(h,ot)|0)+Math.imul(f,at)|0))<<13)|0;u=((a=a+Math.imul(f,ot)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,i=Math.imul(R,V),r=(r=Math.imul(R,U))+Math.imul(L,V)|0,a=Math.imul(L,U),i=i+Math.imul(M,q)|0,r=(r=r+Math.imul(M,W)|0)+Math.imul(A,q)|0,a=a+Math.imul(A,W)|0,i=i+Math.imul(T,X)|0,r=(r=r+Math.imul(T,J)|0)+Math.imul(E,X)|0,a=a+Math.imul(E,J)|0,i=i+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Z)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Z)|0,i=i+Math.imul(_,$)|0,r=(r=r+Math.imul(_,tt)|0)+Math.imul(w,$)|0,a=a+Math.imul(w,tt)|0,i=i+Math.imul(b,nt)|0,r=(r=r+Math.imul(b,it)|0)+Math.imul(g,nt)|0,a=a+Math.imul(g,it)|0,i=i+Math.imul(p,at)|0,r=(r=r+Math.imul(p,ot)|0)+Math.imul(m,at)|0,a=a+Math.imul(m,ot)|0;var St=(u+(i=i+Math.imul(h,ct)|0)|0)+((8191&(r=(r=r+Math.imul(h,ut)|0)+Math.imul(f,ct)|0))<<13)|0;u=((a=a+Math.imul(f,ut)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,i=Math.imul(j,V),r=(r=Math.imul(j,U))+Math.imul(D,V)|0,a=Math.imul(D,U),i=i+Math.imul(R,q)|0,r=(r=r+Math.imul(R,W)|0)+Math.imul(L,q)|0,a=a+Math.imul(L,W)|0,i=i+Math.imul(M,X)|0,r=(r=r+Math.imul(M,J)|0)+Math.imul(A,X)|0,a=a+Math.imul(A,J)|0,i=i+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Z)|0)+Math.imul(E,Y)|0,a=a+Math.imul(E,Z)|0,i=i+Math.imul(S,$)|0,r=(r=r+Math.imul(S,tt)|0)+Math.imul(x,$)|0,a=a+Math.imul(x,tt)|0,i=i+Math.imul(_,nt)|0,r=(r=r+Math.imul(_,it)|0)+Math.imul(w,nt)|0,a=a+Math.imul(w,it)|0,i=i+Math.imul(b,at)|0,r=(r=r+Math.imul(b,ot)|0)+Math.imul(g,at)|0,a=a+Math.imul(g,ot)|0,i=i+Math.imul(p,ct)|0,r=(r=r+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,a=a+Math.imul(m,ut)|0;var xt=(u+(i=i+Math.imul(h,ht)|0)|0)+((8191&(r=(r=r+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;u=((a=a+Math.imul(f,ft)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,i=Math.imul(B,V),r=(r=Math.imul(B,U))+Math.imul(F,V)|0,a=Math.imul(F,U),i=i+Math.imul(j,q)|0,r=(r=r+Math.imul(j,W)|0)+Math.imul(D,q)|0,a=a+Math.imul(D,W)|0,i=i+Math.imul(R,X)|0,r=(r=r+Math.imul(R,J)|0)+Math.imul(L,X)|0,a=a+Math.imul(L,J)|0,i=i+Math.imul(M,Y)|0,r=(r=r+Math.imul(M,Z)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Z)|0,i=i+Math.imul(T,$)|0,r=(r=r+Math.imul(T,tt)|0)+Math.imul(E,$)|0,a=a+Math.imul(E,tt)|0,i=i+Math.imul(S,nt)|0,r=(r=r+Math.imul(S,it)|0)+Math.imul(x,nt)|0,a=a+Math.imul(x,it)|0,i=i+Math.imul(_,at)|0,r=(r=r+Math.imul(_,ot)|0)+Math.imul(w,at)|0,a=a+Math.imul(w,ot)|0,i=i+Math.imul(b,ct)|0,r=(r=r+Math.imul(b,ut)|0)+Math.imul(g,ct)|0,a=a+Math.imul(g,ut)|0,i=i+Math.imul(p,ht)|0,r=(r=r+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,a=a+Math.imul(m,ft)|0;var Ct=(u+(i=i+Math.imul(h,pt)|0)|0)+((8191&(r=(r=r+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;u=((a=a+Math.imul(f,mt)|0)+(r>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,i=Math.imul(B,q),r=(r=Math.imul(B,W))+Math.imul(F,q)|0,a=Math.imul(F,W),i=i+Math.imul(j,X)|0,r=(r=r+Math.imul(j,J)|0)+Math.imul(D,X)|0,a=a+Math.imul(D,J)|0,i=i+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Z)|0)+Math.imul(L,Y)|0,a=a+Math.imul(L,Z)|0,i=i+Math.imul(M,$)|0,r=(r=r+Math.imul(M,tt)|0)+Math.imul(A,$)|0,a=a+Math.imul(A,tt)|0,i=i+Math.imul(T,nt)|0,r=(r=r+Math.imul(T,it)|0)+Math.imul(E,nt)|0,a=a+Math.imul(E,it)|0,i=i+Math.imul(S,at)|0,r=(r=r+Math.imul(S,ot)|0)+Math.imul(x,at)|0,a=a+Math.imul(x,ot)|0,i=i+Math.imul(_,ct)|0,r=(r=r+Math.imul(_,ut)|0)+Math.imul(w,ct)|0,a=a+Math.imul(w,ut)|0,i=i+Math.imul(b,ht)|0,r=(r=r+Math.imul(b,ft)|0)+Math.imul(g,ht)|0,a=a+Math.imul(g,ft)|0;var Tt=(u+(i=i+Math.imul(p,pt)|0)|0)+((8191&(r=(r=r+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((a=a+Math.imul(m,mt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,i=Math.imul(B,X),r=(r=Math.imul(B,J))+Math.imul(F,X)|0,a=Math.imul(F,J),i=i+Math.imul(j,Y)|0,r=(r=r+Math.imul(j,Z)|0)+Math.imul(D,Y)|0,a=a+Math.imul(D,Z)|0,i=i+Math.imul(R,$)|0,r=(r=r+Math.imul(R,tt)|0)+Math.imul(L,$)|0,a=a+Math.imul(L,tt)|0,i=i+Math.imul(M,nt)|0,r=(r=r+Math.imul(M,it)|0)+Math.imul(A,nt)|0,a=a+Math.imul(A,it)|0,i=i+Math.imul(T,at)|0,r=(r=r+Math.imul(T,ot)|0)+Math.imul(E,at)|0,a=a+Math.imul(E,ot)|0,i=i+Math.imul(S,ct)|0,r=(r=r+Math.imul(S,ut)|0)+Math.imul(x,ct)|0,a=a+Math.imul(x,ut)|0,i=i+Math.imul(_,ht)|0,r=(r=r+Math.imul(_,ft)|0)+Math.imul(w,ht)|0,a=a+Math.imul(w,ft)|0;var Et=(u+(i=i+Math.imul(b,pt)|0)|0)+((8191&(r=(r=r+Math.imul(b,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((a=a+Math.imul(g,mt)|0)+(r>>>13)|0)+(Et>>>26)|0,Et&=67108863,i=Math.imul(B,Y),r=(r=Math.imul(B,Z))+Math.imul(F,Y)|0,a=Math.imul(F,Z),i=i+Math.imul(j,$)|0,r=(r=r+Math.imul(j,tt)|0)+Math.imul(D,$)|0,a=a+Math.imul(D,tt)|0,i=i+Math.imul(R,nt)|0,r=(r=r+Math.imul(R,it)|0)+Math.imul(L,nt)|0,a=a+Math.imul(L,it)|0,i=i+Math.imul(M,at)|0,r=(r=r+Math.imul(M,ot)|0)+Math.imul(A,at)|0,a=a+Math.imul(A,ot)|0,i=i+Math.imul(T,ct)|0,r=(r=r+Math.imul(T,ut)|0)+Math.imul(E,ct)|0,a=a+Math.imul(E,ut)|0,i=i+Math.imul(S,ht)|0,r=(r=r+Math.imul(S,ft)|0)+Math.imul(x,ht)|0,a=a+Math.imul(x,ft)|0;var Ot=(u+(i=i+Math.imul(_,pt)|0)|0)+((8191&(r=(r=r+Math.imul(_,mt)|0)+Math.imul(w,pt)|0))<<13)|0;u=((a=a+Math.imul(w,mt)|0)+(r>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,i=Math.imul(B,$),r=(r=Math.imul(B,tt))+Math.imul(F,$)|0,a=Math.imul(F,tt),i=i+Math.imul(j,nt)|0,r=(r=r+Math.imul(j,it)|0)+Math.imul(D,nt)|0,a=a+Math.imul(D,it)|0,i=i+Math.imul(R,at)|0,r=(r=r+Math.imul(R,ot)|0)+Math.imul(L,at)|0,a=a+Math.imul(L,ot)|0,i=i+Math.imul(M,ct)|0,r=(r=r+Math.imul(M,ut)|0)+Math.imul(A,ct)|0,a=a+Math.imul(A,ut)|0,i=i+Math.imul(T,ht)|0,r=(r=r+Math.imul(T,ft)|0)+Math.imul(E,ht)|0,a=a+Math.imul(E,ft)|0;var Mt=(u+(i=i+Math.imul(S,pt)|0)|0)+((8191&(r=(r=r+Math.imul(S,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((a=a+Math.imul(x,mt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,i=Math.imul(B,nt),r=(r=Math.imul(B,it))+Math.imul(F,nt)|0,a=Math.imul(F,it),i=i+Math.imul(j,at)|0,r=(r=r+Math.imul(j,ot)|0)+Math.imul(D,at)|0,a=a+Math.imul(D,ot)|0,i=i+Math.imul(R,ct)|0,r=(r=r+Math.imul(R,ut)|0)+Math.imul(L,ct)|0,a=a+Math.imul(L,ut)|0,i=i+Math.imul(M,ht)|0,r=(r=r+Math.imul(M,ft)|0)+Math.imul(A,ht)|0,a=a+Math.imul(A,ft)|0;var At=(u+(i=i+Math.imul(T,pt)|0)|0)+((8191&(r=(r=r+Math.imul(T,mt)|0)+Math.imul(E,pt)|0))<<13)|0;u=((a=a+Math.imul(E,mt)|0)+(r>>>13)|0)+(At>>>26)|0,At&=67108863,i=Math.imul(B,at),r=(r=Math.imul(B,ot))+Math.imul(F,at)|0,a=Math.imul(F,ot),i=i+Math.imul(j,ct)|0,r=(r=r+Math.imul(j,ut)|0)+Math.imul(D,ct)|0,a=a+Math.imul(D,ut)|0,i=i+Math.imul(R,ht)|0,r=(r=r+Math.imul(R,ft)|0)+Math.imul(L,ht)|0,a=a+Math.imul(L,ft)|0;var It=(u+(i=i+Math.imul(M,pt)|0)|0)+((8191&(r=(r=r+Math.imul(M,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((a=a+Math.imul(A,mt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,i=Math.imul(B,ct),r=(r=Math.imul(B,ut))+Math.imul(F,ct)|0,a=Math.imul(F,ut),i=i+Math.imul(j,ht)|0,r=(r=r+Math.imul(j,ft)|0)+Math.imul(D,ht)|0,a=a+Math.imul(D,ft)|0;var Rt=(u+(i=i+Math.imul(R,pt)|0)|0)+((8191&(r=(r=r+Math.imul(R,mt)|0)+Math.imul(L,pt)|0))<<13)|0;u=((a=a+Math.imul(L,mt)|0)+(r>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,i=Math.imul(B,ht),r=(r=Math.imul(B,ft))+Math.imul(F,ht)|0,a=Math.imul(F,ft);var Lt=(u+(i=i+Math.imul(j,pt)|0)|0)+((8191&(r=(r=r+Math.imul(j,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((a=a+Math.imul(D,mt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863;var Pt=(u+(i=Math.imul(B,pt))|0)+((8191&(r=(r=Math.imul(B,mt))+Math.imul(F,pt)|0))<<13)|0;return u=((a=Math.imul(F,mt))+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,c[0]=vt,c[1]=bt,c[2]=gt,c[3]=yt,c[4]=_t,c[5]=wt,c[6]=kt,c[7]=St,c[8]=xt,c[9]=Ct,c[10]=Tt,c[11]=Et,c[12]=Ot,c[13]=Mt,c[14]=At,c[15]=It,c[16]=Rt,c[17]=Lt,c[18]=Pt,0!==u&&(c[19]=u,n.length++),n};function v(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var i=0,r=0,a=0;a<n.length-1;a++){var o=r;r=0;for(var s=67108863&i,c=Math.min(a,e.length-1),u=Math.max(0,a-t.length+1);u<=c;u++){var l=(0|t.words[a-u])*(0|e.words[u]),h=67108863&l;s=67108863&(h=h+s|0),r+=(o=(o=o+(l/67108864|0)|0)+(h>>>26)|0)>>>26,o&=67108863}n.words[a]=s,i=o,o=r}return 0!==i?n.words[a]=i:n.length--,n._strip()}function b(t,e,n){return v(t,e,n)}function g(t,e){this.x=t,this.y=e}Math.imul||(m=p),a.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?p(this,t,e):n<1024?v(this,t,e):b(this,t,e)},g.prototype.makeRBT=function(t){for(var e=new Array(t),n=a.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,n,t);return e},g.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var i=0,r=0;r<e;r++)i|=(1&t)<<e-r-1,t>>=1;return i},g.prototype.permute=function(t,e,n,i,r,a){for(var o=0;o<a;o++)i[o]=e[t[o]],r[o]=n[t[o]]},g.prototype.transform=function(t,e,n,i,r,a){this.permute(a,t,e,n,i,r);for(var o=1;o<r;
vendor: 16,384 bytes, line 1
1o<<=1)for(var s=o<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<r;l+=s)for(var h=c,f=u,d=0;d<o;d++){var p=n[l+d],m=i[l+d],v=n[l+d+o],b=i[l+d+o],g=h*v-f*b;b=h*b+f*v,n[l+d]=p+(v=g),i[l+d]=m+b,n[l+d+o]=p-v,i[l+d+o]=m-b,d!==s&&(g=c*h-u*f,f=c*f+u*h,h=g)}},g.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),i=1&n,r=0;for(n=n/2|0;n;n>>>=1)r++;return 1<<r+1+i},g.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var i=0;i<n/2;i++){var r=t[i];t[i]=t[n-i-1],t[n-i-1]=r,r=e[i],e[i]=-e[n-i-1],e[n-i-1]=-r}},g.prototype.normalize13b=function(t,e){for(var n=0,i=0;i<e/2;i++){var r=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+n;t[i]=67108863&r,n=r<67108864?0:r/67108864|0}return t},g.prototype.convert13b=function(t,e,n,r){for(var a=0,o=0;o<e;o++)n[2*o]=8191&(a+=0|t[o]),n[2*o+1]=8191&(a>>>=13),a>>>=13;for(o=2*e;o<r;++o)n[o]=0;i(0===a),i(0==(-8192&a))},g.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},g.prototype.mulp=function(t,e,n){var i=2*this.guessLen13b(t.length,e.length),r=this.makeRBT(i),a=this.stub(i),o=new Array(i),s=new Array(i),c=new Array(i),u=new Array(i),l=new Array(i),h=new Array(i),f=n.words;f.length=i,this.convert13b(t.words,t.length,o,i),this.convert13b(e.words,e.length,u,i),this.transform(o,a,s,c,i,r),this.transform(u,a,l,h,i,r);for(var d=0;d<i;d++){var p=s[d]*l[d]-c[d]*h[d];c[d]=s[d]*h[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,i),this.transform(s,c,f,a,i,r),this.conjugate(f,a,i),this.normalize13b(f,i),n.negative=t.negative^e.negative,n.length=t.length+e.length,n._strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),b(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){var e=t<0;e&&(t=-t),i("number"==typeof t),i(t<67108864);for(var n=0,r=0;r<this.length;r++){var a=(0|this.words[r])*t,o=(67108863&a)+(67108863&n);n>>=26,n+=a/67108864|0,n+=o>>>26,this.words[r]=67108863&o}return 0!==n&&(this.words[r]=n,this.length++),e?this.ineg():this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++)e[n]=t.words[n/26|0]>>>n%26&1;return e}(t);if(0===e.length)return new a(1);for(var n=this,i=0;i<e.length&&0===e[i];i++,n=n.sqr());if(++i<e.length)for(var r=n.sqr();i<e.length;i++,r=r.sqr())0!==e[i]&&(n=n.mul(r));return n},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,n=t%26,r=(t-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(e=0;e<this.length;e++){var s=this.words[e]&a;this.words[e]=(0|this.words[e])-s<<n|o,o=s>>>26-n}o&&(this.words[e]=o,this.length++)}if(0!==r){for(e=this.length-1;e>=0;e--)this.words[e+r]=this.words[e];for(e=0;e<r;e++)this.words[e]=0;this.length+=r}return this._strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,n){var r;i("number"==typeof t&&t>=0),r=e?(e-e%26)/26:0;var a=t%26,o=Math.min((t-a)/26,this.length),s=67108863^67108863>>>a<<a,c=n;if(r-=o,r=Math.max(0,r),c){for(var u=0;u<o;u++)c.words[u]=this.words[u];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=r);u--){var h=0|this.words[u];this.words[u]=l<<26-a|h>>>a,l=h&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(t,e,n){return i(0===this.negative),this.iushrn(t,e,n)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return!(this.length<=n||!(this.words[n]&1<<e))},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n?this:(0!==e&&n++,this.length=Math.min(n,this.length),0!==e&&(this.words[this.length-1]&=67108863^67108863>>>e<<e),this._strip())},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,n){var r,a;this._expand(t.length+n);var o=0;for(r=0;r<t.length;r++){a=(0|this.words[r+n])+o;var s=(0|t.words[r])*e;o=((a-=67108863&s)>>26)-(s/67108864|0),this.words[r+n]=67108863&a}for(;r<this.length-n;r++)o=(a=(0|this.words[r+n])+o)>>26,this.words[r+n]=67108863&a;if(0===o)return this._strip();for(i(-1===o),o=0,r=0;r<this.length;r++)o=(a=-(0|this.words[r])+o)>>26,this.words[r]=67108863&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(t,e){var n,i=this.clone(),r=t,o=0|r.words[r.length-1];0!=(n=26-this._countBits(o))&&(r=r.ushln(n),i.iushln(n),o=0|r.words[r.length-1]);var s,c=i.length-r.length;if("mod"!==e){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=i.clone()._ishlnsubmul(r,1,c);0===l.negative&&(i=l,s&&(s.words[c]=1));for(var h=c-1;h>=0;h--){var f=67108864*(0|i.words[r.length+h])+(0|i.words[r.length+h-1]);for(f=Math.min(f/o|0,67108863),i._ishlnsubmul(r,f,h);0!==i.negative;)f--,i.negative=0,i._ishlnsubmul(r,1,h),i.isZero()||(i.negative^=1);s&&(s.words[h]=f)}return s&&s._strip(),i._strip(),"div"!==e&&0!==n&&i.iushrn(n),{div:s||null,mod:i}},a.prototype.divmod=function(t,e,n){return i(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(r=s.div.neg()),"div"!==e&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(t)),{div:r,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(r=s.div.neg()),{div:r,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modrn(t.words[0]))}:this._wordDiv(t,e);var r,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,i=t.ushrn(1),r=t.andln(1),a=n.cmp(i);return a<0||1===r&&0===a?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modrn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var n=(1<<26)%t,r=0,a=this.length-1;a>=0;a--)r=(n*r+(0|this.words[a]))%t;return e?-r:r},a.prototype.modn=function(t){return this.modrn(t)},a.prototype.idivn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var n=0,r=this.length-1;r>=0;r--){var a=(0|this.words[r])+67108864*n;this.words[r]=a/t|0,n=a%t}return this._strip(),e?this.ineg():this},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(l),o.isub(h)),r.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(h)),s.iushrn(1),c.iushrn(1);e.cmp(n)>=0?(e.isub(n),r.isub(s),o.isub(c)):(n.isub(e),s.isub(r),c.isub(o))}return{a:s,b:c,gcd:n.iushln(u)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r,o=new a(1),s=new a(0),c=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,l=1;0==(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),o.isub(s)):(n.isub(e),s.isub(o))}return(r=0===e.cmpn(1)?o:s).cmpn(0)<0&&r.iadd(t),r},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var i=0;e.isEven()&&n.isEven();i++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var r=e.cmp(n);if(r<0){var a=e;e=n,n=a}else if(0===r||0===n.cmpn(1))break;e.isub(n)}return n.iushln(i)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,n=(t-e)/26,r=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=r,this;for(var a=r,o=n;0!==a&&o<this.length;o++){var s=0|this.words[o];a=(s+=a)>>>26,this.words[o]=s&=67108863}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)e=1;else{n&&(t=-t),i(t<=67108863,"Number is too big");var r=0|this.words[0];e=r===t?0:r<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var i=0|this.words[n],r=0|t.words[n];if(i!==r){i<r?e=-1:i>r&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new C(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var y={k256:null,p224:null,p192:null,p25519:null};function _(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function T(t){C.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},_.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var i=e<this.n?-1:n.ucmp(this.p);return 0===i?(n.words[0]=0,n.length=1):i>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},_.prototype.split=function(t,e){t.iushrn(this.n,0,e)},_.prototype.imulK=function(t){return t.imul(this.k)},r(w,_),w.prototype.split=function(t,e){for(var n=Math.min(t.length,9),i=0;i<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var r=t.words[9];for(e.words[e.length++]=4194303&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(4194303&a)<<4|r>>>22,r=a}t.words[i-10]=r>>>=22,t.length-=0===r&&t.length>10?10:9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var i=0|t.words[n];t.words[n]=67108863&(e+=977*i),e=64*i+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},r(k,_),r(S,_),r(x,_),x.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var i=19*(0|t.words[n])+e,r=67108863&i;i>>>=26,t.words[n]=r,e=i}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(y[t])return y[t];var e;if("k256
1"===t)e=new w;else if("p224"===t)e=new k;else if("p192"===t)e=new S;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new x}return y[t]=e,e},C.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},C.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},C.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(u(t,t.umod(this.m)._forceRed(this)),t)},C.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},C.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},C.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},C.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},C.prototype.isqr=function(t){return this.imul(t,t.clone())},C.prototype.sqr=function(t){return this.mul(t,t)},C.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var n=this.m.add(new a(1)).iushrn(2);return this.pow(t,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);i(!r.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var h=this.pow(l,r),f=this.pow(t,r.addn(1).iushrn(1)),d=this.pow(t,r),p=o;0!==d.cmp(s);){for(var m=d,v=0;0!==m.cmp(s);v++)m=m.redSqr();i(v<p);var b=this.pow(h,new a(1).iushln(p-v-1));f=f.redMul(b),h=b.redSqr(),d=d.redMul(h),p=v}return f},C.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},C.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new a(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],t);var r=n[0],o=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),i=e.length-1;i>=0;i--){for(var u=e.words[i],l=c-1;l>=0;l--){var h=u>>l&1;r!==n[0]&&(r=this.sqr(r)),0!==h||0!==o?(o<<=1,o|=h,(4==++s||0===i&&0===l)&&(r=this.mul(r,n[o]),s=0,o=0)):s=0}c=26}return r},C.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},C.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new T(t)},r(T,C),T.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},T.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},T.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):r.cmpn(0)<0&&(a=r.iadd(this.m)),a._forceRed(this)},T.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var n=t.mul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},T.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n("YuTi")(t))},OfWw:function(t,e,n){var i=n("hwdV").Buffer;function r(t){i.isBuffer(t)||(t=i.from(t));for(var e=t.length/4|0,n=new Array(e),r=0;r<e;r++)n[r]=t.readUInt32BE(4*r);return n}function a(t){for(;0<t.length;t++)t[0]=0}function o(t,e,n,i,r){for(var a,o,s,c,u=n[0],l=n[1],h=n[2],f=n[3],d=t[0]^e[0],p=t[1]^e[1],m=t[2]^e[2],v=t[3]^e[3],b=4,g=1;g<r;g++)a=u[d>>>24]^l[p>>>16&255]^h[m>>>8&255]^f[255&v]^e[b++],o=u[p>>>24]^l[m>>>16&255]^h[v>>>
vendor: 4,228 bytes, line 1
18&255]^f[255&d]^e[b++],s=u[m>>>24]^l[v>>>16&255]^h[d>>>8&255]^f[255&p]^e[b++],c=u[v>>>24]^l[d>>>16&255]^h[p>>>8&255]^f[255&m]^e[b++],d=a,p=o,m=s,v=c;return a=(i[d>>>24]<<24|i[p>>>16&255]<<16|i[m>>>8&255]<<8|i[255&v])^e[b++],o=(i[p>>>24]<<24|i[m>>>16&255]<<16|i[v>>>8&255]<<8|i[255&d])^e[b++],s=(i[m>>>24]<<24|i[v>>>16&255]<<16|i[d>>>8&255]<<8|i[255&p])^e[b++],c=(i[v>>>24]<<24|i[d>>>16&255]<<16|i[p>>>8&255]<<8|i[255&m])^e[b++],[a>>>=0,o>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],i=[],r=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;n[o]=u=u>>>8^255&u^99,i[u]=o;var l=t[o],h=t[l],f=t[h],d=257*t[u]^16843008*u;r[0][o]=d<<24|d>>>8,r[1][o]=d<<16|d>>>16,r[2][o]=d<<8|d>>>24,r[3][o]=d,a[0][u]=(d=16843009*f^65537*h^257*l^16843008*o)<<24|d>>>8,a[1][u]=d<<16|d>>>16,a[2][u]=d<<8|d>>>24,a[3][u]=d,0===o?o=s=1:(o=l^t[t[t[f^l]]],s^=t[t[s]])}return{SBOX:n,INV_SBOX:i,SUB_MIX:r,INV_SUB_MIX:a}}();function u(t){this._key=r(t),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,i=4*(n+1),r=[],a=0;a<e;a++)r[a]=t[a];for(a=e;a<i;a++){var o=r[a-1];a%e==0?(o=c.SBOX[(o=o<<8|o>>>24)>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o],o^=s[a/e|0]<<24):e>6&&a%e==4&&(o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o]),r[a]=r[a-e]^o}for(var u=[],l=0;l<i;l++){var h=i-l,f=r[h-(l%4?0:4)];u[l]=l<4||h<=4?f:c.INV_SUB_MIX[0][c.SBOX[f>>>24]]^c.INV_SUB_MIX[1][c.SBOX[f>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[f>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&f]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(t){return o(t=r(t),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=i.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},u.prototype.decryptBlock=function(t){var e=(t=r(t))[1];t[1]=t[3],t[3]=e;var n=o(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),a=i.allocUnsafe(16);return a.writeUInt32BE(n[0],0),a.writeUInt32BE(n[3],4),a.writeUInt32BE(n[2],8),a.writeUInt32BE(n[1],12),a},u.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},t.exports.AES=u},Onz0:function(t,e,n){(function(t){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=t.isBuffer}).call(this,n("tjlA").Buffer)},P2KE:function(t,e,n){var i=n("hwdV").Buffer,r=i.alloc(16,0);function a(t){var e=i.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function o(t){this.h=t,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}o.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},o.prototype._multiply=function(){for(var t,e,n,i=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],r=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(r[0]^=i[0],r[1]^=i[1],r[2]^=i[2],r[3]^=i[3]),n=0!=(1&i[3]),e=3;e>0;e--)i[e]=i[e]>>>1|(1&i[e-1])<<31;i[0]=i[0]>>>1,n&&(i[0]=i[0]^225<<24)}this.state=a(r)},o.prototype.update=function(t){var e;
1for(this.cache=i.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},o.prototype.final=function(t,e){return this.cache.length&&this.ghash(i.concat([this.cache,r],16)),this.ghash(a([0,t,0,e])),this.state},t.exports=o},P7XM:function(t,e){t.exports="function"==typeof Object.create?function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},"Pa+m":function(t,e,n){"use strict";var i=n("86MQ"),r=n("gK+I"),a=n("P7XM"),o=n("6lN/"),s=i.assert;function c(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,o.call(this,"edwards",t),this.a=new r(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function u(t,e,n,i,a){o.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===i?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new r(e,16),this.y=new r(n,16),this.z=i?new r(i,16):this.curve.one,this.t=a&&new r(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(c,o),t.exports=c,c.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},c.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},c.prototype.jpoint=function(t,e,n,i){return this.point(t,e,n,i)},c.prototype.pointFromX=function(t,e){(t=new r(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),i=this.c2.redSub(this.a.redMul(n)),a=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=i.redMul(a.redInvm()),s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(e&&!c||!e&&c)&&(s=s.redNeg()),this.point(t,s)},c.prototype.pointFromY=function(t,e){(t=new r(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),i=n.redSub(this.c2),a=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=i.redMul(a.redInvm());if(0===o.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},c.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),i=e.redMul(this.a).redAdd(n),r=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===i.cmp(r)},a(u,o.BasePoint),c.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},c.prototype.point=function(t,e,n,i){return new u(this,t,e,n,i)},u.fromJSON=function(t,e){return new u(t,e[0],e[1],e[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(t),r=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),a=i.redAdd(e),o=a.redSub(n),s=i.redSub(e),c=r.redMul(o),u=a.redMul(s),l=r.redMul(s),h=o.redMul(a);return this.curve.point(c,u,h,l)},u.prototype._projDbl=function(){var t,e,n,i,r,a,o=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var u=(i=this.curve._mulA(s)).redAdd(c);this.zOne?(t=o.redSub(s).redSub(c).redMul(u.redSub(this.curve.two)),e=u.redMul(i.redSub(c)),n=u.redSqr().redSub(u).redSub(u)):(r=this.z.redSqr(),a=u.redSub(r).redISub(r),t=o.redSub(s).redISub(c).redMul(a),e=u.redMul(i.redSub(c)),n=u.redMul(a))}else i=s.redAdd(c),r=this.curve._mulC(this.z).redSqr(),a=i.redSub(r).redSub(r),t=this.curve._mulC(o.redISub(i)).redMul(a),e=this.curve._mulC(i).redMul(s.redISub(c)),n=i.redMul(a);return this.curve.point(t,e,n)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),i=this.t.redMul(this.curve.dd).redMul(t.t),r=this.z.redMul(t.z.redAdd(t.z)),a=n.redSub(e),o=r.redSub(i),s=r.redAdd(i),c=n.redAdd(e),u=a.redMul(o),l=s.redMul(c),h=a.redMul(c),f=o.redMul(s);return this.curve.point(u,l,f,h)},u.prototype._projAdd=function(t){var e,n,i=this.z.redMul(t.z),r=i.redSqr(),a=this.x.redMul(t.x),o=this.y.redMul(t.y),s=this.curve.d.redMul(a).redMul(o),c=r.redSub(s),u=r.redAdd(s),l=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(a).redISub(o),h=i.redMul(c).redMul(l);return this.curve.twisted?(e=i.redMul(u).redMul(o.redSub(this.curve._mulA(a))),n=c.redMul(u)):(e=i.redMul(u).redMul(o.redSub(a)),n=this.curve._mulC(c).redMul(u)),this.curve.point(h,e,n)},u.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},u.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},u.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},u.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(i),0===this.x.cmp(e))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},PqYM:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("HDdC"),r=n("D0XW"),a=n("Y7HM"),o=n("z+Ro");function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,s=-1;return Object(a.a)(e)?s=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=r.a),new i.a((function(e){var i=Object(a.a)(t)?t:+t-n.now();return n.schedule(c,i,{index:0,period:s,subscriber:e})}))}function c(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},QJsb:function(t,e){t
vendor: 26,137 bytes, line 1
1.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
vendor: 4,467 bytes, line 1
1QRH4:function(t,e,n){"use strict";var i=n("f3pb");e.certificate=n("VrUr");var r=i.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=r;var a=i.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=a;var o=i.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));e.PublicKey=o;var s=i.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=i.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=c;var u=i.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=u;var l=i.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=l,e.DSAparam=i.define("DSAparam",(function(){this.int()}));var h=i.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=h;var f=i.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=i.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},"QTa/":function(t,e,n){"use strict";var i=e;i.base=n("6lN/"),i.short=n("MwBp"),i.mont=n("Z2+3"),i.edwards=n("Pa+m")},"Qd/k":function(t,e,n){"use strict";var i=e;i.Reporter=n("0cit").Reporter,i.DecoderBuffer=n("YoN+").DecoderBuffer,i.EncoderBuffer=n("YoN+").EncoderBuffer,i.Node=n("g2Dh")},QihY:function(t,e,n){var i=n("gvAe"),r=n("hwdV").Buffer,a=n("usKN"),o=n("CfXC"),s=n("ZDAU"),c=n("OfWw"),u=n("roQf");function l(t,e,n){s.call(this),this._cache=new h,this._last=void 0,this._cipher=new c.AES(e),this._prev=r.from(n),this._mode=t,this._autopadding=!0}function h(){this.cache=r.allocUnsafe(0)}function f(t,e,n){var s=a[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=r.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof e&&(e=r.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new o(s.module,e,n,!0):"auth"===s.type?new i(s.module,e,n,!0):new l(s.module,e,n)}n("P7XM")(l,s),l.prototype._update=function(t){var e,n;this._cache.add(t);for(var i=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),i.push(n);return r.concat(i)},l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var n=-1;++n<e;)if(t[n+(16-e)]!==e)throw new Error("unable to decrypt data");if(16!==e)return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=r.concat([this.cache,t])},h.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var n=a[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=u(e,!1,n.key,n.iv);return f(t,i.key,i.iv)},e.createDecipheriv=f}
1,QpuX:function(t,e,n){t.exports=n("+qE3").EventEmitter},QqdZ:function(t,e,n){"use strict";var i=n("0ROu").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}t.exports=function t(e,n,a){if("function"==typeof n)return t(e,null,n);n||(n={}),a=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];t.apply(this,i)}}}(a||r);var o=n.readable||!1!==n.readable&&e.readable,s=n.writable||!1!==n.writable&&e.writable,c=function(){e.writable||l()},u=e._writableState&&e._writableState.finished,l=function(){s=!1,u=!0,o||a.call(e)},h=e._readableState&&e._readableState.endEmitted,f=function(){o=!1,h=!0,s||a.call(e)},d=function(t){a.call(e,t)},p=function(){var t;return o&&!h?(e._readableState&&e._readableState.ended||(t=new i),a.call(e,t)):s&&!u?(e._writableState&&e._writableState.ended||(t=new i),a.call(e,t)):void 0},m=function(){e.req.on("finish",l)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",l),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",c),e.on("close",c)),e.on("end",f),e.on("finish",l),!1!==n.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",l),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",l),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("end",f),e.removeListener("error",d),e.removeListener("close",p)}}},Qu3c:function(t,e,n){"use strict";n.d(e,"a",(function(){return C})),n.d(e,"b",(function(){return E}));var i=n("rDax"),r=n("u47x"),a=n("ofXK"),o=n("fXoL"),s=n("FKr1"),c=n("vxfF"),u=n("8LU1"),l=n("FtGj"),h=n("0MNC"),f=n("nLfN"),d=n("+rOU"),p=n("XNiG"),m=n("1G5W"),v=n("IzEk"),b=n("R0Ic"),g=n("cH1L"),y={tooltipState:Object(b.n)("state",[Object(b.k)("initial, void, hidden",Object(b.l)({opacity:0,transform:"scale(0)"})),Object(b.k)("visible",Object(b.l)({transform:"scale(1)"})),Object(b.m)("* => visible",Object(b.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(b.h)([Object(b.l)({opacity:0,transform:"scale(0)",offset:0}),Object(b.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(b.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(b.m)("* => hidden",Object(b.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(b.l)({opacity:0})))])},_=Object(f.f)({passive:!0});function w(t){return Error('Tooltip position "'.concat(t,'" is invalid.'))}var k=new o.s("mat-tooltip-scroll-strategy"),S={provide:k,deps:[i.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},x=new o.s("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),C=function(){var t=function(){function t(e,n,i,r,a,o,s,c,u,h,f){var d=this;Qe(this,t),this._overlay=e,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=a,this._platform=o,this._ariaDescriber=s,this._focusMonitor=c,this._dir=h,this._defaultOptions=f,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new p.a,this._handleKeydown=function(t){d._isTooltipVisible()&&t.keyCode===l.g&&!Object(l.s)(t)&&(t.preventDefault(),t.stopPropagation(),d._ngZone.run((function(){return d.hide(0)})))},this._scrollStrategy=u,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),a.runOutsideAngular((function(){n.nativeElement.addEventListener("keydown",d._handleKeydown)}))}
1return tn(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(m.a)(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&t._ngZone.run((function(){return t.show()})):t._ngZone.run((function(){return t.hide(0)}))}))}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(e){var n=Ke(e,2),i=n[0],r=n[1];t.removeEventListener(i,r,_)})),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new d.d(T,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(m.a)(this._destroyed)).subscribe((function(){return t._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(Object(m.a)(this._destroyed)).subscribe((function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run((function(){return t.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(m.a)(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw w(n);
1t={originX:"end",originY:"center"}}var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw w(n);t={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(v.a)(1),Object(m.a)(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var t=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){t._setupPointerExitEventsIfNeeded(),t.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){t._setupPointerExitEventsIfNeeded(),clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout((function(){return t.show()}),500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var t,e=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return e.hide()}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(t=this._passiveListeners).push.apply(t,n)}}},{key:"_addListeners",value:function(t){var e=this;t.forEach((function(t){var n=Ke(t,2),i=n[0],r=n[1];e._elementRef.nativeElement.addEventListener(i,r,_)}))}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this.touchGestures;if("off"!==t){var e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}},{key:"position",get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(u.c)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Nb(i.c),o.Nb(o.l),o.Nb(c.c),o.Nb(o.R),o.Nb(o.B),o.Nb(f.a),o.Nb(r.c),o.Nb(r.h),o.Nb(k),o.Nb(g.b,8),o.Nb(x,8))},t.\u0275dir=o.Ib({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t}(),T=function(){var t=function(){function t(e,n){Qe(this,t),this._changeDetectorRef=e,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new p.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}
1return tn(t,[{key:"show",value:function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)}},{key:"hide",value:function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.h),o.Nb(h.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&o.gc("click",(function(){return e._handleBodyInteraction()}),!1,o.zc),2&t&&o.Gc("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(o.Tb(0,"div",0),o.gc("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),o.lc(1,"async"),o.Lc(2),o.Sb()),2&t){var n,i=null==(n=o.mc(1,5,e._isHandset))?null:n.matches;o.Fb("mat-tooltip-handset",i),o.rc("ngClass",e.tooltipClass)("@state",e._visibility),o.Bb(2),o.Mc(e.message)}},directives:[a.n],pipes:[a.b],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[y.tooltipState]},changeDetection:0}),t}(),E=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[S],imports:[[r.a,a.c,i.f,s.j],s.j,c.b]}),t}()},R0Ic:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return b})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return m})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return l})),n.d(e,"m",(function(){return d})),n.d(e,"n",(function(){return o})),n.d(e,"o",(function(){return g})),n.d(e,"p",(function(){return y}));var i=function t(){Qe(this,t)},r=function t(){Qe(this,t)},a="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:t,options:e}}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function h(t,e,n){return{type:0,name:t,styles:e,options:n}}function f(t){return{type:5,steps:t}}function d(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function m(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:n}}function v(t){Promise.resolve(null).then(t)}var b=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Qe(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+n}
1return tn(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;v((function(){return t._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(t){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}}]),t}(),g=function(){function t(e){var n=this;Qe(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var i=0,r=0,a=0,o=this.players.length;0==o?v((function(){return n._onFinish()})):this.players.forEach((function(t){t.onDone((function(){++i==o&&n._onFinish()})),t.onDestroy((function(){++r==o&&n._onDestroy()})),t.onStart((function(){++a==o&&n._onStart()}))})),this.totalTime=this.players.reduce((function(t,e){return Math.max(t,e.totalTime)}),0)}
1return tn(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(t){return t.init()}))}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(t){return t.play()}))}},{key:"pause",value:function(){this.players.forEach((function(t){return t.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(t){return t.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(t){return t.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(t){return t.destroy()})),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(t){return t.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach((function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))}},{key:"getPosition",value:function(){var t=0;return this.players.forEach((function(e){var n=e.getPosition();t=Math.min(n,t)})),t}},{key:"beforeDestroy",value:function(){this.players.forEach((function(t){t.beforeDestroy&&t.beforeDestroy()}))}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}}]),t}(),y="!"},R1ws:function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return y}));var i=n("fXoL"),r=n("jhN1"),a=n("R0Ic"),o=n("t9l1"),s=n("ofXK"),c=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,r){var a;return Qe(this,n),(a=e.call(this))._nextAnimationId=0,a._renderer=t.createRenderer(r.body,{id:"0",encapsulation:i.S.None,styles:[],data:{animation:[]}}),a}return tn(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Object(a.j)(t):t;return h(this._renderer,null,e,"register",[n]),new u(e,this._renderer)}}]),n}(a.b);return t.\u0275fac=function(e){return new(e||t)(i.cc(i.H),i.cc(s.e))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),u=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this))._id=t,r._renderer=i,r}return tn(n,[{key:"create",value:function(t,e){return new l(this._id,t,e||{},this._renderer)}}]),n}(a.c),l=function(){function t(e,n,i,r){Qe(this,t),this.id=e,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}
1return tn(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return h(this._renderer,this.element,this.id,t,n)}},{key:"onDone",value:function(t){this._listen("done",t)}},{key:"onStart",value:function(t){this._listen("start",t)}},{key:"onDestroy",value:function(t){this._listen("destroy",t)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(t){this._command("setPosition",t)}},{key:"getPosition",value:function(){return 0}}]),t}();function h(t,e,n,i,r){return t.setProperty(e,"@@".concat(n,":").concat(i),r)}var f=function(){var t=function(){function t(e,n,i){Qe(this,t),this.delegate=e,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}
1return tn(t,[{key:"createRenderer",value:function(t,e){var n=this,i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var r=this._rendererCache.get(i);return r||(r=new d("",i,this.engine),this._rendererCache.set(i,r)),r}var a=e.id,o=e.id+"-"+this._currentId;this._currentId++,this.engine.register(o,t);return e.data.animation.forEach((function e(i){Array.isArray(i)?i.forEach(e):n.engine.registerTrigger(a,o,t,i.name,i)})),new p(this,o,i,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var t=this;this.promise.then((function(){t._microtaskId++}))}},{key:"scheduleListenerCallback",value:function(t,e,n){var i=this;t>=0&&t<this._microtaskId?this._zone.run((function(){return e(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){i._zone.run((function(){i._animationCallbacksBuffer.forEach((function(t){var e=Ke(t,2);(0,e[0])(e[1])})),i._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,n]))}},{key:"end",value:function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)})),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(i.H),i.cc(o.b),i.cc(i.B))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),d=function(){function t(e,n,i){Qe(this,t),this.namespaceId=e,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(t){return n.destroyNode(t)}:null}
1return tn(t,[{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(t,e){return this.delegate.createElement(t,e)}},{key:"createComment",value:function(t){return this.delegate.createComment(t)}},{key:"createText",value:function(t){return this.delegate.createText(t)}},{key:"appendChild",value:function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}},{key:"insertBefore",value:function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}},{key:"removeChild",value:function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}},{key:"removeAttribute",value:function(t,e,n){this.delegate.removeAttribute(t,e,n)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,n,i){this.delegate.setStyle(t,e,n,i)}},{key:"removeStyle",value:function(t,e,n){this.delegate.removeStyle(t,e,n)}},{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,n){return this.delegate.listen(t,e,n)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}},{key:"data",get:function(){return this.delegate.data}}]),t}(),p=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,i,r,a)).factory=t,o.namespaceId=i,o}return tn(n,[{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}},{key:"listen",value:function(t,e,n){var i,r,a=this;if("@"==e.charAt(0)){var o,s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),c=e.substr(1),u="";return"@"!=c.charAt(0)&&(r=(i=c).indexOf("."),c=(o=Ke([i.substring(0,r),i.substr(r+1)],2))[0],u=o[1]),this.engine.listen(this.namespaceId,s,c,u,(function(t){a.factory.scheduleListenerCallback(t._data||-1,n,t)}))}return this.delegate.listen(t,e,n)}}]),n}(d),m=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,r){return Qe(this,n),e.call(this,t.body,i,r)}return n}(o.b);return t.\u0275fac=function(e){return new(e||t)(i.cc(s.e),i.cc(o.a),i.cc(o.c))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),v=new i.s("AnimationModuleType"),b=[{provide:a.b,useClass:c},{provide:o.c,useFactory:function(){return new o.g}},{provide:o.b,useClass:m},{provide:i.H,useFactory:function(t,e,n){return new f(t,e,n)},deps:[r.d,o.b,i.B]}],g=[{provide:o.a,useFactory:function(){return Object(o.h)()?new o.f:new o.d}},{provide:v,useValue:"BrowserAnimations"}].concat(b),y=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:g,imports:[r.a]}),t}()},RKMU:function(t,e,n){"use strict";var i=n("gK+I"),r=n("86MQ"),a=r.assert,o=r.cachedProperty,s=r.parseBytes;function c(t,e){this.eddsa=t,"object"!=typeof e&&(e=s(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),a(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof i&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}o(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),o(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),o(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),o(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},t.exports=c},RoFp:function(t,e,n){"use strict";var i=n("lm0R");function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||i.nextTick(r,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(i.nextTick(r,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},S7rW:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),n("1M8x")},Sc7j:function(t,e,n){"use strict";(function(e,i){function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var i=t.entry;for(t.entry=null;i;){var r=i.callback;e.pendingcb--,r(void 0),i=i.next}e.corkedRequestsFree.next=t}(e,t)}}var a;t.exports=C,C.WritableState=x;var o,s={deprecate:n("t9FE")},c=n("8Spv"),u=n("tjlA").Buffer,l=e.Uint8Array||function(){},h=n("kBkV"),f=n("BfC4").getHighWaterMark,d=n("0ROu").codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,v=d.ERR_MULTIPLE_CALLBACK,b=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,_=d.ERR_STREAM_WRITE_AFTER_END,w=d.ERR_UNKNOWN_ENCODING,k=h.errorOrDestroy;function S(){}function x(t,e,o){a=a||n("Xn1i"),"boolean"!=typeof o&&(o=e instanceof a),this.objectMode=!!(t=t||{}).objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===t.decodeStrings),this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,a=n.writecb;if("function"!=typeof a)throw new v;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,a){--e.pendingcb,n?(i.nextTick(a,r),i.nextTick(I,t,e),t._writableState.errorEmitted=!0,k(t,r)):(a(r),t._writableState.errorEmitted=!0,k(t,r),I(t,e))}(t,n,r,e,a);else{var o=M(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||O(t,n),r?i.nextTick(E,t,n,o,a):E(t,n,o,a)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function C(t){var e=this instanceof(a=a||n("Xn1i"));if(!e&&!o.call(C,this))return new C(t);this._writableState=new x(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),c.call(this)}function T(t,e,n,i,r,a,o){e.writelen=i,e.writecb=o,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):n?t._writev(r,e.onwrite):t._write(r,a,e.onwrite),e.sync=!1}function E(t,e,n,i){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,i(),I(t,e)}function O(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=new Array(e.bufferedRequestCount),a=e.corkedRequestsFree;a.entry=n;for(var o=0,s=!0;n;)i[o]=n,n.isBuf||(s=!1),n=n.next,o+=1;i.allBuffers=s,T(t,e,!0,e.length,i,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk;if(T(t,e,!1,e.objectMode?1:c.length,c,n.encoding,n.callback),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function M(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(n){e.pendingcb--,n&&k(t,n),e.prefinished=!0,t.emit("prefinish"),I(t,e)}))}function I(t,e){var n=M(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,i.nextTick(A,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var r=t._readableState;(!r||r.autoDestroy&&r.endEmitted)&&t.destroy()}return n}n("P7XM")(C,c),x.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(x.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(C,Symbol.hasInstance,{value:function(t){return!!o.call(this,t)||this===C&&t&&t._writableState instanceof x}})):o=function(t){return t instanceof this},C.prototype.pipe=function(){k(this,new b)},C.prototype.write=function(t,e,n){var r,a=this._writableState,o=!1,s=!a.objectMode&&(u.isBuffer(r=t)||r instanceof l);return s&&!u.isBuffer(t)&&(t=function(t){return u.from(t)}(t)),"function"==typeof e&&(n=e,e=null),s?e="buffer":e||(e=a.defaultEncoding),"function"!=typeof n&&(n=S),a.ending?function(t,e){var n=new _;k(t,n),i.nextTick(e,n)}(this,n):(s||function(t,e,n,r){var a;return null===n?a=new y:"string"==typeof n||e.objectMode||(a=new p("chunk",["string","Buffer"],n)),!a||(k(t,a),i.nextTick(r,a),!1)}(this,a,t,n))&&(a.pendingcb++,o=function(t,e,n,i,r,a){if(!n){var o=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,n)),e}(e,i,r);i!==o&&(n=!0,r="buffer",i=o)}var s=e.objectMode?1:i.length;e.length+=s;var c=e.length<e.highWaterMark;
1if(c||(e.needDrain=!0),e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:r,isBuf:n,callback:a,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,s,i,r,a);return c}(this,a,s,t,e,n)),o},C.prototype.cork=function(){this._writableState.corked++},C.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||O(this,t))},C.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new w(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(C.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(C.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),C.prototype._write=function(t,e,n){n(new m("_write()"))},C.prototype._writev=null,C.prototype.end=function(t,e,n){var r=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||function(t,e,n){e.ending=!0,I(t,e),n&&(e.finished?i.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n),this},Object.defineProperty(C.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),C.prototype.destroy=h.destroy,C.prototype._undestroy=h.undestroy,C.prototype._destroy=function(t,e){e(t)}}).call(this,n("yLpj"),n("8oxB"))},SeVD:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("ngJS"),r=n("NJ4a"),a=n("Lhse"),o=n("kJWO"),s=n("I55L"),c=n("c2HN"),u=n("XoHu"),l=function(t){if(t&&"function"==typeof t[o.a])return l=t,function(t){var e=l[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(s.a)(t))return Object(i.a)(t);if(Object(c.a)(t))return n=t,function(t){return n.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,r.a),t};if(t&&"function"==typeof t[a.a])return e=t,function(t){for(var n=e[a.a]();;){var i=void 0;try{i=n.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof n.return&&t.add((function(){n.return&&n.return()})),t};var e,n,l,h=Object(u.a)(t)?"an invalid object":"'".concat(t,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",(function(){return i}))},SxV6:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n("sVev"),r=n("pLZG"),a=n("IzEk"),o=n("xbPD"),s=n("XDbj"),c=n("SpAZ");function u(t,e){var n=arguments.length>=2;return function(u){return u.pipe(t?Object(r.a)((function(e,n){return t(e,n,u)})):c.a,Object(a.a)(1),n?Object(o.a)(e):Object(s.a)((function(){return new i.a})))}}},T9HO:function(t,e,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,
11322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,r.call(this,128,112)}function u(t,e,n){return n^t&(e^n)}function l(t,e,n){return t&e|n&(t|e)}function h(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function f(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function v(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function b(t,e){return t>>>0<e>>>0?1:0}i(c,r),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(t){for(var e=this._w,n=0|this._ah,i=0|this._bh,r=0|this._ch,a=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,y=0|this._hh,_=0|this._al,w=0|this._bl,k=0|this._cl,S=0|this._dl,x=0|this._el,C=0|this._fl,T=0|this._gl,E=0|this._hl,O=0;O<32;O+=2)e[O]=t.readInt32BE(4*O),e[O+1]=t.readInt32BE(4*O+4);for(;O<160;O+=2){var M=e[O-30],A=e[O-30+1],I=d(M,A),R=p(A,M),L=m(M=e[O-4],A=e[O-4+1]),P=v(A,M),j=e[O-32],D=e[O-32+1],N=R+e[O-14+1]|0,B=I+e[O-14]+b(N,R)|0;B=(B=B+L+b(N=N+P|0,P)|0)+j+b(N=N+D|0,D)|0,e[O]=B,e[O+1]=N}for(var F=0;F<160;F+=2){B=e[F],N=e[F+1];var z=l(n,i,r),V=l(_,w,k),U=h(n,_),H=h(_,n),q=f(s,x),W=f(x,s),K=o[F],X=o[F+1],J=u(s,c,g),G=u(x,C,T),Y=E+W|0,Z=y+q+b(Y,E)|0;Z=(Z=(Z=Z+J+b(Y=Y+G|0,G)|0)+K+b(Y=Y+X|0,X)|0)+B+b(Y=Y+N|0,N)|0;var Q=H+V|0,$=U+z+b(Q,H)|0;y=g,E=T,g=c,T=C,c=s,C=x,s=a+Z+b(x=S+Y|0,S)|0,a=r,S=k,r=i,k=w,i=n,w=_,n=Z+$+b(_=Y+Q|0,Y)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+k|0,this._dl=this._dl+S|0,this._el=this._el+x|0,this._fl=this._fl+C|0,this._gl=this._gl+T|0,this._hl=this._hl+E|0,this._ah=this._ah+n+b(this._al,_)|0,this._bh=this._bh+i+b(this._bl,w)|0,this._ch=this._ch+r+b(this._cl,k)|0,this._dh=this._dh+a+b(this._dl,S)|0,this._eh=this._eh+s+b(this._el,x)|0,this._fh=this._fh+c+b(this._fl,C)|0,this._gh=this._gh+g+b(this._gl,T)|0,this._hh=this._hh+y+b(this._hl,E)|0},c.prototype._hash=function(){var t=a.allocUnsafe(64);function e(e,n,i){t.writeInt32BE(e,i),t.writeInt32BE(n,i+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=c},TbSJ:function(t,e){var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,o=parseInt,s=Object.prototype.toString;function c(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){return"number"==typeof t&&t==function(t){var e=function(t){return t?(t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==s.call(t)}(t))return NaN;if(c(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=c(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var u=r.test(t);return u||a.test(t)?o(t.slice(2),u?2:8):i.test(t)?NaN:+t}(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}(t),u=e%1;return e==e?u?e-u:e:0}(t)}},TdD3:function(t,e,n){var i=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=n("roQf"),s=n("/ab2"),c=n("hwdV").Buffer;t.exports=function(t,e){var n,u=t.toString(),l=u.match(i);if(l){var h="aes"+l[1],f=c.from(l[2],"hex"),d=c.from(l[3].replace(/[\r\n]/g,""),"base64"),p=o(e,f.slice(0,8),parseInt(l[1],10)).key,m=[],v=s.createDecipheriv(h,p,f);m.push(v.update(d)),m.push(v.final()),n=c.concat(m)}else{var b=u.match(a);n=c.from(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(r)[1],data:n}}},Titl:function(t,e,n){"use strict";var i=n("2j6C"),r=n("P7XM"),a=n("Xudb"),o=n("AYSA");function s(){this.tmp=new Array(2),this.keys=null}function c(t){o.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}r(c,o),t.exports=c,c.create=function(t){return new c(t)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(t,e){t.keys=new Array(32),i.equal(e.length,this.blockSize,"Invalid key length");
1var n=a.readUInt32BE(e,0),r=a.readUInt32BE(e,4);a.pc1(n,r,t.tmp,0),n=t.tmp[0],r=t.tmp[1];for(var o=0;o<t.keys.length;o+=2){var s=u[o>>>1];n=a.r28shl(n,s),r=a.r28shl(r,s),a.pc2(n,r,t.keys,o)}},c.prototype._update=function(t,e,n,i){var r=this._desState,o=a.readUInt32BE(t,e),s=a.readUInt32BE(t,e+4);a.ip(o,s,r.tmp,0),o=r.tmp[0],s=r.tmp[1],"encrypt"===this.type?this._encrypt(r,o,s,r.tmp,0):this._decrypt(r,o,s,r.tmp,0),s=r.tmp[1],a.writeUInt32BE(n,o=r.tmp[0],i),a.writeUInt32BE(n,s,i+4)},c.prototype._pad=function(t,e){for(var n=t.length-e,i=e;i<t.length;i++)t[i]=n;return!0},c.prototype._unpad=function(t){for(var e=t[t.length-1],n=t.length-e;n<t.length;n++)i.equal(t[n],e);return t.slice(0,t.length-e)},c.prototype._encrypt=function(t,e,n,i,r){for(var o=e,s=n,c=0;c<t.keys.length;c+=2){var u=t.keys[c],l=t.keys[c+1];a.expand(s,t.tmp,0);var h=a.substitute(u^=t.tmp[0],l^=t.tmp[1]),f=s;s=(o^a.permute(h))>>>0,o=f}a.rip(s,o,i,r)},c.prototype._decrypt=function(t,e,n,i,r){for(var o=n,s=e,c=t.keys.length-2;c>=0;c-=2){var u=t.keys[c],l=t.keys[c+1];a.expand(o,t.tmp,0);var h=a.substitute(u^=t.tmp[0],l^=t.tmp[1]),f=o;o=(s^a.permute(h))>>>0,s=f}a.rip(o,s,i,r)}},"U/Bw":function(t,e,n){"use strict";n.d(e,"f",(function(){return u})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"g",(function(){return h})),n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return d})),n.d(e,"e",(function(){return p}));var i,r,a=n("HDdC"),o=(n("4XzM"),n("S7rW"),n("EUDy"),n("tk/3")),s=n("fXoL"),c=n("tyNb"),u=function t(e,n){Qe(this,t),this.email=e,this.password=n},l=location.hostname,h=function(t){return!(!t||403!=t.status||!localStorage.getItem("authenticated")||($.notify({icon:"ti-alert",message:"You are not allowed to access this resource. Contact your system administrator"},{type:"warning",delay:3e3,placement:{from:"bottom",align:"center"}}),0))},f=function t(){Qe(this,t),this.hlsViewerCount=0,this.dashViewerCount=0,this.webRTCViewerCount=0,this.rtmpViewerCount=0,this.mp4Enabled=0,this.playlistLoopEnabled=!0,this.autoStartStopEnabled=!1,this.plannedStartDate=0,this.playListItemList=[]},d=function(){var t=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"intercept",value:function(t,e){var n,i=t.url;if(i.includes("_path=")){var r=i.indexOf("_path="),a=i.lastIndexOf("/rest/v2/");n=i.substring(r+6,a)}else i.includes("rest/v2")&&(r=i.indexOf(":5080/"),a=i.indexOf("/rest/v2"),n=i.substring(r+6,a));var o=localStorage.getItem(n+"jwtToken"),s=localStorage.getItem(n+"jwtControlEnabled");return t=t.clone(null!=n&&null!=o&&"false"!=s?{withCredentials:!0,headers:t.headers.append("Authorization",o)}:{withCredentials:!0}),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac}),t}(),p=function(){var t=function(){function t(e,n){if(Qe(this,t),this.http=e,this.router=n,this.isEnterpriseObject=null,!location.protocol.startsWith("https")){i="http://"+location.hostname+":"+location.port+"/";var a="https://"+location.hostname+":5443/";this.http.head(a).subscribe((function(t){r=(i=a)+"rest"}),(function(t){console.log("No https avaiable"),h(t)}))}"4200"==location.port?i="http://"+location.hostname+":5080/":location.protocol.startsWith("https")&&(i="https://"+location.hostname+":"+location.port+"/"),r=i+"rest/v2"}
1return tn(t,[{key:"getBlockedStatus",value:function(t){return this.http.get(r+"/users/"+t+"/blocked")}},{key:"setSidebar",value:function(t){this.sidebar=t}},{key:"getSidebar",value:function(){return this.sidebar}},{key:"isShutdownProperly",value:function(t){return this.http.get(r+"/shutdown-proper-status?appNames="+t)}},{key:"setShutdownProperly",value:function(t){return this.http.get(r+"/shutdown-properly?appNames="+t)}},{key:"getSystemResourcesInfo",value:function(){return this.http.get(r+"/system-resources")}},{key:"getCPULoad",value:function(){return this.http.get(r+"/cpu-status")}},{key:"checkAuthStatus",value:function(t,e){return this.http.get(r+"/request?_path="+e+"/rest/v2/broadcasts/social-network-status/"+t,{})}},{key:"getVersion",value:function(){return this.http.get(r+"/version")}},{key:"getServerTime",value:function(){return this.http.get(r+"/server-time")}},{key:"getDetectionList",value:function(t,e,n,i){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/detections/"+n+"/"+i)}},{key:"getObjectDetectedTotal",value:function(t,e){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/detections/count")}},{key:"getAppLiveStreamsWithType",value:function(t,e,n,i,a,o,s){return this.http.get(null==o?r+"/request?_path="+t+"/rest/v2/broadcasts/list/"+e+"/"+n+"&sort_by="+i+"&order_by="+a+"&type_by="+s:r+"/request?_path="+t+"/rest/v2/broadcasts/list/"+e+"/"+n+"&sort_by="+i+"&order_by="+a+"&search="+o+"&type_by="+s,{})}},{key:"getAppLiveStreams",value:function(t,e,n,i,r,a){return this.getAppLiveStreamsWithType(t,e,n,i,r,a,"")}},{key:"getBroadcast",value:function(t,e){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e)}},{key:"createLiveStream",value:function(t,e,n,i){var a,o=!1;return"ipCamera"!=e.type&&"streamSource"!=e.type||(o=!e.autoStartStopEnabled),a=null==n?r+"/request?_path="+t+"/rest/v2/broadcasts/create&autoStart="+o+"&socialNetworks="+i:n+"/"+t+"/rest/v2/broadcasts/create?autoStart="+o+"&socialNetworks="+i,this.http.post(a,e)}},{key:"createApplication",value:function(t,e){return null!=e?this.http.put(r+"/applications/"+t,e):this.http.post(r+"/applications/"+t,{})}},{key:"deleteApplication",value:function(t){return this.http.delete(r+"/applications/"+t,{})}},{key:"updateLiveStream",value:function(t,e,n){return this.http.put(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e.streamId+"&socialNetworks="+n,e)}},{key:"stopStream",value:function(t,e){return this.http.post(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/stop",{})}},{key:"startStream",value:function(t,e){return this.http.post(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/start",{})}},{key:"deleteBroadcast",value:function(t,e,n){var i;return i=null==n?r+"/request?_path="+t+"/rest/v2/broadcasts/"+e:n+"/"+t+"/rest/v2/broadcasts/"+e,this.http.delete(i,{})}},{key:"deleteBroadcasts",value:function(t,e,n){var i;i=null==n?r+"/request?_path="+t+"/rest/v2/broadcasts/bulk":n+"/"+t+"/rest/v2/broadcasts/bulk";var a={headers:new o.e({"Content-Type":"application/json"}),body:e};return this.http.delete(i,a)}},{key:"deleteVoDFile",value:function(t,e,n,i){return this.http.delete(r+"/request?_path="+t+"/rest/v2/vods/"+n,{})}},{key:"deleteVoDFiles",value:function(t,e){var n={headers:new o.e({"Content-Type":"application/json"}),body:e};return this.http.delete(r+"/request?_path="+t+"/rest/v2/vods/bulk/",n)}},{key:"deleteRTMPEndpointV2",value:function(t,e,n){return this.http.delete(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/rtmp-endpoint&endpointServiceId="+n,{})}},{key:"deleteRTMPEndpointV1",value:function(t,e,n){return this.http.delete(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/endpoint&rtmpUrl="+n,{})}},{key:"addRTMPEndpoint",value:function(t,e,n){return this.http.post(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/rtmp-endpoint",n)}},{key:"revokeSocialNetwork",value:function(t,e){return this.http.delete(r+"/request?_path="+t+"/rest/v2/broadcasts/social-networks/"+e,{})}},{key:"isEnterpriseEdition",value:function(){var t=this;return new a.a((function(e){null==t.isEnterpriseObject?t.http.get(r+"/enterprise-edition").subscribe((function(n){t.isEnterpriseObject=n,e.next(t.isEnterpriseObject)}),(function(t){h(t)})):e.next(t.isEnterpriseObject)}))}},{key:"handleError",value:function(t){return 401==t.status&&(console.log("error -response: --\x3e "+t),this.router.navigateByUrl("/pages/login")),a.a.throw(t||"Server error")}},{key:"getApplications",value:function(){return this.http.get(r+"/applications")}},{key:"isAdmin",value:function(){return this.http.get(r+"/admin-status")}},{key:"authenticateUser",value:function(t){return this.http.post(r+"/users/authenticate",t)}},{key:"logout",value:function(){return this.http.delete(r+"/users/logout")}},{key:"changePassword",value:function(t){return this.http.post(r+"/users/password",t)}},{key:"isFirstLogin",value:function(){return this.http.get(r+"/first-login-status")}},{key:"createFirstAccount",value:function(t){return this.http.post(r+"/users/initial",t)}},{key:"createUser",value:function(t){return this.http.post(r+"/users",t)}},{key:"editUser",value:function(t){return this.http.put(r+"/users",t)}},{key:"deleteUser",value:function(t){return this.http.delete(r+"/users/"+t)}},{key:"getUsers",value:function(){return this.http.get(r+"/user-list")}},{key:"isAuthenticated",value:function(){return this.http.get(r+"/authentication-status")}},{key:"get",value:function(t,e){return this.http.get(t,e)}},{key:"callGet",value:function(t,e){return this.http.get(r+"/request?_path="+t+"/"+e)}},{key:"callPost",value:function(t,e,n){return this.http.post(r+"/request?_path="+t+"/"+e,n||{})}},{key:"getDurationInMilliseconds",value:function(t,e){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/duration?url="+e)}},{key:"getSocialEndpoints",value:function(t){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/social-endpoints/0/20")}},{key:"setSocialNetworkChannel",value:function(t,e,n,i){return this.http.put(r+"/request?_path="+t+"/rest/v2/broadcasts/social-networks-channels/"+e+"/"+n+"/"+i,{})}},{key:"getSocialNetworkChannelList",value:function(t,e,n){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/social-networks-channel-lists/"+e+"/"+n)}},{key:"getSettings",value:function(t){return this.http.get(r+"/applications/settings/"+t)}},{key:"getServerSettings",value:function(){return this.http.get(r+"/server-sett
1ings/")}},{key:"getSslSettings",value:function(){return this.http.get(r+"/ssl-settings/")}},{key:"changeSettings",value:function(t,e){return this.http.post(r+"/applications/settings/"+t,e)}},{key:"changeSettingsByJson",value:function(t,e){return this.http.post(r+"/applications/settings/"+t,e)}},{key:"changeServerSettings",value:function(t){return this.http.post(r+"/server-settings",t)}},{key:"changeSslSettings",value:function(t,e,n){return this.http.post(r+"/ssl-settings?domain="+t+"&type="+e,n)}},{key:"getDeviceAuthParameters",value:function(t,e){return this.http.post(r+"/request?_path="+t+"/rest/v2/broadcasts/social-networks/"+e,{})}},{key:"getLicenseStatus",value:function(t){return this.http.get(r+"/licence-status/?key="+t)}},{key:"getLastLicenseStatus",value:function(){return this.http.get(r+"/last-licence-status")}},{key:"getLiveClientsSize",value:function(){return this.http.get(r+"/live-clients-size")}},{key:"getSystemMemoryInfo",value:function(){return this.http.get(r+"/system-memory-status")}},{key:"getFileSystemInfo",value:function(){return this.http.get(r+"/file-system-status")}},{key:"getJVMMemoryInfo",value:function(){return this.http.get(r+"/jvm-memory-status")}},{key:"getApplicationsInfo",value:function(){return this.http.get(r+"/applications-info")}},{key:"getLogFile",value:function(t,e){return this.http.get(r+"/log-file/"+t+"/10000/?logType="+e)}},{key:"getVodList",value:function(t,e,n,i,a,o){return this.http.get(null==o?r+"/request?_path="+t+"/rest/v2/vods/list/"+e+"/"+n+"&sort_by="+i+"&order_by="+a:r+"/request?_path="+t+"/rest/v2/vods/list/"+e+"/"+n+"&sort_by="+i+"&order_by="+a+"&search="+o,{})}},{key:"getCameraError",value:function(t,e){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/ip-camera-error",{})}},{key:"getTotalVodNumber",value:function(t,e){return this.http.get(null==e?r+"/request?_path="+t+"/rest/v2/vods/count":r+"/request?_path="+t+"/rest/v2/vods/count/"+e,{})}},{key:"getTotalBroadcastNumber",value:function(t,e){return this.http.get(null==e?r+"/request?_path="+t+"/rest/v2/broadcasts/count":r+"/request?_path="+t+"/rest/v2/broadcasts/count/"+e,{})}},{key:"uploadVod",value:function(t,e,n){return this.http.post(r+"/request?_path="+n+"/rest/v2/vods/create&name="+t,e,{reportProgress:!0,observe:"events"})}},{key:"getLiveComments",value:function(t,e,n,i,a){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/social-endpoints/"+n+"/live-comments/"+i+"/"+a)}},{key:"getLiveCommentsCount",value:function(t,e,n){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/social-endpoints/"+n+"/live-comments-count")}},{key:"getInteraction",value:function(t,e,n){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/social-endpoints/"+n+"/interaction")}},{key:"getLiveViewsCount",value:function(t,e,n){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/social-endpoints/"+n+"/live-views-count")}},{key:"getOneTimeToken",value:function(t,e,n){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/token&expireDate="+n+"&type=play")}},{key:"getJWTToken",value:function(t,e,n){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/jwt-token&expireDate="+n+"&type=play")}},{key:"getRtmpUrl",value:function(t,e){return"rtmp://"+l+"/"+t+"/"+e}},{key:"getText",value:function(t){return this.http.get(t,{responseType:"text"})}},{key:"autoDiscover",value:function(t){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/onvif-devices")}},{key:"moveLeft",value:function(t,e){return this.http.post(r+"/request?_path="+e+"/rest/v2/broadcasts/"+t.streamId+"/ip-camera/move-left",{})}},{key:"moveRight",value:function(t,e){return this.http.post(r+"/request?_path="+e+"/rest/v2/broadcasts/"+t.streamId+"/ip-camera/move-right",{})}},{key:"moveUp",value:function(t,e){return this.http.post(r+"/request?_path="+e+"/rest/v2/broadcasts/"+t.streamId+"/ip-camera/move-up",{})}},{key:"moveDown",value:function(t,e){return this.http.post(r+"/request?_path="+e+"/rest/v2/broadcasts/"+t.streamId+"/ip-camera/move-down",{})}},{key:"validateIPaddress",value:function(t){return!!/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(t)}},{key:"checkStreamUrl",value:function(t){var e,n=!1;return(e=t.includes("//")?(e=t.split("//"))[1]:t).includes("@")&&(e=(e=e.split("@"))[1]),e.includes(":")&&(e=(e=e.split(":"))[0]),e.includes("/")&&(e=(e=e.split("/"))[0]),console.log("ipAddress: "+e),(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("rtmp://")||t.startsWith("rtmps://")||t.startsWith("rtsp://")||t.startsWith("rtsps://")||t.startsWith("udp://")||t.startsWith("srt://"))&&(n=!0),n}},{key:"checkStreamName",value:function(t){return!(!t||0===t.length||/^\s*$/.test(t))}},{key:"isInClusterMode",value:function(){return this.http.get(r+"/cluster-mode-status")}},{key:"getStats",value:function(t,e){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/broadcast-statistics")}},{key:"getWebRTCStatsList",value:function(t,e,n,i){return this.http.get(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/webrtc-client-stats/"+n+"/"+i)}},{key:"setStreamRecordingStatus",value:function(t,e,n,i){return this.http.put(r+"/request?_path="+t+"/rest/v2/broadcasts/"+e+"/recording/"+n+"&recordType="+i,{})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.cc(o.b),s.cc(c.c))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac}),t}()},URgk:function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function a(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new a(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new a(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},UWVS:function(t,e,n){(function(t){var i=n("jIre");function r(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,n){for(;e._cache.length<n.length;)e._cache=t.concat([e._cache,r(e)]);var a=e._cache.slice(0,n.length);return e._cache=e._cache.slice(n.length),i(n,a)}}).call(this,n("tjlA").Buffer)},UXun:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("jtHE");function r(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,r=t.bufferSize,a=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,c=t.refCount,u=t.scheduler,l=0,h=!1,f=!1;return function(t){var r;l++,!e||h?(h=!1,e=new i.a(a,s,u),r=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){h=!0,e.error(t)},complete:function(){f=!0,n=void 0,e.complete()}})):r=e.subscribe(this),this.add((function(){l--,r.unsubscribe(),n&&!f&&c&&0===l&&(n.unsubscribe(),n=void 0,e=void 0)}))}}(r))}}},Ujlg:function(t,e,n){var i=n("hwdV").Buffer;function r(t,e,n){for(var i,r,o=-1,s=0;++o<8;
1)s+=(128&(r=t._cipher.encryptBlock(t._prev)[0]^(i=e&1<<7-o?128:0)))>>o%8,t._prev=a(t._prev,n?i:r);return s}function a(t,e){var n=t.length,r=-1,a=i.allocUnsafe(t.length);for(t=i.concat([t,i.from([e])]);++r<n;)a[r]=t[r]<<1|t[r+1]>>7;return a}e.encrypt=function(t,e,n){for(var a=e.length,o=i.allocUnsafe(a),s=-1;++s<a;)o[s]=r(t,e[s],n);return o}},"UpF+":function(t,e,n){var i=n("AQYT"),r=n("hwdV").Buffer;t.exports=function(t,e){return r.from(t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed().toArray())}},"V+K4":function(t,e,n){"use strict";(function(e){var i;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n("QqdZ"),o=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[o];if(null!==e){var n=t[f].read();null!==n&&(t[l]=null,t[o]=null,t[s]=null,e(d(n,!1)))}}function m(t){e.nextTick(p,t)}var v=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((r(i={get stream(){return this[f]},next:function(){var t=this,n=this[c];if(null!==n)return Promise.reject(n);if(this[u])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise((function(n,i){e.nextTick((function(){t[c]?i(t[c]):n(d(void 0,!0))}))}));var i,r=this[l];if(r)i=new Promise(function(t,e){return function(n,i){t.then((function(){e[u]?n(d(void 0,!0)):e[h](n,i)}),i)}}(r,this));else{var a=this[f].read();if(null!==a)return Promise.resolve(d(a,!1));i=new Promise(this[h])}return this[l]=i,i}},Symbol.asyncIterator,(function(){return this})),r(i,"return",(function(){var t=this;return new Promise((function(e,n){t[f].destroy(null,(function(t){t?n(t):e(d(void 0,!0))}))}))})),i),v);t.exports=function(t){var e,n=Object.create(b,(r(e={},f,{value:t,writable:!0}),r(e,o,{value:null,writable:!0}),r(e,s,{value:null,writable:!0}),r(e,c,{value:null,writable:!0}),r(e,u,{value:t._readableState.endEmitted,writable:!0}),r(e,h,{value:function(t,e){var i=n[f].read();i?(n[l]=null,n[o]=null,n[s]=null,t(d(i,!1))):(n[o]=t,n[s]=e)},writable:!0}),e));return n[l]=null,a(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[s];return null!==e&&(n[l]=null,n[o]=null,n[s]=null,e(t)),void(n[c]=t)}var i=n[o];null!==i&&(n[l]=null,n[o]=null,n[s]=null,i(d(void 0,!0))),n[u]=!0})),t.on("readable",m.bind(null,n)),n}}).call(this,n("8oxB"))},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("HDdC"),r=n("z+Ro"),a=n("bHdf"),o=n("yCtX");function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var s=Number.POSITIVE_INFINITY,c=null,u=e[e.length-1];return Object(r.a)(u)?(c=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(s=e.pop())):"number"==typeof u&&(s=e.pop()),null===c&&1===e.length&&e[0]instanceof i.a?e[0]:Object(a.a)(s)(Object(o.a)(e,c))}},Vh22:function(t,e,n){(function(e){var i=n("AQYT"),r=new(n("ehAg")),a=new i(24),o=new i(11),s=new i(10),c=new i(3),u=new i(7),l=n("WKKt"),h=n("Edxu");function f(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this._pub=new i(t),this}function d(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this._priv=new i(t),this}t.exports=m;var p={};function m(t,e,n){this.setGenerator(e),this.__prime=new i(t),this._prime=i.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=f,this.setPrivateKey=d):this._primeCode=8}function v(t,n){var i=new e(t.toArray());return n?i.toString(n):i}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var n=e.toString("hex"),i=[n,t.toString(16)].join("_");if(i in p)return p[i];var h,f=0;if(t.isEven()||!l.simpleSieve||!l.fermatTest(t)||!r.test(t))return f+=1,p[i]=f+="02"===n||"05"===n?8:4,f;switch(r.test(t.shrn(1))||(f+=2),n){case"02":t.mod(a).cmp(o)&&(f+=8);break;case"05":(h=t.mod(s)).cmp(c)&&h.cmp(u)&&(f+=8);break;default:f+=4}return p[i]=f,f}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new i(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(t){var n=(t=(t=new i(t)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new e(n.toArray()),a=this.getPrime();if(r.length<a.length){var o=new e(a.length-r.length);o.fill(0),r=e.concat([o,r])}return r},m.prototype.getPublicKey=function(t){return v(this._pub,t)},m.prototype.getPrivateKey=function(t){return v(this._priv,t)},m.prototype.getPrime=function(t){return v(this.__prime,t)},m.prototype.getGenerator=function(t){return v(this._gen,t)},m.prototype.setGenerator=function(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this.__gen=t,this._gen=new i(t),this}}).call(this,n("tjlA").Buffer)},VrUr:function(t,e,n){"use strict";var i=n("f3pb"),r=i.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),a=i.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),o=i.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=i.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())})),c=i.define("RelativeDistinguishedName",(function(){this.setof(a)})),u=i.define("RDNSequence",(function(){this.seqof(c)})),l=i.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),h=i.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))})),f=i.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=i.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(l),this.key("validity").use(h),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())}
1)),p=i.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())}));t.exports=p},WKKt:function(t,e,n){var i=n("Edxu");t.exports=g,g.simpleSieve=v,g.fermatTest=b;var r=n("AQYT"),a=new r(24),o=new(n("ehAg")),s=new r(1),c=new r(2),u=new r(5),l=(new r(16),new r(8),new r(10)),h=new r(3),f=(new r(7),new r(11)),d=new r(4),p=(new r(12),null);function m(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,n=3;n<1048576;n+=2){for(var i=Math.ceil(Math.sqrt(n)),r=0;r<e&&t[r]<=i&&n%t[r]!=0;r++);e!==r&&t[r]<=i||(t[e++]=n)}return p=t,t}function v(t){for(var e=m(),n=0;n<e.length;n++)if(0===t.modn(e[n]))return 0===t.cmpn(e[n]);return!0}function b(t){var e=r.mont(t);return 0===c.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function g(t,e){if(t<16)return new r(2===e||5===e?[140,123]:[140,39]);var n,p;for(e=new r(e);;){for(n=new r(i(Math.ceil(t/8)));n.bitLength()>t;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(c),e.cmp(c)){if(!e.cmp(u))for(;n.mod(l).cmp(h);)n.iadd(d)}else for(;n.mod(a).cmp(f);)n.iadd(d);if(v(p=n.shrn(1))&&v(n)&&b(p)&&b(n)&&o.test(p)&&o.test(n))return n}}},WMd4:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var i=n("EY2u"),r=n("LRne"),a=n("z6cu"),o=function(t){return t.NEXT="N",t.ERROR="E",t.COMPLETE="C",t}({}),s=function(){var t=function(){function t(e,n,i){Qe(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}
1return tn(t,[{key:"observe",value:function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}},{key:"do",value:function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}},{key:"accept",value:function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(a.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}]),t}();return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},WRkp:function(t,e,n){"use strict";e.sha1=n("E+IA"),e.sha224=n("B/J0"),e.sha256=n("bu2F"),e.sha384=n("i5UE"),e.sha512=n("tSWc")},"WnY+":function(t,e,n){var i=n("9XZ3");t.exports=function(t){return(new i).update(t).digest()}},XC4j:function(t,e){},XDbj:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("sVev"),r=n("7o/Q");function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return function(e){return e.lift(new o(t))}}var o=function(){function t(e){Qe(this,t),this.errorFactory=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.errorFactory))}}]),t}(),s=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).errorFactory=i,r.hasValue=!1,r}return tn(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(r.a);function c(){return new i.a}},XGgE:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i,r=n("fXoL"),a={notEnterprise:'This is an Enterprise function.Please visit <a href="https://antmedia.io/" target="_blank"><b>antmedia.io</b></a> for detailed information',ketNotdefined:"Please enter service client id and client secret in app configuration.",vodFileNotDeleted:"VoD file is not deleted",broadcast_not_deleted:"Broadcast is not deleted",playlist_not_deleted:"Playlist is not deleted.",settings_saved:"Settings saved. They're effective for the broadcasts starting from now on.",license_saved:"License saved",log_level_changed:"Log level saved",settings_not_saved:"Settings could not be saved.",new_broadcast_created:"New broadcast is created",new_user_created:"New user is created",new_broadcast_error:"New broadcast is not created.",new_playlist_created:"New playlist is created.",new_playlist_error:"New playlist is not created.",publish_url_copied_to_clipboard:"Publish URL is copied to clipboard",embed_code_copied_to_clipboard:"Embed Code is copied to clipboard",congrats:"Congratulations",authentication_is_done:"Authentication is done",are_you_sure:"Are you sure?",wont_be_able_to_revert:"You won't be able to revert this!",live_stream_will_be_deleted:"Live stream will be deleted!",copy_this_code_and_enter_the_url:'Copy this code <b>CODE_KEY</b> and enter it to <a href="URL_KEY" target="_blank"><b>URL_KEY</b></a> address',dashboard:"Dashboard",turkish_language:"T\xfcrk\xe7e",english_language:"English",broadcast_updated:"Stream is updated.",broadcast_not_updated:"Stream is not updated. Please send below message to [email protected]",playlist_updated:"Playlist is updated.",playlist_not_updated:"Playlist is not updated. Please send below message to [email protected].",error_occured:"An error is occured. Please try again later",authentication_timeout_message:"Authentication timeout. Please try again with a faster manner",live_streaming_not_enabled_message:"Live streaming is not enabled in your account. Please enable it.",cluster:"Cluster",streams_imported_successfully:"Streams are imported successfully",missing_configuration_parameter_for_stalker:"Configuration params are missing. Please contact system admin",vod_deleted:"Vod file deleted successfully",support:"Support"},o={notEnterprise:'Bu \xf6zellik bir kurumsal \xf6zelliktir.Detayl\u0131 bilgi i\xe7in l\xfctfen <a href="https://antmedia.io/" target="_blank"><b>antmedia.io</b></a> sitesini ziyaret ediniz',ketNotdefined:"L\xfctfen servisle ilgili istemci id ve \u015fifresini tan\u0131mlay\u0131n\u0131z.",vodFileNotDeleted:"Video maalesef silinemedi.",broadcast_not_deleted:"Yay\u0131n maalesef silinemedi.",playlist_not_deleted:"Oynatma listesi maalesef silinemedi.",settings_saved:"Ayarlar kaydedildi.",settings_not_saved:"Ayarlar maalesef kay\u0131t edilemedi.",new_broadcast_created:"Yeni yay\u0131n olu\u015fturuldu.",new_broadcast_error:"Yeni yay\u0131n olu\u015fturulamad\u0131.",new_playlist_created:"Yeni oynatma listesi olu\u015fturuldu.",new_playlist_error:"Yeni oynatma listesi olu\u015fturulamad\u0131.",publish_url_copied_to_clipboard:"Yay\u0131n URL'i panoya kopyaland\u0131.",embed_code_copied_to_clipboard:"G\xf6m\xfcl\xfc kod panoya kopyaland\u0131.",congrats:"Tebrikler",license_saved:"Lisans kaydedildi",log_level_changed:"Log level de\u011fi\u015ftirildi",new_user_created:"Yeni kullan\u0131c\u0131 olu\u015fturuldu",authentication_is_done:"Yetkilendirme tamamland\u0131.",are_you_sure:"Bunu yapmak istedi\u011finizden emin misiniz ?",wont_be_able_to_revert:"Bu i\u015flemi geri alamayacaks\u0131n\u0131z",copy_this_code_and_enter_the_url:'Bu kodu (<b>CODE_KEY</b>) kopyalay\u0131n ve bu adresteki (<a href="URL_KEY" target="_blank"><b>URL_KEY</b></a>) ilgili kutuya girin.',dashboard:"Kontrol Paneli",turkish_language:"T\xfcrk\xe7e",english_language:"English",live_stream_will_be_deleted:"Yay\u0131n silinecek ve bu i\u015flemi geri alamayacaks\u0131n\u0131z!",broadcast_updated:"Yay\u0131n g\xfcncellendi.",broadcast_not_updated:"Yay\u0131n g\xfcncellenemedi. L\xfctfen a\u015fa\u011f\u0131daki mesaj\u0131 [email protected]'ya g\xf6nderiniz.",playlist_updated:"Playlist g\xfcncellendi.",playlist_not_updated:"Playlist g\xfcncellenemedi. L\xfctfen a\u015fa\u011f\u0131daki mesaj\u0131 [email protected]'ya g\xf6nderiniz.",error_occured:"Bir hata olu\u015ftu. L\xfctfen sonra tekrar deneyiniz",authentication_timeout_message:"Yetkilendirme zaman a\u015f\u0131m\u0131na u\u011frad\u0131. L\xfctfen i\u015flemi biraz daha h\u0131zl\u0131 bir \u015fekilde tekrar deneyiniz.",live_streaming_not_enabled_message:"Canl\u0131 Yay\u0131n \xf6zelli\u011fi hesab\u0131n\u0131zda etkin de\u011fil. L\xfctfen ilgili servis \xfczerinden etkinle\u015ftirin",streams_imported_successfully:"Yay\u0131nlar ba\u015far\u0131yla aktar\u0131ld\u0131",missing_configuration_parameter_for_stalker:"Konfigurasyon parametreleri girilmemi\u015f. L\xfctfen sistem y\xf6netici ile g\xf6r\xfc\u015f\xfcn\xfcz.",vod_deleted:"Vod ba\u015far\u0131yla silindi.",cluster:"Cluster",support:"Destek"},s=((i=function(){function t(e){Qe(this,t),t.localeObject="tr"==e?o:a}return tn(t,null,[{key:"getLocaleInterface",value:function(){return t.localeObject}}]),t}()).\u0275fac=function(t){return new(t||i)(r.cc(r.w))},i.\u0275prov=r.Jb({token:i,factory:i.\u0275fac}),i)},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return l}));var i=n("HDdC"),r=n("7o/Q"),a=n("quSY"),o=n("9ppp"),s=n("Ylt2"),c=n("2QA8"),u=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t)).destination=t,i}return n}(r.a),l=function(){var t=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return tn(n,[{key:c.a,value:function(){return new u(this)}},{key:"lift",value:function(t){var e=new h(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new o.a;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].next(t)}},{key:"error",value:function(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].error(t);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new o.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),i=0;i<e;i++)n[i].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(t){if(this.closed)throw new o.a;return Je(cn(n.prototype),"_trySubscribe",this).call(this,t)}},{key:"_subscribe",value:function(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),a.a.EMPTY):this.isStopped?(t.complete(),a.a.EMPTY):(this.observers.push(t),new s.a(this,t))}},{key:"asObservable",value:function(){var t=new i.a;return t.source=this,t}}]),n}(i.a);return t.create=function(t,e){return new h(t,e)},t}(),h=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this)).destination=t,r.source=i,r}return tn(n,[{key:"next",value:function(t){var e=this.destination;e&&e.next&&e.next(t)}},{key:"error",value:function(t){var e=this.destination;e&&e.error&&this.destination.error(t)}},{key:"complete",value:function(){var t=this.destination;t&&t.complete&&this.destination.complete()}},{key:"_subscribe",value:function(t){return this.source?this.source.subscribe(t):a.a.EMPTY}}]),n}(l)},Xhqo:function(t,e,n){"use strict";var i=n("qPBE").Buffer,r=n(2);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var e=i.allocUnsafe(t>>>0),n=this.head,r=0;n;)n.data.copy(e,r),r+=n.data.length,n=n.next;return e},t}(),r&&r.inspect&&r.inspect.custom&&(t.exports.prototype[r.inspect.custom]=function(){var t=r.inspect({length:this.length});return this.constructor.name+" "+t})},Xk39:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var i=n("kU1M");e._catch=function(t){return i.catchError(t)(this)}},Xn1i:function(t,e,n){"use strict";(function(e){var i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=u;var r=n("zzXz"),a=n("Sc7j");n("P7XM")(u,r);for(var o=i(a.prototype),s=0;s<o.length;s++){var c=o[s];u.prototype[c]||(u.prototype[c]=a.prototype[c])}function u(t){if(!(this instanceof u))return new u(t);r.call(this,t),a.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||e.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,n("8oxB"))},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return i}))},Xudb:function(t,e,n){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,i){for(var r=0,a=0,o=6;o>=0;o-=2){for(var s=0;s<=24;s+=8)r<<=1,r|=e>>>s+o&1;for(s=0;s<=24;s+=8)r<<=1,r|=t>>>s+o&1}for(o=6;o>=0;o-=2){for(s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1;for(s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1}n[i+0]=r>>>0,n[i+1]=a>>>0},e.rip=function(t,e,n,i){for(var r=0,a=0,o=0;o<4;o++)for(var s=24;s>=0;s-=8)r<<=1,r|=e>>>s+o&1,r<<=1,r|=t>>>s+o&1;for(o=4;o<8;o++)for(s=24;s>=0;s-=8)a<<=1,a|=e>>>s+o&1,a<<=1,a|=t>>>s+o&1;n[i+0]=r>>>0,n[i+1]=a>>>0},e.pc1=function(t,e,n,i){for(var r=0,a=0,o=7;o>=5;o--){for(var s=0;s<=24;s+=8)r<<=1,r|=e>>s+o&1;for(s=0;s<=24;s+=8)r<<=1,r|=t>>s+o&1}for(s=0;s<=24;s+=8)r<<=1,r|=e>>s+o&1;for(o=1;o<=3;o++){for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1}for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;n[i+0]=r>>>0,n[i+1]=a>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var i=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,n,r){for(var a=0,o=0,s=i.length>>>1,c=0;c<s;c++)a<<=1,a|=t>>>i[c]&1;for(c=s;c<i.length;c++)o<<=1,o|=e>>>i[c]&1;n[r+0]=a>>>0,n[r+1]=o>>>0},e.expand=function(t,e,n){var i=0,r=0;i=(1&t)<<5|t>>>27;for(var a=23;a>=15;a-=4)i<<=6,i|=t>>>a&63;for(a=11;a>=3;a-=4)r|=t>>>a&63,r<<=6;r|=(31&t)<<1|t>>>31,e[n+0]=i>>>0,e[n+1]=r>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,i=0;i<4;i++)n<<=4,n|=r[64*i+(t>>>18-6*i&63)];for(i=0;i<4;i++)n<<=4,n|=r[256+64*i+(e>>>18-6*i&63)];return n>>>0};var a=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n<a.length;n++)e<<=1,e|=t>>>a[n]&1;return e>>>0},e.padSplit=function(t,e,n){for(var i=t.toString(2);i.length<e;)i="0"+i;for(var r=[],a=0;a<e;a+=n)r.push(i.slice(a,a+n));return r.join(" ")}},"Y/cZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(){var t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;
1Qe(this,t),this.SchedulerAction=e,this.now=n}return tn(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}();return t.now=function(){return Date.now()},t}()},Y6u4:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}()},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("DH7j");function r(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},YBdB:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,a,o,s,c=1,u={},l=!1,h=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){p(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(o="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&p(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(o+e,"*")}):t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(t){p(t.data)},i=function(t){a.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(r=h.documentElement,i=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(p,0,t)},f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return u[c]=r,i(c),c++},f.clearImmediate=d}function d(t){delete u[t]}function p(t){if(l)setTimeout(p,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{d(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n("yLpj"),n("8oxB"))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this)).subject=t,r.subscriber=i,r.closed=!1,r}return tn(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}}}]),n}(n("quSY").a)},"YoN+":function(t,e,n){"use strict";var i=n("P7XM"),r=n("0cit").Reporter,a=n("xZGU").Buffer;function o(t,e){r.call(this,e),a.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function s(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return s.isEncoderBuffer(t)||(t=new s(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=a.byteLength(t);else{if(!a.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}i(o,r),e.DecoderBuffer=o,o.isDecoderBuffer=function(t){return t instanceof o||"object"==typeof t&&a.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeof t.offset&&"number"==typeof t.length&&"function"==typeof t.save&&"function"==typeof t.restore&&"function"==typeof t.isEmpty&&"function"==typeof t.readUInt8&&"function"==typeof t.skip&&"function"==typeof t.raw},o.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},o.prototype.restore=function(t){var e=new o(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,r.prototype.restore.call(this,t.reporter),e},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},o.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var n=new o(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n},o.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=s,s.isEncoderBuffer=function(t){return t instanceof s||"object"==typeof t&&"EncoderBuffer"===t.constructor.name&&"number"==typeof t.length&&"function"==typeof t.join},s.prototype.join=function(t,e){return t||(t=a.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(t,e),e+=n.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):a.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},YskG:function(t,e,n){var i=n("hwdV").Buffer;function r(t,e,n){var r=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=i.concat([t._prev.slice(1),i.from([n?e:r])]),r}e.encrypt=function(t,e,n){for(var a=e.length,o=i.allocUnsafe(a),s=-1;++s<a;)o[s]=r(t,e[s],n);return o}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"Z2+3":function(t,e,n){"use strict";var i=n("gK+I"),r=n("P7XM"),a=n("6lN/"),o=n("86MQ");function s(t){a.call(this,"mont",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(t,e,n){a.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(e,16),this.z=new i(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}r(s,a),t.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),i=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===i.redSqrt().redSqr().cmp(i)},r(c,a.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(o.toArray(t,e),1)},s.prototype.point=function(t,e){return new c(this,t,e)},s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(t,e){return new c(t,e[0],e[1]||t.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>
1":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),i=t.redMul(e),r=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(i,r)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),r=t.x.redAdd(t.z),a=t.x.redSub(t.z).redMul(n),o=r.redMul(i),s=e.z.redMul(a.redAdd(o).redSqr()),c=e.x.redMul(a.redISub(o).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(t){for(var e=t.clone(),n=this,i=this.curve.point(null,null),r=[];0!==e.cmpn(0);e.iushrn(1))r.push(e.andln(1));for(var a=r.length-1;a>=0;a--)0===r[a]?(n=n.diffAdd(i,this),i=i.dbl()):(i=n.diffAdd(i,this),n=n.dbl());return i},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},"Z94/":function(t,e){var n=Object.prototype.toString;t.exports=function(t){return"number"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Number]"==n.call(t)}},ZDAU:function(t,e,n){var i=n("hwdV").Buffer,r=n("1IWx").Transform,a=n("fXKp").StringDecoder;function o(t){r.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("P7XM")(o,r),o.prototype.update=function(t,e,n){"string"==typeof t&&(t=i.from(t,e));var r=this._update(t);return this.hashMode?this:(n&&(r=this._toString(r,n)),r)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(t,e,n){var i;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(r){i=r}finally{n(i)}},o.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)},o.prototype._finalOrDigest=function(t){var e=this.__final()||i.alloc(0);return t&&(e=this._toString(e,t,!0)),e},o.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new a(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var i=this._decoder.write(t);return n&&(i+=this._decoder.end()),i},t.exports=o},ZEK9:function(t,e,n){e.publicEncrypt=n("rSVQ"),e.privateDecrypt=n("DyzK"),e.privateEncrypt=function(t,n){return e.publicEncrypt(t,n,!0)},e.publicDecrypt=function(t,n){return e.privateDecrypt(t,n,!0)}},ZR4w:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("kU1M");e.map=function(t,e){return i.map(t,e)(this)}},ZUHj:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this)).parent=t,a.outerValue=i,a.outerIndex=r,a.index=0,a}return tn(n,[{key:"_next",value:function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}},{key:"_error",value:function(t){this.parent.notifyError(t,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(n("7o/Q").a),r=n("SeVD"),a=n("HDdC");function o(t,e,n,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new i(t,n,o);if(!s.closed)return e instanceof a.a?e.subscribe(s):Object(r.a)(e)(s)}},Zy1z:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(){return function(t){return t.lift(new a)}}var a=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t)).hasPrev=!1,i}return tn(n,[{key:"_next",value:function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}]),n}(i.a)},afKu:function(t,e,n){(e=t.exports=function(t){t=t.toLowerCase();var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n}).sha=n("CH9F"),e.sha1=n("fnjI"),e.sha224=n("cqoG"),e.sha256=n("olUY"),e.sha384=n("uDfV"),e.sha512=n("T9HO")},"aqI/":function(t,e,n){"use strict";var i=n("fZJM"),r=n("dlgc"),a=n("2j6C");function o(t){if(!(this instanceof o))return new o(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=r.toArray(t.entropy,t.entropyEnc||"hex"),n=r.toArray(t.nonce,t.nonceEnc||"hex"),i=r.toArray(t.pers,t.persEnc||"hex");a(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,i)}t.exports=o,o.prototype._init=function(t,e,n){var i=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r<this.V.length;r++)this.K[r]=0,this.V[r]=1;this._update(i),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},o.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(t,e,n,i){"string"!=typeof e&&(i=n,n=e,e=null),t=r.toArray(t,e),n=r.toArray(n,i),a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},o.prototype.generate=function(t,e,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(i=n,n=e,e=null),n&&(n=r.toArray(n,i||"hex"),this._update(n));for(var a=[];a.length<t;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var o=a.slice(0,t);return this._update(n),this._reseed++,r.encode(o,e)}},at63:function(t,e,n){var i=n("jIre"),r=n("hwdV").Buffer,a=n("vZ2G");function o(t){var e=t._cipher.encryptBlockRaw(t._prev);return a(t._prev),e}e.encrypt=function(t,e){var n=Math.ceil(e.length/16),a=t._cache.length;t._cache=r.concat([t._cache,r.allocUnsafe(16*n)]);for(var s=0;s<n;s++){var c=o(t),u=a+16*s;t._cache.writeUInt32BE(c[0],u+0),t._cache.writeUInt32BE(c[1],u+4),t._cache.writeUInt32BE(c[2],u+8),t._cache.writeUInt32BE(c[3],u+12)}var l=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),i(e,l)}},"b+dc":function(t,e,n){var i=n("hwdV").Buffer,r=n("Giow"),a=n("qVij"),o=n("MzeL").ec,s=n("OZ/i"),c=n("Ku4m"),u=n("zZGF");function l(t,e,n,a){if((t=i.from(t.toArray())).length<e.byteLength()){var o=i.alloc(e.byteLength()-t.length);t=i.concat([o,t])}var s=n.length,c=function(t,e){t=(t=h(t,e)).mod(e);var n=i.from(t.toArray());if(n.length<e.byteLength()){var r=i.alloc(e.byteLength()-n.length);n=i.concat([r,n])}return n}(n,e),u=i.alloc(s);u.fill(1);var l=i.alloc(s);return l=r(a,l).update(u).update(i.from([0])).update(t).update(c).digest(),u=r(a,l).update(u).digest(),{k:l=r(a,l).update(u).update(i.from([1])).update(t).update(c).digest(),v:u=r(a,l).update(u).digest()}}function h(t,e){var n=new s(t),i=(t.length<<3)-e.bitLength();return i>0&&n.ishrn(i),n}function f(t,e,n){var a,o;do{for(a=i.alloc(0);8*a.length<t.bitLength();)e.v=r(n,e.k).update(e.v).digest(),a=i.concat([a,e.v]);o=h(a,t),e.k=r(n,e.k).update(e.v).update(i.from([0])).digest(),e.v=r(n,e.k).update(e.v).digest()}while(-1!==o.cmp(t));return o}function d(t,e,n,i){return t.toRed(s.mont(n)).redPow(e).fromRed().mod(i)}t.exports=function(t,e,n,r,p){var m=c(e);if(m.curve){if("ecdsa"!==r&&"ecdsa/rsa"!==r)throw new Error("wrong private key type");return function(t,e){var n=u[e.curve.join(".")];if(!n)throw new Error("unknown curve "+e.curve.join("."));var r=new o(n).keyFromPrivate(e.privateKey).sign(t);return i.from(r.toDER())}(t,m)}if("dsa"===m.type){if("dsa"!==r)throw new Error("wrong private key type");return function(t,e,n){for(var r,a=e.params.priv_key,o=e.params.p,c=e.params.q,u=e.params.g,p=new s(0),m=h(t,c).mod(c),v=!1,b=l(a,c,t,n);!1===v;)p=d(u,r=f(c,b,n),o,c),0===(v=r.invm(c).imul(m.add(a.mul(p))).mod(c)).cmpn(0)&&(v=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t)),128&e[0]&&(e=[0].c
1oncat(e));var n=[48,t.length+e.length+4,2,t.length];return n=n.concat(t,[2,e.length],e),i.from(n)}(p,v)}(t,m,n)}if("rsa"!==r&&"ecdsa/rsa"!==r)throw new Error("wrong private key type");t=i.concat([p,t]);for(var v=m.modulus.byteLength(),b=[0,1];t.length+b.length+1<v;)b.push(255);b.push(0);for(var g=-1;++g<t.length;)b.push(t[g]);return a(b,m)},t.exports.getKey=l,t.exports.makeKey=f},bDwd:function(t,e,n){var i=n("hwdV").Buffer,r=n("ocFe"),a=n("eegf"),o=n("1IWx"),s=n("DacQ"),c=n("7tlc");function u(t,e){return i.from(t,e).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(t){var e=t.header,n=t.payload,i=t.secret||t.privateKey,r=t.encoding,o=a(e.alg),l=function(t,e,n){n=n||"utf8";var i=u(s(t),"binary"),r=u(s(e),n);return c.format("%s.%s",i,r)}(e,n,r),h=o.sign(l,i);return c.format("%s.%s",l,h)}function h(t){var e=new r(t.secret||t.privateKey||t.key);this.readable=!0,this.header=t.header,this.encoding=t.encoding,this.secret=this.privateKey=this.key=e,this.payload=new r(t.payload),this.secret.once("close",(function(){!this.payload.writable&&this.readable&&this.sign()}).bind(this)),this.payload.once("close",(function(){!this.secret.writable&&this.readable&&this.sign()}).bind(this))}c.inherits(h,o),h.prototype.sign=function(){try{var t=l({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",t),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},h.sign=l,t.exports=h},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("5+tZ"),r=n("SpAZ");function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(i.b)(r.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("5+tZ");function r(t,e){return Object(i.b)(t,e,1)}},bSwM:function(t,e,n){"use strict";n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return w}));var i=n("8LU1"),r=n("fXoL"),a=n("3Pt+"),o=n("FKr1"),s=n("R1ws"),c=n("GU7r"),u=n("u47x"),l=["input"],h=function(){return{enterDuration:150}},f=["*"],d=new r.s("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),p=new r.s("mat-checkbox-click-action"),m=0,v={provide:a.i,useExisting:Object(r.V)((function(){return y})),multi:!0},b=function t(){Qe(this,t)},g=Object(o.C)(Object(o.x)(Object(o.y)(Object(o.z)((function t(e){Qe(this,t),this._elementRef=e}))))),y=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,a,o,s,c,u,l){var h;return Qe(this,n),(h=e.call(this,t))._changeDetectorRef=i,h._focusMonitor=a,h._ngZone=o,h._clickAction=c,h._animationMode=u,h._options=l,h.ariaLabel="",h.ariaLabelledby=null,h._uniqueId="mat-checkbox-"+ ++m,h.id=h._uniqueId,h.labelPosition="after",h.name=null,h.change=new r.o,h.indeterminateChange=new r.o,h._onTouched=function(){},h._currentAnimationClass="",h._currentCheckState=0,h._controlValueAccessorChangeFn=function(){},h._checked=!1,h._disabled=!1,h._indeterminate=!1,h._options=h._options||{},h._options.color&&(h.color=h._options.color),h.tabIndex=parseInt(s)||0,h._clickAction=h._clickAction||h._options.clickAction,h}return tn(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){e||Promise.resolve().then((function(){t._onTouched(),t._changeDetectorRef.markForCheck()}))})),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(i)}),1e3)}))}}},{key:"_emitChangeEvent",value:function(){var t=new b;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,t,e)}},{key:"_onInteractionEvent",value:function(t){t.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}},{key:"_syncIndeterminate",value:function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(i.c)(t)}},{key:"checked",get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){var e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),n}(g);return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(r.h),r.Nb(u.h),r.Nb(r.B),r.dc("tabindex"),r.Nb(p,8),r.Nb(s.a,8),r.Nb(d,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var n;1&t&&(r.Qc(l,!0),r.Qc(o.s,!0)),2&t&&(r.xc(n=r.hc())&&(e._inputElement=n.first),r.xc(n=r.hc())&&(e.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Wb("id",e.id),r.Cb("tabindex",null),r.Fb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"}
1,exportAs:["matCheckbox"],features:[r.Ab([v]),r.yb],ngContentSelectors:f,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.qc(),r.Tb(0,"label",0,1),r.Tb(2,"div",2),r.Tb(3,"input",3,4),r.gc("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),r.Sb(),r.Tb(5,"div",5),r.Ob(6,"div",6),r.Sb(),r.Ob(7,"div",7),r.Tb(8,"div",8),r.jc(),r.Tb(9,"svg",9),r.Ob(10,"path",10),r.Sb(),r.ic(),r.Ob(11,"div",11),r.Sb(),r.Sb(),r.Tb(12,"span",12,13),r.gc("cdkObserveContent",(function(){return e._onLabelTextChange()})),r.Tb(14,"span",14),r.Lc(15,"\xa0"),r.Sb(),r.pc(16),r.Sb(),r.Sb()),2&t){var n=r.yc(1),i=r.yc(13);r.Cb("for",e.inputId),r.Bb(2),r.Fb("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),r.Bb(1),r.rc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.Cb("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),r.Bb(2),r.rc("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.uc(19,h))}},directives:[o.s,c.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}
1@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t}(),_=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)}}),t}(),w=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[o.t,o.j,c.c,_],o.j,_]}),t}()},bTqV:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return f}));var i=n("FKr1"),r=n("R1ws"),a=n("fXoL"),o=n("u47x"),s=["mat-button",""],c=["*"],u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],l=Object(i.x)(Object(i.z)(Object(i.y)((function t(e){Qe(this,t),this._elementRef=e})))),h=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;Qe(this,n),(a=e.call(this,t))._focusMonitor=i,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");var o,s=Ge(u);try{for(s.s();!(o=s.n()).done;){var c=o.value;a._hasHostAttributes(c)&&a._getHostElement().classList.add(c)}}catch(l){s.e(l)}finally{s.f()}return t.nativeElement.classList.add("mat-button-base"),a.isRoundButton&&(a.color="accent"),a}return tn(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),t,e)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.some((function(e){return t._getHostElement().hasAttribute(e)}))}}]),n}(l);return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(o.h),a.Nb(r.a,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){var n;1&t&&a.Qc(i.s,!0),2&t&&a.xc(n=a.hc())&&(e.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(a.Cb
1("disabled",e.disabled||null),a.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.yb],attrs:s,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(a.qc(),a.Tb(0,"span",0),a.pc(1),a.Sb(),a.Ob(2,"div",1),a.Ob(3,"div",2)),2&t&&(a.Bb(2),a.Fb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),a.rc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.s],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t}(),f=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[i.t,i.j],i.j]}),t}()},bmkK:function(t,e,n){var i=n("KRB3"),r=function(t,e){i.call(this,t),this.name="TokenExpiredError",this.expiredAt=e};(r.prototype=Object.create(i.prototype)).constructor=r,t.exports=r},bu2F:function(t,e,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("qlaj"),o=n("2j6C"),s=i.sum32,c=i.sum32_4,u=i.sum32_5,l=a.ch32,h=a.maj32,f=a.s0_256,d=a.s1_256,p=a.g0_256,m=a.g1_256,v=r.BlockH
1ash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}i.inherits(g,v),t.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(t,e){for(var n=this.W,i=0;i<16;i++)n[i]=t[e+i];for(;i<n.length;i++)n[i]=c(m(n[i-2]),n[i-7],p(n[i-15]),n[i-16]);var r=this.h[0],a=this.h[1],v=this.h[2],b=this.h[3],g=this.h[4],y=this.h[5],_=this.h[6],w=this.h[7];for(o(this.k.length===n.length),i=0;i<n.length;i++){var k=u(w,d(g),l(g,y,_),this.k[i],n[i]),S=s(f(r),h(r,a,v));w=_,_=y,y=g,g=s(b,k),b=v,v=a,a=r,r=s(k,S)}this.h[0]=s(this.h[0],r),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],v),this.h[3]=s(this.h[3],b),this.h[4]=s(this.h[4],g),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],_),this.h[7]=s(this.h[7],w)},g.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return i}))},cH1L:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return o}));var i=n("fXoL"),r=n("ofXK"),a=new i.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.W)(r.e)}}),o=function(){var t=function(){function t(e){if(Qe(this,t),this.value="ltr",this.change=new i.o,e){var n=e.documentElement?e.documentElement.dir:null,r=(e.body?e.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}
1return tn(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(a,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.cc)(a,8))},token:t,providedIn:"root"}),t}(),s=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t}()},cp0P:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("HDdC"),r=n("DH7j"),a=n("lJxs"),o=n("XoHu"),s=n("Cfvw");function c(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(1===e.length){var i=e[0];if(Object(r.a)(i))return u(i,null);if(Object(o.a)(i)&&Object.getPrototypeOf(i)===Object.prototype){var s=Object.keys(i);return u(s.map((function(t){return i[t]})),s)}}if("function"==typeof e[e.length-1]){var c=e.pop();return u(e=1===e.length&&Object(r.a)(e[0])?e[0]:e,null).pipe(Object(a.a)((function(t){return c.apply(void 0,Xe(t))})))}return u(e,null)}function u(t,e){return new i.a((function(n){var i=t.length;if(0!==i)for(var r=new Array(i),a=0,o=0,c=function(c){var u=Object(s.a)(t[c]),l=!1;n.add(u.subscribe({next:function(t){l||(l=!0,o++),r[c]=t},error:function(t){return n.error(t)},complete:function(){++a!==i&&l||(o===i&&n.next(e?e.reduce((function(t,e,n){return t[e]=r[n],t}),{}):r),n.complete())}}))},u=0;u<i;u++)c(u);else n.complete()}))}},cqoG:function(t,e,n){var i=n("P7XM"),r=n("olUY"),a=n("tnIz"),o=n("hwdV").Buffer,s=new Array(64);function c(){this.init(),this._w=s,a.call(this,64,56)}i(c,r),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var t=o.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t}
1,t.exports=c},crnd:function(t,e,n){var i={"./app.page/app.page.module":["FOr8",1,13],"./calendar/calendar.module":["O51e",14],"./charts/charts.module":["eGC9",15],"./cluster/cluster.module":["iNK9",1,9],"./dashboard/dashboard.module":["TDBs",4,3,16],"./forms/forms.module":["9Nm5",10],"./logs/logs.module":["pQIV",17],"./maps/maps.module":["x04h",18],"./pages/pages.module":["dgmN",19],"./server.settings/server.settings.module":["U4wX",4,20],"./support/support.module":["ZlwT",1,3,21],"./tables/tables.module":["w7GV",22],"./timeline/timeline.module":["WQCU",23],"./userpage/user.module":["hU7q",24]};function r(t){if(!n.o(i,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=i[t],r=e[0];return Promise.all(e.slice(1).map(n.e)).then((function(){return n(r)}))}r.keys=function(){return Object.keys(i)},r.id="crnd",t.exports=r},d3UM:function(t,e,n){"use strict";n.d(e,"a",(function(){return H})),n.d(e,"b",(function(){return q}));var i=n("rDax"),r=n("ofXK"),a=n("fXoL"),o=n("FKr1"),s=n("kmnG"),c=n("vxfF"),u=n("u47x"),l=n("8LU1"),h=n("0EQZ"),f=n("FtGj"),d=n("XNiG"),p=n("NXyV"),m=n("VRyK"),v=n("JX91"),b=n("eIep"),g=n("IzEk"),y=n("pLZG"),_=n("lJxs"),w=n("/uUt"),k=n("1G5W"),S=n("R0Ic"),x=n("cH1L"),C=n("3Pt+"),T=["trigger"],E=["panel"];function O(t,e){if(1&t&&(a.Tb(0,"span",8),a.Lc(1),a.Sb()),2&t){var n=a.kc();a.Bb(1),a.Mc(n.placeholder||"\xa0")}}function M(t,e){if(1&t&&(a.Tb(0,"span"),a.Lc(1),a.Sb()),2&t){var n=a.kc(2);a.Bb(1),a.Mc(n.triggerValue||"\xa0")}}function A(t,e){1&t&&a.pc(0,0,["*ngSwitchCase","true"])}function I(t,e){if(1&t&&(a.Tb(0,"span",9),a.Jc(1,M,2,1,"span",10),a.Jc(2,A,1,0,"ng-content",11),a.Sb()),2&t){var n=a.kc();a.rc("ngSwitch",!!n.customTrigger),a.Bb(2),a.rc("ngSwitchCase",!0)}}function R(t,e){if(1&t){var n=a.Ub();a.Tb(0,"div",12),a.Tb(1,"div",13,14),a.gc("@transformPanel.done",(function(t){return a.Ac(n),a.kc()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return a.Ac(n),a.kc()._handleKeydown(t)})),a.pc(3,1),a.Sb(),a.Sb()}if(2&t){var i=a.kc();a.rc("@transformPanelWrap",void 0),a.Bb(1),a.Eb("mat-select-panel ",i._getPanelTheme(),""),a.Gc("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),a.rc("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),a.Cb("id",i.id+"-panel")}}var L=[[["mat-select-trigger"]],"*"],P=["mat-select-trigger","*"],j={transformPanelWrap:Object(S.n)("transformPanelWrap",[Object(S.m)("* => void",Object(S.i)("@transformPanel",[Object(S.f)()],{optional:!0}))]),transformPanel:Object(S.n)("transformPanel",[Object(S.k)("void",Object(S.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0}
1)),Object(S.k)("showing",Object(S.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(S.k)("showing-multiple",Object(S.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(S.m)("void => *",Object(S.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(S.m)("* => void",Object(S.e)("100ms 25ms linear",Object(S.l)({opacity:0})))])},D=0,N=new a.s("mat-select-scroll-strategy"),B=new a.s("MAT_SELECT_CONFIG"),F={provide:N,deps:[i.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},z=function t(e,n){Qe(this,t),this.source=e,this.value=n},V=Object(o.y)(Object(o.C)(Object(o.z)(Object(o.A)((function t(e,n,i,r,a){Qe(this,t),this._elementRef=e,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a}))))),U=new a.s("MatSelectTrigger"),H=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,r,o,s,c,u,l,h,f,w,k,S,x){var C;return Qe(this,n),(C=e.call(this,s,o,u,l,f))._viewportRuler=t,C._changeDetectorRef=i,C._ngZone=r,C._dir=c,C._parentFormField=h,C.ngControl=f,C._liveAnnouncer=S,C._panelOpen=!1,C._required=!1,C._scrollTop=0,C._multiple=!1,C._compareWith=function(t,e){return t===e},C._uid="mat-select-"+D++,C._destroy=new d.a,C._triggerFontSize=0,C._onChange=function(){},C._onTouched=function(){},C._optionIds="",C._transformOrigin="top",C._panelDoneAnimatingStream=new d.a,C._offsetY=0,C._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],C._disableOptionCentering=!1,C._focused=!1,C.controlType="mat-select",C.ariaLabel="",C.optionSelectionChanges=Object(p.a)((function(){var t=C.options;return t?t.changes.pipe(Object(v.a)(t),Object(b.a)((function(){return Object(m.a).apply(void 0,Xe(t.map((function(t){return t.onSelectionChange}))))}))):C._ngZone.onStable.asObservable().pipe(Object(g.a)(1),Object(b.a)((function(){return C.optionSelectionChanges})))})),C.openedChange=new a.o,C._openedStream=C.openedChange.pipe(Object(y.a)((function(t){return t})),Object(_.a)((function(){}
1))),C._closedStream=C.openedChange.pipe(Object(y.a)((function(t){return!t})),Object(_.a)((function(){}))),C.selectionChange=new a.o,C.valueChange=new a.o,C.ngControl&&(C.ngControl.valueAccessor=on(C)),C._scrollStrategyFactory=k,C._scrollStrategy=C._scrollStrategyFactory(),C.tabIndex=parseInt(w)||0,C.id=C.id,x&&(null!=x.disableOptionCentering&&(C.disableOptionCentering=x.disableOptionCentering),null!=x.typeaheadDebounceInterval&&(C.typeaheadDebounceInterval=x.typeaheadDebounceInterval)),C}return tn(n,[{key:"ngOnInit",value:function(){var t=this;this._selectionModel=new h.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(w.a)(),Object(k.a)(this._destroy)).subscribe((function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Object(k.a)(this._destroy)).subscribe((function(){t._panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var t=this;this._initKeyManager(),this._selectionModel.changed.pipe(Object(k.a)(this._destroy)).subscribe((function(t){t.added.forEach((function(t){return t.select()})),t.removed.forEach((function(t){return t.deselect()}))})),this.options.changes.pipe(Object(v.a)(null),Object(k.a)(this._destroy)).subscribe((function(){t._resetOptions(),t._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(g.a)(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(t){this.value=t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}},{key:"_handleClosedKeydown",value:function(t){var e=t.keyCode,n=e===f.d||e===f.p||e===f.i||e===f.m,i=e===f.f||e===f.n,r=this._keyManager;if(!r.isTyping()&&i&&!Object(f.s)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;e===f.h||e===f.e?(e===f.h?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(t){var e=this._keyManager,n=t.keyCode,i=n===f.d||n===f.p,r=e.isTyping();if(n===f.h||n===f.e)t.preventDefault(),n===f.h?e.setFirstItemActive():e.setLastItemActive();else if(i&&t.altKey)t.preventDefault(),this.close();else if(r||n!==f.f&&n!==f.n||!e.activeItem||Object(f.s)(t))if(!r&&this._multiple&&n===f.a&&t.ctrlKey){t.preventDefault();var a=this.options.some((function(t){return!t.disabled&&!t.selected}));this.options.forEach((function(t){t.disabled||(a?t.select():t.deselect())}))}else{var o=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==o&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var t=this;this.overlayDir.positionChange.pipe(Object(g.a)(1)).subscribe((function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-"+this._parentFormField.color:""}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then((function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()}))}},{key:"_setSelectionByValue",value:function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach((function(t){return e._selectValue(t)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(t){var e=this,n=this.options.find((function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return Object(a.X)()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var t=this;this._keyManager=new u.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(k.a)(this._destroy)).subscribe((function(){t.panelOpen&&(!t.multiple&&t._keyManager.activeItem&&t._keyManager.activeItem._selectViaInteraction(),t.focus(),t.close())})),this._keyManager.change.pipe(Object(k.a)(this._destroy)).subscribe((function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var t=this,e=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(k.a)(e)).subscribe((function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())})),Object(m.a).apply(void 0,Xe(this.options.map((function(t){return t._stateChanges})))).pipe(Object(k.a)(e)).subscribe((function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value:function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort((function(n,i){return t.sortComparator?t.sortComparator(n,i,e):e.indexOf(n)-e.indexOf(i)})),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(t){var e;e=this.multiple?this.selected.map((function(t){return t.value})):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new z(this,e)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(t){return t.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var t=this._keyManager.activeItemIndex||0,e=Object(o.v)(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(o.w)(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_getOptionIndex",value:function(t){return this.options.reduce((function(e,n,i){return void 0!==e?e:t===n?i:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Object(o.v)(r,this.options,this.optionGroups);var a=n/2;this._scrollTop=this._calculateOverlayScroll(r,a,i),this._offsetY=this._calculateOverlayOffsetY(r,a,i),this._checkOverlayWithinViewport(i)}},{key:"_calculateOverlayScroll",value:function(t,e,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value:function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)t=40;else{var a=this._selectionModel.selected[0]||this.options.first;t=a&&a.group?32:16}i||(t*=-1);var o=0-(e.left+t-(i?r:0)),s=e.right+t-n.width+(i?0:r);o>0?t+=o+8:s>0&&(t-=s+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(t,e,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?t*r:this._scrollTop===n?(t-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-256)%r):e-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,t):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(t,e,n){var i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_getOriginBasedOnOption",value:function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-e+t/2,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(l.c)(t),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(l.c)(t)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Object(l.c)(t)}},{key:"compareWith",get:function(){return this._compareWith}
1,set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){t!==this._value&&(this.options&&this._setSelectionByValue(t),this._value=t)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(t){this._typeaheadDebounceInterval=Object(l.f)(t)}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map((function(t){return t.viewValue}));return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),n}(V);return t.\u0275fac=function(e){return new(e||t)(a.Nb(c.e),a.Nb(a.h),a.Nb(a.B),a.Nb(o.d),a.Nb(a.l),a.Nb(x.b,8),a.Nb(C.m,8),a.Nb(C.e,8),a.Nb(s.a,8),a.Nb(C.j,10),a.dc("tabindex"),a.Nb(N),a.Nb(u.k),a.Nb(B,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){var i;1&t&&(a.Gb(n,U,!0),a.Gb(n,o.n,!0),a.Gb(n,o.g,!0)),2&t&&(a.xc(i=a.hc())&&(e.customTrigger=i.first),a.xc(i=a.hc())&&(e.options=i),a.xc(i=a.hc())&&(e.optionGroups=i))},viewQuery:function(t,e){var n;1&t&&(a.Qc(T,!0),a.Qc(E,!0),a.Qc(i.a,!0)),2&t&&(a.xc(n=a.hc())&&(e.trigger=n.first),a.xc(n=a.hc())&&(e.panel=n.first),a.xc(n=a.hc())&&(e.overlayDir=n.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(t,e){1&t&&a.gc("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(a.Cb("id",e.id)("tabindex",e.tabIndex)("aria-label",e._getAriaLabel())("aria-labelledby",e._getAriaLabelledby())("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-owns",e.panelOpen?e._optionIds:null)("aria-multiselectable",e.multiple)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),a.Fb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[a.Ab([{provide:s.c,useExisting:t},{provide:o.h,useExisting:t}]),a.yb,a.zb],ngContentSelectors:P,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(a.qc(L),a.Tb(0,"div",0,1),a.gc("click",(function(){return e.toggle(
1)})),a.Tb(3,"div",2),a.Jc(4,O,2,1,"span",3),a.Jc(5,I,3,2,"span",4),a.Sb(),a.Tb(6,"div",5),a.Ob(7,"div",6),a.Sb(),a.Sb(),a.Jc(8,R,4,11,"ng-template",7),a.gc("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){var n=a.yc(1);a.Bb(3),a.rc("ngSwitch",e.empty),a.Bb(1),a.rc("ngSwitchCase",!0),a.Bb(1),a.rc("ngSwitchCase",!1),a.Bb(3),a.rc("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.b,r.r,r.s,i.a,r.t,r.n],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[j.transformPanelWrap,j.transformPanel]},changeDetection:0}),t}(),q=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[[r.c,i.f,o.o,o.j],c.b,s.d,o.o,o.j]}),t}()},dcwN:function(t,e,n){"use strict";(function(t,i){function r(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=n("hwdV"),o=n("Edxu"),s=a.Buffer,c=a.kMaxLength,u=t.crypto||t.msCrypto,l=Math.pow(2,32)-1;function h(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>l||t<0)throw new TypeError("offset must be a uint32");if(t>c||t>e)throw new RangeError("offset out of range")}function f(t,e,n){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>l||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>c)throw new RangeError("buffer too small")}function d(t,e,n,r){if(i.browser){var a=new Uint8Array(t.buffer,e,n);return u.getRandomValues(a),r?void i.nextTick((function(){r(null,t)})):t}if(!r)return o(n).copy(t,e),t;
1o(n,(function(n,i){if(n)return r(n);i.copy(t,e),r(null,t)}))}u&&u.getRandomValues||!i.browser?(e.randomFill=function(e,n,i,r){if(!(s.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)r=n,n=0,i=e.length;else if("function"==typeof i)r=i,i=e.length-n;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return h(n,e.length),f(i,n,e.length),d(e,n,i,r)},e.randomFillSync=function(e,n,i){if(void 0===n&&(n=0),!(s.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return h(n,e.length),void 0===i&&(i=e.length-n),f(i,n,e.length),d(e,n,i)}):(e.randomFill=r,e.randomFillSync=r)}).call(this,n("yLpj"),n("8oxB"))},djWg:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("HDdC"),r=(n("4XzM"),n("S7rW"),n("EUDy"),n("U/Bw")),a=n("fXoL"),o=n("tk/3"),s=n("tyNb"),c=function(){var t=function(){function t(e,n){Qe(this,t),this.http=e,this.router=n}return tn(t,[{
1key:"handleError",value:function(t){return 401==t.status&&(console.log("error -response: --\x3e "+t),this.router.navigateByUrl("/pages/login")),i.a.throw(t||"Server error")}},{key:"getRestServiceRoot",value:function(){return r.d+"/support"}},{key:"sendRequest",value:function(t){return this.http.post(this.getRestServiceRoot()+"/request",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.cc(o.b),a.cc(s.c))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}()},dlgc:function(t,e,n){"use strict";var i=e;function r(t){return 1===t.length?"0"+t:t}function a(t){for(var e="",n=0;n<t.length;n++)e+=r(t[n].toString(16));return e}i.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"!=typeof t){for(var i=0;i<t.length;i++)n[i]=0|t[i];return n}if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16));else for(i=0;i<t.length;i++){var r=t.charCodeAt(i),a=r>>8,o=255&r;a?n.push(a,o):n.push(o)}return n},i.zero2=r,i.toHex=a,i.encode=function(t,e){return"hex"===e?a(t):t}},"eA/Y":function(t,e,n){"use strict";t.exports=a;var i=n("J78i"),r=Object.create(n("Onz0"));function a(t){if(!(this instanceof a))return new a(t);i.call(this,t)}r.inherits=n("P7XM"),r.inherits(a,i),a.prototype._transform=function(t,e,n){n(null,t)}},eIep:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("lJxs"),r=n("Cfvw"),a=n("zx2A");function o(t,e){return"function"==typeof e?function(n){return n.pipe(o((function(n,a){return Object(r.a)(t(n,a)).pipe(Object(i.a)((function(t,i){return e(n,t,a,i)})))})))}:function(e){return e.lift(new s(t))}}var s=function(){function t(e){Qe(this,t),this.project=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project))}}]),t}(),c=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).project=i,r.index=0,r}return tn(n,[{key:"_next",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new a.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(a.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var t=this.innerSubscription;t&&!t.closed||Je(cn(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&Je(cn(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t){this.destination.next(t)}}]),n}(a.b)},eNwd:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(t){en(n,t);var e=rn(n);function n(t,i){var r;
1return Qe(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return tn(n,[{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?Je(cn(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((function(){return t.flush(null)}))))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return Je(cn(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),n}(n("3N8a").a),r=new(function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}}}]),n}(n("IjjT").a))(i),a=r},eegf:function(t,e,n){var i=n("tc1l"),r=n("hwdV").Buffer,a=n("HEbw"),o=n("ij2l"),s=n("7tlc"),c="secret must be a string or buffer",u="key must be a string or a buffer",l="function"==typeof a.createPublicKey;function h(t){if(!r.isBuffer(t)&&"string"!=typeof t){if(!l)throw m(u);if("object"!=typeof t)throw m(u);if("string"!=typeof t.type)throw m(u);if("string"!=typeof t.asymmetricKeyType)throw m(u);if("function"!=typeof t.export)throw m(u)}}function f(t){if(!r.isBuffer(t)&&"string"!=typeof t&&"object"!=typeof t)throw m("key must be a string, a buffer or an object")}function d(t){return t.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(t){var e=4-(t=t.toString()).length%4;if(4!==e)for(var n=0;n<e;++n)t+="=";return t.replace(/\-/g,"+").replace(/_/g,"/")}function m(t){var e=[].slice.call(arguments,1),n=s.format.bind(s,t).apply(null,e);return new TypeError(n)}function v(t){var e;return r.isBuffer(e=t)||"string"==typeof e||(t=JSON.stringify(t)),t}function b(t){return function(e,n){!function(t){if(!r.isBuffer(t)){if("string"==typeof t)return t;if(!l)throw m(c);if("object"!=typeof t)throw m(c);if("secret"!==t.type)throw m(c);if("function"!=typeof t.export)throw m(c)}}(n),e=v(e);var i=a.createHmac("sha"+t,n);return d((i.update(e),i.digest("base64")))}}function g(t){return function(e,n,a){var o=b(t)(e,a);return i(r.from(n),r.from(o))}}function y(t){return function(e,n){f(n),e=v(e);var i=a.createSign("RSA-SHA"+t);return d((i.update(e),i.sign(n,"base64")))}}function _(t){return function(e,n,i){h(i),e=v(e),n=p(n);var r=a.createVerify("RSA-SHA"+t);return r.update(e),r.verify(i,n,"base64")}}function w(t){return function(e,n){f(n),e=v(e);var i=a.createSign("RSA-SHA"+t);return d((i.update(e),i.sign({key:n,padding:a.constants.RSA_PKCS1_PSS_PADDING,saltLength:a.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function k(t){return function(e,n,i){h(i),e=v(e),n=p(n);var r=a.createVerify("RSA-SHA"+t);return r.update(e),r.verify({key:i,padding:a.constants.RSA_PKCS1_PSS_PADDING,saltLength:a.constants.RSA_PSS_SALTLEN_DIGEST},n,"base64")}}function S(t){var e=y(t);return function(){var n=e.apply(null,arguments);return o.derToJose(n,"ES"+t)}}function x(t){var e=_(t);return function(n,i,r){return i=o.joseToDer(i,"ES"+t).toString("base64"),e(n,i,r)}}function C(){return function(){return""}}function T(){return function(t,e){return""===e}}l&&(u+=" or a KeyObject",c+="or a KeyObject"),t.exports=function(t){var e={hs:b,rs:y,ps:w,es:S,none:C},n={hs:g,rs:_,ps:k,es:x,none:T},i=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!i)throw m('"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',t);var r=(i[1]||i[3]).toLowerCase(),a=i[2];return{sign:e[r](a),verify:n[r](a)}}},ehAg:function(t,e,n){var i=n("AQYT"),r=n("/ayr");function a(t){this.rand=t||new r.Rand}t.exports=a,a.create=function(t){return new a(t)},a.prototype._randbelow=function(t){var e=t.bitLength(),n=Math.ceil(e/8);do{var r=new i(this.rand.generate(n))}while(r.cmp(t)>=0);return r},a.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},a.prototype.test=function(t,e,n){var r=t.bitLength(),a=i.mont(t),o=new i(1).toRed(a);e||(e=Math.max(1,r/48|0));for(var s=t.subn(1),c=0;!s.testn(c);c++);for(var u=t.shrn(c),l=s.toRed(a);e>0;e--){var h=this._randrange(new i(2),s);n&&n(h);var f=h.toRed(a).redPow(u);if(0!==f.cmp(o)&&0!==f.cmp(l)){for(var d=1;d<c;d++){if(0===(f=f.redSqr()).cmp(o))return!1;if(0===f.cmp(l))break}if(d===c)return!1}}return!0},a.prototype.getDivisor=function(t,e){var n=t.bitLength(),r=i.mont(t),a=new i(1).toRed(r);e||(e=Math.max(1,n/48|0));for(var o=t.subn(1),s=0;!o.testn(s);s++);for(var c=t.shrn(s),u=o.toRed(r);e>0;e--){var l=this._randrange(new i(2),o),h=t.gcd(l);if(0!==h.cmpn(1))return h;var f=l.toRed(r).redPow(c);if(0!==f.cmp(a)&&0!==f.cmp(u)){for(var d=1;d<s;d++){if(0===(f=f.redSqr()).cmp(a))return f.fromRed().subn(1).gcd(t);if(0===f.cmp(u))break}if(d===s)return(f=f.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},eikZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("XNiG"),r=n("fXoL"),a=function(){var t=function(){function t(){Qe(this,t),this.observeData=new i.a,this.data=this.observeData.asObservable()}
1return tn(t,[{key:"writeData",value:function(t){console.log(t),this.observeData.next(t),this.serviceData=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t}()},f0Cb:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n("8LU1");var i=n("FKr1"),r=n("fXoL"),a=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[i.j],i.j]}),t}()},f3pb:function(t,e,n){"use strict";var i=e;i.bignum=n("AQYT"),i.define=n("7zrB").define,i.base=n("Qd/k"),i.constants=n("AhHn"),i.decoders=n("IPZY"),i.encoders=n("ND7S")},fSpj:function(t,e){var n=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!=e)throw new TypeError("Bad key length")}},fXKp:function(t,e,n){"use strict";var i=n("qPBE").Buffer,r=i.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(i.isEncoding===r||!r(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=l,this.end=h,e=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(e)}function o(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):e}function l(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.StringDecoder=a,a.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},a.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},a.prototype.text=function(t,e){var n=function(t,e,n){var i=e.length-1;if(i<n)return 0;var r=o(e[i]);return r>=0?(r>0&&(t.lastNeed=r-1),r):--i<n||-2===r?0:(r=o(e[i]))>=0?(r>0&&(t.lastNeed=r-2),r):--i<n||-2===r?0:(r=o(e[i]))>=0?(r>0&&(2===r?r=0:t.lastNeed=r-3),r):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var i=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)},a.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},fXoL:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Ya})),n.d(e,"b",(function(){return nl})),n.d(e,"c",(function(){return Zu})),n.d(e,"d",(function(){return Gu})),n.d(e,"e",(function(){return Yu})),n.d(e,"f",(function(){return Kl})),n.d(e,"g",(function(){return jl})),n.d(e,"h",(function(){return Ra})),n.d(e,"i",(function(){return dl})),n.d(e,"j",(function(){return Ns})),n.d(e,"k",(function(){return al})),n.d(e,"l",(function(){return Bs})),n.d(e,"m",(function(){return Ul})),n.d(e,"n",(function(){return Vn})),n.d(e,"o",(function(){return Cu})),n.d(e,"p",(function(){return K})),n.d(e,"q",(function(){return l})),n.d(e,"r",(function(){return p})),n.d(e,"s",(function(){return W})),n.d(e,"t",(function(){return Ga})),n.d(e,"u",(function(){return ic})),n.d(e,"v",(function(){return rc})),n.d(e,"w",(function(){return rl})),n.d(e,"x",(function(){return ot})),n.d(e,"y",(function(){return Nl})),n.d(e,"z",(function(){return at})),n.d(e,"A",(function(){return Al})),n.d(e,"B",(function(){return vl})),n.d(e,"C",(function(){return h})),n.d(e,"D",(function(){return el})),n.d(e,"E",(function(){return tl})),n.d(e,"F",(function(){return Eu})),n.d(e,"G",(function(){return Us})),n.d(e,"H",(function(){return zs})),n.d(e,"I",(function(){return Vs})),n.d(e,"J",(function(){return qs})),n.d(e,"K",(function(){return Ii})),n.d(e,"L",(function(){return d})),n.d(e,"M",(function(){return zl})),n.d(e,"N",(function(){return cc})),n.d(e,"O",(function(){return xl})),n.d(e,"P",(function(){return Pa})),n.d(e,"Q",(function(){return Ws})),n.d(e,"R",(function(){return lc})),n.d(e,"S",(function(){return bt})),n.d(e,"T",(function(){return Il})),n.d(e,"U",(function(){return ai})),n.d(e,"V",(function(){return A})),n.d(e,"W",(function(){return et})),n.d(e,"X",(function(){return ri})),n.d(e,"Y",(function(){return ql})),n.d(e,"Z",(function(){return Tl})),n.d(e,"ab",(function(){return il})),n.d(e,"bb",(function(){return ja})),n.d(e,"cb",(function(){return Tc}
1)),n.d(e,"db",(function(){return Mi})),n.d(e,"eb",(function(){return hi})),n.d(e,"fb",(function(){return Gn})),n.d(e,"gb",(function(){return Zn})),n.d(e,"hb",(function(){return ei})),n.d(e,"ib",(function(){return $n})),n.d(e,"jb",(function(){return Qn})),n.d(e,"kb",(function(){return ti})),n.d(e,"lb",(function(){return kc})),n.d(e,"mb",(function(){return Hl})),n.d(e,"nb",(function(){return Sc})),n.d(e,"ob",(function(){return xc})),n.d(e,"pb",(function(){return Yn})),n.d(e,"qb",(function(){return N})),n.d(e,"rb",(function(){return eo})),n.d(e,"sb",(function(){return xo})),n.d(e,"tb",(function(){return So})),n.d(e,"ub",(function(){return wc})),n.d(e,"vb",(function(){return Xt})),n.d(e,"wb",(function(){return E})),n.d(e,"xb",(function(){return Jn})),n.d(e,"yb",(function(){return ks})),n.d(e,"zb",(function(){return Vt})),n.d(e,"Ab",(function(){return Ps})),n.d(e,"Bb",(function(){return Qi})),n.d(e,"Cb",(function(){return oo})),n.d(e,"Db",(function(){return $o})),n.d(e,"Eb",(function(){return bs})),n.d(e,"Fb",(function(){return Zo})),n.d(e,"Gb",(function(){return zu})),n.d(e,"Hb",(function(){return wt})),n.d(e,"Ib",(function(){return Ot})),n.d(e,"Jb",(function(){return b})),n.d(e,"Kb",(function(){return g})),n.d(e,"Lb",(function(){return Ct})),n.d(e,"Mb",(function(){return Mt})),n.d(e,"Nb",(function(){return lo})),n.d(e,"Ob",(function(){return go})),n.d(e,"Pb",(function(){return wo})),n.d(e,"Qb",(function(){return _o})),n.d(e,"Rb",(function(){return yo})),n.d(e,"Sb",(function(){return bo})),n.d(e,"Tb",(function(){return vo})),n.d(e,"Ub",(function(){return ko})),n.d(e,"Vb",(function(){return Nn})),n.d(e,"Wb",(function(){return ys})),n.d(e,"Xb",(function(){return iu})),n.d(e,"Yb",(function(){return ru})),n.d(e,"Zb",(function(){return tu})),n.d(e,"ac",(function(){return $c})),n.d(e,"bc",(function(){return Gc})),n.d(e,"cc",(function(){return tt})),n.d(e,"dc",(function(){return ho})),n.d(e,"ec",(function(){return Ju})),n.d(e,"fc",(function(){return fo})),n.d(e,"gc",(function(){return Co})),n.d(e,"hc",(function(){return Hu})),n.d(e,"ic",(function(){return ze})),n.d(e,"jc",(function(){return Fe})),n.d(e,"kc",(function(){return Ao})),n.d(e,"lc",(function(){return yu})),n.d(e,"mc",(function(){return _u})),n.d(e,"nc",(function(){return wu})),n.d(e,"oc",(function(){return ku})),n.d(e,"pc",(function(){return jo})),n.d(e,"qc",(function(){return Ro})),n.d(e,"rc",(function(){return po})),n.d(e,"sc",(function(){return Do})),n.d(e,"tc",(function(){return No})),n.d(e,"uc",(function(){return du})),n.d(e,"vc",(function(){return pu})),n.d(e,"wc",(function(){return mu})),n.d(e,"xc",(function(){return Du})),n.d(e,"yc",(function(){return uo})),n.d(e,"zc",(function(){return gn})),n.d(e,"Ac",(function(){return de})),n.d(e,"Bc",(function(){return Ri})),n.d(e,"Cc",(function(){return Tt})),n.d(e,"Dc",(function(){return Vu})),n.d(e,"Ec",(function(){return Nu})),n.d(e,"Fc",(function(){return gs})),n.d(e,"Gc",(function(){return Yo})),n.d(e,"Hc",(function(){return To})),n.d(e,"Ic",(function(){return _s})),n.d(e,"Jc",(function(){return co})),n.d(e,"Kc",(function(){return Xu})),n.d(e,"Lc",(function(){return fs})),n.d(e,"Mc",(function(){return ds})),n.d(e,"Nc",(function(){return ps})),n.d(e,"Oc",(function(){return ms})),n.d(e,"Pc",(function(){return vs})),n.d(e,"Qc",(function(){return Bu}));var i=n("XNiG"),r=n("quSY"),a=n("HDdC"),o=n("VRyK"),s=n("w1tV");function c(t){return{toString:t}.toString()}function u(t,e,n){return c((function(){var i=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}(e);function r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(this instanceof r)return i.apply(this,e),this;var a=We(r,e);return o.annotation=a,o;function o(t,e,n){for(var i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(a),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}))}var l=u("Inject",(function(t){return{token:t}})),h=u("Optional"),f=u("Self"),d=u("SkipSelf"),p=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function m(t){for(var e in t)if(t[e]===m)return e;throw Error("Could not find renamed property on target object.")}function v(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function g(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function y(t){return _(t,t[k])||_(t,t[C])}function _(t,e){return e&&e.token===t?e:null}function w(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(T))?t[S]:null}var k=m({"\u0275prov":m}),S=m({"\u0275inj":m}),x=m({"\u0275provFallback":m}),C=m({ngInjectableDef:m}),T=m({ngInjectorDef:m});function E(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(E).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function O(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var M=m({__forward_ref__:m});function A(t){return t.__forward_ref__=A,t.toString=function(){return E(this())},t}function I(t){return R(t)?t():t}function R(t){return"function"==typeof t&&t.hasOwnProperty(M)&&t.__forward_ref__===A}var L,P="undefined"!=typeof globalThis&&globalThis,j="undefined"!=typeof window&&window,D="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,N=P||void 0!==t&&t||j||D,B=m({"\u0275cmp":m}),F=m({"\u0275dir":m}),z=m({"\u0275pipe":m}),V=m({"\u0275mod":m}),U=m({"\u0275loc":m}),H=m({"\u0275fac":m}),q=m({__NG_ELEMENT_ID__:m}),W=function(){function t(e,n){Qe(this,t),this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=b({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}
1return tn(t,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),t}(),K=new W("INJECTOR",-1),X={},J=/\n/gm,G=m({provide:String,useValue:m}),Y=void 0;function Z(t){var e=Y;return Y=t,e}function Q(t){var e=L;return L=t,e}function $(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Default;if(void 0===Y)throw new Error("inject() must be called from an injection context");return null===Y?nt(t,void 0,e):Y.get(t,e&p.Optional?null:void 0,e)}function tt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Default;return(L||$)(I(t),e)}var et=tt;function nt(t,e,n){var i=y(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&p.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND [".concat(E(t),"]"))}function it(t){for(var e=[],n=0;n<t.length;n++){var i=I(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,a=p.Default,o=0;o<i.length;o++){var s=i[o];s instanceof h||"Optional"===s.ngMetadataName||s===h?a|=p.Optional:s instanceof d||"SkipSelf"===s.ngMetadataName||s===d?a|=p.SkipSelf:s instanceof f||"Self"===s.ngMetadataName||s===f?a|=p.Self:r=s instanceof l||s===l?s.token:s}e.push(tt(r,a))}else e.push(tt(i))}return e}var rt=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X;if(e===X){var n=new Error("NullInjectorError: No provider for ".concat(E(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),at=function t(){Qe(this,t)},ot=function t(){Qe(this,t)};function st(t,e){for(var n=0;n<t.length;n++)e.push(t[n])}function ct(t,e){t.forEach((function(t){return Array.isArray(t)?ct(t,e):e(t)}))}function ut(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function lt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ht(t,e){for(var n=[],i=0;i<t;i++)n.push(e);return n}function ft(t,e,n){var i=pt(t,e);return i>=0?t[1|i]=n:function(t,e,n,i){var r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i=~i,e,n),i}function dt(t,e){var n=pt(t,e);if(n>=0)return t[1|n]}function pt(t,e){return function(t,e,n){for(var i=0,r=t.length>>1;r!==i;){var a=i+(r-i>>1),o=t[a<<1];if(e===o)return a<<1;o>e?r=a:i=a+1}return~(r<<1)}(t,e)}var mt,vt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),bt=((mt={})[mt.Emulated=0]="Emulated",mt[mt.Native=1]="Native",mt[mt.None=2]="None",mt[mt.ShadowDom=3]="ShadowDom",mt),gt={},yt=[],_t=0;function wt(t){return c((function(){var e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===vt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||yt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||bt.Emulated,id:"c",styles:t.styles||yt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,a=t.pipes;return n.id+=_t++,n.inputs=Et(t.inputs,e),n.outputs=Et(t.outputs),r&&r.forEach((function(t){return t(n)})),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(kt)}:null,n.pipeDefs=a?function(){return("function"==typeof a?a():a).map(St)}:null,n}))}function kt(t){return At(t)||function(t){return t[F]||null}(t)}function St(t){return function(t){return t[z]||null}(t)}var xt={};function Ct(t){var e={type:t.type,bootstrap:t.bootstrap||yt,declarations:t.declarations||yt,imports:t.imports||yt,exports:t.exports||yt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&c((function(){xt[t.id]=t.type})),e}function Tt(t,e){return c((function(){var n=Rt(t,!0);n.declarations=e.declarations||yt,n.imports=e.imports||yt,n.exports=e.exports||yt}))}function Et(t,e){if(null==t)return gt;var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,e&&(e[r]=a)}return n}var Ot=wt;function Mt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function At(t){return t[B]||null}function It(t,e){return t.hasOwnProperty(H)?t[H]:null}function Rt(t,e){var n=t[V]||null;if(!n&&!0===e)throw new Error("Type ".concat(E(t)," does not have '\u0275mod' property."));return n}function Lt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Pt(t){return Array.isArray(t)&&!0===t[1]}function jt(t){return 0!=(8&t.flags)}function Dt(t){return 2==(2&t.flags)}function Nt(t){return 1==(1&t.flags)}function Bt(t){return null!==t.template}function Ft(t){return 0!=(512&t[2])}var zt=function(){function t(e,n,i){Qe(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i}
1return tn(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function Vt(){return Ut}function Ut(t){return t.type.prototype.ngOnChanges&&(t.setInput=qt),Ht}function Ht(){var t=Wt(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===gt)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function qt(t,e,n,i){var r=Wt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:gt,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],c=o[s];a[s]=new zt(c&&c.currentValue,e,o===gt),t[i]=e}function Wt(t){return t.__ngSimpleChanges__||null}Vt.ngInherit=!0;var Kt=void 0;function Xt(t){Kt=t}function Jt(){return void 0!==Kt?Kt:"undefined"!=typeof document?document:void 0}function Gt(t){return!!t.listen}var Yt={createRenderer:function(t,e){return Jt()}};function Zt(t){for(;Array.isArray(t);)t=t[0];return t}function Qt(t,e){return Zt(e[t+20])}function $t(t,e){return Zt(e[t.index])}function te(t,e){return t.data[e+20]}function ee(t,e){return t[e+20]}function ne(t,e){var n=e[t];return Lt(n)?n:n[0]}function ie(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function re(t){return 4==(4&t[2])}function ae(t){return 128==(128&t[2])}function oe(t,e){return null===t||null==e?null:t[e]}function se(t){t[18]=0}function ce(t,e){t[5]+=e;for(var n=t,i=t[3];null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}var ue={lFrame:Re(null),bindingsEnabled:!0,checkNoChangesMode:!1};function le(){return ue.bindingsEnabled}function he(){return ue.lFrame.lView}function fe(){return ue.lFrame.tView}function de(t){ue.lFrame.contextLView=t}function pe(){return ue.lFrame.previousOrParentTNode}function me(t,e){ue.lFrame.previousOrParentTNode=t,ue.lFrame.isParent=e}function ve(){return ue.lFrame.isParent}function be(){ue.lFrame.isParent=!1}function ge(){return ue.checkNoChangesMode}function ye(t){ue.checkNoChangesMode=t}function _e(){var t=ue.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function we(){return ue.lFrame.bindingIndex}function ke(){return ue.lFrame.bindingIndex++}function Se(t){var e=ue.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function xe(t,e){var n=ue.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ce(e)}function Ce(t){ue.lFrame.currentDirectiveIndex=t}function Te(t){var e=ue.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Ee(){return ue.lFrame.currentQueryIndex}function Oe(t){ue.lFrame.currentQueryIndex=t}function Me(t,e){var n=Ie();ue.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function Ae(t,e){var n=Ie(),i=t[1];ue.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex}function Ie(){var t=ue.lFrame,e=null===t?null:t.child;return null===e?Re(t):e}function Re(t){var e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Le(){var t=ue.lFrame;return ue.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}var Pe=Le;function je(){var t=Le();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function De(){return ue.lFrame.selectedIndex}function Ne(t){ue.lFrame.selectedIndex=t}function Be(){var t=ue.lFrame;return te(t.tView,t.selectedIndex)}function Fe(){ue.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function ze(){ue.lFrame.currentNamespace=null}function Ve(t,e){for(var n=e.directiveStart,i=e.directiveEnd;n<i;n++){var r=t.data[n].type.prototype,a=r.ngAfterContentInit,o=r.ngAfterContentChecked,s=r.ngAfterViewInit,c=r.ngAfterViewChecked,u=r.ngOnDestroy;a&&(t.contentHooks||(t.contentHooks=[])).push(-n,a),o&&((t.contentHooks||(t.contentHooks=[])).push(n,o),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,o)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),c&&((t.viewHooks||(t.viewHooks=[])).push(n,c),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,c)),null!=u&&(t.destroyHooks||(t.destroyHooks=[])).push(n,u)}}function Ue(t,e,n){Ye(t,e,3,n)}function He(t,e,n,i){(3&t[2])===n&&Ye(t,e,n,i)}function qe(t,e){var n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Ye(t,e,n,i){for(var r=null!=i?i:-1,a=0,o=void 0!==i?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(a=e[o],null!=i&&a>=i)break}else e[o]<0&&(t[18]+=65536),(a<r||-1==r)&&(Ze(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function Ze(t,e,n,i){var r=n[i]<0,a=n[i+1],o=t[r?-n[i]:n[i]];r?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,a.call(o)):a.call(o)}var $e=function t(e,n,i){Qe(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function nn(t,e,n){for(var i=Gt(t),r=0;r<n.length;){var a=n[r];if("number"==typeof a){if(0!==a)break;r++;var o=n[r++],s=n[r++],c=n[r++];i?t.setAttribute(e,s,c,o):e.setAttributeNS(o,s,c)}else{var u=a,l=n[++r];sn(u)?i&&t.setProperty(e,u,l):i?t.setAttribute(e,u,l):e.setAttribute(u,l),r++}}return r}function an(t){return 3===t||4===t||6===t}function sn(t){return 64===t.charCodeAt(0)}function un(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else for(var n=-1,i=0;i<e.length;i++){var r=e[i];
1"number"==typeof r?n=r:0===n||ln(t,n,r,null,-1===n||2===n?e[++i]:null)}return t}function ln(t,e,n,i,r){var a=0,o=t.length;if(-1===e)o=-1;else for(;a<t.length;){var s=t[a++];if("number"==typeof s){if(s===e){o=-1;break}if(s>e){o=a-1;break}}}for(;a<t.length;){var c=t[a];if("number"==typeof c)break;if(c===n){if(null===i)return void(null!==r&&(t[a+1]=r));if(i===t[a+1])return void(t[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==o&&(t.splice(o,0,e),a=o+1),t.splice(a++,0,n),null!==i&&t.splice(a++,0,i),null!==r&&t.splice(a++,0,r)}function hn(t){return-1!==t}function fn(t){return 32767&t}function dn(t){return t>>16}function pn(t,e){for(var n=dn(t),i=e;n>0;)i=i[15],n--;return i}function mn(t){return"string"==typeof t?t:null==t?"":""+t}function vn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():mn(t)}var bn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(N);function gn(t){return{name:"body",target:t.ownerDocument.body}}function yn(t){return t instanceof Function?t():t}var _n=!0;function wn(t){var e=_n;return _n=t,e}var kn=0;function Sn(t,e){var n=Cn(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,xn(i.data,t),xn(e,null),xn(i.blueprint,null));var r=Tn(t,e),a=t.injectorIndex;if(hn(r))for(var o=fn(r),s=pn(r,e),c=s[1].data,u=0;u<8;u++)e[a+u]=s[o+u]|c[o+u];return e[a+8]=r,a}function xn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Cn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Tn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[6],i=1;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function En(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(q)&&(i=n[q]),null==i&&(i=n[q]=kn++);var r=255&i,a=1<<r,o=64&r,s=32&r,c=e.data;128&r?o?s?c[t+7]|=a:c[t+6]|=a:s?c[t+5]|=a:c[t+4]|=a:o?s?c[t+3]|=a:c[t+2]|=a:s?c[t+1]|=a:c[t]|=a}(t,e,n)}function On(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var a=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(q)?t[q]:void 0;return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof a){Me(e,t);try{var o=a();if(null!=o||i&p.Optional)return o;throw new Error("No provider for ".concat(vn(n),"!"))}finally{Pe()}}else if("number"==typeof a){if(-1===a)return new jn(t,e);var s=null,c=Cn(t,e),u=-1,l=i&p.Host?e[16][6]:null;for((-1===c||i&p.SkipSelf)&&(u=-1===c?Tn(t,e):e[c+8],Pn(i,!1)?(s=e[1],c=fn(u),e=pn(u,e)):c=-1);-1!==c;){u=e[c+8];var h=e[1];if(Ln(a,c,h.data)){var f=An(c,e,n,s,i,l);if(f!==Mn)return f}Pn(i,e[1].data[c+8]===l)&&Ln(a,c,e)?(s=h,c=fn(u),e=pn(u,e)):c=-1}}}if(i&p.Optional&&void 0===r&&(r=null),0==(i&(p.Self|p.Host))){var d=e[9],m=Q(void 0);try{return d?d.get(n,r,i&p.Optional):nt(n,r,i&p.Optional)}finally{Q(m)}}if(i&p.Optional)return r;throw new Error("NodeInjector: NOT_FOUND [".concat(vn(n),"]"))}var Mn={};function An(t,e,n,i,r,a){var o=e[1],s=o.data[t+8],c=In(s,o,n,null==i?Dt(s)&&_n:i!=o&&3===s.type,r&p.Host&&a===s);return null!==c?Rn(e,o,c,s):Mn}function In(t,e,n,i,r){for(var a=t.providerIndexes,o=e.data,s=1048575&a,c=t.directiveStart,u=a>>20,l=r?s+u:t.directiveEnd,h=i?s:s+u;h<l;h++){var f=o[h];if(h<c&&n===f||h>=c&&f.type===n)return h}if(r){var d=o[c];if(d&&Bt(d)&&d.type===n)return c}return null}function Rn(t,e,n,i){var r=t[n],a=e.data;if(r instanceof $e){var o=r;if(o.resolving)throw new Error("Circular dep for "+vn(a[n]));var s,c=wn(o.canSeeViewProviders);o.resolving=!0,o.injectImpl&&(s=Q(o.injectImpl)),Me(t,i);
1try{r=t[n]=o.factory(void 0,a,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){var i=e.type.prototype,r=i.ngOnChanges,a=i.ngOnInit,o=i.ngDoCheck;if(r){var s=Ut(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,a),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,a[n],e)}finally{o.injectImpl&&Q(s),wn(c),o.resolving=!1,Pe()}}return r}function Ln(t,e,n){var i=64&t,r=32&t;return!!((128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e])&1<<t)}function Pn(t,e){return!(t&p.Self||t&p.Host&&e)}var jn=function(){function t(e,n){Qe(this,t),this._tNode=e,this._lView=n}return tn(t,[{key:"get",value:function(t,e){return On(this._tNode,this._lView,t,void 0,e)}}]),t}();function Dn(t){var e=t;if(R(t))return function(){var t=Dn(I(e));return t?t():null};var n=It(e);if(null===n){var i=w(e);n=i&&i.factory}return n||null}function Nn(t){return c((function(){for(var e=t.prototype.constructor,n=e[H]||Dn(e),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;r&&r!==i;){var a=r[H]||Dn(r);if(a&&a!==n)return a;r=Object.getPrototypeOf(r)}return function(t){return new t}}))}function Bn(t){return t.ngDebugContext}function Fn(t){return t.ngOriginalError}function zn(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];t.error.apply(t,n)}var Vn=function(){function t(){Qe(this,t),this._console=console}
1return tn(t,[{key:"handleError",value:function(t){var e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||zn}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(t){return t?Bn(t)?Bn(t):this._findContext(Fn(t)):null}},{key:"_findOriginalError",value:function(t){for(var e=Fn(t);e&&Fn(e);)e=Fn(e);return e}}]),t}(),Un=function(){function t(e){Qe(this,t),this.changingThisBreaksApplicationSecurity=e}return tn(t,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),t}(),Hn=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Un),qn=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Un),Wn=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Un),Kn=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Un),Xn=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Un);function Jn(t){return t instanceof Un?t.changingThisBreaksApplicationSecurity:t}function Gn(t,e){var n=Yn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(n," (see http://g.co/ng/security#xss)"))}return n===e}function Yn(t){return t instanceof Un&&t.getTypeName()||null}function Zn(t){return new Hn(t)}function Qn(t){return new qn(t)}function $n(t){return new Wn(t)}function ti(t){return new Kn(t)}function ei(t){return new Xn(t)}var ni=!0,ii=!1;function ri(){return ii=!0,ni}function ai(){if(ii)throw new Error("Cannot enable prod mode after platform setup.");ni=!1}function oi(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new si:new ci(t)}var si=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"getInertBodyElement",value:function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}}}]),t}(),ci=function(){function t(e){if(Qe(this,t),this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return tn(t,[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;var n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var i=e.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||t.removeAttribute(i)}for(var r=t.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}]),t}(),ui=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,li=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function hi(t){return(t=String(t)).match(ui)||t.match(li)?t:(ri()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(t," (see http://g.co/ng/security#xss)")),"unsafe:"+t)}function fi(t){return(t=String(t)).split(",").map((function(t){return hi(t.trim())})).join(", ")}function di(t){var e,n={},i=Ge(t.split(","));try{for(i.s();!(e=i.n()).done;){n[e.value]=!0}}catch(r){i.e(r)}finally{i.f()}return n}function pi(){for(var t={},e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];for(var s in o)o.hasOwnProperty(s)&&(t[s]=!0)}return t}var mi,vi=di("area,br,col,hr,img,wbr"),bi=di("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gi=di("rp,rt"),yi=pi(gi,bi),_i=pi(vi,pi(bi,di("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")),pi(gi,di("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")),yi),wi=di("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ki=di("srcset"),Si=pi(wi,ki,di("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),di("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")),xi=di("script,style,template"),Ci=function(){function t(){Qe(this,t),this.sanitizedSomething=!1,this.buf=[]}
vendor: 4,997 bytes, line 1
1return tn(t,[{key:"sanitizeChildren",value:function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(t){var e=t.nodeName.toLowerCase();if(!_i.hasOwnProperty(e))return this.sanitizedSomething=!0,!xi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var n=t.attributes,i=0;i<n.length;i++){var r=n.item(i),a=r.name,o=a.toLowerCase();if(Si.hasOwnProperty(o)){var s=r.value;wi[o]&&(s=hi(s)),ki[o]&&(s=fi(s)),this.buf.push(" ",a,'="',Oi(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();_i.hasOwnProperty(e)&&!vi.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}},{key:"chars",value:function(t){this.buf.push(Oi(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}]),t}(),Ti=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ei=/([^\#-~ |!])/g;function Oi(t){return t.replace(/&/g,"&").replace(Ti,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Ei,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function Mi(t,e){var n=null;try{mi=mi||oi(t);var i=e?String(e):"";n=mi.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=mi.getInertBodyElement(i)}while(i!==a);var o=new Ci,s=o.sanitizeChildren(Ai(n)||n);return ri()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=Ai(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function Ai(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ii=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Ri(t){var e,n=(e=he())&&e[12];return n?n.sanitize(Ii.URL,t)||"":Gn(t,"URL")?Jn(t):hi(mn(t))}function Li(t,e){t.__ngContext__=e}function Pi(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function ji(){throw new Error("Cannot mix multi providers and regular providers")}function Di(t,e,n){for(var i=t.length;;){var r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){var a=e.length;if(r+a===i||t.charCodeAt(r+a)<=32)return r}n=r+1}}function Ni(t,e,n){for(var i=0;i<t.length;){var r=t[i++];if(n&&"class"===r){if(-1!==Di((r=t[i]).toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function Bi(t){return 0===t.type&&"ng-template"!==t.tagName}function Fi(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function zi(t,e,n){for(var i=4,r=t.attrs||[],a=function(t){for(var e=0;e<t.length;e++)if(an(t[e]))return e;return t.length}(r),o=!1,s=0;s<e.length;s++){var c=e[s];if("number"!=typeof c){if(!o)if(4&i){if(i=2|1&i,""!==c&&!Fi(t,c,n)||""===c&&1===e.length){if(Vi(i))return!1;o=!0}}else{var u=8&i?c:e[++s];if(8&i&&null!==t.attrs){if(!Ni(t.attrs,u,n)){if(Vi(i))return!1;o=!0}continue}var l=Ui(8&i?"class":c,r,Bi(t),n);if(-1===l){if(Vi(i))return!1;o=!0;continue}if(""!==u){var h;h=l>a?"":r[l+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==Di(f,u,0)||2&i&&u!==h){if(Vi(i))return!1;o=!0}}}}else{if(!o&&!Vi(i)&&!Vi(c))return!1;if(o&&Vi(c))continue;o=!1,i=c|1&i}}return Vi(i)||o}function Vi(t){return 0==(1&t)}function Ui(t,e,n,i){if(null===e)return-1;var r=0;if(i||!n){for(var a=!1;r<e.length;){var o=e[r];if(o===t)return r;if(3===o||6===o)a=!0;else{if(1===o||2===o){for(var s=e[++r];"string"==typeof s;)s=e[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=a?1:2}return-1}return function(t,e){var n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){var i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function Hi(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<e.length;i++)if(zi(t,e[i],n))return!0;return!1}function qi(t,e){t:for(var n=0;n<e.length;n++){var i=e[n];if(t.length===i.length){for(var r=0;r<t.length;r++)if(t[r]!==i[r])continue t;return!0}}return!1}function Wi(t,e){return t?":not("+e.trim()+")":e}function Ki(t){for(var e=t[0],n=1,i=2,r="",a=!1;n<t.length;){var o=t[n];if("string"==typeof o)if(2&i){var s=t[++n];r+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);
1else""===r||Vi(o)||(e+=Wi(a,r),r=""),i=o,a=a||!Vi(i);n++}return""!==r&&(e+=Wi(a,r)),e}var Xi={};function Ji(t){var e=t[3];return Pt(e)?e[3]:e}function Gi(t){return Zi(t[13])}function Yi(t){return Zi(t[4])}function Zi(t){for(;null!==t&&!Pt(t);)t=t[4];return t}function Qi(t){$i(fe(),he(),De()+t,ge())}function $i(t,e,n,i){if(!i)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&Ue(e,r,n)}else{var a=t.preOrderHooks;null!==a&&He(e,a,0,n)}Ne(n)}var tr={marker:"element"},er={marker:"comment"};function nr(t,e){return t<<17|e<<2}function ir(t){return t>>17&32767}function rr(t){return 2|t}function ar(t){return(131068&t)>>2}function or(t,e){return-131069&t|e<<2}function sr(t){return 1|t}function cr(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var r=n[i],a=n[i+1];if(-1!==a){var o=t.data[a];Oe(r),o.contentQueries(2,e[a],a)}}}function ur(t,e,n){return Gt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function lr(t,e,n,i,r,a,o,s,c,u){var l=e.blueprint.slice();return l[0]=r,l[2]=140|i,se(l),l[3]=l[15]=t,l[8]=n,l[10]=o||t&&t[10],l[11]=s||t&&t[11],l[12]=c||t&&t[12]||null,l[9]=u||t&&t[9]||null,l[6]=a,l[16]=2==e.type?t[16]:l,l}function hr(t,e,n,i,r,a){var o=n+20,s=t.data[o]||function(t,e,n,i,r,a){var o=pe(),s=ve(),c=s?o:o&&o.parent,u=t.data[n]=kr(0,c&&c!==e?c:null,i,n,r,a);return null===t.firstChild&&(t.firstChild=u),o&&(!s||null!=o.child||null===u.parent&&2!==o.type?s||(o.next=u):o.child=u),u}(t,e,o,i,r,a);return me(s,!0),s}function fr(t,e,n){Ae(e,e[6]);try{var i=t.viewQuery;null!==i&&Wr(1,i,n);var r=t.template;null!==r&&mr(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&cr(t,e),t.staticViewQueries&&Wr(2,t.viewQuery,n);var a=t.components;null!==a&&function(t,e){for(var n=0;n<e.length;n++)zr(t,e[n])}(e,a)}catch(o){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),o}finally{e[2]&=-5,je()}}function dr(t,e,n,i){var r=e[2];if(256!=(256&r)){Ae(e,e[6]);var a=ge();try{se(e),ue.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&mr(t,e,n,2,i);var o=3==(3&r);if(!a)if(o){var s=t.preOrderCheckHooks;null!==s&&Ue(e,s,null)}else{var c=t.preOrderHooks;null!==c&&He(e,c,0,null),qe(e,0)}if(function(t){for(var e=Gi(t);null!==e;e=Yi(e))if(e[2])for(var n=e[9],i=0;i<n.length;i++){var r=n[i],a=r[3];0==(1024&r[2])&&ce(a,1),r[2]|=1024}}(e),function(t){for(var e=Gi(t);null!==e;e=Yi(e))for(var n=10;n<e.length;n++){var i=e[n],r=i[1];ae(i)&&dr(r,i,r.template,i[8])}}(e),null!==t.contentQueries&&cr(t,e),!a)if(o){var u=t.contentCheckHooks;null!==u&&Ue(e,u)}else{var l=t.contentHooks;null!==l&&He(e,l,1),qe(e,1)}!function(t,e){try{var n=t.expandoInstructions;if(null!==n)for(var i=t.expandoStartIndex,r=-1,a=0;a<n.length;a++){var o=n[a];"number"==typeof o?o<=0?(Ne(0-o),r=i+=9+n[++a]):i+=o:(null!==o&&(xe(i,r),o(2,e[r])),r++)}}finally{Ne(-1)}}(t,e);var h=t.components;null!==h&&function(t,e){for(var n=0;n<e.length;n++)Fr(t,e[n])}(e,h);var f=t.viewQuery;if(null!==f&&Wr(2,f,i),!a)if(o){var d=t.viewCheckHooks;null!==d&&Ue(e,d)}else{var p=t.viewHooks;null!==p&&He(e,p,2),qe(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),a||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,ce(e[3],-1))}finally{je()}}}function pr(t,e,n,i){var r=e[10],a=!ge(),o=re(e);try{a&&!o&&r.begin&&r.begin(),o&&fr(t,e,i),dr(t,e,n,i)}finally{a&&!o&&r.end&&r.end()}}function mr(t,e,n,i,r){var a=De();try{Ne(-1),2&i&&e.length>20&&$i(t,e,0,ge()),n(i,r)}finally{Ne(a)}}function vr(t,e,n){if(jt(e))for(var i=e.directiveEnd,r=e.directiveStart;r<i;r++){var a=t.data[r];a.contentQueries&&a.contentQueries(1,n[r],r)}}function br(t,e,n){le()&&(function(t,e,n,i){var r=n.directiveStart,a=n.directiveEnd;t.firstCreatePass||Sn(n,e),Li(i,e);for(var o=n.initialInputs,s=r;s<a;s++){var c=t.data[s],u=Bt(c);u&&Pr(e,n,c);var l=Rn(e,t,s,n);Li(l,e),null!==o&&Dr(0,s-r,l,c,0,o),u&&(ne(n.index,e)[8]=l)}}(t,e,n,$t(n,e)),128==(128&n.flags)&&function(t,e,n){var i=n.directiveStart,r=n.directiveEnd,a=t.expandoInstructions,o=t.firstCreatePass,s=n.index-20,c=ue.lFrame.currentDirectiveIndex;try{Ne(s);for(var u=i;u<r;u++){var l=t.data[u],h=e[u];Ce(u),null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs?Or(l,h):o&&a.push(null)}}finally{Ne(-1),Ce(c)}}(t,e,n))}function gr(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$t,i=e.localNames;if(null!==i)for(var r=e.index+1,a=0;a<i.length;a+=2){var o=i[a+1],s=-1===o?n(e,t):t[o];t[r++]=s}}function yr(t){var e=t.tView;return null===e||e.incompleteFirstPass?t.tView=_r(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function _r(t,e,n,i,r,a,o,s,c,u){var l=20+i,h=l+r,f=function(t,e){for(var n=[],i=0;i<e;i++)n.push(i<t?null:Xi);return n}(l,h);return f[1]={type:t,id:e,blueprint:f,template:n,queries:null,viewQuery:s,node:null,data:f.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:u,incompleteFirstPass:!1}
1}function wr(t,e,n,i){var r=Xr(e);r.push(n),t.firstCreatePass&&function(t){return t.cleanup||(t.cleanup=[])}(t).push(i,r.length-1)}function kr(t,e,n,i,r,a){return{type:n,index:i,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Sr(t,e,n){for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function xr(t,e,n,i,r,a,o,s){var c,u,l=$t(e,n),h=e.inputs;!s&&null!=h&&(c=h[i])?(Yr(t,n,c,i,r),Dt(e)&&function(t,e){var n=ne(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3===e.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,r=null!=o?o(r,e.tagName||"",i):r,Gt(a)?a.setProperty(l,i,r):sn(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}function Cr(t,e,n,i){var r=!1;if(le()){var a=function(t,e,n){var i=t.directiveRegistry,r=null;if(i)for(var a=0;a<i.length;a++){var o=i[a];Hi(n,o.selectors,!1)&&(r||(r=[]),En(Sn(n,e),t,o.type),Bt(o)?(2&n.flags&&Pi(n),Ar(t,n),r.unshift(o)):r.push(o))}return r}(t,e,n),o=null===i?null:{"":-1};if(null!==a){var s=0;r=!0,Rr(n,t.data.length,a.length);for(var c=0;c<a.length;c++){var u=a[c];u.providersResolver&&u.providersResolver(u)}Mr(t,n,a.length);for(var l=!1,h=!1,f=0;f<a.length;f++){var d=a[f];n.mergedAttrs=un(n.mergedAttrs,d.hostAttrs),Lr(t,e,d),Ir(t.data.length-1,d,o),null!==d.contentQueries&&(n.flags|=8),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=128);var p=d.type.prototype;!l&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-20),l=!0),h||!p.ngOnChanges&&!p.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-20),h=!0),Tr(t,d),s+=d.hostVars}!function(t,e){for(var n=e.directiveEnd,i=t.data,r=e.attrs,a=[],o=null,s=null,c=e.directiveStart;c<n;c++){var u=i[c],l=u.inputs,h=null===r||Bi(e)?null:Nr(l,r);a.push(h),o=Sr(l,c,o),s=Sr(u.outputs,c,s)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=a,e.inputs=o,e.outputs=s}(t,n),Er(t,e,s)}o&&function(t,e,n){if(e)for(var i=t.localNames=[],r=0;r<e.length;r+=2){var a=n[e[r+1]];if(null==a)throw new Error("Export of name '".concat(e[r+1],"' not found!"));i.push(e[r],a)}}(n,i,o)}return n.mergedAttrs=un(n.mergedAttrs,n.attrs),r}function Tr(t,e){var n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function Er(t,e,n){for(var i=0;i<n;i++)e.push(Xi),t.blueprint.push(Xi),t.data.push(null)}function Or(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Mr(t,e,n){var i=20-e.index,r=t.data.length-(1048575&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(i,r,n)}function Ar(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ir(t,e,n){if(n){if(e.exportAs)for(var i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;Bt(e)&&(n[""]=t)}}function Rr(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Lr(t,e,n){t.data.push(n);
1var i=n.factory||(n.factory=It(n.type)),r=new $e(i,Bt(n),null);t.blueprint.push(r),e.push(r)}function Pr(t,e,n){var i=$t(e,t),r=yr(n),a=t[10],o=Vr(t,lr(t,r,null,n.onPush?64:16,i,e,a,a.createRenderer(i,n)));t[e.index]=o}function jr(t,e,n,i,r,a){var o=$t(t,e),s=e[11];if(null==i)Gt(s)?s.removeAttribute(o,n,a):o.removeAttribute(n);else{var c=null==r?mn(i):r(i,t.tagName||"",n);Gt(s)?s.setAttribute(o,n,c,a):a?o.setAttributeNS(a,n,c):o.setAttribute(n,c)}}function Dr(t,e,n,i,r,a){var o=a[e];if(null!==o)for(var s=i.setInput,c=0;c<o.length;){var u=o[c++],l=o[c++],h=o[c++];null!==s?i.setInput(n,h,u,l):n[l]=h}}function Nr(t,e){for(var n=null,i=0;i<e.length;){var r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function Br(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function Fr(t,e){var n=ne(e,t);if(ae(n)){var i=n[1];80&n[2]?dr(i,n,i.template,n[8]):n[5]>0&&function t(e){for(var n=Gi(e);null!==n;n=Yi(n))for(var i=10;i<n.length;i++){var r=n[i];if(1024&r[2]){var a=r[1];dr(a,r,a.template,r[8])}else r[5]>0&&t(r)}var o=e[1].components;if(null!==o)for(var s=0;s<o.length;s++){var c=ne(o[s],e);ae(c)&&c[5]>0&&t(c)}}(n)}}function zr(t,e){var n=ne(e,t),i=n[1];!function(t,e){for(var n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),fr(i,n,n[8])}function Vr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Ur(t){for(;t;){t[2]|=64;var e=Ji(t);if(Ft(t)&&!e)return t;t=e}return null}function Hr(t,e,n){var i=e[10];i.begin&&i.begin();try{dr(t,e,t.template,n)}catch(r){throw Gr(e,r),r}finally{i.end&&i.end()}}function qr(t){!function(t){for(var e=0;e<t.components.length;e++){var n=t.components[e],i=ie(n),r=i[1];pr(r,i,r.template,n)}}(t[8])}function Wr(t,e,n){Oe(0),e(t,n)}var Kr=Promise.resolve(null);function Xr(t){return t[7]||(t[7]=[])}function Jr(t,e,n){return(null===t||Bt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function Gr(t,e){var n=t[9],i=n?n.get(Vn,null):null;i&&i.handleError(e)}function Yr(t,e,n,i,r){for(var a=0;a<n.length;){var o=n[a++],s=n[a++],c=e[o],u=t.data[o];null!==u.setInput?u.setInput(c,r,i,s):c[s]=r}}function Zr(t,e,n){var i=Qt(e,t),r=t[11];Gt(r)?r.setValue(i,n):i.textContent=n}function Qr(t,e){var n=e[3];return-1===t.index?Pt(n)?n:null:n}function $r(t,e){var n=Qr(t,e);return n?fa(e[11],n[7]):null}function ta(t,e,n,i,r){if(null!=i){var a,o=!1;Pt(i)?a=i:Lt(i)&&(o=!0,i=i[0]);var s=Zt(i);0===t&&null!==n?null==r?la(e,n,s):ua(e,n,s,r||null):1===t&&null!==n?ua(e,n,s,r||null):2===t?va(e,s,o):3===t&&e.destroyNode(s),null!=a&&function(t,e,n,i,r){var a=n[7];a!==Zt(n)&&ta(e,t,i,a,r);for(var o=10;o<n.length;o++){var s=n[o];ga(s[1],s,t,e,i,a)}}(e,t,a,n,r)}}function ea(t,e){return Gt(e)?e.createText(t):e.createTextNode(t)}function na(t,e,n,i){var r=$r(t.node,e);r&&ga(t,e,e[11],n?1:2,r,i)}function ia(t,e){var n=t[9],i=n.indexOf(e);1024&e[2]&&ce(e[3],-1),n.splice(i,1)}function ra(t,e){if(!(t.length<=10)){var n=10+e,i=t[n];if(i){var r=i[17];null!==r&&r!==t&&ia(r,i),e>0&&(t[n-1][4]=i[4]);var a=lt(t,10+e);na(i[1],i,!1,null);var o=a[19];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function aa(t,e){if(!(256&e[2])){var n=e[11];Gt(n)&&n.destroyNode&&ga(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return sa(t[1],t);for(;e;){var n=null;if(Lt(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)Lt(e)&&sa(e[1],e),e=oa(e,t);null===e&&(e=t),Lt(e)&&sa(e[1],e),n=e&&e[4]}e=n}}(e)}}function oa(t,e){var n;return Lt(t)&&(n=t[6])&&2===n.type?Qr(n,t):t[3]===e?null:t[3]}function sa(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var i=0;i<n.length;i+=2){var r=e[n[i]];if(!(r instanceof $e)){var a=n[i+1];if(Array.isArray(a))for(var o=0;o<a.length;o+=2)a[o+1].call(r[a[o]]);else a.call(r)}}}(t,e),function(t,e){var n=t.cleanup;if(null!==n){for(var i=e[7],r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){var a=n[r+1],o="function"==typeof a?a(e):Zt(e[a]),s=i[n[r+2]],c=n[r+3];"boolean"==typeof c?o.removeEventListener(n[r],s,c):c>=0?i[c]():i[-c].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);e[7]=null}}(t,e);var n=e[6];n&&3===n.type&&Gt(e[11])&&e[11].destroy();var i=e[17];if(null!==i&&Pt(e[3])){i!==e[3]&&ia(i,e);var r=e[19];null!==r&&r.detachView(t)}}}function ca(t,e,n){for(var i=e.parent;
1null!=i&&(4===i.type||5===i.type);)i=(e=i).parent;if(null==i){var r=n[6];return 2===r.type?$r(r,n):n[0]}if(e&&5===e.type&&4&e.flags)return $t(e,n).parentNode;if(2&i.flags){var a=t.data,o=a[a[i.index].directiveStart].encapsulation;if(o!==bt.ShadowDom&&o!==bt.Native)return null}return $t(i,n)}function ua(t,e,n,i){Gt(t)?t.insertBefore(e,n,i):e.insertBefore(n,i,!0)}function la(t,e,n){Gt(t)?t.appendChild(e,n):e.appendChild(n)}function ha(t,e,n,i){null!==i?ua(t,e,n,i):la(t,e,n)}function fa(t,e){return Gt(t)?t.parentNode(e):e.parentNode}function da(t,e){if(2===t.type){var n=Qr(t,e);return null===n?null:ma(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?$t(t,e):null}function pa(t,e,n,i){var r=ca(t,i,e);if(null!=r){var a=e[11],o=da(i.parent||e[6],e);if(Array.isArray(n))for(var s=0;s<n.length;s++)ha(a,r,n[s],o);else ha(a,r,n,o)}}function ma(t,e){var n=10+t+1;if(n<e.length){var i=e[n],r=i[1].firstChild;if(null!==r)return function t(e,n){if(null!==n){var i=n.type;if(3===i)return $t(n,e);if(0===i)return ma(-1,e[n.index]);if(4===i||5===i){var r=n.child;if(null!==r)return t(e,r);var a=e[n.index];return Pt(a)?ma(-1,a):Zt(a)}var o=e[16],s=o[6],c=Ji(o),u=s.projection[n.projection];return null!=u?t(c,u):t(e,n.next)}return null}(i,r)}return e[7]}function va(t,e,n){var i=fa(t,e);i&&function(t,e,n,i){Gt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}function ba(t,e,n,i,r,a,o){for(;null!=n;){var s=i[n.index],c=n.type;o&&0===e&&(s&&Li(Zt(s),i),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(ba(t,e,n.child,i,r,a,!1),ta(e,t,r,s,a)):1===c?_a(t,e,i,n,r,a):ta(e,t,r,s,a)),n=o?n.projectionNext:n.next}}function ga(t,e,n,i,r,a){ba(n,i,t.node.child,e,r,a,!1)}function ya(t,e,n){_a(e[11],0,e,n,ca(t,n,e),da(n.parent||e[6],e))}function _a(t,e,n,i,r,a){var o=n[16],s=o[6].projection[i.projection];if(Array.isArray(s))for(var c=0;c<s.length;c++)ta(e,t,r,s[c],a);else ba(t,e,s,o[3],r,a,!0)}function wa(t,e,n){Gt(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function ka(t,e,n){Gt(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}var Sa,xa,Ca,Ta=function(){function t(e,n){Qe(this,t),this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}
1return tn(t,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}aa(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){wr(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){Ur(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Hr(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){ye(!0);try{Hr(t,e,n)}finally{ye(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,ga(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}},{key:"rootNodes",get:function(){var t=this._lView;return null==t[0]?function t(e,n,i,r){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=n[i.index];if(null!==o&&r.push(Zt(o)),Pt(o))for(var s=10;s<o.length;s++){var c=o[s],u=c[1].firstChild;null!==u&&t(c[1],c,u,r)}var l=i.type;if(4===l||5===l)t(e,n,i.child,r);else if(1===l){var h=n[16],f=h[6].projection[i.projection];if(Array.isArray(f))r.push.apply(r,Xe(f));else{var d=Ji(h);t(d[1],d,f,r,!0)}}i=a?i.projectionNext:i.next}return r}(t[1],t,t[6].child,[]):[]}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),t}(),Ea=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t))._view=t,i}return tn(n,[{key:"detectChanges",value:function(){qr(this._view)}},{key:"checkNoChanges",value:function(){!function(t){ye(!0);try{qr(t)}finally{ye(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Ta);function Oa(t,e,n){return Sa||(Sa=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(t)),new Sa($t(e,n))}function Ma(t,e,n,i){return xa||(xa=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this))._declarationView=t,a._declarationTContainer=i,a.elementRef=r,a}return tn(n,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=lr(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];var i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),fr(e,n,t),new Ta(n)}}]),n}(t)),0===n.type?new xa(i,n,Oa(e,n,i)):null}function Aa(t,e,n,i){var r;Ca||(Ca=function(t){en(i,t);var n=rn(i);function i(t,e,r){var a;return Qe(this,i),(a=n.call(this))._lContainer=t,a._hostTNode=e,a._hostView=r,a}return tn(i,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}},{key:"createEmbeddedView",value:function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i}},{key:"createComponent",value:function(t,e,n,i,r){var a=n||this.parentInjector;if(!r&&null==t.ngModule&&a){var o=a.get(at,null);o&&(r=o)}var s=t.create(a,i,void 0,r);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var n=t._lView,i=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Pt(n[3])){var r=this.indexOf(t);if(-1!==r)this.detach(r);else{var a=n[3],o=new Ca(a,a[6],a[3]);o.detach(o.indexOf(t))}}var s=this._adjustIndex(e);return function(t,e,n,i){var r=10+i,a=n.length;i>0&&(n[r-1][4]=e),i<a-10?(e[4]=n[r],ut(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;var o=e[17];null!==o&&n!==o&&function(t,e){var n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);var s=e[19];null!==s&&s.insertView(t),e[2]|=128}(i,n,this._lContainer,s),na(i,n,!0,ma(s,this._lContainer)),t.attachToViewContainerRef(this),ut(this._lContainer[8],s,t),t}},{key:"move",value:function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}},{key:"indexOf",value:function(t){var e=this._lContainer[8];return null!==e?e.indexOf(t):-1}},{key:"remove",value:function(t){this.allocateContainerIfNeeded();var e=this._adjustIndex(t,-1);!function(t,e){var n=ra(t,e);n&&aa(n[1],n)}(this._lContainer,e),lt(this._lContainer[8],e)}},{key:"detach",value:function(t){this.allocateContainerIfNeeded();var e=this._adjustIndex(t,-1),n=ra(this._lContainer,e);return n&&null!=lt(this._lContainer[8],e)?new Ta(n):null}},{key:"_adjustIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Oa(e,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new jn(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var t=Tn(this._hostTNode,this._hostView),e=pn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,r=n.parent;null!=r.parent&&i==r.parent.injectorIndex;)r=r.parent;return r}for(var a=dn(t),o=e,s=e[6];a>1;)s=(o=o[15])[6],a--;return s}(t,this._hostView,this._hostTNode);return hn(t)&&null!=n?new jn(n,e):new jn(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),i}(t));var a=i[n.index];if(Pt(a))r=a;else{var o;if(4===n.type)o=Zt(a);else if(o=i[11].createComment(""),Ft(i)){var s=i[11],c=$t(n,i);ua(s,fa(s,c),o,function(t,e){return Gt(t)?t.nextSibling(e):e.nextSibling}(s,c))}else pa(i[1],i,o,n);i[n.index]=r=Br(a,i,o,n),Vr(i,r)}return new Ca(r,n,i)}function Ia(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,e,n){if(!n&&Dt(t)){var i=ne(t.index,e);return new Ta(i,i)}return 3===t.type||0===t.type||4===t.type||5===t.type?new Ta(e[16],e):null}(pe(),he(),t)}var Ra=function(){var t=function t(){Qe(this,t)};return t.__NG_ELEMENT_ID__=function(){return La()},t}(),La=Ia,Pa=Function,ja=new W("Set Injector scope."),Da={},Na={},Ba=[],Fa=void 0;function za(){return void 0===Fa&&(Fa=new rt),Fa}function Va(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Ua(t,n,e||za(),i)}var Ua=function(){function t(e,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Qe(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&ct(n,(function(t){return r.processProvider(t,e,n)}
1)),ct([e],(function(t){return r.processInjectorType(t,[],o)})),this.records.set(K,Wa(void 0,this));var s=this.records.get(ja);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof e?null:E(e))}return tn(t,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(t){return t.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.Default;this.assertNotDestroyed();var i,r=Z(this);try{if(!(n&p.SkipSelf)){var a=this.records.get(t);if(void 0===a){var o=("function"==typeof(i=t)||"object"==typeof i&&i instanceof W)&&y(t);a=o&&this.injectableDefInScope(o)?Wa(Ha(t),Da):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(n&p.Self?za():this.parent).get(t,e=n&p.Optional&&e===X?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(E(t)),r)throw s;return function(t,e,n,i){var r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var r=E(e);if(Array.isArray(e))r=e.map(E).join(" -> ");else if("object"==typeof e){var a=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):E(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(t.replace(J,"\n "))}("\n"+t.message,r,"R3InjectorError",i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,0,this.source)}throw s}finally{Z(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach((function(e){return t.get(e)}))}},{key:"toString",value:function(){var t=[];return this.records.forEach((function(e,n){return t.push(E(n))})),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var i=this;if(!(t=I(t)))return!1;var r=w(t),a=null==r&&t.ngModule||void 0,o=void 0===a?t:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=w(a)),null==r)return!1;if(null!=r.imports&&!s){var c;n.push(o);try{ct(r.imports,(function(t){i.processInjectorType(t,e,n)&&(void 0===c&&(c=[]),c.push(t))}))}finally{}if(void 0!==c)for(var u=function(t){var e=c[t],n=e.ngModule,r=e.providers;ct(r,(function(t){return i.processProvider(t,n,r||Ba)}))},l=0;l<c.length;l++)u(l)}this.injectorDefTypes.add(o),this.records.set(o,Wa(r.factory,Da));var h=r.providers;if(null!=h&&!s){var f=t;ct(h,(function(t){return i.processProvider(t,f,h)}))}return void 0!==a&&void 0!==t.providers}},{key:"processProvider",value:function(t,e,n){var i=Xa(t=I(t))?t:I(t&&t.provide),r=function(t,e,n){return Ka(t)?Wa(void 0,t.useValue):Wa(qa(t,e,n),Da)}(t,e,n);if(Xa(t)||!0!==t.multi){var a=this.records.get(i);a&&void 0!==a.multi&&ji()}else{var o=this.records.get(i);o?void 0===o.multi&&ji():((o=Wa(void 0,Da,!0)).factory=function(){return it(o.multi)},this.records.set(i,o)),i=t,o.multi.push(t)}this.records.set(i,r)}},{key:"hydrate",value:function(t,e){var n;return e.value===Na?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(E(t)):e.value===Da&&(e.value=Na,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}},{key:"injectableDefInScope",value:function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();function Ha(t){var e=y(t),n=null!==e?e.factory:It(t);if(null!==n)return n;var i=w(t);if(null!==i)return i.factory;if(t instanceof W)throw new Error("Token ".concat(E(t)," is missing a \u0275prov definition."));if(t instanceof Function)return function(t){var e=t.length;if(e>0){var n=ht(e,"?");throw new Error("Can't resolve all parameters for ".concat(E(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[k]||t[C]||t[x]&&t[x]());if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" 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 "').concat(n,'" class.')),e}return null}(t);return null!==i?function(){return i.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function qa(t,e,n){var i,r=void 0;if(Xa(t)){var a=I(t);return It(a)||Ha(a)}if(Ka(t))r=function(){return I(t.useValue)};else if((i=t)&&i.useFactory)r=function(){return t.useFactory.apply(t,Xe(it(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))r=function(){return tt(I(t.useExisting))};else{var o=I(t&&(t.useClass||t.provide));if(o||function(t,e,n){var i="";throw t&&e&&(i=" - only instances of Provider and Type are allowed, got: [".concat(e.map((function(t){return t==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(E(t),"'")+i)}(e,n,t),!function(t){return!!t.deps}(t))return It(o)||Ha(o);r=function(){return We(o,Xe(it(t.deps)))}}return r}function Wa(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function Ka(t){return null!==t&&"object"==typeof t&&G in t}function Xa(t){return"function"==typeof t}var Ja=function(t,e,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Va(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)},Ga=function(){var t=function(){function t(){Qe(this,t)}return tn(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?Ja(t,e,""):Ja(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=X,t.NULL=new rt,t.\u0275prov=b({token:t,providedIn:"any",factory:function(){return tt(K)}}),t.__NG_ELEMENT_ID__=-1,t}(),Ya=new W("AnalyzeForEntryComponents");function Za(t,e,n){var i=n?t.styles:null,r=n?t.classes:null,a=0;if(null!==e)for(var o=0;o<e.length;o++){var s=e[o];"number"==typeof s?a=s:1==a?r=O(r,s):2==a&&(i=O(i,s+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=r:t.classesWithoutHost=r}var Qa=null;function $a(){if(!Qa){var t=N.Symbol;if(t&&t.iterator)Qa=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var i=e[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Qa=i)}}return Qa}var to=function(){function t(e){Qe(this,t),this.wrapped=e}return tn(t,null,[{key:"wrap",value:function(e){return new t(e)}},{key:"unwrap",value:function(e){return t.isWrapped(e)?e.wrapped:e}},{key:"isWrapped",value:function(e){return e instanceof t}}]),t}();function eo(t){return!!no(t)&&(Array.isArray(t)||!(t instanceof Map)&&$a()in t)}function no(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function io(t,e,n){return t[e]=n}function ro(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function ao(t,e,n,i){var r=ro(t,e,n);return ro(t,e+1,i)||r}function oo(t,e,n,i){var r=he();return ro(r,ke(),e)&&(fe(),jr(Be(),r,t,e,n,i)),oo}function so(t,e,n,i){return ro(t,ke(),n)?e+mn(n)+i:Xi}function co(t,e,n,i,r,a,o,s){var c=he(),u=fe(),l=t+20,h=u.firstCreatePass?function(t,e,n,i,r,a,o,s,c){var u=e.consts,l=hr(e,n[6],t,0,o||null,oe(u,s));Cr(e,n,l,oe(u,c)),Ve(e,l);
1var h=l.tViews=_r(2,-1,i,r,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u),f=kr(0,null,2,-1,null,null);return f.injectorIndex=l.injectorIndex,h.node=f,null!==e.queries&&(e.queries.template(e,l),h.queries=e.queries.embeddedTView(l)),l}(t,u,c,e,n,i,r,a,o):u.data[l];me(h,!1);var f=c[11].createComment("");pa(u,c,f,h),Li(f,c),Vr(c,c[l]=Br(f,c,f,h)),Nt(h)&&br(u,c,h),null!=o&&gr(c,h,s)}function uo(t){return ee(ue.lFrame.contextLView,t)}function lo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Default,n=he();return null==n?tt(t,e):On(pe(),n,I(t),e)}function ho(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var n=t.attrs;if(n)for(var i=n.length,r=0;r<i;){var a=n[r];if(an(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(a===e)return n[r+1];r+=2}}return null}(pe(),t)}function fo(){throw new Error("invalid")}function po(t,e,n){var i=he();return ro(i,ke(),e)&&xr(fe(),Be(),i,t,e,i[11],n,!1),po}function mo(t,e,n,i,r){var a=r?"class":"style";Yr(t,n,e.inputs[a],a,i)}function vo(t,e,n,i){var r=he(),a=fe(),o=20+t,s=r[11],c=r[o]=ur(e,s,ue.lFrame.currentNamespace),u=a.firstCreatePass?function(t,e,n,i,r,a,o){var s=e.consts,c=oe(s,a),u=hr(e,n[6],t,3,r,c);return Cr(e,n,u,oe(s,o)),null!==u.attrs&&Za(u,u.attrs,!1),null!==u.mergedAttrs&&Za(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(t,a,r,0,e,n,i):a.data[o];me(u,!0);var l=u.mergedAttrs;null!==l&&nn(s,c,l);var h=u.classes;null!==h&&ka(s,c,h);var f=u.styles;null!==f&&wa(s,c,f),pa(a,r,c,u),0===ue.lFrame.elementDepthCount&&Li(c,r),ue.lFrame.elementDepthCount++,Nt(u)&&(br(a,r,u),vr(a,u,r)),null!==i&&gr(r,u)}function bo(){var t=pe();ve()?be():me(t=t.parent,!1);var e=t;ue.lFrame.elementDepthCount--;var n=fe();n.firstCreatePass&&(Ve(n,t),jt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&mo(n,e,he(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&mo(n,e,he(),e.stylesWithoutHost,!1)}function go(t,e,n,i){vo(t,e,n,i),bo()}function yo(t,e,n){var i=he(),r=fe(),a=t+20,o=r.firstCreatePass?function(t,e,n,i,r){var a=e.consts,o=oe(a,i),s=hr(e,n[6],t,4,"ng-container",o);return null!==o&&Za(s,o,!0),Cr(e,n,s,oe(a,r)),null!==e.queries&&e.queries.elementStart(e,s),s}(t,r,i,e,n):r.data[a];me(o,!0);var s=i[a]=i[11].createComment("");pa(r,i,s,o),Li(s,i),Nt(o)&&(br(r,i,o),vr(r,o,i)),null!=n&&gr(i,o)}function _o(){var t=pe(),e=fe();ve()?be():me(t=t.parent,!1),e.firstCreatePass&&(Ve(e,t),jt(t)&&e.queries.elementEnd(t))}function wo(t,e,n){yo(t,e,n),_o()}function ko(){return he()}function So(t){return!!t&&"function"==typeof t.then}function xo(t){return!!t&&"function"==typeof t.subscribe}function Co(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=he(),a=fe(),o=pe();return Eo(a,r,r[11],o,t,e,n,i),Co}function To(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=pe(),a=he(),o=fe();return Eo(o,a,Jr(Te(o.data),r,a),r,t,e,n,i),To}function Eo(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=Nt(i),u=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),l=Xr(e),h=!0;if(3===i.type){var f=$t(i,e),d=s?s(f):gt,p=d.target||f,m=l.length,v=s?function(t){return s(Zt(t[i.index])).target}:i.index;if(Gt(n)){var b=null;if(!s&&c&&(b=function(t,e,n,i){var r=t.cleanup;if(null!=r)for(var a=0;a<r.length-1;a+=2){var o=r[a];if(o===n&&r[a+1]===i){var s=e[7],c=r[a+2];return s.length>c?s[c]:null}"string"==typeof o&&(a+=2)}return null}(t,e,r,i.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=a,b.__ngLastListenerFn__=a,h=!1;else{a=Mo(i,e,a,!1);var g=n.listen(d.name||p,r,a);l.push(a,g),u&&u.push(r,v,m,m+1)}}else a=Mo(i,e,a,!0),p.addEventListener(r,a,o),l.push(a),u&&u.push(r,v,m,o)}var y,_=i.outputs;if(h&&null!==_&&(y=_[r])){var w=y.length;if(w)for(var k=0;k<w;k+=2){var S=e[y[k]][y[k+1]].subscribe(a),x=l.length;l.push(a,S),u&&u.push(r,i.index,x,-(x+1))}}}function Oo(t,e,n){try{return!1!==e(n)}catch(i){return Gr(t,i),!1}}function Mo(t,e,n,i){return function r(a){if(a===Function)return n;var o=2&t.flags?ne(t.index,e):e;0==(32&e[2])&&Ur(o);for(var s=Oo(e,n,a),c=r.__ngNextListenerFn__;c;)s=Oo(e,c,a)&&s,c=c.__ngNextListenerFn__;return i&&!1===s&&(a.preventDefault(),a.returnValue=!1),s}}function Ao(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(ue.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,ue.lFrame.contextLView))[8]}(t)}function Io(t,e){for(var n=null,i=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),r=0;r<e.length;r++){var a=e[r];if("*"!==a){if(null===i?Hi(t,a,!0):qi(i,a))return r}else n=r}return n}function Ro(t){var e=he()[16][6];if(!e.projection)for(var n=e.projection=ht(t?t.length:1,null),i=n.slice(),r=e.child;null!==r;){var a=t?Io(r,t):0;null!==a&&(i[a]?i[a].projectionNext=r:n[a]=r,i[a]=r),r=r.next}}var Lo=!1;function Po(t){Lo=t}function jo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=he(),r=fe(),a=hr(r,i[6],t,1,null,n||null);null===a.projection&&(a.projection=e),be(),Lo||ya(r,i,a)}function Do(t,e,n){return No(t,"",e,"",n),Do}function No(t,e,n,i,r){var a=he(),o=so(a,e,n,i);return o!==Xi&&xr(fe(),Be(),a,t,o,a[11],r,!1),No}var Bo=[];function Fo(t,e,n,i,r){for(var a=t[n+1],o=null===e,s=i?ir(a):ar(a),c=!1;0!==s&&(!1===c||o);){var u=t[s+1];zo(t[s],e)&&(c=!0,t[s+1]=i?sr(u):rr(u)),s=i?ir(u):ar(u)}c&&(t[n+1]=i?rr(a):sr(a))}function zo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&pt(t,e)>=0}var Vo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
1;function Uo(t){return t.substring(Vo.key,Vo.keyEnd)}function Ho(t){return t.substring(Vo.value,Vo.valueEnd)}function qo(t,e){var n=Vo.textEnd;return n===e?-1:(e=Vo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Vo.key=e,n),Xo(t,e,n))}function Wo(t,e){var n=Vo.textEnd,i=Vo.key=Xo(t,e,n);return n===i?-1:(i=Vo.keyEnd=function(t,e,n){for(var i;e<n&&(45===(i=t.charCodeAt(e))||95===i||(-33&i)>=65&&(-33&i)<=90);)e++;return e}(t,i,n),i=Jo(t,i,n),i=Vo.value=Xo(t,i,n),i=Vo.valueEnd=function(t,e,n){for(var i=-1,r=-1,a=-1,o=e,s=o;o<n;){var c=t.charCodeAt(o++);if(59===c)return s;34===c||39===c?s=o=Go(t,c,o,n):e===o-4&&85===a&&82===r&&76===i&&40===c?s=o=Go(t,41,o,n):c>32&&(s=o),a=r,r=i,i=-33&c}return s}(t,i,n),Jo(t,i,n))}function Ko(t){Vo.key=0,Vo.keyEnd=0,Vo.value=0,Vo.valueEnd=0,Vo.textEnd=t.length}function Xo(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Jo(t,e,n,i){return(e=Xo(t,e,n))<n&&e++,e}function Go(t,e,n,i){for(var r=-1,a=n;a<i;){var o=t.charCodeAt(a++);if(o==e&&92!==r)return a;r=92==o&&92===r?0:o}throw new Error}function Yo(t,e,n){return es(t,e,n,!1),Yo}function Zo(t,e){return es(t,e,null,!0),Zo}function Qo(t,e){for(var n=function(t){return Ko(t),Wo(t,Xo(t,0,Vo.textEnd))}(e);n>=0;n=Wo(e,n))ss(t,Uo(e),Ho(e))}function $o(t){ns(ft,ts,t,!0)}function ts(t,e){for(var n=function(t){return Ko(t),qo(t,Xo(t,0,Vo.textEnd))}(e);n>=0;n=qo(e,n))ft(t,Uo(e),!0)}function es(t,e,n,i){var r=he(),a=fe(),o=Se(2);a.firstUpdatePass&&rs(a,t,o,i),e!==Xi&&ro(r,o,e)&&cs(a,a.data[De()+20],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=E(Jn(t)))),t}(e,n),i,o)}function ns(t,e,n,i){var r=fe(),a=Se(2);r.firstUpdatePass&&rs(r,null,a,i);var o=he();if(n!==Xi&&ro(o,a,n)){var s=r.data[De()+20];if(hs(s,i)&&!is(r,a)){var c=i?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=O(c,n||"")),mo(r,s,o,n,i)}else!function(t,e,n,i,r,a,o,s){r===Xi&&(r=Bo);for(var c=0,u=0,l=0<r.length?r[0]:null,h=0<a.length?a[0]:null;null!==l||null!==h;){var f=c<r.length?r[c+1]:void 0,d=u<a.length?a[u+1]:void 0,p=null,m=void 0;l===h?(c+=2,u+=2,f!==d&&(p=h,m=d)):null===h||null!==l&&l<h?(c+=2,p=l):(u+=2,p=h,m=d),null!==p&&cs(t,e,n,i,p,m,o,s),l=c<r.length?r[c]:null,h=u<a.length?a[u]:null}}(r,s,o,o[11],o[a+1],o[a+1]=function(t,e,n){if(null==n||""===n)return Bo;var i=[],r=Jn(n);if(Array.isArray(r))for(var a=0;a<r.length;a++)t(i,r[a],!0);else if("object"==typeof r)for(var o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else"string"==typeof r&&e(i,r);return i}(t,e,n),i,a)}}function is(t,e){return e>=t.expandoStartIndex}function rs(t,e,n,i){var r=t.data;if(null===r[n+1]){var a=r[De()+20],o=is(t,n);hs(a,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){var r=Te(t),a=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=os(n=as(null,t,e,n,i),e.attrs,i),a=null);else{var o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=as(r,t,e,n,i),null===a){var s=function(t,e,n){var i=n?e.classBindings:e.styleBindings;if(0!==ar(i))return t[ir(i)]}(t,e,i);void 0!==s&&Array.isArray(s)&&function(t,e,n,i){t[ir(n?e.classBindings:e.styleBindings)]=i}(t,e,i,s=os(s=as(null,t,e,s[1],i),e.attrs,i))}else a=function(t,e,n){for(var i=void 0,r=e.directiveEnd,a=1+e.directiveStylingLast;a<r;a++)i=os(i,t[a].hostAttrs,n);return os(i,e.attrs,n)}(t,e,i)}return void 0!==a&&(i?e.residualClasses=a:e.residualStyles=a),n}(r,a,e,i),function(t,e,n,i,r,a){var o=a?e.classBindings:e.styleBindings,s=ir(o),c=ar(o);t[i]=n;var u,l=!1;if(Array.isArray(n)){var h=n;(null===(u=h[1])||pt(h,u)>0)&&(l=!0)}else u=n;if(r)if(0!==c){var f=ir(t[s+1]);t[i+1]=nr(f,s),0!==f&&(t[f+1]=or(t[f+1],i)),t[s+1]=131071&t[s+1]|i<<17}else t[i+1]=nr(s,0),0!==s&&(t[s+1]=or(t[s+1],i)),s=i;else t[i+1]=nr(c,0),0===s?s=i:t[c+1]=or(t[c+1],i),c=i;l&&(t[i+1]=rr(t[i+1])),Fo(t,u,i,!0),Fo(t,u,i,!1),function(t,e,n,i,r){var a=r?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof e&&pt(a,e)>=0&&(n[i+1]=sr(n[i+1]))}(e,u,t,i,a),o=nr(s,c),a?e.classBindings=o:e.styleBindings=o}(r,a,e,n,o,i)}}function as(t,e,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<o&&(i=os(i,(a=e[s]).hostAttrs,r),a!==t);)s++;return null!==t&&(n.directiveStylingLast=s),i}function os(t,e,n){var i=n?1:2,r=-1;if(null!==e)for(var a=0;a<e.length;a++){var o=e[a];"number"==typeof o?r=o:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),ft(t,o,!!n||e[++a]))}return void 0===t?null:t}function ss(t,e,n){ft(t,e,Jn(n))}
1function cs(t,e,n,i,r,a,o,s){if(3===e.type){var c=t.data,u=c[s+1];ls(1==(1&u)?us(c,e,n,r,ar(u),o):void 0)||(ls(a)||2==(2&u)&&(a=us(c,null,n,r,s,o)),function(t,e,n,i,r){var a=Gt(t);if(e)r?a?t.addClass(n,i):n.classList.add(i):a?t.removeClass(n,i):n.classList.remove(i);else{var o=-1==i.indexOf("-")?void 0:2;null==r?a?t.removeStyle(n,i,o):n.style.removeProperty(i):a?t.setStyle(n,i,r,o):n.style.setProperty(i,r)}}(i,o,Qt(De(),n),r,a))}}function us(t,e,n,i,r,a){for(var o=null===e,s=void 0;r>0;){var c=t[r],u=Array.isArray(c),l=u?c[1]:c,h=null===l,f=n[r+1];f===Xi&&(f=h?Bo:void 0);var d=h?dt(f,i):l===i?f:void 0;if(u&&!ls(d)&&(d=dt(c,i)),ls(d)&&(s=d,o))return s;var p=t[r+1];r=o?ir(p):ar(p)}if(null!==e){var m=a?e.residualClasses:e.residualStyles;null!=m&&(s=dt(m,i))}return s}function ls(t){return void 0!==t}function hs(t,e){return 0!=(t.flags&(e?16:32))}function fs(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=he(),i=fe(),r=t+20,a=i.firstCreatePass?hr(i,n[6],t,3,null,null):i.data[r],o=n[r]=ea(e,n[11]);pa(i,n,o,a),me(a,!1)}function ds(t){return ps("",t,""),ds}function ps(t,e,n){var i=he(),r=so(i,t,e,n);return r!==Xi&&Zr(i,De(),r),ps}function ms(t,e,n,i,r){var a=he(),o=function(t,e,n,i,r,a){var o=ao(t,we(),n,r);return Se(2),o?e+mn(n)+i+mn(r)+a:Xi}(a,t,e,n,i,r);return o!==Xi&&Zr(a,De(),o),ms}function vs(t,e,n,i,r,a,o){var s=he(),c=function(t,e,n,i,r,a,o,s){var c=function(t,e,n,i,r){var a=ao(t,e,n,i);return ro(t,e+2,r)||a}(t,we(),n,r,o);return Se(3),c?e+mn(n)+i+mn(r)+a+mn(o)+s:Xi}(s,t,e,n,i,r,a,o);return c!==Xi&&Zr(s,De(),c),vs}function bs(t,e,n){ns(ft,ts,so(he(),t,e,n),!0)}function gs(t,e,n){ns(ss,Qo,so(he(),t,e,n),!1)}function ys(t,e,n){var i=he();return ro(i,ke(),e)&&xr(fe(),Be(),i,t,e,i[11],n,!0),ys}function _s(t,e,n){var i=he();if(ro(i,ke(),e)){var r=fe(),a=Be();xr(r,a,i,t,e,Jr(Te(r.data),a,i),n,!0)}return _s}function ws(t,e){var n=ie(t)[1],i=n.data.length-1;Ve(n,{directiveStart:i,directiveEnd:i+1})}function ks(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,i=[t];e;){var r=void 0;if(Bt(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);var a=t;a.inputs=Ss(t.inputs),a.declaredInputs=Ss(t.declaredInputs),a.outputs=Ss(t.outputs);var o=r.hostBindings;o&&Ts(t,o);var s=r.viewQuery,c=r.contentQueries;if(s&&xs(t,s),c&&Cs(t,c),v(t.inputs,r.inputs),v(t.declaredInputs,r.declaredInputs),v(t.outputs,r.outputs),Bt(r)&&r.data.animation){var u=t.data;u.animation=(u.animation||[]).concat(r.data.animation)}}var l=r.features;if(l)for(var h=0;h<l.length;h++){var f=l[h];f&&f.ngInherit&&f(t),f===ks&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){for(var e=0,n=null,i=t.length-1;i>=0;i--){var r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=un(r.hostAttrs,n=un(n,r.hostAttrs))}}(i)}function Ss(t){return t===gt?{}:t===yt?[]:t}function xs(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function Cs(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,r){e(t,i,r),n(t,i,r)}:e}function Ts(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}function Es(t,e,n,i,r){if(t=I(t),Array.isArray(t))for(var a=0;a<t.length;a++)Es(t[a],e,n,i,r);else{var o=fe(),s=he(),c=Xa(t)?t:I(t.provide),u=qa(t),l=pe(),h=1048575&l.providerIndexes,f=l.directiveStart,d=l.providerIndexes>>20;if(Xa(t)||!t.multi){var p=new $e(u,r,lo),m=As(c,e,r?h:h+d,f);-1===m?(En(Sn(l,s),o,c),Os(o,t,e.length),e.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{var v=As(c,e,h+d,f),b=As(c,e,h,h+d),g=v>=0&&n[v],y=b>=0&&n[b];if(r&&!y||!r&&!g){En(Sn(l,s),o,c);var _=function(t,e,n,i,r){var a=new $e(t,n,lo);return a.multi=[],a.index=e,a.componentProviders=0,Ms(a,r,i&&!n),a}(r?Rs:Is,n.length,r,i,u);!r&&y&&(n[b].providerFactory=_),Os(o,t,e.length,0),e.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(_),s.push(_)}else Os(o,t,v>-1?v:b,Ms(n[r?b:v],u,!r&&i));!r&&i&&y&&n[b].componentProviders++}}}function Os(t,e,n,i){var r=Xa(e);if(r||e.useClass){var a=(e.useClass||e).prototype.ngOnDestroy;if(a){var o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,a]):o[s+1].push(i,a)}else o.push(n,a)}}}function Ms(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function As(t,e,n,i){for(var r=n;r<i;r++)if(e[r]===t)return r;return-1}function Is(t,e,n,i){return Ls(this.multi,[])}function Rs(t,e,n,i){var r,a=this.multi;if(this.providerFactory){var o=this.providerFactory.componentProviders,s=Rn(n,n[1],this.providerFactory.index,i);Ls(a,r=s.slice(0,o));for(var c=o;c<s.length;c++)r.push(s[c])}else Ls(a,r=[]);return r}function Ls(t,e){for(var n=0;n<t.length;n++)e.push((0,t[n])());return e}function Ps(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(t,e,n){var i=fe();if(i.firstCreatePass){var r=Bt(t);Es(n,i.data,i.blueprint,r,!0),Es(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}}var js=function t(){Qe(this,t)},Ds=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(E(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),Ns=function(){var t=function t(){Qe(this,t)};return t.NULL=new Ds,t}(),Bs=function(){var t=function t(e){Qe(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=function(){return Fs(t)},t}(),Fs=function(t){return Oa(t,pe(),he())},zs=function t(){Qe(this,t)},Vs=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Us=function(){var t=function t(){Qe(this,t)};return t.__NG_ELEMENT_ID__=function(){return Hs()},t}(),Hs=function(){var t=he(),e=ne(pe().index,t);return function(t){var e=t[11];if(Gt(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Lt(e)?e:t)},qs=function(){var t=function t(){Qe(this,t)};return t.\u0275prov=b({token:t,providedIn:"root",factory:function(){return null}}),t}(),Ws=function t(e){Qe(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},Ks=new Ws("10.0.8"),Xs=function(){function t(){Qe(this,t)}
vendor: 6,663 bytes, line 1
1return tn(t,[{key:"supports",value:function(t){return eo(t)}},{key:"create",value:function(t){return new Gs(t)}}]),t}(),Js=function(t,e){return e},Gs=function(){function t(e){Qe(this,t),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=e||Js}return tn(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var a=!n||e&&e.currentIndex<$s(n,i,r)?e:n,o=$s(a,i,r),s=a.currentIndex;if(a===n)i--,n=n._nextRemoved;else if(e=e._next,null==a.previousIndex)i++;else{r||(r=[]);var c=o-i,u=s-i;if(c!=u){for(var l=0;l<c;l++){var h=l<r.length?r[l]:r[l]=0,f=h+l;u<=f&&f<c&&(r[l]=h+1)}r[a.previousIndex]=u-c}}o!==s&&t(a,o,s)}}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachMovedItem",value:function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"forEachIdentityChange",value:function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}},{key:"diff",value:function(t){if(null==t&&(t=[]),!eo(t))throw new Error("Error trying to diff '".concat(E(t),"'. Only arrays and iterables are allowed"));return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n,i,r,a=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)i=t[s],r=this._trackByFn(s,i),null!==a&&Object.is(a.trackById,r)?(o&&(a=this._verifyReinsertion(a,i,r,s)),Object.is(a.item,i)||this._addIdentityChange(a,i)):(a=this._mismatch(a,i,r,s),o=!0),a=a._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var i,r=t[$a()]();!(i=r.next()).done;)e(i.value)}(t,(function(t){r=e._trackByFn(n,t),null!==a&&Object.is(a.trackById,r)?(o&&(a=e._verifyReinsertion(a,t,r,n)),Object.is(a.item,t)||e._addIdentityChange(a,t)):(a=e._mismatch(a,t,r,n),o=!0),a=a._next,n++})),this.length=n;return this._truncate(a),this.collection=t,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(t,e,n,i){var r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new Ys(e,n),r,i),t}},{key:"_verifyReinsertion",value:function(t,e,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}},{key:"_truncate",value:function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}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)}},{key:"_reinsertAfter",value:function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_moveAfter",value:function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_addAfter",value:function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}},{key:"_insertAfter",value:function(t,e,n){var i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Qs),this._linkedRecords.put(t),t.currentIndex=n,t}},{key:"_remove",value:function(t){return this._addToRemovals(this._unlink(t))}},{key:"_unlink",value:function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}},{key:"_addToMoves",value:function(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}},{key:"_addToRemovals",value:function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Qs),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}},{key:"_addIdentityChange",value:function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),t}(),Ys=function t(e,n){Qe(this,t),this.item=e,this.trackById=n,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},Zs=function(){function t(){Qe(this,t),this._head=null,this._tail=null}
1return tn(t,[{key:"add",value:function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}},{key:"get",value:function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}},{key:"remove",value:function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}]),t}(),Qs=function(){function t(){Qe(this,t),this.map=new Map}return tn(t,[{key:"put",value:function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Zs,this.map.set(e,n)),n.add(t)}},{key:"get",value:function(t,e){var n=this.map.get(t);return n?n.get(t,e):null}},{key:"remove",value:function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),t}();function $s(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+e+r}var tc=function(){function t(){Qe(this,t)}
vendor: 3,925 bytes, line 1
1return tn(t,[{key:"supports",value:function(t){return t instanceof Map||no(t)}},{key:"create",value:function(){return new ec}}]),t}(),ec=function(){function t(){Qe(this,t),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return tn(t,[{key:"forEachItem",value:function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachChangedItem",value:function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"diff",value:function(t){if(t){if(!(t instanceof Map||no(t)))throw new Error("Error trying to diff '".concat(E(t),"'. Only maps and objects are allowed"))}else t=new Map;return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(function(t,i){if(n&&n.key===i)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var r=e._getOrCreateRecordForKey(i,t);n=e._insertBeforeOrAppend(n,r)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}},{key:"_getOrCreateRecordForKey",value:function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var a=new nc(t);return this._records.set(t,a),a.currentValue=e,this._addToAdditions(a),a}},{key:"_reset",value:function(){if(this.isDirty){var t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}},{key:"_addToAdditions",value:function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}},{key:"_addToChanges",value:function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}},{key:"_forEach",value:function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach((function(n){return e(t[n],n)}))}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),t}(),nc=function t(e){Qe(this,t),this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},ic=function(){var t=function(){function t(e){Qe(this,t),this.factories=e}
1return tn(t,[{key:"find",value:function(t){var e,n=this.factories.find((function(e){return e.supports(t)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat((e=t).name||typeof e,"'"))}}],[{key:"create",value:function(e,n){if(null!=n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new d,new h]]}}}]),t}();return t.\u0275prov=b({token:t,providedIn:"root",factory:function(){return new t([new Xs])}}),t}(),rc=function(){var t=function(){function t(e){Qe(this,t),this.factories=e}return tn(t,[{key:"find",value:function(t){var e=this.factories.find((function(e){return e.supports(t)}));if(e)return e;throw new Error("Cannot find a differ supporting object '".concat(t,"'"))}}],[{key:"create",value:function(e,n){if(n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new d,new h]]}}}]),t}();return t.\u0275prov=b({token:t,providedIn:"root",factory:function(){return new t([new tc])}}),t}(),ac=[new tc],oc=new ic([new Xs]),sc=new rc(ac),cc=function(){var t=function t(){Qe(this,t)};return t.__NG_ELEMENT_ID__=function(){return uc(t,Bs)},t}(),uc=function(t,e){return Ma(t,e,pe(),he())},lc=function(){var t=function t(){Qe(this,t)};return t.__NG_ELEMENT_ID__=function(){return hc(t,Bs)},t}(),hc=function(t,e){return Aa(t,e,pe(),he())},fc={},dc=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this)).ngModule=t,i}return tn(n,[{key:"resolveComponentFactory",value:function(t){var e=At(t);return new vc(e,this.ngModule)}}]),n}(Ns);function pc(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var mc=new W("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return bn}}),vc=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this)).componentDef=t,r.ngModule=i,r.componentType=t.type,r.selector=t.selectors.map(Ki).join(","),r.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],r.isBoundToModule=!!i,r}return tn(n,[{key:"create",value:function(t,e,n,i){var r,a,o=(i=i||this.ngModule)?function(t,e){return{get:function(n,i,r){var a=t.get(n,fc,r);return a!==fc||i===fc?a:e.get(n,i,r)}}}(t,i.injector):t,s=o.get(zs,Yt),c=o.get(qs,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(Gt(t))return t.selectRootElement(e,n===bt.ShadowDom);var i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(u,n,this.componentDef.encapsulation):ur(l,s.createRenderer(null,this.componentDef),function(t){var e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:bn,clean:Kr,playerHandler:null,flags:0},p=_r(0,-1,null,1,0,null,null,null,null,null),m=lr(null,p,d,f,null,null,s,u,c,o);Ae(m,null);try{var v=function(t,e,n,i,r,a){var o=n[1];n[20]=t;var s=hr(o,null,0,3,null,null),c=s.mergedAttrs=e.hostAttrs;null!==c&&(Za(s,c,!0),null!==t&&(nn(r,t,c),null!==s.classes&&ka(r,t,s.classes),null!==s.styles&&wa(r,t,s.styles)));var u=i.createRenderer(t,e),l=lr(n,yr(e),null,e.onPush?64:16,n[20],s,i,u,void 0);return o.firstCreatePass&&(En(Sn(s,n),o,e.type),Ar(o,s),Rr(s,n.length,1)),Vr(n,l),n[20]=l}(h,this.componentDef,m,s,u);if(h)if(n)nn(u,h,["ng-version",Ks.full]);else{var b=function(t){for(var e=[],n=[],i=1,r=2;i<t.length;){var a=t[i];if("string"==typeof a)2===r?""!==a&&e.push(a,t[++i]):8===r&&n.push(a);else{if(!Vi(r))break;r=a}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]),g=b.attrs,y=b.classes;g&&nn(u,h,g),y&&y.length>0&&ka(u,h,y.join(" "))}if(a=te(p,0),void 0!==e)for(var _=a.projection=[],w=0;w<this.ngContentSelectors.length;w++){var k=e[w];_.push(null!=k?Array.from(k):null)}r=function(t,e,n,i,r){var a=n[1],o=function(t,e,n){var i=pe();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Mr(t,i,1),Lr(t,e,n));var r=Rn(e,t,e.length-1,i);Li(r,e);var a=$t(i,e);return a&&Li(a,e),r}(a,n,e);i.components.push(o),t[8]=o,r&&r.forEach((function(t){return t(o,e)})),e.contentQueries&&e.contentQueries(1,o,n.length-1);var s=pe();if(a.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Ne(s.index-20);var c=n[1];Tr(c,e),Er(c,n,e.hostVars),Or(e,o)}return o}(v,this.componentDef,m,d,[ws]),fr(p,m,null)}finally{je()}var S=new bc(this.componentType,r,Oa(Bs,a,m),m,a);return p.node.child=a,S}},{key:"inputs",get:function(){return pc(this.componentDef.inputs)}},{key:"outputs",get:function(){return pc(this.componentDef.outputs)}}]),n}(js),bc=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s,c,u,l;return Qe(this,n),(s=e.call(this)).location=r,s._rootLView=a,s._tNo
1de=o,s.destroyCbs=[],s.instance=i,s.hostView=s.changeDetectorRef=new Ea(a),c=a[1],u=a,null==(l=c.node)&&(c.node=l=kr(0,null,2,-1,null,null)),u[6]=l,s.componentType=t,s}return tn(n,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(t){this.destroyCbs&&this.destroyCbs.push(t)}},{key:"injector",get:function(){return new jn(this._tNode,this._rootLView)}}]),n}(function(){return function t(){Qe(this,t)}}()),gc=void 0,yc=["en",[["a","p"],["AM","PM"],gc],[["AM","PM"],gc,gc],[["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"]],gc,[["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"]],gc,[["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}",gc,"{1} 'at' {0}",gc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],_c={};function wc(t,e,n){"string"!=typeof e&&(n=e,e=t[Tc.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),_c[e]=t,n&&(_c[e][Tc.ExtraData]=n)}function kc(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=Cc(e);if(n)return n;var i=e.split("-")[0];if(n=Cc(i))return n;if("en"===i)return yc;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function Sc(t){return kc(t)[Tc.CurrencyCode]||null}function xc(t){return kc(t)[Tc.PluralCase]}function Cc(t){return t in _c||(_c[t]=N.ng&&N.ng.common&&N.ng.common.locales&&N.ng.common.locales[t]),_c[t]}var Tc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({}),Ec=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Oc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Mc=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Ac=/\ufffd(\d+):?\d*\ufffd/gi,Ic=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Rc=/\[(\ufffd.+?\ufffd?)\]/,Lc=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Pc=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,jc=/{([A-Z0-9_]+)}/g,Dc=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Nc=/\/\*/,Bc=/\d+\:(\d+)/;function Fc(t){if(!t)return[];var e,n=0,i=[],r=[],a=/[{}]/g;for(a.lastIndex=0;e=a.exec(t);){var o=e.index;if("}"==e[0]){if(i.pop(),0==i.length){var s=t.substring(n,o);Ec.test(s)?r.push(zc(s)):r.push(s),n=o+1}}else{if(0==i.length){var c=t.substring(n,o);r.push(c),n=o+1}i.push("{")}}var u=t.substring(n);return r.push(u),r}function zc(t){for(var e=[],n=[],i=1,r=0,a=Fc(t=t.replace(Ec,(function(t,e,n){return i="select"===n?0:1,r=parseInt(e.substr(1),10),""}))),o=0;o<a.length;){var s=a[o++].trim();1===i&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&e.push(s);var c=Fc(a[o++]);e.length>n.length&&n.push(c)}return{type:i,mainBinding:r,cases:e,values:n}}function Vc(t){for(var e,n,i="",r=0,a=!1;null!==(e=Oc.exec(t));)a?e[0]==="\ufffd/*".concat(n,"\ufffd")&&(r=e.index,a=!1):(i+=t.substring(r,e.index+e[0].length),n=e[1],a=!0);return i+=t.substr(r)}function Uc(t,e,n){for(var i=arguments.length>
13&&void 0!==arguments[3]?arguments[3]:null,r=[null,null],a=t.split(Ac),o=0,s=0;s<a.length;s++){var c=a[s];if(1&s){var u=parseInt(c,10);r.push(-1-u),o|=Kc(u)}else""!==c&&r.push(c)}return r.push(e<<2|(n?1:0)),n&&r.push(n,i),r[0]=o,r[1]=r.length-2,r}function Hc(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n|=Kc(t.mainBinding);for(var i=0;i<t.values.length;i++)for(var r=t.values[i],a=0;a<r.length;a++){var o=r[a];if("string"==typeof o)for(;e=Ac.exec(o);)n|=Kc(parseInt(e[1],10));else n=Hc(o,n)}return n}var qc=[],Wc=-1;function Kc(t){return 1<<Math.min(t,31)}var Xc,Jc=[];function Gc(t,e,n){var i=fe();qc[++Wc]=t,Po(!0),i.firstCreatePass&&null===i.data[t+20]&&function(t,e,n,i,r){var a=e.blueprint.length-20;Xc=0;var o=pe(),s=ve()?o:o&&o.parent,c=s&&s!==t[6]?s.index-20:n,u=0;Jc[u]=c;var l=[];if(n>0&&o!==s){var h=o.index-20;ve()||(h=~h),l.push(h<<3|0)}var f,d=[],p=[];if(""===i&&Qc(r))l.push(i,Yc(a),c<<17|1);else for(var m=function(t,e){if(Qc(e))return Vc(t);var n=t.indexOf(":".concat(e,"\ufffd"))+2+e.toString().length,i=t.search(new RegExp("\ufffd\\/\\*\\d+:".concat(e,"\ufffd")));return Vc(t.substring(n,i))}(i,r),v=(f=m,f.replace(cu," ")).split(Mc),b=0;b<v.length;b++){var g=v[b];if(1&b)if("/"===g.charAt(0)){if("#"===g.charAt(1)){var y=parseInt(g.substr(2),10);c=Jc[--u],l.push(y<<3|5)}}else{var _=parseInt(g.substr(1),10),w="#"===g.charAt(0);l.push((w?_:~_)<<3|0,c<<17|1),w&&(Jc[++u]=c=_)}else for(var k=Fc(g),S=0;S<k.length;S++)if(1&S){var x=k[S];if("object"!=typeof x)throw new Error('Unable to parse ICU expression in "'.concat(m,'" message.'));var C=Yc(a);l.push(er,"",C,c<<17|1);var T=Hc(x);au(p,x,C,C);var E=p.length-1;d.push(Kc(x.mainBinding),3,-1-x.mainBinding,C<<2|2,E,T,2,C<<2|3,E)}else if(""!==k[S]){var O=k[S],M=O.match(Ac),A=Yc(a);l.push(M?"":O,A,c<<17|1),M&&st(Uc(O,A),d)}}Xc>0&&function(t,e,n){if(n>0&&t.firstCreatePass){for(var i=0;i<n;i++)t.blueprint.push(null),t.data.push(null),e.push(null);t.expandoInstructions?t.expandoInstructions.push(n):t.expandoStartIndex+=n}}(e,t,Xc),e.data[n+20]={vars:Xc,create:l,update:d,icus:p.length?p:null}}(he(),i,t,e,n)}function Yc(t){return t+Xc++}function Zc(t,e,n,i,r){var a=e.next;i||(i=n),i===n&&e!==n.child?(e.next=n.child,n.child=e):i!==n&&e!==i.next?(e.next=i.next,i.next=e):e.next=null,n!==r[6]&&(e.parent=n);for(var o=e.next;o;)o.next===e&&(o.next=a),o=o.next;if(1===e.type)return ya(t,r,e),e;pa(t,r,$t(e,r),e);var s=r[e.index];return 0!==e.type&&Pt(s)&&pa(t,r,s[7],e),e}function Qc(t){return void 0===t}function $c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;if(Rc.test(t)){var i={},r=[0];n=n.replace(Lc,(function(t,e,n){var a=e||n,o=i[a]||[];if(o.length||(a.split("|").forEach((function(t){var e=t.match(Bc),n=e?parseInt(e[1],10):0,i=Nc.test(t);o.push([n,i,t])})),i[a]=o),!o.length)throw new Error("i18n postprocess: unmatched placeholder - "+a);for(var s=r[r.length-1],c=0,u=0;u<o.length;u++)if(o[u][0]===s){c=u;break}var l=Ke(o[c],3),h=l[0],f=l[1],d=l[2];return f?r.pop():s!==h&&r.push(h),o.splice(c,1),d}))}return Object.keys(e).length?n=(n=(n=n.replace(Pc,(function(t,n,i,r,a,o){return e.hasOwnProperty(i)?"".concat(n).concat(e[i]).concat(o):t}))).replace(jc,(function(t,n){return e.hasOwnProperty(n)?e[n]:t}))).replace(Dc,(function(t,n){if(e.hasOwnProperty(n)){var i=e[n];if(!i.length)throw new Error("i18n postprocess: unmatched ICU - ".concat(t," with key: ").concat(n));return i.shift()}return t})):n}function tu(){var t=he();!function(t,e){for(var n=qc[Wc--],i=t.data[n+20],r=pe(),a=function(t,e,n,i){for(var r=i[11],a=null,o=null,s=[],c=0;c<e.length;c++){var u=e[c];if("string"==typeof u){var l=ea(u,r),h=e[++c];o=a,a=eu(n,i,h,3,l,null),s.push(h),be()}else if("number"==typeof u)switch(7&u){case 1:var f=u>>>17;o=Zc(n,a,f===t?i[6]:te(n,f),o,i);break;case 0:var d=u>=0,p=(d?u:~u)>>>3;s.push(p),o=a,(a=te(n,p))&&me(a,d);break;case 5:o=a=te(n,u>>>3),me(a,!1);break;case 4:var m=e[++c],v=e[++c];jr(te(n,u>>>3),i,m,v,null,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(u,'"'))}else switch(u){case er:var b=e[++c],g=e[++c],y=r.createComment(b);o=a,a=eu(n,i,g,5,y,null),s.push(g),Li(y,i),a.activeCaseIndex=null,be();break;case tr:var _=e[++c],w=e[++c];o=a,a=eu(n,i,w,3,r.createElement(_),_),s.push(w);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(u,'"'))}}return be(),s}(n,i.create,t,e),o=n+1;o<=r.index-20;){-1===a.indexOf(o)&&nu(t,e,o,!0);var s=te(t,o);
1!s||0!==s.type&&3!==s.type&&4!==s.type||null===s.localNames||(o+=s.localNames.length>>1),o++}}(fe(),t),Po(!1)}function eu(t,e,n,i,r,a){var o=pe();e[n+20]=r;var s=hr(t,e[6],n,i,a,null);return o&&o.next===s&&(o.next=null),s}function nu(t,e,n,i){var r=te(t,n),a=Qt(n,e);a&&va(e[11],a);var o=ee(e,n);if(Pt(o)){var s=o;0!==r.type&&va(e[11],s[7])}i&&(r.flags|=64)}function iu(t,e,n){Gc(t,e,n),tu()}function ru(t,e){!function(t,e,n,i){for(var r=pe().index-20,a=[],o=0;o<i.length;o+=2)for(var s=i[o],c=i[o+1].split(Ic),u=0;u<c.length;u++){var l=c[u];if(1&u)throw new Error("ICU expressions are not yet supported in attributes");if(""!==l)if(l.match(Ac))e.firstCreatePass&&null===e.data[n+20]&&st(Uc(l,r,s),a);else{var h=te(e,r);3===h.type&&jr(h,t,s,l,null,null);var f=null!==h.inputs&&h.inputs[s];f&&Yr(e,t,f,s,l)}}e.firstCreatePass&&null===e.data[n+20]&&(e.data[n+20]=a)}(he(),fe(),t,e)}function au(t,e,n,i){for(var r=[],a=[],o=[],s=[],c=[],u=0;u<e.values.length;u++){for(var l=e.values[u],h=[],f=0;f<l.length;f++){var d=l[f];if("string"!=typeof d){var p=h.push(d)-1;l[f]="\x3c!--\ufffd".concat(p,"\ufffd--\x3e")}}var m=ou(l.join(""),n,h,t,i);r.push(m.create),a.push(m.remove),o.push(m.update),s.push(m.vars),c.push(m.childIcus)}t.push({type:e.type,vars:s,childIcus:c,cases:e.cases,create:r,remove:a,update:o}),Xc+=Math.max.apply(Math,s)}function ou(t,e,n,i,r){var a=oi(Jt()).getInertBodyElement(t);if(!a)throw new Error("Unable to generate inert body element");var o={vars:0,childIcus:[],create:[],remove:[],update:[]};return function t(e,n,i,r,a,o){if(e){for(var s=[];e;){var c=e.nextSibling,u=o+ ++n.vars;switch(e.nodeType){case Node.ELEMENT_NODE:var l=e,h=l.tagName.toLowerCase();if(_i.hasOwnProperty(h)){n.create.push(tr,h,u,i<<17|1);for(var f=l.attributes,d=0;d<f.length;d++){var p=f.item(d),m=p.name.toLowerCase();p.value.match(Ac)?Si.hasOwnProperty(m)&&st(wi[m]?Uc(p.value,u,p.name,hi):ki[m]?Uc(p.value,u,p.name,fi):Uc(p.value,u,p.name),n.update):n.create.push(u<<3|4,p.name,p.value)}t(e.firstChild,n,u,r,a,o),n.remove.push(u<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var v=e.textContent||"",b=v.match(Ac);n.create.push(b?"":v,u,i<<17|1),n.remove.push(u<<3|3),b&&st(Uc(v,u),n.update);break;case Node.COMMENT_NODE:var g=su.exec(e.textContent||"");if(g){var y=parseInt(g[1],10);n.create.push(er,"",u,i<<17|1),s.push([r[y],u])}else n.vars--;break;default:n.vars--}e=c}for(var _=0;_<s.length;_++){var w=s[_][0],k=s[_][1];au(a,w,k,o+n.vars);var S=a.length-1;n.vars+=Math.max.apply(Math,Xe(a[S].vars)),n.childIcus.push(S);var x=Hc(w);n.update.push(Kc(w.mainBinding),3,-1-w.mainBinding,k<<2|2,S,x,2,k<<2|3,S),n.remove.push(S<<3|6,k<<3|3)}}}((Ai(a)||a).firstChild,o,e,n,i,r),o}var su=/\ufffd(\d+)\ufffd/,cu=/\uE500/g;function uu(t){var e;null==(e=t)&&function(t,e,n,i){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(e," <=Actual]"))}(0,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var lu=new Map,hu=function(t){en(n,t);var e=rn(n);function n(t,i){var r;Qe(this,n),(r=e.call(this))._parent=i,r._bootstrapComponents=[],r.injector=on(r),r.destroyCbs=[],r.componentFactoryResolver=new dc(on(r));var a=Rt(t),o=t[U]||null;return o&&uu(o),r._bootstrapComponents=yn(a.bootstrap),r._r3Injector=Va(t,i,[{provide:at,useValue:on(r)},{provide:Ns,useValue:r.componentFactoryResolver}],E(t)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(t),r}return tn(n,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ga.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.Default;return t===Ga||t===at||t===K?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(at),fu=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this)).moduleType=t,null!==Rt(t)&&function t(e){if(null!==e.\u0275mod.id){var n=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(E(e)," vs ").concat(E(e.name)))})(n,lu.get(n),e),lu.set(n,e)}var i=e.\u0275mod.imports;
1i instanceof Function&&(i=i()),i&&i.forEach((function(e){return t(e)}))}(t),i}return tn(n,[{key:"create",value:function(t){return new hu(this.moduleType,t)}}]),n}(ot);function du(t,e,n){var i=_e()+t,r=he();return r[i]===Xi?io(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function pu(t,e,n,i){return bu(he(),_e(),t,e,n,i)}function mu(t,e,n,i,r){return gu(he(),_e(),t,e,n,i,r)}function vu(t,e){var n=t[e];return n===Xi?void 0:n}function bu(t,e,n,i,r,a){var o=e+n;return ro(t,o,r)?io(t,o+1,a?i.call(a,r):i(r)):vu(t,o+1)}function gu(t,e,n,i,r,a,o){var s=e+n;return ao(t,s,r,a)?io(t,s+2,o?i.call(o,r,a):i(r,a)):vu(t,s+2)}function yu(t,e){var n,i=fe(),r=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var i=e[n];if(t===i.name)return i}throw new Error("The pipe '".concat(t,"' could not be found!"))}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=It(n.type)),o=Q(lo),s=wn(!1),c=a();return wn(s),Q(o),function(t,e,n,i){var r=n+20;r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=i}(i,he(),t,c),c}function _u(t,e,n){var i=he(),r=ee(i,t);return xu(i,Su(i,t)?bu(i,_e(),e,r.transform,n,r):r.transform(n))}function wu(t,e,n,i){var r=he(),a=ee(r,t);return xu(r,Su(r,t)?gu(r,_e(),e,a.transform,n,i,a):a.transform(n,i))}function ku(t,e,n,i,r,a){var o=he(),s=ee(o,t);return xu(o,Su(o,t)?function(t,e,n,i,r,a,o,s,c){var u=e+n;return function(t,e,n,i,r,a){var o=ao(t,e,n,i);return ao(t,e+2,r,a)||o}(t,u,r,a,o,s)?io(t,u+4,c?i.call(c,r,a,o,s):i(r,a,o,s)):vu(t,u+4)}(o,_e(),e,s.transform,n,i,r,a,s):s.transform(n,i,r,a))}function Su(t,e){return t[1].data[e+20].pure}function xu(t,e){return to.isWrapped(e)&&(e=to.unwrap(e),t[we()]=Xi),e}var Cu=function(t){en(n,t);var e=rn(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Qe(this,n),(t=e.call(this)).__isAsync=i,t}return tn(n,[{key:"emit",value:function(t){Je(cn(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,i){var a,o=function(t){return null},s=function(){return null};t&&"object"==typeof t?(a=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(o=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(a=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},e&&(o=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)}),i&&(s=this.__isAsync?function(){setTimeout((function(){return i()}))}:function(){i()}));var c=Je(cn(n.prototype),"subscribe",this).call(this,a,o,s);return t instanceof r.a&&t.add(c),c}}]),n}(i.a);function Tu(){return this._results[$a()]()}var Eu=function(){function t(){Qe(this,t),this.dirty=!0,this._results=[],this.changes=new Cu,this.length=0;var e=$a(),n=t.prototype;n[e]||(n[e]=Tu)}
1return tn(t,[{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var i=0;i<e.length;i++){var r=e[i];Array.isArray(r)?(n===e&&(n=e.slice(0,i)),t(r,n)):n!==e&&n.push(r)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),t}(),Ou=function(){function t(e){Qe(this,t),this.queryList=e,this.matches=null}
1return tn(t,[{key:"clone",value:function(){return new t(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),t}(),Mu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Qe(this,t),this.queries=e}return tn(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var i=null!==e.contentQueries?e.contentQueries[0]:n.length,r=[],a=0;a<i;a++){var o=n.getByIndex(a);r.push(this.queries[o.indexInDeclarationView].clone())}return new t(r)}return null}},{key:"insertView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"detachView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"dirtyQueriesWithMatches",value:function(t){for(var e=0;e<this.queries.length;e++)null!==Ku(t,e).matches&&this.queries[e].setDirty()}}]),t}(),Au=function t(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Qe(this,t),this.predicate=e,this.descendants=n,this.isStatic=i,this.read=r},Iu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Qe(this,t),this.queries=e}
1return tn(t,[{key:"elementStart",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}},{key:"elementEnd",value:function(t){for(var e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}},{key:"embeddedTView",value:function(e){for(var n=null,i=0;i<this.length;i++){var r=null!==n?n.length:0,a=this.getByIndex(i).embeddedTView(e,r);a&&(a.indexInDeclarationView=i,null!==n?n.push(a):n=[a])}return null!==n?new t(n):null}},{key:"template",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}},{key:"getByIndex",value:function(t){return this.queries[t]}},{key:"track",value:function(t){this.queries.push(t)}},{key:"length",get:function(){return this.queries.length}}]),t}(),Ru=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;Qe(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return tn(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,i=0;i<n.length;i++)this.matchTNodeWithReadOption(t,e,Lu(e,n[i]));else{var r=this.metadata.predicate;r===cc?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,In(e,t,r,!1,!1))}}},{key:"matchTNodeWithReadOption",value:function(t,e,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===Bs||i===lc||i===cc&&0===e.type)this.addMatch(e.index,-2);else{var r=In(e,t,i,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,n)}}},{key:"addMatch",value:function(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}]),t}();function Lu(t,e){var n=t.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Pu(t,e,n,i){return-1===n?function(t,e){return 3===t.type||4===t.type?Oa(Bs,t,e):0===t.type?Ma(cc,Bs,t,e):null}(e,t):-2===n?function(t,e,n){return n===Bs?Oa(Bs,e,t):n===cc?Ma(cc,Bs,e,t):n===lc?Aa(lc,Bs,e,t):void 0}(t,e,i):Rn(t,t[1],n,e)}function ju(t,e,n,i){var r=e[19].queries[i];if(null===r.matches){for(var a=t.data,o=n.matches,s=[],c=0;c<o.length;c+=2){var u=o[c];s.push(u<0?null:Pu(e,a[u],o[c+1],n.metadata.read))}r.matches=s}return r.matches}function Du(t){var e=he(),n=fe(),i=Ee();Oe(i+1);var r=Ku(n,i);if(t.dirty&&re(e)===r.metadata.isStatic){if(null===r.matches)t.reset([]);else{var a=r.crossesNgTemplate?function t(e,n,i,r){var a=e.queries.getByIndex(i),o=a.matches;if(null!==o)for(var s=ju(e,n,a,i),c=0;c<o.length;c+=2){var u=o[c];if(u>0)r.push(s[c/2]);else{for(var l=o[c+1],h=n[-u],f=10;f<h.length;f++){var d=h[f];d[17]===d[3]&&t(d[1],d,l,r)}if(null!==h[9])for(var p=h[9],m=0;m<p.length;m++){var v=p[m];t(v[1],v,l,r)}}}return r}(n,e,i,[]):ju(n,e,r,i);t.reset(a),t.notifyOnChanges()}return!0}return!1}function Nu(t,e,n){Fu(fe(),he(),t,e,n,!0)}function Bu(t,e,n){Fu(fe(),he(),t,e,n,!1)}function Fu(t,e,n,i,r,a){t.firstCreatePass&&(Wu(t,new Au(n,i,a,r),-1),a&&(t.staticViewQueries=!0)),qu(t,e)}function zu(t,e,n,i){Uu(fe(),he(),e,n,i,!1,pe(),t)}function Vu(t,e,n,i){Uu(fe(),he(),e,n,i,!0,pe(),t)}function Uu(t,e,n,i,r,a,o,s){t.firstCreatePass&&(Wu(t,new Au(n,i,a,r),o.index),function(t,e){var n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,s),a&&(t.staticContentQueries=!0)),qu(t,e)}function Hu(){return t=he(),e=Ee(),t[19].queries[e].queryList;var t,e}function qu(t,e){var n=new Eu;wr(t,e,n,n.destroy),null===e[19]&&(e[19]=new Mu),e[19].queries.push(new Ou(n))}function Wu(t,e,n){null===t.queries&&(t.queries=new Iu),t.queries.track(new Ru(e,n))}function Ku(t,e){return t.queries.getByIndex(e)}function Xu(t,e){return Ma(cc,Bs,t,e)}function Ju(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.Default,e=Ia(!0);if(null!=e||t&p.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}var Gu=new W("Application Initializer"),Yu=function(){var t=function(){function t(e){var n=this;Qe(this,t),this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(t,e){n.resolve=t,n.reject=e}))}
1return tn(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var r=this.appInits[i]();So(r)&&e.push(r)}Promise.all(e).then((function(){n()})).catch((function(e){t.reject(e)})),0===e.length&&n(),this.initialized=!0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(tt(Gu,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}(),Zu=new W("AppId"),Qu={provide:Zu,useFactory:function(){return"".concat($u()).concat($u()).concat($u())},deps:[]};function $u(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var tl=new W("Platform Initializer"),el=new W("Platform ID"),nl=new W("appBootstrapListener"),il=function(){var t=function(){function t(){Qe(this,t)}return tn(t,[{key:"log",value:function(t){console.log(t)}},{key:"warn",value:function(t){console.warn(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}(),rl=new W("LocaleId"),al=new W("DefaultCurrencyCode"),ol=function t(e,n){Qe(this,t),this.ngModuleFactory=e,this.componentFactories=n},sl=function(t){return new fu(t)},cl=sl,ul=function(t){return Promise.resolve(sl(t))},ll=function(t){var e=sl(t),n=yn(Rt(t).declarations).reduce((function(t,e){var n=At(e);return n&&t.push(new vc(n)),t}),[]);return new ol(e,n)},hl=ll,fl=function(t){return Promise.resolve(ll(t))},dl=function(){var t=function(){function t(){Qe(this,t),this.compileModuleSync=cl,this.compileModuleAsync=ul,this.compileModuleAndAllComponentsSync=hl,this.compileModuleAndAllComponentsAsync=fl}
1return tn(t,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(t){}},{key:"getModuleId",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}(),pl=Promise.resolve(0);function ml(t){"undefined"==typeof Zone?pl.then((function(){t&&t.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var vl=function(){function t(e){var n,i,r=e.enableLongStackTrace,a=void 0!==r&&r,o=e.shouldCoalesceEventChangeDetection,s=void 0!==o&&o;if(Qe(this,t),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Cu(!1),this.onMicrotaskEmpty=new Cu(!1),this.onStable=new Cu(!1),this.onError=new Cu(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var t=N.requestAnimationFrame,e=N.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){var n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);var i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,i=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(N,(function(){t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(function(){t.lastRequestAnimationFrameId=-1,_l(t),yl(t)}),void 0,(function(){}),(function(){}))),t.fakeTopEventTask.invoke()})),_l(t))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:i},onInvokeTask:function(t,e,r,a,o,s){try{return wl(n),t.invokeTask(r,a,o,s)}finally{i&&"eventTask"===a.type&&i(),kl(n)}},onInvoke:function(t,e,i,r,a,o,s){try{return wl(n),t.invoke(i,r,a,o,s)}finally{kl(n)}},onHasTask:function(t,e,i,r){t.hasTask(i,r),e===i&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,_l(n),yl(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:function(t,e,i,r){return t.handleError(i,r),n.runOutsideAngular((function(){return n.onError.emit(r)})),!1}})}
1return tn(t,[{key:"run",value:function(t,e,n){return this._inner.run(t,e,n)}},{key:"runTask",value:function(t,e,n,i){var r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+i,t,gl,bl,bl);try{return r.runTask(a,e,n)}finally{r.cancelTask(a)}}},{key:"runGuarded",value:function(t,e,n){return this._inner.runGuarded(t,e,n)}},{key:"runOutsideAngular",value:function(t){return this._outer.run(t)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),t}();function bl(){}var gl={};function yl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular((function(){return t.onStable.emit(null)}))}finally{t.isStable=!0}}}function _l(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function wl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function kl(t){t._nesting--,yl(t)}var Sl=function(){function t(){Qe(this,t),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Cu,this.onMicrotaskEmpty=new Cu,this.onStable=new Cu,this.onError=new Cu}
vendor: 2,822 bytes, line 1
1return tn(t,[{key:"run",value:function(t,e,n){return t.apply(e,n)}},{key:"runGuarded",value:function(t,e,n){return t.apply(e,n)}},{key:"runOutsideAngular",value:function(t){return t()}},{key:"runTask",value:function(t,e,n,i){return t.apply(e,n)}}]),t}(),xl=function(){var t=function(){function t(e){var n=this;Qe(this,t),this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return tn(t,[{key:"_watchAngularEvents",value:function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.subscribe({next:function(){vl.assertNotInAngularZone(),ml((function(){t._isZoneStable=!0,t._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var t=this;if(this.isStable())ml((function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1}));else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)})),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}})):[]}},{key:"addCallback",value:function(t,e,n){var i=this,r=-1;e&&e>0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(t){return t.timeoutId!==r})),t(i._didWork,i.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(tt(vl))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}(),Cl=function(){var t=function(){function t(){Qe(this,t),this._applications=new Map,Ol.addToWindow(this)}
1return tn(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Ol.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}();function Tl(t){Ol=t}var El,Ol=new(function(){function t(){Qe(this,t)}return tn(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),Ml=new W("AllowMultipleToken"),Al=function t(e,n){Qe(this,t),this.name=e,this.token=n};function Il(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: "+e,r=new W(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Rl();if(!a||a.injector.get(Ml,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var o=n.concat(e).concat({provide:r,useValue:!0},{provide:ja,useValue:"platform"});!function(t){if(El&&!El.destroyed&&!El.injector.get(Ml,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");El=t.get(Ll);var e=t.get(tl,null);e&&e.forEach((function(t){return t()}))}(Ga.create({providers:o,name:i}))}return function(t){var e=Rl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function Rl(){return El&&!El.destroyed?El:null}var Ll=function(){var t=function(){function t(e){Qe(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}
1return tn(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n,i,r=this,a=(n=e?e.ngZone:void 0,i=e&&e.ngZoneEventCoalescing||!1,"noop"===n?new Sl:("zone.js"===n?void 0:n)||new vl({enableLongStackTrace:ri(),shouldCoalesceEventChangeDetection:i})),o=[{provide:vl,useValue:a}];return a.run((function(){var e=Ga.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),i=n.injector.get(Vn,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return Dl(r._modules,n)})),a.runOutsideAngular((function(){return a.onError.subscribe({next:function(t){i.handleError(t)}})})),function(t,e,i){try{var a=((o=n.injector.get(Yu)).runInitializers(),o.donePromise.then((function(){return uu(n.injector.get(rl,"en-US")||"en-US"),r._moduleDoBootstrap(n),n})));return So(a)?a.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):a}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var o}(i,a)}))}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Pl({},n);return function(t,e,n){var i=new fu(n);return Promise.resolve(i)}(0,0,t).then((function(t){return e.bootstrapModuleFactory(t,i)}))}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(jl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(E(t.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));t.instance.ngDoBootstrap(e)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(tt(Ga))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}();function Pl(t,e){return Array.isArray(e)?e.reduce(Pl,t):Object.assign(Object.assign({},t),e)}var jl=function(){var t=function(){function t(e,n,i,r,c,u){var l=this;Qe(this,t),this._zone=e,this._console=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=c,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ri(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run((function(){l.tick()}))}});var h=new a.a((function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular((function(){t.next(l._stable),t.complete()}))})),f=new a.a((function(t){var e;l._zone.runOutsideAngular((function(){e=l._zone.onStable.subscribe((function(){vl.assertNotInAngularZone(),ml((function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))}))}))}));var n=l._zone.onUnstable.subscribe((function(){vl.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(o.a)(h,f.pipe(Object(s.a)()))}
1return tn(t,[{key:"bootstrap",value:function(t,e){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof js?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(at),a=n.create(Ga.NULL,[],e||n.selector,r);a.onDestroy((function(){i._unloadComponent(a)}));var o=a.injector.get(xl,null);return o&&a.injector.get(Cl).registerApplication(a.location.nativeElement,o),this._loadComponent(a),ri()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),a}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=Ge(this._views);try{for(n.s();!(e=n.n()).done;){e.value.detectChanges()}}catch(a){n.e(a)}finally{n.f()}if(this._enforceNoNewChanges){var i,r=Ge(this._views);try{for(r.s();!(i=r.n()).done;){i.value.checkNoChanges()}}catch(a){r.e(a)}finally{r.f()}}}catch(o){this._zone.runOutsideAngular((function(){return t._exceptionHandler.handleError(o)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;Dl(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(nl,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))}},{key:"_unloadComponent",value:function(t){this.detachView(t.hostView),Dl(this.components,t)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(t){return t.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(tt(vl),tt(il),tt(Ga),tt(Vn),tt(Ns),tt(Yu))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}();function Dl(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Nl=function t(){Qe(this,t)},Bl=function t(){Qe(this,t)},Fl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},zl=function(){var t=function(){function t(e,n){Qe(this,t),this._compiler=e,this._config=n||Fl}
1return tn(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,i=Ke(t.split("#"),2),r=i[0],a=i[1];return void 0===a&&(a="default"),n("crnd")(r).then((function(t){return t[a]})).then((function(t){return Vl(t,r,a)})).then((function(t){return e._compiler.compileModuleAsync(t)}))}},{key:"loadFactory",value:function(t){var e=Ke(t.split("#"),2),i=e[0],r=e[1],a="NgFactory";return void 0===r&&(r="default",a=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(t){return t[r+a]})).then((function(t){return Vl(t,i,r)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(tt(dl),tt(Bl,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t}();function Vl(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var Ul=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(Ra)),Hl=function(t){return null},ql=Il(null,"core",[{provide:el,useValue:"unknown"},{provide:Ll,deps:[Ga]},{provide:Cl,deps:[]},{provide:il,deps:[]}]),Wl=[{provide:jl,useClass:jl,deps:[vl,il,Ga,Vn,Ns,Yu]},{provide:mc,deps:[vl],useFactory:function(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:Yu,useClass:Yu,deps:[[new h,Gu]]},{provide:dl,useClass:dl,deps:[]},Qu,{provide:ic,useFactory:function(){return oc},deps:[]},{provide:rc,useFactory:function(){return sc},deps:[]},{provide:rl,useFactory:function(t){return uu(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new l(rl),new h,new d]]},{provide:al,useValue:"USD"}],Kl=function(){var t=function t(e){Qe(this,t)};return t.\u0275mod=Ct({type:t}),t.\u0275inj=g({factory:function(e){return new(e||t)(tt(jl))},providers:Wl}),t}()}).call(this,n("yLpj"))},fZJM:function(t,e,n){var i=e;i.utils=n("w8CP"),i.common=n("7ckf"),i.sha=n("WRkp"),i.ripemd=n("u0Sq"),i.hmac=n("ITfd"),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},fjAU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("hswa")},fnjI:function(t,e,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,r.call(this,64,56)}function u(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function h(t,e,n,i){return 0===t?e&n|~e&i:2===t?e&n|e&i|n&i:e^n^i}i(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,f=0;f<16;++f)n[f]=t.readInt32BE(4*f);for(;f<80;++f)n[f]=(e=n[f-3]^n[f-8]^n[f-14]^n[f-16])<<1|e>>>31;for(var d=0;d<80;++d){var p=~~(d/20),m=u(i)+h(p,r,a,s)+c+n[d]+o[p]|0;c=s,s=a,a=l(r),r=i,i=m}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=a.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},g2Dh:function(t,e,n){"use strict";var i=n("0cit").Reporter,r=n("YoN+").EncoderBuffer,a=n("YoN+").DecoderBuffer,o=n("2j6C"),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function u(t,e,n){var i={};this._baseState=i,i.name=n,i.enc=t,i.parent=e||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}t.exports=u;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var t=this._baseState,e={};l.forEach((function(n){e[n]=t[n]}));var n=new this.constructor(e.parent);return n._baseState=e,n},u.prototype._wrap=function(){var t=this._baseState;
1c.forEach((function(e){this[e]=function(){var n=new this.constructor(this);return t.children.push(n),n[e].apply(n,arguments)}}),this)},u.prototype._init=function(t){var e=this._baseState;o(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),o.equal(e.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(t){var e=this._baseState,n=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==n.length&&(o(null===e.children),e.children=n,n.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(o(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!=typeof t||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(n){n==(0|n)&&(n|=0),e[t[n]]=n})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){u.prototype[t]=function(){throw new Error(t+" not implemented for encoding: "+this._baseState.enc)}})),s.forEach((function(t){u.prototype[t]=function(){var e=this._baseState,n=Array.prototype.slice.call(arguments);return o(null===e.tag),e.tag=t,this._useArgs(n),this}})),u.prototype.use=function(t){o(t);var e=this._baseState;return o(null===e.use),e.use=t,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(t){var e=this._baseState;return o(null===e.default),e.default=t,e.optional=!0,this},u.prototype.explicit=function(t){var e=this._baseState;return o(null===e.explicit&&null===e.implicit),e.explicit=t,this},u.prototype.implicit=function(t){var e=this._baseState;return o(null===e.explicit&&null===e.implicit),e.implicit=t,this},u.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},u.prototype.key=function(t){var e=this._baseState;return o(null===e.key),e.key=t,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(t){var e=this._baseState;return o(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},u.prototype.contains=function(t){var e=this._baseState;return o(null===e.use),e.contains=t,this},u.prototype._decode=function(t,e){var n=this._baseState;if(null===n.parent)return t.wrapResult(n.children[0]._decode(t,e));var i,r=n.default,o=!0,s=null;if(null!==n.key&&(s=t.enterKey(n.key)),n.optional){var c=null;if(null!==n.explicit?c=n.explicit:null!==n.implicit?c=n.implicit:null!==n.tag&&(c=n.tag),null!==c||n.any){if(o=this._peekTag(t,c,n.any),t.isError(o))return o}else{var u=t.save();try{null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e),o=!0}catch(m){o=!1}t.restore(u)}}if(n.obj&&o&&(i=t.enterObject()),o){if(null!==n.explicit){var l=this._decodeTag(t,n.explicit);if(t.isError(l))return l;t=l}var h=t.offset;if(null===n.use&&null===n.choice){var f;n.any&&(f=t.save());var d=this._decodeTag(t,null!==n.implicit?n.implicit:n.tag,n.any);if(t.isError(d))return d;n.any?r=t.raw(f):t=d}if(e&&e.track&&null!==n.tag&&e.track(t.path(),h,t.length,"tagged"),e&&e.track&&null!==n.tag&&e.track(t.path(),t.offset,t.length,"content"),n.any||(r=null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e)),t.isError(r))return r;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(t,e)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var p=new a(r);r=this._getUse(n.contains,t._reporterState.obj)._decode(p,e)}}return n.obj&&o&&(r=t.leaveObject(i)),null===n.key||null===r&&!0!==o?null!==s&&t.exitKey(s):t.leaveKey(s,n.key,r),r},u.prototype._decodeGeneric=function(t,e,n){var i=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,i.args[0],n):/str$/.test(t)?this._decodeStr(e,t,n):"objid"===t&&i.args?this._decodeObjid(e,i.args[0],i.args[1],n):"objid"===t?this._decodeObjid(e,null,null,n):"gentime"===t||"utctime"===t?this._decodeTime(e,t,n):"null_"===t?this._decodeNull(e,n):"bool"===t?this._decodeBool(e,n):"objDesc"===t?this._decodeStr(e,t,n):"int"===t||"enum"===t?this._decodeInt(e,i.args&&i.args[0],n):null!==i.use?this._getUse(i.use,e._reporterState.obj)._decode(e,n):e.error("unknown tag: "+t)},u.prototype._getUse=function(t,e){var n=this._baseState;return n.useDecoder=this._use(t,e),o(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},u.prototype._decodeChoice=function(t,e){var n=this._baseState,i=null,r=!1;return Object.keys(n.choice).some((function(a){var o=t.save(),s=n.choice[a];try{var c=s._decode(t,e);if(t.isError(c))return!1;i={type:a,value:c},r=!0}catch(u){return t.restore(o),!1}return!0}),this),r?i:t.error("Choice not matched")},u.prototype._createEncoderBuffer=function(t){return new r(t,this.reporter)},u.prototype._encode=function(t,e,n){var i=this._baseState;if(null===i.default||i.default!==t){var r=this._encodeValue(t,e,n);return void 0===r||this._skipDefault(r,e,n)?void 0:r}},u.prototype._encodeValue=function(t,e,n){var r=this._baseState;if(null===r.parent)return r.children[0]._encode(t,e||new i);var a=null;if(this.reporter=e,r.optional&&void 0===t){if(null===r.default)return;t=r.default}var o=null,s=!1;if(r.any)a=this._createEncoderBuffer(t);else if(r.choice)a=this._encodeChoice(t,e);else if(r.contains)o=this._getUse(r.contains,n)._encode(t,e),s=!0;else if(r.children)o=r.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,e,t);if(null===n._baseState.key)return e.error("Child should have a key");var i=e.enterKey(n._baseState.key);if("object"!=typeof t)return e.error("Child expected, but input is not object");var r=n._encode(t[n._baseState.key],e,t);return e.leaveKey(i),r}),this).filter((function(t){return t})),o=this._createEncoderBuffer(o);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return e.error("Too many args for : "+r.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,o=this._createEncoderBuffer(t.map((function(n){return this._getUse(this._baseState.args[0],t)._encode(n,e)}),c))}else null!==r.use?a=this._getUse(r.use,n)._encode(t,e):(o=this._encodePrimitive(r.tag,t),s=!0);if(!r.any&&null===r.choice){var u=null!==r.implicit?r.implicit:r.tag,l=null===r.implicit?"universal":"context";null===u?null===r.use&&e.error("Tag could be omitted only for .use()"):null===r.use&&(a=this._encodeComposite(u,s,l,o))}return null!==r.explicit&&(a=this._encodeComposite(r.explicit,!1,"context",a)),a},u.prototype._encodeChoice=function(t,e){var n=this._baseState,i=n.
vendor: 5,402 bytes, line 1
1choice[t.type];return i||o(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),i._encode(t.value,e)},u.prototype._encodePrimitive=function(t,e){var n=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&n.args)return this._encodeObjid(e,n.reverseArgs[0],n.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,n.args&&n.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},u.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},u.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},g9U9:function(t,e){t.exports=function(t,e){for(var n=t.length,i=-1;++i<n;)t[i]^=e[i];return t}},"gK+I":function(t,e,n){(function(t){!function(t,e){"use strict";function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function a(t,e,n){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"==typeof t?t.exports=a:e.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(7).Buffer}catch(C){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function c(t,e,n){var i=s(t,n);return n-1>=e&&(i|=s(t,n-1)<<4),i}function u(t,e,n,i){for(var r=0,a=Math.min(t.length,n),o=e;o<a;o++){var s=t.charCodeAt(o)-48;r*=i,r+=s>=49?s-49+10:s>=17?s-17+10:s}return r}a.isBN=function(t){return t instanceof a||null!==t&&"object"==typeof t&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<t.length&&(16===e?this._parseHex(t,r,n):(this._parseBase(t,e,r),"le"===n&&this._initArray(this.toArray(),e,n)))},a.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},a.prototype._initArray=function(t,e,n){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var a,o,s=0;if("be"===n)for(r=t.length-1,a=0;r>=0;r-=3)this.words[a]|=(o=t[r]|t[r-1]<<8|t[r-2]<<16)<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===n)for(r=0,a=0;r<t.length;r+=3)this.words[a]|=(o=t[r]|t[r+1]<<8|t[r+2]<<16)<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,a=0,o=0;if("be"===n)for(i=t.length-1;i>=e;i-=2)r=c(t,e,i)<<a,this.words[o]|=67108863&r,a>=18?(a-=18,this.words[o+=1]|=r>>>26):a+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)r=c(t,e,i)<<a,this.words[o]|=67108863&r,a>=18?(a-=18,this.words[o+=1]|=r>>>26):a+=8;this.strip()},a.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var i=0,r=1;r<=67108863;r*=e)i++;i--,r=r/e|0;for(var a=t.length-n,o=a%i,s=Math.min(a,a-o)+n,c=0,l=n;l<s;l+=i)c=u(t,l,l+i,e),this.imuln(r),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==o){var h=1;for(c=u(t,l,t.length,e),l=0;l<o;l++)h*=e;this.imuln(h),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 4,510 bytes, line 1
1777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,n){n.negative=e.negative^t.negative;var i=t.length+e.length|0;n.length=i,i=i-1|0;var r=0|t.words[0],a=0|e.words[0],o=r*a,s=o/67108864|0;n.words[0]=67108863&o;for(var c=1;c<i;c++){for(var u=s>>>26,l=67108863&s,h=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=h;f++)u+=(o=(r=0|t.words[c-f|0])*(a=0|e.words[f])+l)/67108864|0,l=67108863&o;n.words[c]=0|l,s=0|u}return 0!==s?n.words[c]=0|s:n.length--,n.strip()}a.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var r=0,a=0,o=0;o<this.length;o++){var s=this.words[o],c=(16777215&(s<<r|a)).toString(16);n=0!=(a=s>>>24-r&16777215)||o!==this.length-1?l[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==a&&(n=a.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var u=h[t],d=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);n=(p=p.idivn(d)).isZero()?m+n:l[u-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(t,e){return i(void 0!==o),this.toArrayLike(o,t,e)},a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,n){var r=this.byteLength(),a=n||Math.max(1,r);i(r<=a,"byte array longer than desired length"),i(a>0,"Requested array length <= 0"),this.strip();var o,s,c="le"===e,u=new t(a),l=this.clone();if(c){for(s=0;!l.isZero();s++)o=l.andln(255),l.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-r;s++)u[s]=0;for(s=0;!l.isZero();s++)o=l.andln(255),l.iushrn(8),u[a-s-1]=o}return u},a.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},a.prototype.bitLength=function(){var t=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},a.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},a.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var i=0;i<n.length;i++)this.words[i]=e.words[i]^n.words[i];if(this!==e)for(;i<e.length;i++)this.words[i]=e.words[i];return this.length=e.length,this.strip()},a.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)}
vendor: 2,817 bytes, line 1
1,a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var r=0;r<e;r++)this.words[r]=67108863&~this.words[r];return n>0&&(this.words[r]=~this.words[r]&67108863>>26-n),this.strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var n=t/26|0,r=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<r:this.words[n]&~(1<<r),this.strip()},a.prototype.iadd=function(t){var e,n,i;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,i=t):(n=t,i=this);for(var r=0,a=0;a<i.length;a++)this.words[a]=67108863&(e=(0|n.words[a])+(0|i.words[a])+r),r=e>>>26;for(;0!==r&&a<n.length;a++)this.words[a]=67108863&(e=(0|n.words[a])+r),r=e>>>26;if(this.length=n.length,0!==r)this.words[this.length]=r,this.length++;else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,i,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(n=this,i=t):(n=t,i=this);for(var a=0,o=0;o<i.length;o++)a=(e=(0|n.words[o])-(0|i.words[o])+a)>>26,this.words[o]=67108863&e;for(;0!==a&&o<n.length;o++)a=(e=(0|n.words[o])+a)>>26,this.words[o]=67108863&e;if(0===a&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,n){var i,r,a,o=t.words,s=e.words,c=n.words,u=0,l=0|o[0],h=8191&l,f=l>>>13,d=0|o[1],p=8191&d,m=d>>>13,v=0|o[2],b=8191&v,g=v>>>13,y=0|o[3],_=8191&y,w=y>>>13,k=0|o[4],S=8191&k,x=k>>>13,C=0|o[5],T=8191&C,E=C>>>13,O=0|o[6],M=8191&O,A=O>>>13,I=0|o[7],R=8191&I,L=I>>>13,P=0|o[8],j=8191&P,D=P>>>13,N=0|o[9],B=8191&N,F=N>>>13,z=0|s[0],V=8191&z,U=z>>>13,H=0|s[1],q=8191&H,W=H>>>13,K=0|s[2],X=8191&K,J=K>>>13,G=0|s[3],Y=8191&G,Z=G>>>13,Q=0|s[4],$=8191&Q,tt=Q>>>13,et=0|s[5],nt=8191&et,it=et>>>13,rt=0|s[6],at=8191&rt,ot=rt>>>
vendor: 6,347 bytes, line 1
113,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ht=8191<,ft=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;n.negative=t.negative^e.negative,n.length=19;var vt=(u+(i=Math.imul(h,V))|0)+((8191&(r=(r=Math.imul(h,U))+Math.imul(f,V)|0))<<13)|0;u=((a=Math.imul(f,U))+(r>>>13)|0)+(vt>>>26)|0,vt&=67108863,i=Math.imul(p,V),r=(r=Math.imul(p,U))+Math.imul(m,V)|0,a=Math.imul(m,U);var bt=(u+(i=i+Math.imul(h,q)|0)|0)+((8191&(r=(r=r+Math.imul(h,W)|0)+Math.imul(f,q)|0))<<13)|0;u=((a=a+Math.imul(f,W)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,i=Math.imul(b,V),r=(r=Math.imul(b,U))+Math.imul(g,V)|0,a=Math.imul(g,U),i=i+Math.imul(p,q)|0,r=(r=r+Math.imul(p,W)|0)+Math.imul(m,q)|0,a=a+Math.imul(m,W)|0;var gt=(u+(i=i+Math.imul(h,X)|0)|0)+((8191&(r=(r=r+Math.imul(h,J)|0)+Math.imul(f,X)|0))<<13)|0;u=((a=a+Math.imul(f,J)|0)+(r>>>13)|0)+(gt>>>26)|0,gt&=67108863,i=Math.imul(_,V),r=(r=Math.imul(_,U))+Math.imul(w,V)|0,a=Math.imul(w,U),i=i+Math.imul(b,q)|0,r=(r=r+Math.imul(b,W)|0)+Math.imul(g,q)|0,a=a+Math.imul(g,W)|0,i=i+Math.imul(p,X)|0,r=(r=r+Math.imul(p,J)|0)+Math.imul(m,X)|0,a=a+Math.imul(m,J)|0;var yt=(u+(i=i+Math.imul(h,Y)|0)|0)+((8191&(r=(r=r+Math.imul(h,Z)|0)+Math.imul(f,Y)|0))<<13)|0;u=((a=a+Math.imul(f,Z)|0)+(r>>>13)|0)+(yt>>>26)|0,yt&=67108863,i=Math.imul(S,V),r=(r=Math.imul(S,U))+Math.imul(x,V)|0,a=Math.imul(x,U),i=i+Math.imul(_,q)|0,r=(r=r+Math.imul(_,W)|0)+Math.imul(w,q)|0,a=a+Math.imul(w,W)|0,i=i+Math.imul(b,X)|0,r=(r=r+Math.imul(b,J)|0)+Math.imul(g,X)|0,a=a+Math.imul(g,J)|0,i=i+Math.imul(p,Y)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,Y)|0,a=a+Math.imul(m,Z)|0;var _t=(u+(i=i+Math.imul(h,$)|0)|0)+((8191&(r=(r=r+Math.imul(h,tt)|0)+Math.imul(f,$)|0))<<13)|0;u=((a=a+Math.imul(f,tt)|0)+(r>>>13)|0)+(_t>>>26)|0,_t&=67108863,i=Math.imul(T,V),r=(r=Math.imul(T,U))+Math.imul(E,V)|0,a=Math.imul(E,U),i=i+Math.imul(S,q)|0,r=(r=r+Math.imul(S,W)|0)+Math.imul(x,q)|0,a=a+Math.imul(x,W)|0,i=i+Math.imul(_,X)|0,r=(r=r+Math.imul(_,J)|0)+Math.imul(w,X)|0,a=a+Math.imul(w,J)|0,i=i+Math.imul(b,Y)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,Z)|0,i=i+Math.imul(p,$)|0,r=(r=r+Math.imul(p,tt)|0)+Math.imul(m,$)|0,a=a+Math.imul(m,tt)|0;var wt=(u+(i=i+Math.imul(h,nt)|0)|0)+((8191&(r=(r=r+Math.imul(h,it)|0)+Math.imul(f,nt)|0))<<13)|0;u=((a=a+Math.imul(f,it)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,i=Math.imul(M,V),r=(r=Math.imul(M,U))+Math.imul(A,V)|0,a=Math.imul(A,U),i=i+Math.imul(T,q)|0,r=(r=r+Math.imul(T,W)|0)+Math.imul(E,q)|0,a=a+Math.imul(E,W)|0,i=i+Math.imul(S,X)|0,r=(r=r+Math.imul(S,J)|0)+Math.imul(x,X)|0,a=a+Math.imul(x,J)|0,i=i+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Z)|0)+Math.imul(w,Y)|0,a=a+Math.imul(w,Z)|0,i=i+Math.imul(b,$)|0,r=(r=r+Math.imul(b,tt)|0)+Math.imul(g,$)|0,a=a+Math.imul(g,tt)|0,i=i+Math.imul(p,nt)|0,r=(r=r+Math.imul(p,it)|0)+Math.imul(m,nt)|0,a=a+Math.imul(m,it)|0;var kt=(u+(i=i+Math.imul(h,at)|0)|0)+((8191&(r=(r=r+Math.imul(h,ot)|0)+Math.imul(f,at)|0))<<13)|0;u=((a=a+Math.imul(f,ot)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,i=Math.imul(R,V),r=(r=Math.imul(R,U))+Math.imul(L,V)|0,a=Math.imul(L,U),i=i+Math.imul(M,q)|0,r=(r=r+Math.imul(M,W)|0)+Math.imul(A,q)|0,a=a+Math.imul(A,W)|0,i=i+Math.imul(T,X)|0,r=(r=r+Math.imul(T,J)|0)+Math.imul(E,X)|0,a=a+Math.imul(E,J)|0,i=i+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Z)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,Z)|0,i=i+Math.imul(_,$)|0,r=(r=r+Math.imul(_,tt)|0)+Math.imul(w,$)|0,a=a+Math.imul(w,tt)|0,i=i+Math.imul(b,nt)|0,r=(r=r+Math.imul(b,it)|0)+Math.imul(g,nt)|0,a=a+Math.imul(g,it)|0,i=i+Math.imul(p,at)|0,r=(r=r+Math.imul(p,ot)|0)+Math.imul(m,at)|0,a=a+Math.imul(m,ot)|0;var St=(u+(i=i+Math.imul(h,ct)|0)|0)+((8191&(r=(r=r+Math.imul(h,ut)|0)+Math.imul(f,ct)|0))<<13)|0;u=((a=a+Math.imul(f,ut)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,i=Math.imul(j,V),r=(r=Math.imul(j,U))+Math.imul(D,V)|0,a=Math.imul(D,U),i=i+Math.imul(R,q)|0,r=(r=r+Math.imul(R,W)|0)+Math.imul(L,q)|0,a=a+Math.imul(L,W)|0,i=i+Math.imul(M,X)|0,r=(r=r+Math.imul(M,J)|0)+Math.imul(A,X)|0,a=a+Math.imul(A,J)|0,i=i+Math.imul(T,Y)|0,r=(r=r+Math.imul(T,Z)|0)+Math.imul(E,Y)|0,a=a+Math.imul(E,Z)|0,i=i+Math.imul(S,$)|0,r=(r=r+Math.imul(S,tt)|0)+Math.imul(x,$)|0,a=a+Math.imul(x,tt)|0,i=i+Math.imul(_,nt)|0,r=(r=r+Math.imul(_,it)|0)+Math.imul(w,nt)|0,a=a+Math.imul(w,it)|0,i=i+Math.imul(b,at)|0,r=(r=r+Math.imul(b,ot)|0)+Math.imul(g,at)|0,a=a+Math.imul(g,ot)|0,i=i+Math.imul(p,ct)|0,r=(r=r+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,a=a+Math.imul(m,ut)|0;var xt=(u+(i=i+Math.imul(h,ht)|0)|0)+((8191&(r=(r=r+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;u=((a=a+Math.imul(f,ft)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,i=Math.imul(B,V),r=(r=Math.imul(B,U))+Math.imul(F,V)|0,a=Math.imul(F,U),i=i+Math.imul(j,q)|0,r=(r=r+Math.imul(j,W)|0)+Math.imul(D,q)|0,a=a+Math.imul(D,W)|0,i=i+Math.imul(R,X)|0,r=(r=r+Math.imul(R,J)|0)+Math.imul(L,X)|0,a=a+Math.imul(L,J)|0,i=i+Math.imul(M,Y)|0,r=(r=r+Math.imul(M,Z)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,Z)|0,i=i+Math.imul(T,$)|0,r=(r=r+Math.imul(T,tt)|0)+Math.imul(E,$)|0,a=a+Math.imul(E,tt)|0,i=i+Math.imul(S,nt)|0,r=(r=r+Math.imul(S,it)|0)+Math.imul(x,nt)|0,a=a+Math.imul(x,it)|0,i=i+Math.imul(_,at)|0,r=(r=r+Math.imul(_,ot)|0)+Math.imul(w,at)|0,a=a+Math.imul(w,ot)|0,i=i+Math.imul(b,ct)|0,r=(r=r+Math.imul(b,ut)|0)+Math.imul(g,ct)|0,a=a+Math.imul(g,ut)|0,i=i+Math.imul(p,ht)|0,r=(r=r+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,a=a+Math.imul(m,ft)|0;var Ct=(u+(i=i+Math.imul(h,pt)|0)|0)+((8191&(r=(r=r+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;u=((a=a+Math.imul(f,mt)|0)+(r>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,i=Math.imul(B,q),r=(r=Math.imul(B,W))+Math.imul(F,q)|0,a=Math.imul(F,W),i=i+Math.imul(j,X)|0,r=(r=r+Math.imul(j,J)|0)+Math.imul(D,X)|0,a=a+Math.imul(D,J)|0,i=i+Math.imul(R,Y)|0,r=(r=r+Math.imul(R,Z)|0)+Math.imul(L,Y)|0,a=a+Math.imul(L,Z)|0,i=i+Math.imul(M,$)|0,r=(r=r+Math.imul(M,tt)|0)+Math.imul(A,$)|0,a=a+Math.imul(A,tt)|0,i=i+Math.imul(T,nt)|0,r=(r=r+Math.imul(T,it)|0)+Math.imul(E,nt)|0,a=a+Math.imul(E,it)|0,i=i+Math.imul(S,at)|0,r=(r=r+Math.imul(S,ot)|0)+Math.imul(x,at)|0,a=a+Math.imul(x,ot)|0,i=i+Math.imul(_,ct)|0,r=(r=r+Math.imul(_,ut)|0)+Math.imul(w,ct)|0,a=a+Math.imul(w,ut)|0,i=i+Math.imul(b,ht)|0,r=(r=r+Math.imul(b,ft)|0)+Math.imul(g,ht)|0,a=a+Math.imul(g,ft)|0;var Tt=(u+(i=i+Math.imul(p,pt)|0)|0)+((8191&(r=(r=r+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((a=a+Math.imul(m,mt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,i=Math.imul(B,X),r=(r=Math.imul(B,J))+Math.imul(F,X
vendor: 21,262 bytes, line 1
1)|0,a=Math.imul(F,J),i=i+Math.imul(j,Y)|0,r=(r=r+Math.imul(j,Z)|0)+Math.imul(D,Y)|0,a=a+Math.imul(D,Z)|0,i=i+Math.imul(R,$)|0,r=(r=r+Math.imul(R,tt)|0)+Math.imul(L,$)|0,a=a+Math.imul(L,tt)|0,i=i+Math.imul(M,nt)|0,r=(r=r+Math.imul(M,it)|0)+Math.imul(A,nt)|0,a=a+Math.imul(A,it)|0,i=i+Math.imul(T,at)|0,r=(r=r+Math.imul(T,ot)|0)+Math.imul(E,at)|0,a=a+Math.imul(E,ot)|0,i=i+Math.imul(S,ct)|0,r=(r=r+Math.imul(S,ut)|0)+Math.imul(x,ct)|0,a=a+Math.imul(x,ut)|0,i=i+Math.imul(_,ht)|0,r=(r=r+Math.imul(_,ft)|0)+Math.imul(w,ht)|0,a=a+Math.imul(w,ft)|0;var Et=(u+(i=i+Math.imul(b,pt)|0)|0)+((8191&(r=(r=r+Math.imul(b,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((a=a+Math.imul(g,mt)|0)+(r>>>13)|0)+(Et>>>26)|0,Et&=67108863,i=Math.imul(B,Y),r=(r=Math.imul(B,Z))+Math.imul(F,Y)|0,a=Math.imul(F,Z),i=i+Math.imul(j,$)|0,r=(r=r+Math.imul(j,tt)|0)+Math.imul(D,$)|0,a=a+Math.imul(D,tt)|0,i=i+Math.imul(R,nt)|0,r=(r=r+Math.imul(R,it)|0)+Math.imul(L,nt)|0,a=a+Math.imul(L,it)|0,i=i+Math.imul(M,at)|0,r=(r=r+Math.imul(M,ot)|0)+Math.imul(A,at)|0,a=a+Math.imul(A,ot)|0,i=i+Math.imul(T,ct)|0,r=(r=r+Math.imul(T,ut)|0)+Math.imul(E,ct)|0,a=a+Math.imul(E,ut)|0,i=i+Math.imul(S,ht)|0,r=(r=r+Math.imul(S,ft)|0)+Math.imul(x,ht)|0,a=a+Math.imul(x,ft)|0;var Ot=(u+(i=i+Math.imul(_,pt)|0)|0)+((8191&(r=(r=r+Math.imul(_,mt)|0)+Math.imul(w,pt)|0))<<13)|0;u=((a=a+Math.imul(w,mt)|0)+(r>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,i=Math.imul(B,$),r=(r=Math.imul(B,tt))+Math.imul(F,$)|0,a=Math.imul(F,tt),i=i+Math.imul(j,nt)|0,r=(r=r+Math.imul(j,it)|0)+Math.imul(D,nt)|0,a=a+Math.imul(D,it)|0,i=i+Math.imul(R,at)|0,r=(r=r+Math.imul(R,ot)|0)+Math.imul(L,at)|0,a=a+Math.imul(L,ot)|0,i=i+Math.imul(M,ct)|0,r=(r=r+Math.imul(M,ut)|0)+Math.imul(A,ct)|0,a=a+Math.imul(A,ut)|0,i=i+Math.imul(T,ht)|0,r=(r=r+Math.imul(T,ft)|0)+Math.imul(E,ht)|0,a=a+Math.imul(E,ft)|0;var Mt=(u+(i=i+Math.imul(S,pt)|0)|0)+((8191&(r=(r=r+Math.imul(S,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((a=a+Math.imul(x,mt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,i=Math.imul(B,nt),r=(r=Math.imul(B,it))+Math.imul(F,nt)|0,a=Math.imul(F,it),i=i+Math.imul(j,at)|0,r=(r=r+Math.imul(j,ot)|0)+Math.imul(D,at)|0,a=a+Math.imul(D,ot)|0,i=i+Math.imul(R,ct)|0,r=(r=r+Math.imul(R,ut)|0)+Math.imul(L,ct)|0,a=a+Math.imul(L,ut)|0,i=i+Math.imul(M,ht)|0,r=(r=r+Math.imul(M,ft)|0)+Math.imul(A,ht)|0,a=a+Math.imul(A,ft)|0;var At=(u+(i=i+Math.imul(T,pt)|0)|0)+((8191&(r=(r=r+Math.imul(T,mt)|0)+Math.imul(E,pt)|0))<<13)|0;u=((a=a+Math.imul(E,mt)|0)+(r>>>13)|0)+(At>>>26)|0,At&=67108863,i=Math.imul(B,at),r=(r=Math.imul(B,ot))+Math.imul(F,at)|0,a=Math.imul(F,ot),i=i+Math.imul(j,ct)|0,r=(r=r+Math.imul(j,ut)|0)+Math.imul(D,ct)|0,a=a+Math.imul(D,ut)|0,i=i+Math.imul(R,ht)|0,r=(r=r+Math.imul(R,ft)|0)+Math.imul(L,ht)|0,a=a+Math.imul(L,ft)|0;var It=(u+(i=i+Math.imul(M,pt)|0)|0)+((8191&(r=(r=r+Math.imul(M,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((a=a+Math.imul(A,mt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,i=Math.imul(B,ct),r=(r=Math.imul(B,ut))+Math.imul(F,ct)|0,a=Math.imul(F,ut),i=i+Math.imul(j,ht)|0,r=(r=r+Math.imul(j,ft)|0)+Math.imul(D,ht)|0,a=a+Math.imul(D,ft)|0;var Rt=(u+(i=i+Math.imul(R,pt)|0)|0)+((8191&(r=(r=r+Math.imul(R,mt)|0)+Math.imul(L,pt)|0))<<13)|0;u=((a=a+Math.imul(L,mt)|0)+(r>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,i=Math.imul(B,ht),r=(r=Math.imul(B,ft))+Math.imul(F,ht)|0,a=Math.imul(F,ft);var Lt=(u+(i=i+Math.imul(j,pt)|0)|0)+((8191&(r=(r=r+Math.imul(j,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((a=a+Math.imul(D,mt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863;var Pt=(u+(i=Math.imul(B,pt))|0)+((8191&(r=(r=Math.imul(B,mt))+Math.imul(F,pt)|0))<<13)|0;return u=((a=Math.imul(F,mt))+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,c[0]=vt,c[1]=bt,c[2]=gt,c[3]=yt,c[4]=_t,c[5]=wt,c[6]=kt,c[7]=St,c[8]=xt,c[9]=Ct,c[10]=Tt,c[11]=Et,c[12]=Ot,c[13]=Mt,c[14]=At,c[15]=It,c[16]=Rt,c[17]=Lt,c[18]=Pt,0!==u&&(c[19]=u,n.length++),n};function m(t,e,n){return(new v).mulp(t,e,n)}function v(t,e){this.x=t,this.y=e}Math.imul||(p=d),a.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):n<63?d(this,t,e):n<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var i=0,r=0,a=0;a<n.length-1;a++){var o=r;r=0;for(var s=67108863&i,c=Math.min(a,e.length-1),u=Math.max(0,a-t.length+1);u<=c;u++){var l=(0|t.words[a-u])*(0|e.words[u]),h=67108863&l;s=67108863&(h=h+s|0),r+=(o=(o=o+(l/67108864|0)|0)+(h>>>26)|0)>>>26,o&=67108863}n.words[a]=s,i=o,o=r}return 0!==i?n.words[a]=i:n.length--,n.strip()}(this,t,e):m(this,t,e)},v.prototype.makeRBT=function(t){for(var e=new Array(t),n=a.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,n,t);return e},v.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var i=0,r=0;r<e;r++)i|=(1&t)<<e-r-1,t>>=1;return i},v.prototype.permute=function(t,e,n,i,r,a){for(var o=0;o<a;o++)i[o]=e[t[o]],r[o]=n[t[o]]},v.prototype.transform=function(t,e,n,i,r,a){this.permute(a,t,e,n,i,r);for(var o=1;o<r;o<<=1)for(var s=o<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<r;l+=s)for(var h=c,f=u,d=0;d<o;d++){var p=n[l+d],m=i[l+d],v=n[l+d+o],b=i[l+d+o],g=h*v-f*b;b=h*b+f*v,n[l+d]=p+(v=g),i[l+d]=m+b,n[l+d+o]=p-v,i[l+d+o]=m-b,d!==s&&(g=c*h-u*f,f=c*f+u*h,h=g)}},v.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),i=1&n,r=0;for(n=n/2|0;n;n>>>=1)r++;return 1<<r+1+i},v.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var i=0;i<n/2;i++){var r=t[i];t[i]=t[n-i-1],t[n-i-1]=r,r=e[i],e[i]=-e[n-i-1],e[n-i-1]=-r}},v.prototype.normalize13b=function(t,e){for(var n=0,i=0;i<e/2;i++){var r=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+n;t[i]=67108863&r,n=r<67108864?0:r/67108864|0}return t},v.prototype.convert13b=function(t,e,n,r){for(var a=0,o=0;o<e;o++)n[2*o]=8191&(a+=0|t[o]),n[2*o+1]=8191&(a>>>=13),a>>>=13;for(o=2*e;o<r;++o)n[o]=0;i(0===a),i(0==(-8192&a))},v.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},v.prototype.mulp=function(t,e,n){var i=2*this.guessLen13b(t.length,e.length),r=this.makeRBT(i),a=this.stub(i),o=new Array(i),s=new Array(i),c=new Array(i),u=new Array(i),l=new Array(i),h=new Array(i),f=n.words;f.length=i,this.convert13b(t.words,t.length,o,i),this.convert13b(e.words,e.length,u,i),this.transform(o,a,s,c,i,r),this.transform(u,a,l,h,i,r);for(var d=0;d<i;d++){var p=s[d]*l[d]-c[d]*h[d];c[d]=s[d]*h[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,i),this.transform(s,c,f,a,i,r),this.conjugate(f,a,i),this.normalize13b(f,i),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),m(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){i("number"==typeof t),i(t<67108864);for(var e=0,n=0;n<this.length;n++){var r=(0|this.words[n])*t,a=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=a>>>26,this.words[n]=67108863&a}return 0!==e&&(this.words[n]=e,this.length++),this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var i=n%26;e[n]=(t.words[n/26|0]&1<<i)>>>i}return e}(t);if(0===e.length)return new a(1);for(var n=this,i=0;i<e.length&&0===e[i];i++,n=n.sqr());if(++i<e.length)for(var r=n.sqr();i<e.length;i++,r=r.sqr())0!==e[i]&&(n=n.mul(r));return n},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,n=t%26,r=(t-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(e=0;e<this.length;e++){var s=this.words[e]&a;this.words[e]=(0|this.words[e])-s<<n|o,o=s>>>26-n}o&&(this.words[e]=o,this.length++)}if(0!==r){for(e=this.length-1;e>=0;e--)this.words[e+r]=this.words[e];for(e=0;e<r;e++)this.words[e]=0;this.length+=r}return this.strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,n){var r;i("number"==typeof t&&t>=0),r=e?(e-e%26)/26:0;var a=t%26,o=Math.min((t-a)/26,this.length),s=67108863^67108863>>>a<<a,c=n;if(r-=o,r=Math.max(0,r),c){for(var u=0;u<o;u++)c.words[u]=this.words[u];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=r);u--){var h=0|this.words[u];this.words[u]=l<<26-a|h>>>a,l=h&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(t,e,n){return i(0===this.negative),this.iushrn(t,e,n)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return!(this.length<=n||!(this.words[n]&1<<e))},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n?this:(0!==e&&n++,this.length=Math.min(n,this.length),0!==e&&(this.words[this.length-1]&=67108863^67108863>>>e<<e),this.strip())},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,n){var r,a;this._expand(t.length+n);var o=0;for(r=0;r<t.length;r++){a=(0|this.words[r+n])+o;var s=(0|t.words[r])*e;o=((a-=67108863&s)>>26)-(s/67108864|0),this.words[r+n]=67108863&a}for(;r<this.length-n;r++)o=(a=(0|this.words[r+n])+o)>>26,this.words[r+n]=67108863&a;if(0===o)return this.strip();for(i(-1===o),o=0,r=0;r<this.length;r++)o=(a=-(0|this.words[r])+o)>>26,this.words[r]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(t,e){var n,i=this.clone(),r=t,o=0|r.words[r.length-1];0!=(n=26-this._countBits(o))&&(r=r.ushln(n),i.iushln(n),o=0|r.words[r.length-1]);var s,c=i.length-r.length;if("mod"!==e){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=i.clone()._ishlnsubmul(r,1,c);0===l.negative&&(i=l,s&&(s.words[c]=1));for(var h=c-1;h>=0;h--){var f=67108864*(0|i.words[r.length+h])+(0|i.words[r.length+h-1]);for(f=Math.min(f/o|0,67108863),i._ishlnsubmul(r,f,h);0!==i.negative;)f--,i.negative=0,i._ishlnsubmul(r,1,h),i.isZero()||(i.negative^=1);s&&(s.words[h]=f)}return s&&s.strip(),i.strip(),"div"!==e&&0!==n&&i.iushrn(n),{div:s||null,mod:i}},a.prototype.divmod=function(t,e,n){return i(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(r=s.div.neg()),"div"!==e&&(o=s.mod.neg(),n&&0!==o.negative&&o.iadd(t)),{div:r,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(r=s.div.neg()),{div:r,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),n&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modn(t.words[0]))}:this._wordDiv(t,e);var r,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,i=t.ushrn(1),r=t.andln(1),a=n.cmp(i);return a<0||1===r&&0===a?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modn=function(t){i(t<=67108863);for(var e=(1<<26)%t,n=0,r=this.length-1;r>=0;r--)n=(e*n+(0|this.words[r]))%t;return n},a.prototype.idivn=function(t){i(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*e;this.words[n]=r/t|0,e=r%t}return this.strip()},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(l),o.isub(h)),r.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(h)),s.iushrn(1),c.iushrn(1);e.cmp(n)>=0?(e.isub(n),r.isub(s),o.isub(c)):(n.isub(e),s.isub(r),c.isub(o))}return{a:s,b:c,gcd:n.iushln(u)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r,o=new a(1),s=new a(0),c=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,l=1;0==(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var h=0,f=1;0==(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),o.isub(s)):(n.isub(e),s.isub(o))}return(r=0===e.cmpn(1)?o:s).cmpn(0)<0&&r.iadd(t),r},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var i=0;e.isEven()&&n.isEven();i++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var r=e.cmp(n);if(r<0){var a=e;e=n,n=a}else if(0===r||0===n.cmpn(1))break;e.isub(n)}return n.iushln(i)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,n=(t-e)/26,r=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=r,this;for(var a=r,o=n;0!==a&&o<this.length;o++){var s=0|this.words[o];a=(s+=a)>>>26,this.words[o]=s&=67108863}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),i(t<=67108863,"Number is too big");var r=0|this.words[0];e=r===t?0:r<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var i=0|this.words[n],r=0|t.words[n];if(i!==r){i<r?e=-1:i>r&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new S(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var b={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var i=e<this.n?-1:n.ucmp(this.p);return 0===i?(n.words[0]=0,n.length=1):i>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},r(y,g),y.prototype.split=function(t,e){for(var n=Math.min(t.length,9),i=0;i<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var r=t.words[9];for(e.words[e.length++]=4194303&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(4194303&a)<<4|r>>>22,r=a}t.words[i-10]=r>>>=22,t.length-=0===r&&t.length>10?10:9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var i=0|t.words[n];t.words[n]=67108863&(e+=977*i),e=64*i+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},r(_,g),r(w,g),r(k,g),k.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var i=19*(0|t.words[n])+e,r=67108863&i;i>>>=26,t.words[n]=r,e=i}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(b[t])return b[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new _;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return b[t]=e,e},
vendor: 6,205 bytes, line 1
1S.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},S.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},S.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},S.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},S.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var n=this.m.add(new a(1)).iushrn(2);return this.pow(t,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);i(!r.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var h=this.pow(l,r),f=this.pow(t,r.addn(1).iushrn(1)),d=this.pow(t,r),p=o;0!==d.cmp(s);){for(var m=d,v=0;0!==m.cmp(s);v++)m=m.redSqr();i(v<p);var b=this.pow(h,new a(1).iushln(p-v-1));f=f.redMul(b),h=b.redSqr(),d=d.redMul(h),p=v}return f},S.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},S.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new a(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],t);var r=n[0],o=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),i=e.length-1;i>=0;i--){for(var u=e.words[i],l=c-1;l>=0;l--){var h=u>>l&1;r!==n[0]&&(r=this.sqr(r)),0!==h||0!==o?(o<<=1,o|=h,(4==++s||0===i&&0===l)&&(r=this.mul(r,n[o]),s=0,o=0)):s=0}c=26}return r},S.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},S.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new x(t)},r(x,S),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):r.cmpn(0)<0&&(a=r.iadd(this.m)),a._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var n=t.mul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n("YuTi")(t))},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("2fFW"),r=n("NJ4a"),a={closed:!0,next:function(t){},error:function(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete:function(){}}},gvAe:function(t,e,n){var i=n("OfWw"),r=n("hwdV").Buffer,a=n("ZDAU"),o=n("P7XM"),s=n("P2KE"),c=n("jIre"),u=n("vZ2G");function l(t,e,n,o){a.call(this);var c=r.alloc(4,0);this._cipher=new i.AES(e);var l=this._cipher.encryptBlock(c);this._ghash=new s(l),n=function(t,e,n){if(12===e.length)return t._finID=r.concat([e,r.from([0,0,0,1])]),r.concat([e,r.from([0,0,0,2])]);var i=new s(n),a=e.length,o=a%16;i.update(e),o&&i.update(r.alloc(o=16-o,0)),i.update(r.alloc(8,0));var c=8*a,l=r.alloc(8);l.writeUIntBE(c,0,8),i.update(l),t._finID=i.state;var h=r.from(t._finID);return u(h),h}(this,n,l),this._prev=r.from(n),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}o(l,a),l.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=r.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._ghash.update(this._decrypt?t:n),this._len+=t.length,n},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var n=0;t.length!==e.length&&n++;for(var i=Math.min(t.length,e.length),r=0;r<i;++r)n+=t[r]^e[r];return n}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!r.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},l.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=l},hbMA:function(t,e,n){"use strict";var i=n("P7XM"),r=n("N2jm");function a(t){r.call(this,t),this.enc="pem"}i(a,r),t.exports=a,a.prototype.encode=function(t,e){for(var n=r.prototype.encode.call(this,t).toString("base64"),i=["-----BEGIN "+e.label+"-----"],a=0;a<n.length;a+=64)i.push(n.slice(a,a+64));return i.push("-----END "+e.label+"-----"),i.join("\n")}},hswa:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var i=n("qCKp"),r=n("ADT6");i.Observable.prototype.filter=r.filter},hwdV:function(t,e,n){var i=n("tjlA"),r=i.Buffer;function a(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return r(t,e,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=i:(a(i,e),e.Buffer=o),o.prototype=Object.create(r.prototype),a(r,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return r(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=r(t);return void 0!==e?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i.SlowBuffer(t)}},"i+bA":function(t,e,n){var i=n("hwdV").Buffer;t.exports=function(t,e,n){if(i.isBuffer(t))return t;if("string"==typeof t)return i.from(t,e);if(ArrayBuffer.isView(t))return i.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},"i+c7":function(t,e,n){"use strict";n.d(e,"b",(function(){return mu})),n.d(e,"a",(function(){return yu}));var i,r=n("U/Bw"),a=n("OLhb"),o=n("XGgE"),s=n("M9IT"),c=n("+0xr"),u=n("Dh3D"),l=(n("EUDy"),n("0EQZ")),h=n("lTdr"),f=n("0IaG"),qe=n("fXoL"),We=n("ofXK");function Xe(t,e){1&t&&(qe.Tb(0,"mat-header-cell"),qe.Lc(1," Image "),qe.Sb())}function Je(t,e){if(1&t&&(qe.Tb(0,"mat-cell",11),qe.Tb(1,"a",12),qe.Ob(2,"img",13),qe.Sb(),qe.Lc(3),qe.lc(4,"date"),qe.Sb()),2&t){var n=e.$implicit,i=qe.kc(2);qe.Bb(1),qe.rc("href",i.getImageURL(n.imageId),qe.Bc),qe.Bb(1),qe.rc("src",i.getImageURL(n.imageId),qe.Bc),qe.Bb(1),qe.Oc(" ",n.objectName," - ",qe.nc(4,4,n.detectionTime,"medium")," ")}}function Ye(t,e){1&t&&(qe.Tb(0,"mat-header-cell"),qe.Lc(1," Time "),qe.Sb())}function Ze(t,e){if(1&t&&(qe.Tb(0,"mat-cell",11),qe.Lc(1),qe.Sb()),2&t){var n=e.$implicit;qe.Bb(1),qe.Nc(" ",n.detectionTime," ")}}function $e(t,e){1&t&&qe.Ob(0,"mat-header-row")}function en(t,e){1&t&&qe.Ob(0,"mat-row")}function nn(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div"),qe.Tb(1,"h2",2),qe.Lc(2,"Object Detection List"),qe.Sb(),qe.Tb(3,"mat-table",3),qe.Rb(4,4),qe.Jc(5,Xe,2,0,"mat-header-cell",5),qe.Jc(6,Je,5,7,"mat-cell",6),qe.Qb(),qe.Rb(7,7),qe.Jc(8,Ye,2,0,"mat-header-cell",5),qe.Jc(9,Ze,2,1,"mat-cell",6),qe.Qb(),qe.Jc(10,$e,1,0,"mat-header-row",8),qe.Jc(11,en,1,0,"mat-row",9),qe.Sb(),qe.Tb(12,"mat-paginator",10),qe.gc("page",(function(t){return qe.Ac(n),qe.kc().onDetectionPaginateChange(t)})),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(3),qe.rc("dataSource",i.dataSource),qe.Bb(7),qe.rc("matHeaderRowDef",i.displayedColumnsStreams),qe.Bb(1),qe.rc("matRowDefColumns",i.displayedColumnsStreams),qe.Bb(1),qe.rc("length",i.detectedLenght)("pageSize",i.pageSize)("pageSizeOptions",i.pageSizeOptions)}}function rn(t,e){1&t&&(qe.Tb(0,"div"),qe.Tb(1,"h5"),qe.Lc(2," No detected object for the stream!"),qe.Sb(),qe.Sb())}i=$localize(He());var an,on,sn,cn=((an=function(){function t(e,n,i){var r=this;Qe(this,t),this.dialogRef=e,this.restService=n,this.data=i,this.detectedLenght=100,this.pageSize=5,this.pageSizeOptions=[5,10,20],this.detectedListOffset=0,this.displayedColumnsStreams=["image"],this.dataSource=new c.k,this.objectTableData={dataRows:[]},this.appName=i.appName,this.getDetectionList(this.appName,i.streamId,this.detectedListOffset,this.pageSize),this.getObjectDetectedTotal(this.appName,i.streamId),this.dialogRef.afterClosed().subscribe((function(t){clearInterval(r.timerId)}))}
1return tn(t,[{key:"ngOnInit",value:function(){this.objectTableData={dataRows:[]}}},{key:"getObjectDetectedTotal",value:function(t,e){var n=this;this.restService.getObjectDetectedTotal(t,e).subscribe((function(t){n.detectedLenght=t.number}),(function(t){Object(r.g)(t)}))}},{key:"getDetectionList",value:function(t,e,n,i){var a=this;this.noDetectedObject=!1,this.restService.getDetectionList(t,e,n,i).subscribe((function(t){for(var e in t)a.objectTableData.dataRows.push(t[e]);a.dataSource=new c.k(a.objectTableData.dataRows),console.log(" detected object number "+a.objectTableData.dataRows.length),0==a.objectTableData.dataRows.length&&(a.noDetectedObject=!0)}),(function(t){Object(r.g)(t)}))}},{key:"onDetectionPaginateChange",value:function(t){var e=this;this.detectedListOffset=t.pageIndex*t.pageSize,this.pageSize=t.pageSize,this.restService.getDetectionList(this.appName,this.data.streamId,this.detectedListOffset,this.pageSize).subscribe((function(t){for(var n in e.objectTableData.dataRows=[],t)e.objectTableData.dataRows.push(t[n]);e.dataSource=new c.k(e.objectTableData.dataRows)}),(function(t){Object(r.g)(t)}))}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"getImageURL",value:function(t){return r.b+this.appName+"/previews/"+t+".jpeg"}}]),t}()).\u0275fac=function(t){return new(t||an)(qe.Nb(f.g),qe.Nb(r.e),qe.Nb(f.a))},an.\u0275cmp=qe.Hb({type:an,selectors:[["detected-objects-list"]],decls:5,vars:2,consts:[[4,"ngIf"],["type","button",1,"btn","btn-simple",3,"click"],["mat-dialog-title",""],["matSort","",3,"dataSource"],["matColumnDef","image"],[4,"matHeaderCellDef"],["style","padding:10px",4,"matCellDef"],["matColumnDef","time"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","page"],[2,"padding","10px"],["target","_blank",3,"href"],[2,"width","30%",3,"src"]],template:function(t,e){1&t&&(qe.Jc(0,nn,13,6,"div",0),qe.Jc(1,rn,3,0,"div",0),qe.Ob(2,"br"),qe.Tb(3,"button",1),qe.gc("click",(function(){return e.onNoClick()})),qe.Xb(4,i),qe.Sb()),2&t&&(qe.rc("ngIf",!e.noDetectedObject),qe.Bb(1),qe.rc("ngIf",e.noDetectedObject))},directives:[We.p,f.h,c.j,u.a,c.c,c.e,c.b,c.g,c.i,s.a,c.d,c.a,c.f,c.h],pipes:[We.f],encapsulation:2}),an),un=n("tk/3"),ln=n("3Pt+");on=$localize(Ue()),sn=$localize(Ve());var hn,fn,dn=["placeholder",$localize(ze())];function pn(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",11),qe.Ob(1,"progress",12),qe.Tb(2,"button",13),qe.gc("click",(function(){return qe.Ac(n),qe.kc().cancelUpload()})),qe.Lc(3," \u2716 "),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(1),qe.sc("value",i.progress)}}function mn(t,e){1&t&&(qe.bc(0,fn,1),qe.Ob(1,"i",14),qe.Zb())}hn=$localize(Fe()),fn=$localize(Be(),"\ufffd*17:1\ufffd\ufffd#1:1\ufffd","\ufffd/#1:1\ufffd\ufffd/*17:1\ufffd");var vn,bn,gn,yn=((vn=function(){function t(e,n,i){Qe(this,t),this.dialogRef=e,this.restService=n,this.data=i,this.uploading=!1,this.fileToUpload=null,this.fileselected=!1,this.progress=0}
1return tn(t,[{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"handleFileInput",value:function(t){this.fileToUpload=t.item(0),this.fileselected=!0,this.fileName=this.fileToUpload.name.replace(/\s/g,"_")}},{key:"submitUpload",value:function(){var t=this;if(this.fileToUpload){if("video/mp4"!==this.fileToUpload.type&&"video/webm"!==this.fileToUpload.type&&"video/avi"!==this.fileToUpload.type&&"video/quicktime"!=this.fileToUpload.type&&"video/x-ms-wmv"!=this.fileToUpload.type&&"audio/mpeg"!=this.fileToUpload.type)return swal({type:"error",title:"Unsupported File Type",text:"MP4, WebM, AVI, MOV, WMV, MP3 files are accepted!",buttonsStyling:!1,confirmButtonClass:"btn btn-error"}),!1;this.uploading=!0;var e=new FormData;e.append("file",this.fileToUpload),e.append("file_info",this.fileToUpload.name),console.log("file upload"+this.fileToUpload.name),this.fileName&&0!=this.fileName.length||(this.fileName=this.fileToUpload.name.substring(0,this.fileToUpload.name.lastIndexOf("."))),this.fileName=this.fileName.replace(/\s/g,"_"),this.fileName=encodeURIComponent(this.fileName),this.uploadSub=this.restService.uploadVod(this.fileName,e,this.dialogRef.componentInstance.data.appName).subscribe((function(e){switch(e.type){case un.d.Sent:t.progress=0;break;case un.d.UploadProgress:t.progress=Math.round(e.loaded/e.total*100);break;case un.d.Response:t.progress=100,1==e.body.success?(t.uploading=!1,t.dialogRef.close(),swal({type:"success",title:" File is successfully uploaded!",buttonsStyling:!1,confirmButtonClass:"btn btn-success"})):"notSupportedFileType"==e.body.message?(t.uploading=!1,swal({type:"error",title:"Unsupported File Type",text:"MP4, WebM, AVI, MOV, WMV, MP3 files are accepted!",buttonsStyling:!1,confirmButtonClass:"btn btn-error"})):(t.uploading=!1,t.dialogRef.close(),swal({type:"error",title:"An Error Occured!",buttonsStyling:!1,confirmButtonClass:"btn btn-error"}))}}),(function(t){Object(r.g)(t)}))}}},{key:"cancelUpload",value:function(){this.uploading=!1,this.progress=0,this.uploadSub.unsubscribe()}}]),t}()).\u0275fac=function(t){return new(t||vn)(qe.Nb(f.g),qe.Nb(r.e),qe.Nb(f.a))},vn.\u0275cmp=qe.Hb({type:vn,selectors:[["upload-vod-dialog"]],decls:20,vars:4,consts:[[1,"card-title","text-left"],[1,"form-group","text-left","col-sm-12","col-md-12"],["type","text","name","vodName",1,"form-control",3,"ngModel","ngModelChange",6,"placeholder"],["onvifUrl","ngModel"],["style","width: 100%",4,"ngIf"],[1,"form-group","text-center","col-sm-2","col-md-2"],["type","file",1,"upload",3,"change"],[1,"form-group","col-sm-12","col-md-12","text-center"],[1,"btn","btn-fill","btn-success",3,"disabled","click"],["class","fa fa-spinner fa-pulse fa-1x fa-fw","aria-hidden","true",4,"ngIf"],["type","button",1,"btn","btn-simple",3,"click"],[2,"width","100%"],["max","100",2,"width","90%",3,"value"],["type","button",1,"btn","btn-simple",2,"width","10%","font-size","21px",3,"click"],["aria-hidden","true",1,"fa","fa-spinner","fa-pulse","fa-1x","fa-fw"]],template:function(t,e){1&t&&(qe.Tb(0,"div"),qe.Tb(1,"h4",0),qe.Xb(2,on),qe.Sb(),qe.Tb(3,"div",1),qe.Tb(4,"label"),qe.Xb(5,sn),qe.Sb(),qe.Tb(6,"input",2,3),qe.Yb(8,dn),qe.gc("ngModelChange",(function(t){return e.fileName=t})),qe.Sb(),qe.Jc(9,pn,4,1,"div",4),qe.Sb(),qe.Ob(10,"br"),qe.Ob(11,"br"),qe.Tb(12,"div",5),qe.Tb(13,"input",6),qe.gc("change",(function(t){return e.handleFileInput(t.target.files)})),qe.Sb(),qe.Sb(),qe.Tb(14,"div",7),qe.Tb(15,"button",8),qe.gc("click",(function(){return e.submitUpload()})),qe.bc(16,fn),qe.Jc(17,mn,2,0,"i",9),qe.Zb(),qe.Sb(),qe.Tb(18,"button",10),qe.gc("click",(function(){return e.onNoClick()})),qe.Xb(19,hn),qe.Sb(),qe.Sb(),qe.Sb()),2&t&&(qe.Bb(6),qe.rc("ngModel",e.fileName),qe.Bb(3),qe.rc("ngIf",e.progress>0),qe.Bb(6),qe.rc("disabled",!e.fileselected),qe.Bb(2),qe.rc("ngIf",e.uploading))},directives:[ln.d,ln.k,ln.n,We.p],encapsulation:2}),vn);bn=$localize(Ne()),gn=$localize(De());var _n,wn,kn=["placeholder",$localize(je())];_n=$localize(Pe()),wn=$localize(Le());var Sn,xn=["placeholder",$localize(Re())];Sn=$localize(Ie());var Cn,Tn=["placeholder",$localize(Ae())];Cn=$localize(Me());var En,On,Mn=["placeholder",$localize(Oe())];function An(t,e){1&t&&(qe.Tb(0,"small",19),qe.Lc(1," Stream name should not be empty. "),qe.Sb())}function In(t,e){1&t&&(qe.Tb(0,"small",19),qe.Lc(1," Please write a limit larger than 1 or -1 for unlimited "),qe.Sb())}function Rn(t,e){1&t&&(qe.Tb(0,"small",19),qe.Lc(1," Please write a limit larger than 1 or -1 for unlimited "),qe.Sb())}function Ln(t,e){1&t&&(qe.Tb(0,"small",19),qe.Lc(1," Please write a limit larger than 1 or -1 for unlimited "),qe.Sb())}En=$localize(Ee()),On=$localize(Te());var Pn,jn=["placeholder",$localize(Ce())];function Dn(t,e){1&t&&(qe.Tb(0,"small",19),qe.Lc(1," Please write a valid stream URL "),qe.Sb())}function Nn(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",4),qe.Tb(1,"label"),qe.Xb(2,On),qe.Sb(),qe.Tb(3,"input",20,10),qe.Yb(5,jn),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().data.streamUrl=t}
1)),qe.Sb(),qe.Jc(6,Dn,2,0,"small",8),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(3),qe.rc("ngModel",i.data.streamUrl),qe.Bb(3),qe.rc("ngIf",!i.streamUrlDialogValid)}}Pn=$localize(xe());var Bn,Fn=["placeholder",$localize(Se())];function zn(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",4),qe.Tb(1,"label"),qe.Xb(2,Pn),qe.Sb(),qe.Tb(3,"input",21,10),qe.Yb(5,Fn),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().data.streamUrl=t})),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(3),qe.rc("ngModel",i.data.streamUrl)}}Bn=$localize(ke());var Vn,Un=["placeholder",$localize(we())];function Hn(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",4),qe.Tb(1,"label"),qe.Xb(2,Bn),qe.Sb(),qe.Tb(3,"input",22,23),qe.Yb(5,Un),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().data.username=t})),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(3),qe.rc("ngModel",i.data.username)}}Vn=$localize(_e());var qn,Wn,Kn=["placeholder",$localize(ye())];function Xn(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",4),qe.Tb(1,"label"),qe.Xb(2,Vn),qe.Sb(),qe.Tb(3,"input",24,25),qe.Yb(5,Kn),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().data.pass=t})),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(3),qe.rc("ngModel",i.data.pass)}}function Jn(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",33),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function Gn(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",34),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function Yn(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",35),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function Zn(t,e){if(1&t){var n=qe.Ub();qe.Rb(0),qe.Tb(1,"div",28),qe.Tb(2,"input",29),qe.gc("ngModelChange",(function(t){qe.Ac(n);var i=e.index;return qe.kc(2).shareEndpoint[i]=t})),qe.Sb(),qe.Tb(3,"label",30),qe.Rb(4,31),qe.Jc(5,Jn,3,0,"ng-container",32),qe.Jc(6,Gn,3,0,"ng-container",32),qe.Jc(7,Yn,3,0,"ng-container",32),qe.Qb(),qe.Lc(8),qe.Sb(),qe.Sb(),qe.Qb()}if(2&t){var i=e.$implicit,r=e.index,a=qe.kc(2);qe.Bb(2),qe.rc("id",i.id)("name",i.id)("ngModel",a.shareEndpoint[r]),qe.Bb(1),qe.rc("for",i.id),qe.Bb(1),qe.rc("ngSwitch",i.serviceName),qe.Bb(1),qe.rc("ngSwitchCase","facebook"),qe.Bb(1),qe.rc("ngSwitchCase","youtube"),qe.Bb(1),qe.rc("ngSwitchCase","periscope"),qe.Bb(1),qe.Nc(" ",i.accountName," ")}}function Qn(t,e){if(1&t&&(qe.Tb(0,"div",4),qe.Tb(1,"label",26),qe.Xb(2,qn),qe.Sb(),qe.Jc(3,Zn,9,9,"ng-container",27),qe.Sb()),2&t){var n=qe.kc();qe.Bb(3),qe.rc("ngForOf",n.data.videoServiceEndpoints)}}function $n(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",36),qe.Tb(1,"input",37,38),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().data.autoStartStopEnabled=t})),qe.Sb(),qe.Tb(3,"label",39),qe.Lc(4,"Auto Start/Stop Streaming"),qe.Sb(),qe.Ob(5,"br"),qe.Tb(6,"small",40),qe.Lc(7," Start streaming when there is a viewer, Stops streaming when there is no viewer "),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(1),qe.rc("ngModel",i.data.autoStartStopEnabled)}}function ti(t,e){1&t&&(qe.bc(0,Wn,1),qe.Ob(1,"i",41),qe.Zb())}qn=$localize(ge()),Wn=$localize(be(),"\ufffd*45:1\ufffd\ufffd#1:1\ufffd","\ufffd/#1:1\ufffd\ufffd/*45:1\ufffd");var ei,ni=((ei=function(){function t(e,n,i){var r=this;for(var a in Qe(this,t),this.dialogRef=e,this.restService=n,this.data=i,this.loading=!1,this.liveStreamUpdating=!1,this.streamNameEmpty=!1,this.genericRTMPEndpointCount=0,this.streamUrlDialogValid=!0,this.shareEndpoint=[],this.videoServiceEndPoints=[],this.videoServiceEndPoints=i.videoServiceEndpoints,this.endpointList=i.endpointList,this.endpoint=new h.a,this.endpointList)"generic"==this.endpointList[a].type&&this.genericRTMPEndpointCount++;this.videoServiceEndPoints.forEach((function(t,e){var n=!1;for(var i in r.endpointList)if(r.endpointList[i].endpointServiceId==t.id){r.shareEndpoint.push(!0),n=!0;break}0==n&&r.shareEndpoint.push(!1)}))}
1return tn(t,[{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"updateLiveStream",value:function(t){var e=this;if(t){this.liveStreamEditing=new r.c,this.liveStreamEditing.name=this.dialogRef.componentInstance.data.name,this.liveStreamEditing.streamId=this.dialogRef.componentInstance.data.streamId,this.liveStreamEditing.webRTCViewerLimit=this.dialogRef.componentInstance.data.webRTCViewerLimit,this.liveStreamEditing.hlsViewerLimit=this.dialogRef.componentInstance.data.hlsViewerLimit,this.liveStreamEditing.dashViewerLimit=this.dialogRef.componentInstance.data.dashViewerLimit,this.liveStreamEditing.type=this.dialogRef.componentInstance.data.type,"streamSource"==this.liveStreamEditing.type?(this.liveStreamEditing.ipAddr=this.dialogRef.componentInstance.data.url,this.liveStreamEditing.status=this.dialogRef.componentInstance.data.status,this.liveStreamEditing.streamUrl=this.dialogRef.componentInstance.data.streamUrl):"ipCamera"==this.liveStreamEditing.type&&(this.liveStreamEditing.ipAddr=this.dialogRef.componentInstance.data.url,this.liveStreamEditing.username=this.dialogRef.componentInstance.data.username,this.liveStreamEditing.password=this.dialogRef.componentInstance.data.pass,this.liveStreamEditing.status=this.dialogRef.componentInstance.data.status,this.liveStreamEditing.streamUrl=this.dialogRef.componentInstance.data.streamUrl),this.liveStreamEditing.autoStart
1StopEnabled=this.dialogRef.componentInstance.data.autoStartStopEnabled;var n=[];this.shareEndpoint.forEach((function(t,i){!0===t&&n.push(e.videoServiceEndPoints[i].id)})),this.restService.checkStreamName(this.liveStreamEditing.name)?("streamSource"==this.liveStreamEditing.type&&(this.restService.checkStreamUrl(this.liveStreamEditing.streamUrl)||(this.streamUrlDialogValid=!1)),this.liveStreamUpdating=!0,this.restService.updateLiveStream(this.dialogRef.componentInstance.data.appName,this.liveStreamEditing,n).subscribe((function(t){if(e.liveStreamUpdating=!1,t.success){if(0!=e.genericRTMPEndpointCount)for(var n in e.endpointList)"generic"==e.endpointList[n].type&&(e.endpoint.rtmpUrl=e.endpointList[n].rtmpUrl,e.restService.addRTMPEndpoint(e.dialogRef.componentInstance.data.appName,e.dialogRef.componentInstance.data.streamId,e.endpoint).subscribe((function(e){e.success||(t.success=!1)}),(function(t){Object(r.g)(t)})));$.notify({icon:"ti-save",message:o.a.getLocaleInterface().broadcast_updated},{type:"success",delay:900,placement:{from:"top",align:"right"}}),e.dialogRef.close()}else $.notify({icon:"ti-alert",message:o.a.getLocaleInterface().broadcast_not_updated+" "+t.message+" "+t.errorId},{type:"warning",delay:900,placement:{from:"top",align:"right"}})}),(function(t){Object(r.g)(t)})),"ipCamera"==this.liveStreamEditing.type&&setTimeout((function(){e.restService.getCameraError(e.data.appName,e.data.url).subscribe((function(t){console.log("stream ID : "+e.data.url),null!=t.message?t.message.includes("401")&&swal({title:"Authorization Error",text:"Please Check Username and/or Password",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){})):console.log("no camera error"),e.data.url=""}),(function(t){Object(r.g)(t)}))}),5e3)):this.streamNameEmpty=!0}}},{key:"cancelEditLiveStream",value:function(){this.dialogRef.close()}}]),t}()).\u0275fac=function(t){return new(t||ei)(qe.Nb(f.g),qe.Nb(r.e),qe.Nb(f.a))},ei.\u0275cmp=qe.Hb({type:ei,selectors:[["broadcast-edit-dialog"]],decls:48,vars:17,consts:[["method","post","validate","",3,"ngSubmit"],["f","ngForm"],[1,"card-content",2,"padding-top","0px"],[1,"card-title","text-left"],[1,"form-group","text-left"],["type","text","required","","minlength","4","name","broadcastName",1,"form-control",3,"ngModel","ngModelChange",6,"placeholder"],["broadcastName","ngModel"],[1,"text-danger",3,"hidden"],["class","text-danger",4,"ngIf"],["type","text","name","webRTCViewerLimit",1,"form-control",2,"width","400px",3,"ngModel","ngModelChange",6,"placeholder"],["onvifUrl","ngModel"],["type","text","name","hlsViewerLimit",1,"form-control",2,"width","400px",3,"ngModel","ngModelChange",6,"placeholder"],["type","text","name","dashViewerLimit",1,"form-control",2,"width","400px",3,"ngModel","ngModelChange",6,"placeholder"],["class","form-group text-left",4,"ngIf"],["class","form-group checkbox text-left ",4,"ngIf"],[1,"form-group","text-center"],["type","submit",1,"btn","btn-fill","btn-success",3,"disabled"],["class","fa fa-spinner fa-pulse fa-1x fa-fw","aria-hidden","true",4,"ngIf"],["type","button",1,"btn","btn-simple",3,"click"],[1,"text-danger"],["type","text","name","streamUrl",1,"form-control",2,"width","400px",3,"ngModel","ngModelChange",6,"placeholder"],["type","text","name","onvifUrl",1,"form-control",2,"width","400px",3,"ngModel","ngModelChange",6,"placeholder"],["type","text","name","username",1,"form-control",2,"width","400px",3,"ngModel","ngModelChange",6,"placeholder"],["username","ngModel"],["type","text","name","password",1,"form-control",2,"width","400px",3,"ngModel","ngModelChange",6,"placeholder"],["password","ngModel"],[1,"col-sm-12",2,"padding-left","0px"],[4,"ngFor","ngForOf"],[1,"col-sm-4","text-left","checkbox","vcenter",2,"margin-top","5px"],["type","checkbox",3,"id","name","ngModel","ngModelChange"],[3,"for"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"ti-facebook",2,"color","#3b5998"],[1,"ti-youtube",2,"color","#e52d27"],[1,"ti-twitter-alt",2,"color","#55acee"],[1,"form-group","checkbox","text-left"],["type","checkbox","name","autoStart
1StopEnabled",1,"form-control",2,"width","400px",3,"ngModel","ngModelChange"],["autoStartStopEnabled","ngModel"],["for","autoStartStopEnabled"],[2,"font-size","12px","padding-left","10px","display","block"],["aria-hidden","true",1,"fa","fa-spinner","fa-pulse","fa-1x","fa-fw"]],template:function(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div"),qe.Tb(1,"form",0,1),qe.gc("ngSubmit",(function(){qe.Ac(n);var t=qe.yc(2);return e.updateLiveStream(t.valid)})),qe.Tb(3,"div",2),qe.Tb(4,"h4",3),qe.Xb(5,bn),qe.Sb(),qe.Tb(6,"div",4),qe.Tb(7,"label"),qe.Xb(8,gn),qe.Sb(),qe.Tb(9,"input",5,6),qe.Yb(11,kn),qe.gc("ngModelChange",(function(t){return e.data.name=t})),qe.Sb(),qe.Tb(12,"small",7),qe.Xb(13,_n),qe.Sb(),qe.Jc(14,An,2,0,"small",8),qe.Sb(),qe.Tb(15,"div",4),qe.Tb(16,"label"),qe.Xb(17,wn),qe.Sb(),qe.Tb(18,"input",9,10),qe.Yb(20,xn),qe.gc("ngModelChange",(function(t){return e.data.webRTCViewerLimit=t})),qe.Sb(),qe.Jc(21,In,2,0,"small",8),qe.Sb(),qe.Tb(22,"div",4),qe.Tb(23,"label"),qe.Xb(24,Sn),qe.Sb(),qe.Tb(25,"input",11,10),qe.Yb(27,Tn),qe.gc("ngModelChange",(function(t){return e.data.hlsViewerLimit=t})),qe.Sb(),qe.Jc(28,Rn,2,0,"small",8),qe.Sb(),qe.Tb(29,"div",4),qe.Tb(30,"label"),qe.Xb(31,Cn),qe.Sb(),qe.Tb(32,"input",12,10),qe.Yb(34,Mn),qe.gc("ngModelChange",(function(t){return e.data.dashViewerLimit=t})),qe.Sb(),qe.Jc(35,Ln,2,0,"small",8),qe.Sb(),qe.Jc(36,Nn,7,2,"div",13),qe.Jc(37,zn,6,1,"div",13),qe.Jc(38,Hn,6,1,"div",13),qe.Jc(39,Xn,6,1,"div",13),qe.Jc(40,Qn,4,1,"div",13),qe.Jc(41,$n,8,1,"div",14),qe.Tb(42,"div",15),qe.Tb(43,"button",16),qe.bc(44,Wn),qe.Jc(45,ti,2,0,"i",17),qe.Zb(),qe.Sb(),qe.Tb(46,"button",18),qe.gc("click",(function(){return e.cancelEditLiveStream()})),qe.Xb(47,En),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(2),r=qe.yc(10);qe.Bb(9),qe.rc("ngModel",e.data.name),qe.Bb(3),qe.rc("hidden",r.valid||!i.submitted),qe.Bb(2),qe.rc("ngIf",e.streamNameEmpty),qe.Bb(4),qe.rc("ngModel",e.data.webRTCViewerLimit),qe.Bb(3),qe.rc("ngIf",e.data.webRTCViewerLimit<1&&-1!=e.data.webRTCViewerLimit),qe.Bb(4),qe.rc("ngModel",e.data.hlsViewerLimit),qe.Bb(3),qe.rc("ngIf",e.data.hlsViewerLimit<1&&-1!=e.data.hlsViewerLimit),qe.Bb(4),qe.rc("ngModel",e.data.dashViewerLimit),qe.Bb(3),qe.rc("ngIf",e.data.dashViewerLimit<1&&-1!=e.data.dashViewerLimit),qe.Bb(1),qe.rc("ngIf","streamSource"==e.data.type),qe.Bb(1),qe.rc("ngIf","ipCamera"==e.data.type),qe.Bb(1),qe.rc("ngIf","ipCamera"==e.data.type),qe.Bb(1),qe.rc("ngIf","ipCamera"==e.data.type),qe.Bb(1),qe.rc("ngIf",e.data.videoServiceEndpoints.length>0),qe.Bb(1),qe.rc("ngIf","streamSource"==e.data.type||"ipCamera"==e.data.type),qe.Bb(2),qe.rc("disabled",e.liveStreamUpdating),qe.Bb(2),qe.rc("ngIf",e.liveStreamUpdating)}},directives:[ln.x,ln.l,ln.m,ln.d,ln.t,ln.g,ln.k,ln.n,We.p,We.o,ln.a,We.r,We.s],encapsulation:2}),ei),ii=n("zkoq"),ri=n("MutI"),ai=n("bTqV"),oi=n("FKr1");function si(t,e){1&t&&qe.Ob(0,"i",17)}function ci(t,e){1&t&&qe.Ob(0,"i",18)}function ui(t,e){1&t&&qe.Ob(0,"i",19)}function li(t,e){if(1&t&&(qe.Tb(0,"p",15),qe.Lc(1),qe.Sb()),2&t){var n=qe.kc().$implicit,i=qe.kc();qe.Bb(1),qe.Nc(" Views:",i.viewCount[n]," ")}}function hi(t,e){if(1&t&&(qe.Rb(0),qe.Tb(1,"mat-grid-tile"),qe.Tb(2,"mat-grid-list",7),qe.Tb(3,"mat-grid-tile"),qe.Tb(4,"div",8),qe.Rb(5,9),qe.Jc(6,si,1,0,"i",10),qe.Jc(7,ci,1,0,"i",11),qe.Jc(8,ui,1,0,"i",12),qe.Qb(),qe.Sb(),qe.Sb(),qe.Tb(9,"mat-grid-tile",13),qe.Tb(10,"span",14),qe.Tb(11,"p",15),qe.Lc(12),qe.Sb(),qe.Tb(13,"p",15),qe.Lc(14),qe.Sb(),qe.Jc(15,li,2,1,"p",16),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Qb()),2&t){var n=e.$implicit,i=qe.kc();qe.Bb(5),qe.rc("ngSwitch",n),qe.Bb(1),qe.rc("ngSwitchCase","facebook"),qe.Bb(1),qe.rc("ngSwitchCase","youtube"),qe.Bb(1),qe.rc("ngSwitchCase","periscope"),qe.Bb(4),qe.Nc(" Comments: ",i.commentCount[n]," "),qe.Bb(2),qe.Nc(" Likes: ",i.likeCount[n]," "),qe.Bb(1),qe.rc("ngIf",i.viewCount[n]>0)}}function fi(t,e){1&t&&(qe.Tb(0,"b",20),qe.Lc(1,"Live Comments"),qe.Sb())}function di(t,e){1&t&&qe.Ob(0,"i",17)}function pi(t,e){1&t&&qe.Ob(0,"i",18)}function mi(t,e){1&t&&qe.Ob(0,"i",19)}function vi(t,e){if(1&t&&(qe.Tb(0,"mat-list-item"),qe.Ob(1,"img",21),qe.Tb(2,"h3",22),qe.Lc(3),qe.Rb(4,9),qe.Jc(5,di,1,0,"i",10),qe.Jc(6,pi,1,0,"i",11),qe.Jc(7,mi,1,0,"i",12),qe.Qb(),qe.Sb(),qe.Tb(8,"p",22),qe.Lc(9),qe.Sb(),qe.Sb()),2&t){var n=e.$implicit;qe.Bb(1),qe.rc("src",n.from.picture,qe.Bc),qe.Bb(2),qe.Nc(" ",n.from.fullName," "),qe.Bb(1),qe.rc("ngSwitch",n.origin),qe.Bb(1),qe.rc("ngSwitchCase","FACEBOOK"),qe.Bb(1),qe.rc("ngSwitchCase","YOUTUBE"),qe.Bb(1),qe.rc("ngSwitchCase","PERISCOPE"),qe.Bb(2),qe.Nc(" ",n.message," ")}}var bi,gi,yi,_i=((bi=function(){function t(e,n,i){var r=this;Qe(this,t),this.dialogRef=e,this.restService=n,this.data=i,this.loadingSettings=!1,this.streamName=i.streamName,this.streamId=i.streamId,this.appName=i.appName,this.endpointList=[],this.commentCount=[],this.likeCount=[],this.viewCount=[],this.endpointTypes=[],this.tempViewCount=[],this.tempLikeCount=[],this.tempCommentCount=[],this.serviceCommentCount=[],this.comments=[],this.data.endpointList.forEach((function(t,e){t.endpointServiceId&&(r.endpointList.push(t),r.serviceCommentCount[t.endpointServiceId]=0,r.endpointTypes.includes(t.type)||(r.endpointTypes.push(t.type),r.likeCount[t.type]=0,r.viewCount[t.type]=0,r.commentCount[t.type]=0))}
1)),this.getStats(),this.timerId=window.setInterval((function(){r.getStats()}),1e4),this.dialogRef.afterClosed().subscribe((function(t){console.debug("closed dialog"),clearInterval(r.timerId)}))}return tn(t,[{key:"getStats",value:function(){var t,e=this,n=Ge(this.endpointTypes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tempViewCount[i]=0,this.tempLikeCount[i]=0,this.tempCommentCount[i]=0}}catch(h){n.e(h)}finally{n.f()}this.restService.getBroadcast(this.appName,this.streamId).subscribe((function(t){"broadcasting"!=t.status&&e.dialogRef.close()}),(function(t){Object(r.g)(t)}));var a,o=0,s=0,c=0,u=Ge(this.endpointList);try{var l=function(){var t=a.value;e.restService.getLiveCommentsCount(e.appName,e.streamId,t.endpointServiceId).subscribe((function(n){console.debug(" live comments count "+n.message);var i=parseInt(n.message);if(e.tempCommentCount[t.type]+=i,e.serviceCommentCount[t.endpointServiceId]<i){var r=i-e.serviceCommentCount[t.endpointServiceId],a=e.serviceCommentCount[t.endpointServiceId];e.serviceCommentCount[t.endpointServiceId]=i,e.restService.getLiveComments(e.appName,e.streamId,t.endpointServiceId,a,r).subscribe((function(t){for(var n in t)e.comments.push(t[n]);setTimeout((function(){$("#comment-list").scrollTop($("#comment-list").prop("scrollHeight"))}),500)}))}if(++c==e.endpointList.length){var o,s=Ge(e.endpointTypes);try{for(s.s();!(o=s.n()).done;){var u=o.value;e.commentCount[u]=e.tempCommentCount[u]}}catch(h){s.e(h)}finally{s.f()}}}),(function(t){Object(r.g)(t)})),e.restService.getLiveViewsCount(e.appName,e.streamId,t.endpointServiceId).subscribe((function(n){if(console.debug("new live views count "+n.message),e.tempViewCount[t.type]+=parseInt(n.message),++o==e.endpointList.length){var i,r=Ge(e.endpointTypes);try{for(r.s();!(i=r.n()).done;){var a=i.value;e.viewCount[a]=e.tempViewCount[a]}}catch(h){r.e(h)}finally{r.f()}}}),(function(t){Object(r.g)(t)})),e.restService.getInteraction(e.appName,e.streamId,t.endpointServiceId).subscribe((function(n){if(null!=n&&(console.debug(" like count "+n.likeCount),e.tempLikeCount[t.type]+=parseInt(n.likeCount)+parseInt(n.loveCount)+parseInt(n.hahaCount)+parseInt(n.wowCount),++s==e.endpointList.length)){var i,r=Ge(e.endpointTypes);try{for(r.s();!(i=r.n()).done;){var a=i.value;e.likeCount[a]=e.tempLikeCount[a]}}catch(h){r.e(h)}finally{r.f()}}}),(function(t){Object(r.g)(t)}))};for(u.s();!(a=u.n()).done;)l()}catch(h){u.e(h)}finally{u.f()}}}]),t}()).\u0275fac=function(t){return new(t||bi)(qe.Nb(f.g),qe.Nb(r.e),qe.Nb(f.a))},bi.\u0275cmp=qe.Hb({type:bi,selectors:[["social-media-stats-component"]],decls:11,vars:3,consts:[["mat-dialog-title",""],["cols","4","rowHeight","70px"],[4,"ngFor","ngForOf"],["id","comment-list"],["style","display:block;padding-top:24px;",4,"ngIf"],[1,"pull-right"],["mat-button","","mat-dialog-close",""],["cols","3","rowHeight","70px",2,"width","100%"],[1,"text-center",2,"font-size","1.8em"],[3,"ngSwitch"],["class","ti-facebook","style","color:#3b5998;",4,"ngSwitchCase"],["class","ti-youtube","style","color:#e52d27;",4,"ngSwitchCase"],["class","ti-twitter-alt","style","color:#55acee;",4,"ngSwitchCase"],["colspan","1"],[2,"width","100%"],[2,"font-size","12px","line-height","12px"],["style","font-size:12px;line-height: 12px;",4,"ngIf"],[1,"ti-facebook",2,"color","#3b5998"],[1,"ti-youtube",2,"color","#e52d27"],[1,"ti-twitter-alt",2,"color","#55acee"],[2,"display","block","padding-top","24px"],["matListAvatar","",3,"src"],["matLine",""]],template:function(t,e){1&t&&(qe.Tb(0,"h1",0),qe.Lc(1,"Social Media Stats"),qe.Sb(),qe.Tb(2,"mat-grid-list",1),qe.Jc(3,hi,16,7,"ng-container",2),qe.Sb(),qe.Tb(4,"mat-dialog-content",3),qe.Jc(5,fi,2,0,"b",4),qe.Tb(6,"mat-list"),qe.Jc(7,vi,10,7,"mat-list-item",2),qe.Sb(),qe.Sb(),qe.Tb(8,"mat-dialog-actions",5),qe.Tb(9,"button",6),qe.Lc(10,"Close"),qe.Sb(),qe.Sb()),2&t&&(qe.Bb(3),qe.rc("ngForOf",e.endpointTypes),qe.Bb(2),qe.rc("ngIf",e.comments.length>0),qe.Bb(2),qe.rc("ngForOf",e.comments))},directives:[f.h,ii.a,We.o,f.e,We.p,ri.a,f.c,ai.a,f.d,ii.c,We.r,We.s,ri.c,ri.b,oi.k],encapsulation:2}),bi),wi=n("uki+"),ki=n("E872"),Si=((gi=function(){function t(e,n,i){var r=this;Qe(this,t),this.dialogRef=e,this.restService=n,this.data=i,this.webrtcLenght=0,this.pageSize=5,this.pageSizeOptions=[10,25,50],this.webrtcListOffset=0,this.streamName=i.streamName,this.streamId=i.streamId,this.appName=i.appName,this.stats=[],this.getWebRTCStatsTotal(this.appName,this.streamId),this.get
1Stats(),this.timerId=window.setInterval((function(){r.getStats(),r.getWebRTCStatsTotal(r.appName,r.streamId)}),2e3),this.dialogRef.afterClosed().subscribe((function(t){console.debug("closed dialog"),clearInterval(r.timerId)}))}return tn(t,[{key:"getStats",value:function(){var t=this;this.restService.getWebRTCStatsList(this.appName,this.streamId,this.webrtcListOffset,this.pageSize).subscribe((function(e){t.update(e)}),(function(t){Object(r.g)(t)}))}},{key:"getWebRTCStatsTotal",value:function(t,e){var n=this;this.restService.getStats(t,e).subscribe((function(t){n.webrtcLenght=t.totalWebRTCWatchersCount}),(function(t){Object(r.g)(t)}))}},{key:"onWebRtcPaginateChange",value:function(t){var e=this;this.webrtcListOffset=t.pageIndex*t.pageSize,this.pageSize=t.pageSize,this.restService.getWebRTCStatsList(this.appName,this.data.streamId,this.webrtcListOffset,this.pageSize).subscribe((function(t){e.update(t)}),(function(t){Object(r.g)(t)}))}},{key:"ngAfterViewInit",value:function(){var t={axisY:{labelInterpolationFnc:function(t){return t/1e3+"k"}},axisX:{labelInterpolationFnc:function(t){return"Client "+t}},height:"250px",plugins:[ki()]},e={low:0,axisX:{labelInterpolationFnc:function(t){return"Client "+t}},height:"250px",plugins:[ki()]};this.bitrateChart=new wi.Bar("#bitrateChart",{series:[{name:"measured",data:[]},{name:"send",data:[]}]},t),this.mediaPeriodChart=new wi.Line("#mediaSendPeriodChart",{series:[{name:"Video",data:[]},{name:"Audio",data:[]}]},e)}},{key:"update",value:function(t){var e,n=[],i=[],r=[],a=[],o=[];for(var s in this.stats=[],e=1,t)this.stats.push(t[s]),n.push(t[s].measuredBitrate),i.push(t[s].sendBitrate),r.push(t[s].videoFrameSendPeriod),a.push(t[s].audioFrameSendPeriod),o.push(e),e++;var c={labels:o,series:[{name:"Video",data:r},{name:"Audio",data:a}]};this.bitrateChart.update({labels:o,series:[{name:"measured",data:n},{name:"send",data:i}]}),this.mediaPeriodChart.update(c)}}]),t}()).\u0275fac=function(t){return new(t||gi)(qe.Nb(f.g),qe.Nb(r.e),qe.Nb(f.a))},gi.\u0275cmp=qe.Hb({type:gi,selectors:[["webrct-client-stats-component"]],decls:23,vars:4,consts:[["mat-dialog-title",""],["id","webrtc-stats"],[1,"container-fluid"],[1,"row"],[1,"col-md-6"],[1,"card"],[1,"card-header"],[1,"card-title"],[1,"card-content"],["id","bitrateChart"],["id","mediaSendPeriodChart"],[3,"length","pageSize","pageSizeOptions","page"],[1,"pull-right"],["mat-button","","mat-dialog-close",""]],template:function(t,e){1&t&&(qe.Tb(0,"h1",0),qe.Lc(1),qe.Sb(),qe.Tb(2,"mat-dialog-content",1),qe.Tb(3,"div",2),qe.Tb(4,"div",3),qe.Tb(5,"div",4),qe.Tb(6,"div",5),qe.Tb(7,"div",6),qe.Tb(8,"h4",7),qe.Lc(9,"Bitrate vs Clients"),qe.Sb(),qe.Sb(),qe.Tb(10,"div",8),qe.Ob(11,"div",9),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(12,"div",4),qe.Tb(13,"div",5),qe.Tb(14,"div",6),qe.Tb(15,"h4",7),qe.Lc(16,"Media Send Period vs Clients"),qe.Sb(),qe.Sb(),qe.Tb(17,"div",8),qe.Ob(18,"div",10),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(19,"mat-paginator",11),qe.gc("page",(function(t){return e.onWebRtcPaginateChange(t)})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(20,"mat-dialog-actions",12),qe.Tb(21,"button",13),qe.Lc(22,"Close"),qe.Sb(),qe.Sb()),2&t&&(qe.Bb(1),qe.Nc("WebRTC Client Statistics for ",e.streamId,""),qe.Bb(18),qe.rc("length",e.webrtcLenght)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions))},directives:[f.h,f.e,s.a,f.c,ai.a,f.d],styles:['.ct-legend[_ngcontent-%COMP%]{position:relative;z-index:10;list-style:none;text-align:center}.ct-legend[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;padding-left:23px;margin-right:10px;margin-bottom:3px;cursor:pointer;display:inline-block}.ct-legend[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{width:12px;height:12px;position:absolute;left:0;content:"";border:3px solid transparent;border-radius:2px}.ct-legend[_ngcontent-%COMP%] li.inactive[_ngcontent-%COMP%]:before{background:transparent}.ct-legend.ct-legend-inside[_ngcontent-%COMP%]{position:absolute;top:0;right:0}.ct-legend.ct-legend-inside[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:block;margin:0}.ct-legend[_ngcontent-%COMP%] .ct-series-0[_ngcontent-%COMP%]:before{background-color:#17a2b8;border-color:#17a2b8}.ct-legend[_ngcontent-%COMP%] .ct-series-1[_ngcontent-%COMP%]:before{background-color:#ffc107;border-color:#ffc107}.ct-chart-line-multipleseries[_ngcontent-%COMP%] .ct-legend[_ngcontent-%COMP%] .ct-series-0[_ngcontent-%COMP%]:before{background-color:#17a2b8;border-color:#17a2b8}.ct-chart-line-multipleseries[_ngcontent-%COMP%] .ct-legend[_ngcontent-%COMP%] .ct-series-1[_ngcontent-%COMP%]:before{background-color:#ffc107;border-color:#ffc107}.ct-chart-line-multipleseries[_ngcontent-%COMP%] .ct-legend[_ngcontent-%COMP%] li.inactive[_ngcontent-%COMP%]:before{background:transparent}']}),gi);yi=$localize(ve());var xi,Ci,Ti,Ei=["placeholder",$localize(me())];function Oi(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",8),qe.Tb(1,"div",12),qe.Tb(2,"label",13),qe.Lc(3),qe.Sb(),qe.Sb(),qe.Tb(4,"div",14),qe.Tb(5,"button",15),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc(),e=t.$implicit,i=t.index;return qe.kc(2).removeRTMPEndpoint(e,i)})),qe.Ob(6,"i",16),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc().$implicit;qe.Bb(3),qe.Nc(" ",i.rtmpUrl," ")}}function Mi(t,e){if(1&t&&(qe.Rb(0),qe.Jc(1,Oi,7,1,"div",11),qe.Qb()),2&t){var n=e.$implicit;qe.Bb(1),qe.rc("ngIf","generic"==n.type)}}function Ai(t,e){if(1&t&&(qe.Tb(0,"div",8),qe.Tb(1,"h4",1),qe.Xb(2,Ti),qe.Sb(),qe.Tb(3,"div",9),qe.Jc(4,Mi,2,1,"ng-container",10),qe.Sb(),qe.Sb()),2&t){var n=qe.kc();qe.Bb(4),qe.rc("ngForOf",n.endpointList)}}xi=$localize(pe()),Ci=$localize(de()),Ti=$localize(fe());var Ii,Ri,Li,Pi=((Ii=function(){function t(e,n,i){for(var r in Qe(this,t),this.dialogRef=e,this.restService=n,this.data=i,this.loading=!1,this.isEmptyEndpoint=!0,this.shareEndpoint=[],this.endpointList=i.endpointList,this.endpoint=new h.a,this.isEmptyEndpoint=!0,this.endpointList)if("generic"==this.endpointList[r].type){this.isEmptyEndpoint=!1;break}}
1return tn(t,[{key:"addRtmpEndpoint",value:function(t){var e=this,n="";for(var i in this.endpointList)this.endpointList[i].rtmpUrl==t&&(t="",n="RTMP URL Already added");this.endpoint.rtmpUrl=t,this.restService.addRTMPEndpoint(this.dialogRef.componentInstance.data.appName,this.dialogRef.componentInstance.data.streamId,this.endpoint).subscribe((function(t){t.success?(n="RTMP URL Added Successfully",e.rtmpEndpointName="",e.endpointList=e.endpointList||[],e.restService.getBroadcast(e.dialogRef.componentInstance.data.appName,e.dialogRef.componentInstance.data.streamId).subscribe((function(t){for(var n in e.endpointList=t.endPointList,e.endpointList)if("generic"==e.endpointList[n].type){e.isEmptyEndpoint=!1;break}}),(function(t){Object(r.g)(t)})),$.notify({icon:"ti-save",message:n},{type:"success",delay:900,placement:{from:"top",align:"right"}})):(n="RTMP Endpoint is not be saved",$.notify({icon:"ti-alert",message:n},{type:"warning",delay:900,placement:{from:"top",align:"right"}}))}),(function(t){Object(r.g)(t)}))}},{key:"removeRTMPEndpoint",value:function(t,e){var n=this;null!=t.endpointServiceId?this.restService.deleteRTMPEndpointV2(this.dialogRef.componentInstance.data.appName,this.dialogRef.componentInstance.data.streamId,t.endpointServiceId).subscribe((function(i){n.endpointDeleteProcess(t,e,i)}),(function(t){Object(r.g)(t)})):this.restService.deleteRTMPEndpointV1(this.dialogRef.componentInstance.data.appName,this.dialogRef.componentInstance.data.streamId,t.rtmpUrl).subscribe((function(i){n.endpointDeleteProcess(t,e,i)}),(function(t){Object(r.g)(t)}))}},{key:"cancelRTMPEndpoint",value:function(){this.dialogRef.close()}},{key:"endpointDeleteProcess",value:function(t,e,n){if(n.success)if(this.endpointList.splice(e,1),$.notify({icon:"ti-save",message:"RTMP Endpoint is deleted"},{type:"success",delay:900,placement:{from:"top",align:"right"}}),0==this.endpointList.length)this.isEmptyEndpoint=!0;else for(var i in this.endpointList){if("generic"==this.endpointList[i].type){this.isEmptyEndpoint=!1;break}this.isEmptyEndpoint=!0}else $.notify({icon:"ti-alert",message:"RTMP Endpoint is not deleted."},{type:"warning",delay:900,placement:{from:"top",align:"right"}})}}]),t}()).\u0275fac=function(t){return new(t||Ii)(qe.Nb(f.g),qe.Nb(r.e),qe.Nb(f.a))},Ii.\u0275cmp=qe.Hb({type:Ii,selectors:[["rtmp-endpoint-edit-dialog"]],decls:12,vars:2,consts:[[1,"card-content",2,"padding-top","0px"],[1,"card-title","text-left"],["type","text","name","rtmpEndpointName",1,"form-control",3,"ngModel","ngModelChange",6,"placeholder"],[1,"form-group",2,"margin-top","20px"],["type","button",1,"btn","btn-default",3,"click"],["class","text-left",4,"ngIf"],[1,"form-group","text-center"],["type","button",1,"btn","btn-fill",3,"click"],[1,"text-left"],[1,"row"],[4,"ngFor","ngForOf"],["class"," text-left","style","",4,"ngIf"],[1,"col-xs-10","text-left"],[2,"margin-top","5px"],[1,"col-xs-2","text-left"],["type","button",1,"btn","btn-icon","btn-simple","btn-danger","btn-minus",3,"click"],[1,"ti-close"]],template:function(t,e){1&t&&(qe.Tb(0,"div",0),qe.Tb(1,"h4",1),qe.Xb(2,yi),qe.Sb(),qe.Tb(3,"input",2),qe.Yb(4,Ei),qe.gc("ngModelChange",(function(t){return e.rtmpEndpointName=t})),qe.Sb(),qe.Tb(5,"div",3),qe.Tb(6,"button",4),qe.gc("click",(function(){return e.addRtmpEndpoint(e.rtmpEndpointName)})),qe.Xb(7,xi),qe.Sb(),qe.Sb(),qe.Jc(8,Ai,5,1,"div",5),qe.Tb(9,"div",6),qe.Tb(10,"button",7),qe.gc("click",(function(){return e.cancelRTMPEndpoint()})),qe.Xb(11,Ci),qe.Sb(),qe.Sb(),qe.Sb()),2&t&&(qe.Bb(3),qe.rc("ngModel",e.rtmpEndpointName),qe.Bb(5),qe.rc("ngIf",!e.isEmptyEndpoint))},directives:[ln.d,ln.k,ln.n,We.p,We.o],encapsulation:2}),Ii),ji=n("bSwM");Ri=$localize(he()),Li=$localize(le());var Di,Ni,Bi,Fi=["placeholder",$localize(ue())];function zi(t,e){1&t&&qe.Ob(0,"i",33)}function Vi(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",28),qe.Tb(1,"div",29),qe.Tb(2,"div",4),qe.Tb(3,"label"),qe.Lc(4,"Name"),qe.Sb(),qe.Tb(5,"input",30),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().playListItemAdding.name=t})),qe.Sb(),qe.Sb(),qe.Tb(6,"div",4),qe.Tb(7,"label"),qe.Lc(8,"Item URL"),qe.Sb(),qe.Tb(9,"input",30),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().playListItemAdding.streamUrl=t})),qe.Sb(),qe.Sb(),qe.Tb(10,"div",31),qe.Tb(11,"button",32),qe.gc("click",(function(){return qe.Ac(n),qe.kc().addPlaylistItemDirectlyClicked()}
1)),qe.Jc(12,zi,1,0,"i",26),qe.Lc(13,"Add"),qe.Sb(),qe.Tb(14,"button",27),qe.gc("click",(function(){return qe.Ac(n),qe.kc().cancelAddingPlayListItem()})),qe.Lc(15,"Cancel"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(5),qe.rc("name","streamUrl")("ngModel",i.playListItemAdding.name),qe.Bb(4),qe.rc("name","streamUrl")("ngModel",i.playListItemAdding.streamUrl),qe.Bb(3),qe.rc("ngIf",i.playlistItemAddingActive)}}function Ui(t,e){1&t&&(qe.Tb(0,"div",38),qe.Lc(1," VoD search results will appear here "),qe.Sb())}function Hi(t,e){1&t&&(qe.Tb(0,"div",38),qe.Lc(1," No VoD found with your search query "),qe.Sb())}function qi(t,e){1&t&&(qe.Tb(0,"mat-header-cell"),qe.Lc(1,"# "),qe.Sb())}function Wi(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"mat-cell"),qe.Tb(1,"mat-checkbox",48),qe.gc("click",(function(t){return qe.Ac(n),t.stopPropagation()}))("change",(function(t){qe.Ac(n);var i=e.$implicit,r=qe.kc(3);return t?r.selectHandlerStreams(i.vodId):null})),qe.Sb(),qe.Sb()}if(2&t){var i=e.$implicit,r=qe.kc(3);qe.Bb(1),qe.rc("checked",r.selectionStreams.isSelected(i.vodId))}}function Ki(t,e){1&t&&(qe.Tb(0,"mat-header-cell",49),qe.Lc(1," VoD Name "),qe.Sb()),2&t&&qe.rc("ngClass","playlist-name-column")}function Xi(t,e){if(1&t&&(qe.Tb(0,"mat-cell",49),qe.Tb(1,"div",50),qe.Lc(2),qe.Tb(3,"div",51),qe.Lc(4),qe.Sb(),qe.Sb(),qe.Sb()),2&t){var n=e.$implicit;qe.rc("ngClass","playlist-name-column"),qe.Bb(2),qe.Nc(" ",n.vodName," "),qe.Bb(2),qe.Nc("VoD Id: ",n.vodId,"")}}function Ji(t,e){1&t&&qe.Ob(0,"mat-header-row")}function Gi(t,e){1&t&&qe.Ob(0,"mat-row")}function Yi(t,e){if(1&t&&(qe.Tb(0,"div"),qe.Tb(1,"mat-table",39),qe.Rb(2,40),qe.Jc(3,qi,2,0,"mat-header-cell",41),qe.Jc(4,Wi,2,1,"mat-cell",42),qe.Qb(),qe.Rb(5,43),qe.Jc(6,Ki,2,1,"mat-header-cell",44),qe.Jc(7,Xi,5,3,"mat-cell",45),qe.Qb(),qe.Jc(8,Ji,1,0,"mat-header-row",46),qe.Jc(9,Gi,1,0,"mat-row",47),qe.Sb(),qe.Sb()),2&t){var n=qe.kc(2);qe.Bb(1),qe.rc("dataSource",n.dataSourceVod),qe.Bb(7),qe.rc("matHeaderRowDef",n.displayedColumnsStreams),qe.Bb(1),qe.rc("matRowDefColumns",n.displayedColumnsStreams)}}function Zi(t,e){1&t&&qe.Ob(0,"i",33)}function Qi(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",28),qe.Tb(1,"div",29),qe.Tb(2,"div",4),qe.Tb(3,"label"),qe.Lc(4,"Search VoDs"),qe.Sb(),qe.Tb(5,"input",34),qe.gc("keyup",(function(t){return qe.Ac(n),qe.kc().applyFilter(t.target.value)})),qe.Sb(),qe.Sb(),qe.Tb(6,"div",4),qe.Jc(7,Ui,2,0,"div",35),qe.Jc(8,Hi,2,0,"div",35),qe.Jc(9,Yi,10,3,"div",36),qe.Sb(),qe.Tb(10,"div",31),qe.Tb(11,"button",37),qe.gc("click",(function(){return qe.Ac(n),qe.kc().addPlaylistItemFromVoDsClicked()})),qe.Jc(12,Zi,1,0,"i",26),qe.Lc(13,"Add"),qe.Sb(),qe.Tb(14,"button",27),qe.gc("click",(function(){return qe.Ac(n),qe.kc().cancelAddingPlayListItem()})),qe.Lc(15,"Cancel"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(7),qe.rc("ngIf",0==i.filterValue.length),qe.Bb(1),qe.rc("ngIf",0==i.vodTableDataForPlaylist.dataRows.length&&i.filterValue.length>3),qe.Bb(1),qe.rc("ngIf",i.vodTableDataForPlaylist.dataRows.length>0),qe.Bb(2),qe.rc("disabled",i.playlistItemAdding),qe.Bb(1),qe.rc("ngIf",i.playlistItemAdding)}}function $i(t,e){1&t&&(qe.Tb(0,"div",52),qe.Rb(1),qe.Tb(2,"div",53),qe.Tb(3,"div",54),qe.Tb(4,"span",55),qe.Lc(5,"Name"),qe.Sb(),qe.Sb(),qe.Tb(6,"div",56),qe.Tb(7,"span",55),qe.Lc(8," Start Time "),qe.Sb(),qe.Sb(),qe.Tb(9,"div",56),qe.Tb(10,"span",55),qe.Lc(11," Run Time "),qe.Sb(),qe.Sb(),qe.Tb(12,"div",57),qe.Tb(13,"span",55),qe.Lc(14,"Actions"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Qb(),qe.Sb())}function tr(t,e){1&t&&qe.Ob(0,"i",33)}function er(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",66),qe.Tb(1,"div",29),qe.Tb(2,"div",4),qe.Tb(3,"label"),qe.Lc(4,"Name:"),qe.Sb(),qe.Tb(5,"input",30),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).playListItemEditing.name=t})),qe.Sb(),qe.Sb(),qe.Tb(6,"div",4),qe.Tb(7,"label"),qe.Lc(8,"URL:"),qe.Sb(),qe.Tb(9,"input",30),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).playListItemEditing.streamUrl=t})),qe.Sb(),qe.Sb(),qe.Tb(10,"div",4),qe.Tb(11,"label"),qe.Lc(12,"Start Offset:"),qe.Sb(),qe.Tb(13,"input",67),qe.gc("change",(function(t){qe.Ac(n);var e=qe.kc().index;return qe.kc(2).seekTimeChanged(t.target.value,e)})),qe.Sb(),qe.Sb(),qe.Tb(14,"div",31),qe.Tb(15,"button",37),qe.gc("click",(function(){return qe.Ac(n),qe.kc(3).updateEditPlaylistItem()}
1)),qe.Jc(16,tr,1,0,"i",26),qe.Lc(17,"OK"),qe.Sb(),qe.Tb(18,"button",27),qe.gc("click",(function(){return qe.Ac(n),qe.kc(3).cancelEditPlaylistItem()})),qe.Lc(19,"Cancel"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc().index,r=qe.kc(2);qe.Bb(5),qe.rc("name","name"+i)("ngModel",r.playListItemEditing.name),qe.Bb(4),qe.rc("name","streamUrl"+i)("ngModel",r.playListItemEditing.streamUrl),qe.Bb(4),qe.rc("name","streamUrlSeekTimeMs"+i)("value",r.getFormattedTime(r.playListItemEditing.seekTimeInMs)),qe.Bb(2),qe.rc("disabled",r.playlistItemUpdating),qe.Bb(1),qe.rc("ngIf",r.playlistItemUpdating)}}function nr(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",59),qe.Tb(1,"div",60),qe.Tb(2,"div",54),qe.Lc(3),qe.Sb(),qe.Tb(4,"div",56),qe.Lc(5),qe.Sb(),qe.Tb(6,"div",56),qe.Lc(7),qe.Sb(),qe.Tb(8,"div",57),qe.Tb(9,"button",61),qe.gc("click",(function(){qe.Ac(n);var t=e.index;return qe.kc(2).editPlayListItem(t)})),qe.Ob(10,"i",62),qe.Sb(),qe.Tb(11,"button",63),qe.gc("click",(function(){qe.Ac(n);var t=e.index;return qe.kc(2).deletePlaylistItemEditing(t)})),qe.Ob(12,"i",64),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(13,er,20,8,"div",65),qe.Sb()}if(2&t){var i=e.$implicit,r=e.index,a=qe.kc(2);qe.Bb(3),qe.Nc(" ",i.name," "),qe.Bb(2),qe.Nc(" ",a.getStartTime(r)," "),qe.Bb(2),qe.Nc(" ",a.getFormattedTime(i.durationInMs-i.seekTimeInMs)," "),qe.Bb(6),qe.rc("ngIf",a.editItemIndex==r)}}function ir(t,e){if(1&t&&(qe.Tb(0,"div",52),qe.Rb(1),qe.Jc(2,nr,14,4,"div",58),qe.Qb(),qe.Sb()),2&t){var n=qe.kc();qe.Bb(2),qe.rc("ngForOf",n.playlistEditing.playListItemList)}}function rr(t,e){1&t&&qe.Ob(0,"i",33)}Di=$localize(ce()),Ni=$localize(se(),"\ufffd#17\ufffd","\ufffd/#17\ufffd"),Bi=$localize(oe());var ar,or=((ar=function(){function t(e,n,i){Qe(this,t),this.dialogRef=e,this.restService=n,this.data=i,this.loading=!1,this.playlistUpdating=!1,this.newPlaylistAdding=!1,this.directUrlAdding=!1,this.vodAdding=!1,this.scheduleToStart=!1,this.timeFormatValidity={},this.displayedColumnsStreams=["select","name"],this.selectionStreams=new l.c(!0,[]),this.editItemIndex=-1,this.playlistEditing=new r.c,this.filterValue="",this.vodTableDataForPlaylist={dataRows:[]},this.dataSourceVod=new c.k}
1return tn(t,[{key:"ngAfterViewInit",value:function(){this.getPlaylistValues()}},{key:"allTimeFormatsAreValid",value:function(){return Object.values(this.timeFormatValidity).every((function(t){return!1!==t}))}},{key:"scheduleToStartChanged",value:function(t){console.log("scheduleToStartChanged ",t),this.scheduleToStart?$(".datetimepicker").show():$(".datetimepicker").hide()}},{key:"getPlaylistValues",value:function(){var t=this;this.restService.getBroadcast(this.data.appName,this.data.streamId).subscribe((function(e){t.playlistEditing.streamId=e.streamId,t.playlistEditing.playListItemList=e.playListItemList,t.playlistEditing.currentPlayIndex=e.currentPlayIndex,t.playlistEditing.name=e.name,t.playlistEditing.playlistLoopEnabled=e.playlistLoopEnabled,t.playlistEditing.plannedStartDate=e.plannedStartDate,t.playlistEditing.type=e.type,0!=t.playlistEditing.plannedStartDate&&(t.scheduleToStart=!0),$(".datetimepicker").datetimepicker({icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-chevron-up",down:"fa fa-chevron-down",previous:"fa fa-chevron-left",next:"fa fa-chevron-right",today:"fa fa-screenshot",clear:"fa fa-tras
1h",close:"fa fa-remove"},format:"MMM DD YYYY hh:mm A",date:0!=t.playlistEditing.plannedStartDate?new Date(1e3*t.playlistEditing.plannedStartDate):""}),t.scheduleToStart||$(".datetimepicker").hide()}),(function(t){Object(r.g)(t)}))}},{key:"onNoClick",value:function(){this.dialogRef.close()}},{key:"convertToMilliseconds",value:function(t){var e=Ke(t.split(":").map(Number),3);return 1e3*(60*(60*e[0]+e[1])+e[2])}},{key:"seekTimeChanged",value:function(t,e){var n=this.convertToMilliseconds(t);isNaN(n)?this.timeFormatValidity[e]=!1:(this.playListItemEditing.seekTimeInMs=n,this.timeFormatValidity[e]=!0)}},{key:"isTimeFormatCorrect",value:function(t){return!1!==this.timeFormatValidity[t]}},{key:"getStartTime",value:function(t){for(var e=0,n=0;n<t;n++)e+=this.playlistEditing.playListItemList[n].durationInMs-this.playlistEditing.playListItemList[n].seekTimeInMs;return this.getFormattedTime(e)}},{key:"getFormattedTime",value:function(t){if(t&&Number(t)>0){var e=Math.floor(t/1e3),n=Math.floor(e/60);return[Math.floor(n/60),n%=60,e%=60].map((function(t){return t.toString().padStart(2,"0")})).join(":")}return"00:00:00"}},{key:"getPlayListDuration",value:function(){var t=0;return this.playlistEditing.playListItemList.forEach((function(e){t+=e.durationInMs-e.seekTimeInMs})),this.getFormattedTime(t)}},{key:"updatePlaylistItemEditing",value:function(t){var e=this;t&&(this.allTimeFormatsAreValid()?(this.playlistUpdating=!0,this.newPlaylistAdding=!0,this.playlistEditing.plannedStartDate=this.scheduleToStart&&""!=$(".datetimepicker").val()?new Date($(".datetimepicker").data("DateTimePicker").viewDate()).getTime()/1e3:0,this.restService.updateLiveStream(this.dialogRef.componentInstance.data.appName,this.playlistEditing,"").subscribe((function(t){e.playlistUpdating=!1,e.newPlaylistAdding=!1,t.success?($.notify({icon:"ti-save",message:o.a.getLocaleInterface().playlist_updated},{type:"success",delay:900,placement:{from:"top",align:"right"}}),e.dialogRef.close(),e.newPlaylistAdding=!1):$.notify({icon:"ti-alert",message:o.a.getLocaleInterface().playlist_not_updated+" "+t.message+" "+t.errorId},{type:"warning",delay:900,placement:{from:"top",align:"right"}})}),(function(t){Object(r.g)(t)}))):console.log("Prevented form submission due to invalid time format."))}},{key:"deletePlaylistItemEditing",value:function(t){this.playlistEditing.playListItemList.splice(t,1)}},{key:"cancelEditPlaylist",value:function(){this.dialogRef.close()}},{key:"addPlaylistItemDirectly",value:function(){this.directUrlAdding=!0,this.vodAdding=!1,this.playListItemAdding=new h.c}},{key:"addPlaylistItemDirectlyClicked",value:function(){var t=this;this.playlistItemAddingActive=!0,this.restService.getDurationInMilliseconds(this.data.appName,this.playListItemAdding.streamUrl).subscribe((function(e){t.playlistItemAddingActive=!1,e.success?(t.addVodToPlaylistItemList(t.playListItemAdding.streamUrl,t.playListItemAdding.name,Number(e.dataId)),t.directUrlAdding=!1):-1==e.errorId?t.addVodToPlaylistItemList(t.playListItemAdding.streamUrl,t.playListItemAdding.name,Number(e.dataId)):-2==e.errorId?swal({title:"Warning",text:"The URL is inaccessible. If you're adding a local file and token security is enabled for play in the app, ensure to add a play token to the URL.",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"}):swal({title:"Warning",text:"Stream format cannot be found in this url",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"})}),(function(e){t.playlistItemAddingActive=!1,t.directUrlAdding=!1}))}},{key:"addVodToPlaylistItemList",value:function(t,e,n){this.playlistEditing.playListItemList.push({type:"VoD",streamUrl:t,name:e,seekTimeInMs:0,durationInMs:n})}},{key:"addPlaylistItemFromVoDs",value:function(){this.directUrlAdding=!1,this.vodAdding=!0,this.playListItemAdding=new h.c}},{key:"applyFilter",value:function(t){var e=this;this.filterValue!=t&&t.length>3&&(this.filterValue=t.toLowerCase(),console.log("applyfilter: "+t),this.restService.getVodList(this.data.appName,0,20,"","",this.filterValue).subscribe((function(t){for(var n in e.vodTableDataForPlaylist.dataRows=[],t)e.vodTableDataForPlaylist.dataRows.push(t[n]),console.log(t[n]);e.dataSourceVod=new c.k(e.vodTableDataForPlaylist.dataRows)}),(function(t){Object(r.g)(t)})))}},{key:"addPlaylistItemFromVoDsClicked",value:function(){return t=this,n=regeneratorRuntime.mark((function t(){var e,n,i,a;return regeneratorRuntime.wrap((function(t){for(;;
1)switch(t.prev=t.next){case 0:if(!this.selectionStreams.isEmpty()){t.next=4;break}swal({title:"Warning",text:"Please Select VoD to Add the Playlist",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"}),t.next=27;break;case 4:e=0,n=Object.keys(this.dataSourceVod.data);case 5:if(!(e<n.length)){t.next=26;break}if(i=n[e],!this.selectionStreams.isSelected(this.dataSourceVod.data[i].vodId)){t.next=23;break}if(a=r.b+this.data.appName+"/"+this.dataSourceVod.data[i].filePath,!this.data.appSettings.playJwtControlEnabled){t.next=22;break}return t.prev=10,t.t0=a,t.next=14,this.restService.getJWTToken(this.data.appName,this.dataSourceVod.data[i].vodId,mu).toPromise();case 14:t.t1=t.sent.tokenId,a=t.t0+="?token="+t.t1,t.next=22;break;case 18:return t.prev=18,t.t2=t.catch(10),Object(r.g)(t.t2),t.abrupt("continue",23);case 22:this.addVodToPlaylistItemList(a,this.dataSourceVod.data[i].vodName,this.dataSourceVod.data[i].duration);case 23:e++,t.next=5;break;case 26:this.vodAdding=!1,this.selectionStreams.clear(),this.vodTableDataForPlaylist.dataRows=[],this.dataSourceVod=new c.k(this.vodTableDataForPlaylist.dataRows);case 27:case"end":return t.stop()}}),t,this,[[10,18]])})),new((e=void 0)||(e=Promise))((function(i,r){function a(t){try{s(n.next(t))}catch(e){r(e)}}function o(t){try{s(n.throw(t))}catch(e){r(e)}}function s(t){var n;t.done?i(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,o)}s((n=n.apply(t,[])).next())}));var t,e,n}},{key:"selectHandlerStreams",value:function(t){this.selectionStreams.toggle(t)}},{key:"cancelAddingPlayListItem",value:function(){this.directUrlAdding=!1,this.vodAdding=!1,this.vodTableDataForPlaylist.dataRows=[],this.dataSourceVod=new c.k(this.vodTableDataForPlaylist.dataRows)}},{key:"editPlayListItem",value:function(t){this.playListItemEditing=new h.c,this.playListItemEditing.name=this.playlistEditing.playListItemList[t].name,this.playListItemEditing.streamUrl=this.playlistEditing.playListItemList[t].streamUrl,this.playListItemEditing.seekTimeInMs=this.playlistEditing.playListItemList[t].seekTimeInMs,this.playListItemEditing.durationInMs=this.playlistEditing.playListItemList[t].durationInMs,this.playListItemEditing.type=this.playlistEditing.playListItemList[t].type,this.editItemIndex=t}},{key:"updateEditPlaylistItem",value:function(){var t=this;this.playlistItemUpdating=!0,this.restService.getDurationInMilliseconds(this.data.appName,this.playListItemEditing.streamUrl).subscribe((function(e){t.playlistItemUpdating=!1,e.success||-1==e.errorId?(t.playlistEditing.playListItemList[t.editItemIndex].name=t.playListItemEditing.name,t.playlistEditing.playListItemList[t.editItemIndex].streamUrl=t.playListItemEditing.streamUrl,t.playlistEditing.playListItemList[t.editItemIndex].seekTimeInMs=t.playListItemEditing.seekTimeInMs,t.playlistEditing.playListItemList[t.editItemIndex].durationInMs=t.playListItemEditing.durationInMs,t.playlistEditing.playListItemList[t.editItemIndex].type=t.playListItemEditing.type,t.editItemIndex=-1):-2==e.errorId?swal({title:"Warning",text:"URL cannot be accessible",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"}):swal({title:"Warning",text:"Stream format cannot be found in this url",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"})}),(function(e){t.playlistItemUpdating=!1}))}},{key:"cancelEditPlaylistItem",value:function(){this.editItemIndex=-1}}]),t}()).\u0275fac=function(t){return new(t||ar)(qe.Nb(f.g),qe.Nb(r.e),qe.Nb(f.a))},ar.\u0275cmp=qe.Hb({type:ar,selectors:[["playlist-edit-dialog"]],decls:54,vars:10,consts:[["method","post","validate","",3,"ngSubmit"],["f","ngForm"],[1,"card-content",2,"padding-top","0px"],[1,"card-title","text-left"],[1,"form-group","text-left"],["type","text","required","","minlength","4","name","playlistName",1,"form-control",3,"ngModel","ngModelChange",6,"placeholder"],["playlistName","ngModel"],[1,"text-danger",3,"hidden"],[1,"",2,"margin-top","25px"],["type","button","data-toggle","dropdown",1,"btn","btn-default"],[1,"caret"],[1,"dropdown-menu","dropdown-menu-left"],["role","button",3,"click"],["class","row card",4,"ngIf"],[1,"form-group"],[2,"overflow-x","hidden","overflow-y","auto","min-height","250px","max-height","500px","padding-right","10px"],["class","row",4,"ngIf"],[1,"form-group","text-left",2,"margin-top","20px"],[1,"checkbox"],["id","scheduleToStart","name","scheduleToStart","type","checkbox",3,"ngModel","ngModelChange","change"],["for","scheduleToStart"],["type","text","name","plannedStartDate","placeholder","No Set",1,"form-control","datetimepicker"],["id","playlistLoopEnabled","name","playlistLoopEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","playlistLoopEnabled"],[1,"form-group","text-center",2,"padding-top","20px"],["type","submit",1,"btn","btn-fill","btn-success"],["class","fa fa-spinner fa-pulse fa-1x fa-fw","aria-hidden","true",4,"ngIf"],["type","button",1,"btn","btn-simple",3,"click"],[1,"row","card"],[1,"card-content"],["type","text",1,"form-control",3,"name","ngModel","ngModelChange"],[1,"form-group","text-center"],["type","button",1,"btn","btn-fill","btn-success",3,"click"],["aria-hidden","true",1,"fa","fa-spinner","fa-pulse","fa-1x","fa-fw"],["type","text","required","","minlength","4","name","vodName","placeholder","Type vod name or vod id",1,"form-control",3,"keyup"],["style","margin-top: 20px;margin-bottom: 20px;text-align: center;",4,"ngIf"],[4,"ngIf"],["type","button",1,"btn","btn-fill","btn-success",3,"disabled","click"],[2,"margin-top","20px","margin-bottom","20px","text-align","center"],[2,"max-height","300px",3,"dataSource"],["matColumnDef","select"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],[3,"ngClass",4,"matHeaderCellDef"],[3,"ngClass",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"checked","click","change"],[3,"ngClass"],[2,"padding-left","12px"],[2,"font-size","10px"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12",2,"margin-top","10px","padding-left","0px","display","flex","align-items","center"],[1,"col-xs-6","col-sm-4","text-left"],[1,"help-block"],[1,"col-xs-2","col-sm-3","text-left"],[1,"col-xs-2","col-sm-2","text-left"],["style","margin-bottom: 20px; padding-left: 0px;",4,"ngFor","ngForOf"],[2,"margin-bottom","20px","padding-left","0px"],[1,"col-md-12","col-sm-12","col-xs-12",2,"display","flex","align-items","center"],["t
1itle","Edit","data-toggle","tooltip","type","button",1,"btn","btn-simple","btn-magnify","btn-info","btn-xs","big-icons",3,"click"],[1,"ti-pencil"],["type","button",1,"btn","btn-icon","btn-simple","btn-danger","btn-minus",3,"click"],[1,"ti-close"],["class","col-md-12 col-sm-12 col-xs-12 card ",4,"ngIf"],[1,"col-md-12","col-sm-12","col-xs-12","card"],["type","text",1,"form-control",3,"name","value","change"]],template:function(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div"),qe.Tb(1,"form",0,1),qe.gc("ngSubmit",(function(){qe.Ac(n);var t=qe.yc(2);return e.updatePlaylistItemEditing(t.valid)})),qe.Tb(3,"div",2),qe.Tb(4,"h4",3),qe.Xb(5,Ri),qe.Sb(),qe.Tb(6,"div",4),qe.Tb(7,"label"),qe.Xb(8,Li),qe.Sb(),qe.Tb(9,"input",5,6),qe.Yb(11,Fi),qe.gc("ngModelChange",(function(t){return e.playlistEditing.name=t})),qe.Sb(),qe.Tb(12,"small",7),qe.Xb(13,Di),qe.Sb(),qe.Sb(),qe.Tb(14,"div",8),qe.Tb(15,"button",9),qe.bc(16,Ni),qe.Ob(17,"span",10),qe.Zb(),qe.Sb(),qe.Tb(18,"ul",11),qe.Tb(19,"li"),qe.Tb(20,"a",12),qe.gc("click",(function(){return e.addPlaylistItemDirectly()})),qe.Lc(21,"Add URL Directly"),qe.Sb(),qe.Sb(),qe.Tb(22,"li"),qe.Tb(23,"a",12),qe.gc("click",(function(){return e.addPlaylistItemFromVoDs()})),qe.Lc(24,"Add From VoDs"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(25,Vi,16,5,"div",13),qe.Jc(26,Qi,16,5,"div",13),qe.Sb(),qe.Tb(27,"div",14),qe.Tb(28,"div"),qe.Tb(29,"div"),qe.Tb(30,"div",15),qe.Jc(31,$i,15,0,"div",16),qe.Jc(32,ir,3,1,"div",16),qe.Sb(),qe.Tb(33,"div",17),qe.Tb(34,"label"),qe.Lc(35,"Playlist Length:"),qe.Sb(),qe.Lc(36),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(37,"div",4),qe.Tb(38,"div",18),qe.Tb(39,"input",19),qe.gc("ngModelChange",(function(t){return e.scheduleToStart=t}))("change",(function(t){return e.scheduleToStartChanged(t.target.checked)})),qe.Sb(),qe.Tb(40,"label",20),qe.Lc(41," Schedule to Start Automatically "),qe.Sb(),qe.Sb(),qe.Ob(42,"input",21),qe.Sb(),qe.Tb(43,"div",4),qe.Tb(44,"div",18),qe.Tb(45,"input",22),qe.gc("ngModelChange",(function(t){return e.playlistEditing.playlistLoopEnabled=t})),qe.Sb(),qe.Tb(46,"label",23),qe.Xb(47,Bi),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(48,"div",24),qe.Tb(49,"button",25),qe.Jc(50,rr,1,0,"i",26),qe.Lc(51,"Save"),qe.Sb(),qe.Tb(52,"button",27),qe.gc("click",(function(){return e.cancelEditPlaylist()})),qe.Lc(53,"Cancel"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(2),r=qe.yc(10);qe.Bb(9),qe.rc("ngModel",e.playlistEditing.name),qe.Bb(3),qe.rc("hidden",r.valid||!i.submitted),qe.Bb(13),qe.rc("ngIf",e.directUrlAdding),qe.Bb(1),qe.rc("ngIf",e.vodAdding),qe.Bb(5),qe.rc("ngIf",0!=e.playlistEditing.playListItemList.length),qe.Bb(1),qe.rc("ngIf",0!=e.playlistEditing.playListItemList.length),qe.Bb(4),qe.Nc(" ",e.getPlayListDuration()," "),qe.Bb(3),qe.rc("ngModel",e.scheduleToStart),qe.Bb(6),qe.rc("ngModel",e.playlistEditing.playlistLoopEnabled),qe.Bb(5),qe.rc("ngIf",e.newPlaylistAdding)}},directives:[ln.x,ln.l,ln.m,ln.d,ln.t,ln.g,ln.k,ln.n,We.p,ln.a,c.j,c.c,c.e,c.b,c.g,c.i,c.d,c.a,ji.a,We.n,c.f,c.h,We.o],encapsulation:2}),ar);n("neMA");var sr=n("BWpK");function cr(t,e,n,i,r,a,o){try{var s=t[a](o),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(i,r)}function ur(t,e,n){return(e="symbol"==typeof(i=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e))?i:String(i))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var i}window.log=function(){var t=function(){},e="undefined"!=typeof window&&void 0!==window.navigator&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"];function i(t,e){var n=t[e];if("function"==typeof n.bind)return n.bind(t);try{return Function.prototype.bind.call(n,t)}catch(i){return function(){return Function.prototype.apply.apply(n,[t,arguments])}}}function r(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(n){return"debug"===n&&(n="log"),"undefined"!=typeof console&&("trace"===n&&e?r:void 0!==console[n]?i(console,n):void 0!==console.log?i(console,"log"):t)}function o(e,i){for(var r=0;r<n.length;r++){var a=n[r];this[a]=r<e?t:this.methodFactory(a,e,i)}this.log=this.debug}function s(t,e,n){return function(){"undefined"!=typeof console&&(o.call(this,e,n),this[t].apply(this,arguments))}}function c(t,e,n){return a(t)||s.apply(this,arguments)}function u(t,e,i){var r,a=this;e=null==e?"WARN":e;var s="loglevel";function u(){var t;if("undefined"!=typeof window&&s){try{t=window.localStorage[s]}catch(i){}if(void 0===t)try{var e=window.document.cookie,n=e.indexOf(encodeURIComponent(s)+"=");-1!==n&&(t=/^([^;]+)/.exec(e.slice(n))[1])}catch(i){}return void 0===a.levels[t]&&(t=void 0),t}}"string"==typeof t?s+=":"+t:"symbol"==typeof t&&(s=void 0),a.name=t,a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},a.methodFactory=i||c,a.getLevel=function(){return r},a.setLevel=function(e,i){if("string"==typeof e&&void 0!==a.levels[e.toUpperCase()]&&(e=a.levels[e.toUpperCase()]),!("number"==typeof e&&e>
1=0&&e<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+e;if(r=e,!1!==i&&function(t){var e=(n[t]||"silent").toUpperCase();if("undefined"!=typeof window&&s){try{return void(window.localStorage[s]=e)}catch(i){}try{window.document.cookie=encodeURIComponent(s)+"="+e+";"}catch(i){}}}(e),o.call(a,e,t),"undefined"==typeof console&&e<a.levels.SILENT)return"No console available for logging"},a.setDefaultLevel=function(t){e=t,u()||a.setLevel(t,!1)},a.resetLevel=function(){a.setLevel(e,!1),function(){if("undefined"!=typeof window&&s){try{return void window.localStorage.removeItem(s)}catch(t){}try{window.document.cookie=encodeURIComponent(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(t){}}}()},a.enableAll=function(t){a.setLevel(a.levels.TRACE,t)},a.disableAll=function(t){a.setLevel(a.levels.SILENT,t)};var l=u();null==l&&(l=e),a.setLevel(l,!1)}var l=new u,h={};l.getLogger=function(t){if("symbol"!=typeof t&&"string"!=typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var e=h[t];return e||(e=h[t]=new u(t,l.getLevel(),l.methodFactory)),e};var f="undefined"!=typeof window?window.log:void 0;return l.noConflict=function(){return"undefined"!=typeof window&&window.log===l&&(window.log=f),l},l.getLoggers=function(){return h},l.default=l,l}();var lr=window.log;String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length);var i=n.lastIndexOf(t,e-=t.length);return-1!==i&&i===e});var hr=function(t,e){void 0!==typeof e&&null!=e||(e=window.location.search);var n,i,r=decodeURIComponent(e.substring(1)).split("&");for(i=0;i<r.length;i++)if((n=r[i].split("="))[0]===t)return void 0===n[1]||n[1]},fr=new Image;fr.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAjtSURBVHic7d1dbBzVFQfw/5n9MMF2JAJq6O6EbHZNEvWhIjVqlZRWON6kKE+IFnAECUqVqh9RQ0WUtlJb1WqjqCACfaAtD4gU0kLiFPpQqYrx2s6DE1XChoc+0AR7TMyu1QTi1nZcx/bunD7ASKY08tzZ+dqZ83t07r1z5PPPjHf3ziwghBBCCCGEEEIIIYSIPgq6AAA4r+urZqmpQFy7NQmtmZmbg67JC0Q0V4U5x5S42soLY9vK5fnAawrioL2Z3OYkqAiiDga+AGB9ULUEyAQwAWAEzIMaUNo+OX7B7yJ8+6Wf0fU1KU7vZeAxAHf5ddzGwm8T6OUlWnz5vnJ5yo8jeh6AwVzu9mo1cYiYvwOgxevjRcQsiJ/HIo4Vr4xf9vJAngVgEPcma/rEAQC/AGO1V8eJuDki/FIr33GsA2erXhzAkwCUsvmNAJ8EaIsX68cOYcQEdu8sG++6vbTm9oKlTKELwLA030WMdg0Y7s9ueNDtpV0NQEnPPw7iPwJodXNdAYCxmkGnSpnCD91c1rUAlLL5o2D82s01xacQiJ/syxaOuLegC/r1/I+Y8Ss31hL2EPPhzsnxp+tep94FSplCF4hfcWMtoYQJ/HBnZfx0PYvU1bRBvdBWA4/Iy7zAXNOY767nHUTH1+tB3JussdkjzQ9Uiwn6Qw+QcLqA4wDUshMH5aVeCBDuXqMXDjif7sBgLnd7bUm7CHm5Fw6EmdoS3fm1y2NXVKc6OgNUq4lDkOaHB2N1IsFPOJmqfAY4o+trkpy+BPlgJ2xmq7SYU/0UUfkMkOD0Y5Dmh1FrEuk9qpOUA0DAXtU5wjfKAVC6BPRmcpsTpL2jehDhq03FinHR7mClM0ASVFSvR/iJgU6V8WqXAKIOpfHCdwRsVxmvFAAG2tXKEb4jtR7Z/hvgvK6v+g+nr0E+7g07M5Eymzvee++6ncG2mzmHdJvKeBEYjc1kwfZg2wOJb3FWj/BbrWra7pXtAJgmyVu/DULT7PcqaXcggVdFZ88HXyXGKyDtLQAwCe3E5m6Abg26Mjcwm7ZvrVMIAIid1RM2f+Im2l80jOllP/t9Xz7/U1rACwC+EVRhbiGF/6mx+qOOgeNDFePhHZ9sPgBgh2FMd1aMhxh4PojaghKbADBw/FzF2N/90U2Z/xcBXKwY34tTCGIRADvNt8QtBJEPgErzLXEKQaQD4KT5lriEILIBqKf5ljiEIJIBcKP5lqiHIHIBcLP5liiHIFIB8KL5lqiGIDIB8LL5liiGIBIB8KP5lqiFoOED4GfzLVEKQUMHIIjmW6ISgoYNQJDNt0QhBA0ZgDA039LoIWi4AISp+ZZGDkFjBYDwotPm9+sbs16MtRDA5yrGARBeVJ0bpIYJAAPHh8rGt7odNH9Az+9irtp/iJVZfaqUKdyvepxuwOwsG/sb6UzQEAGo57Q/oOd3mYzXAWqyfTyiFIh7nISg0S4HoQ+AO82H7eYvE4sQhDoAATbfEvkQhDkArzltfilTuN9k/Bn1Nd+SAvEppyE4VzEOEPC6C3V4IpQBIOCDmxZS+7odNh/EpwCkXSwp7TQE3YC5MK/tA/Chi/W4JpQBYMLxez68MKs6z6PmWxyHYNfU6AxAL3lQU91CGQCY9JbqFI+bb3EcAhC/7UE9dQtlAIhMpSb61HyLoxAQU8qrguoRygCYoG12x/rcfItyCJj4Hi8LciqUASDgkTfWrcusNC6g5ltsh6A3U1gHRpcfRakKZQAAtGq11Kt/yWRuvtGAPj3/AIh7EEzzLWkQ9/Tp+QduNKB37dpmjfhVAKH8MsywBgAgfHUVNQ0N6LkvLf/x0G2bWkvZ/FFinAYQhutqihin+7KFI0O3bfrEffmlbNvWRLL5HAFfDqq4ldi+PTwYtMVk+lt/Nv8PZrwDQst1LG1F+J5UqhH4J9eblh7v0/PnycQcCJ8DzE1BF7aSkAfgIwxsBmFz0HXY0EKMnY30HI3wXgKELyQAMScBiDkJQMxJAGJOAhBzEoCYkwDEnAQg5iQAMScBiDkJQMxJAGJOAhBz8QmAyk
1ZTxU2pjSw+ATDJ/i3fTOs8rCRU4hMAwpYz69d/dqVhHz8b4C4fKgqF+AQASCSr2orPCGCz+iRi9HtpiC1h7qG9/ZkN0ws3Jw7vGh1dWP4vg7ncTbWq9jQYjwRVXRBsB4CBSHxlEBN9Pz3PXy9l8ycJ9PePf/r52hK6AKx4iWgEKr1SCADNN9BexxVwBsATHI1MfwqRNmd3rP0vjtRY+W5dEQzTtN8r2wGoQptyVo7wWyKp/cvuWNsBaOWFMYTo2XzihkzSqmN2B9sOwLZyeR7A+45KEv4hXLL7zeGA+uvdYcXxwm+MEZXhSgEg5rNKxQjfMTCgMl4tAECfWjnCb0woqYxXCsD2yfELQDifdSMAMIZ3lo13VaYov+fNoBOqc4RPNPXeKAegRosvAZA3hcKGMNOkLXkfgPvK5SkQh/rxp7HE+M1XJiZsvwFkcfax5yKOgTDjaK7wwr8Xa9qzTiY6CkDxyvhlYvzcyVzhPmL+2a5/jn7gZK7jjQ9a5Y7nQGpvOghPvHl1cvx3Tic7DkAHzlYToC65FARqFsCjDwE1pwvUtfWpozw2Ssz7EZHNIg3GZMK+YsW4WM8ide9966yMnybmg/WuI5Qd3lE2Xqt3EVc2P3ZOjj8H0FE31hIrI/CRYsV4xp21XFTSCwfB/CxitKvWZwymHxcnx55ya0HXt/n1Zzc8yEQvgLHa7bVjbpoJ39xRNlz9+hlP9nkO6oW2GvgkGO1erB9Db5Km7e58f9T2Th+7PDlVd5THRofKxhdB9G0A014cIyamQfjBVMXY6kXzAY/OAMv1ri18JpHiQ2B8F0DrihMEQJghE79dMLVnnL7DZ/9QPjmj62uSSO8BsEcuDTfAGIZGJ5q0pRNOPthxIpB7PUrZ/EYwiiB0gNAOxnrE75WDCcIlMEYYGGBCSXUzhxtCcbPPX9vamhILfGeiat5CCa0FbIbt+wDcQdo1rpnXtFRi6noao/97f6IQQgghhBBCCCGEEEJ4479dwloDbR5jHQAAAABJRU5ErkJggg==";var dr=function(){function t(e,n,i){var r=this;if(Qe(this,t),ur(this,"videoHTMLContent",void 0),ur(this,"videoPlayerId",void 0),ur(this,"playOrder",void 0),ur(this,"currentPlayType",void 0),ur(this,"is360",!1),ur(this,"streamId",void 0),ur(this,"playType",void 0),ur(this,"token",void 0),ur(this,"autoPlay",!0),ur(this,"mute",!1),ur(this,"controls",!0),ur(this,"forcePlayWithAudio",!1),ur(this,"targetLatency",3),ur(this,"subscriberId",void 0),ur(this,"subscriberCode",void 0),ur(this,"window",void 0),ur(this,"containerElement",void 0),ur(this,"placeHolderElement",void 0),ur(this,"videojsPlayer",void 0),ur(this,"dashPlayer",void 0),ur(this,"iceServers",void 0),ur(this,"iceConnected",void 0),ur(this,"errorCalled",void 0),ur(this,"aScene",void 0),ur(this,"playerListener",void 0),ur(this,"webRTCDataListener",void 0),ur(this,"tryNextTechTimer",void 0),ur(this,"id3Listener",void 0),ur(this,"restJwt",void 0),ur(this,"ptzControlElements",void 0),ur(this,"ptzValueStep",void 0),ur(this,"ptzMovement",void 0),ur(this,"restAPIPromise",void 0),ur(this,"isIPCamera",void 0),ur(this,"backupStreamId",void 0),ur(this,"activeStreamId",void 0),ur(this,"insertSecurityParameters",(function(t){var e=[];if(t.uri.includes("subscriberId")||null==r.subscriberId||e.push("subscriberId=".concat(r.subscriberId)),t.uri.includes("subscriberCode")||null==r.subscriberCode||e.push("subscriberCode=".concat(r.subscriberCode)),t.uri.includes("token")||null==r.token||e.push("token=".concat(r.token)),e.length>0){var n=e.join("&");t.uri+=t.uri.includes("?")?"&".concat(n):"?".concat(n)}lr.debug("hls request: "+t.uri)})),t.DEFAULT_PLAY_ORDER=["webrtc","hls"],t.DEFAULT_PLAY_TYPE=["mp4","webm"],t.HLS_EXTENSION="m3u8",t.WEBRTC_EXTENSION="webrtc",t.DASH_EXTENSION="mpd",t.STREAMS_FOLDER="streams",t.LL_HLS_Folder="ll-hls",t.VIDEO_PLAYER_ID="video-player",t.PLAYER_EVENTS=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","enterpictureinpicture","leavepictureinpicture","fullscreenchange","resize","audioonlymodechange","audiopostermodechange","controlsdisabled","controlsenabled","debugon","debugoff","disablepictureinpicturechanged","dispose","enterFullWindow","error","exitFullWindow","firstplay","fullscreenerror","languagechange","loadedmetadata","loadstart","playerreset","playerresize","posterchange","ready","textdata","useractive","userinactive","usingcustomcontrols","usingnativecontrols"],this.setDefaults(),this.isWindow(e)?(lr.info("getting from url mode"),this.window=e,this.initializeFromUrlParams()):(lr.info("config object mode"),Object.assign(this,e),this.window=window),this.containerElement=n,this.containerElement.style&&""!==this.containerElement.style.display&&(this.containerElementInitialDisplay=this.containerElement.style.display),this.placeHolderElement=i,this.placeHolderElement&&this.placeHolderElement.style&&""!=this.placeHolderElement.style.display&&(this.placeHolderElementInitialDisplay=this.placeHolderElement.style.display),null==this.streamId){var a="Stream id is not set.Please add your stream id to the url as a query parameter such as ?id={STREAM_ID} to the url";throw lr.error(a),alert(a),new Error(a)}if(this.activeStreamId=this.streamId,this.httpBaseURL)this.websocketBaseURL||(this.httpBaseURL.endsWith("/")||(this.httpBaseURL+="/"),this.websocketBaseURL=this.httpBaseURL.replace("http","ws"));else{var o="/";this.window.location.pathname&&-1!=this.window.location.pathname.indexOf("/")&&(o=this.window.location.pathname.substring(0,this.window.location.pathname.lastIndexOf("/")+1));var s=this.window.location.hostname;""!=this.window.location.port&&(s+=":"+this.window.location.port),o.startsWith("/")||(o="/"+o),o.endsWith("/")||(o+="/"),this.httpBaseURL=this.window.location.protocol+"//"+(s+=o),this.websocketBaseURL="ws://"+s,this.window.location.protocol.startsWith("https")&&(this.websocketBaseURL=this.websocketBaseURL.replace("ws","wss"))}this.dom=this.window.document,this.containerElement.innerHTML=this.videoHTMLContent,this.setPlayerVisible(!1)}
1return tn(t,[{key:"isWindow",value:function(t){return t instanceof Window||t.location&&t.location.href}},{key:"initialize",value:function(){var t=this;return this.loadVideoJSComponents().then((function(){return t.loadDashScript()})).then((function(){if(t.is360&&!window.AFRAME)return n.e(11).then(n.bind(null,"czxt")).then((function(t){return t.a}))})).catch((function(t){throw lr.error("Scripts are not loaded. The error is "+t),t}))}},{key:"loadDashScript",value:function(){var t=this;return this.playOrder.includes("dash")&&!this.dashjsLoaded?n.e(12).then(n.bind(null,"1lYR")).then((function(t){return t.d})).then((function(e){window.dashjs=e.default,t.dashjsLoaded=!0,console.log("dash.all.min.js is loaded")})):Promise.resolve()}},{key:"setDefaults",value:function(){this.playOrder=t.DEFAULT_PLAY_ORDER,this.currentPlayType=null,this.is360=!1,this.streamId=null,this.playType=t.DEFAULT_PLAY_TYPE,this.token=null,this.autoPlay=!0,this.mute=!1,this.targetLatency=3,this.subscriberId=null,this.subscriberCode=null,this.window=null,this.containerElement=null,this.placeHolderElement=null,this.videojsPlayer=null,this.dashPlayer=null,this.iceServers='[ { "urls": "stun:stun1.l.google.com:19302" } ]',this.iceConnected=!1,this.errorCalled=!1,this.tryNextTechTimer=-1,this.aScene=null,this.playerListener=null,this.webRTCDataListener=null,this.websocketBaseURL=null,this.httpBaseURL=null,this.videoHTMLContent="<video id='video-player' class='video-js vjs-default-skin vjs-big-play-centered' controls playsinline></video>",this.videoPlayerId="video-player",this.videojsLoaded=!1,this.dashjsLoaded=!1,this.containerElementInitialDisplay="block",this.placeHolderElementInitialDisplay="block",this.forcePlayWithAudio=!1,this.id3Listener=null,this.restJwt="",this.ptzControlElements={},this.ptzValueStep=.1,this.ptzMovement="relative",this.restAPIPromise=null,this.isIPCamera=!1,this.playerEvents=t.PLAYER_EVENTS,this.backupStreamId=null}},{key:"initializeFromUrlParams",value:function(){var t;this.streamId=hr("id",this.window.location.search)||this.streamId,null==this.streamId&&(this.streamId=hr("name",this.window.location.search)||this.streamId,null==this.streamId&&lr.warn("Please use id parameter instead of name parameter.")),this.is360="true"===hr("is360",this.window.location.search)||this.is360,this.playType=(null===(t=hr("playType",this.window.location.search))||void 0===t?void 0:t.split(","))||this.playType,this.token=hr("token",this.window.location.search)||this.token;var e=hr("autoplay",this.window.location.search);this.autoPlay="false"!==e;var n=hr("mute",this.window.location.search);"false"===n?(this.mute=!1,this.forcePlayWithAudio=!0):"true"===n&&(this.mute=!0);var i=hr("targetLatency",this.window.location.search);if(null!=i){var r=Number(i);isNaN(r)?(lr.warn("targetLatency parameter is not a number. It will be ignored."),this.targetLatency=this.targetLatency||3):this.targetLatency=r}this.subscriberId=hr("subscriberId",this.window.location.search)||this.subscriberId,this.subscriberCode=hr("subscriberCode",this.window.location.search)||this.subscriberCode;var a=hr("playOrder",this.window.location.search);this.playOrder=a?a.split(","):this.playOrder,this.restJwt=hr("restJwt",this.window.location.search)||this.restJwt,this.ptzValueStep=hr("ptzValueStep",this.window.location.search)||this.ptzValueStep,this.ptzMovement=hr("ptzMovement",this.window.location.search)||this.ptzMovement,this.backupStreamId=hr("backupStreamId",this.window.location.search)||this.backupStreamId}},{key:"loadWebRTCComponents",value:function(){var t=this;return this.playOrder.includes("webrtc")?n.e(27).then(n.bind(null,"su+C")).then((function(e){lr.info("videojs-webrtc-plugin.css is loaded");var i=t.dom.createElement("style");return i.textContent=e.default.toString(),t.dom.head.appendChild(i),Promise.all([n.e(2),n.e(28)]).then(n.bind(null,"tP/V")).then((function(t){lr.info("videojs-webrtc-plugin is loaded")}))})):Promise.resolve()}},{key:"loadVideoJSComponents",value:function(){var t=this;return this.playOrder.includes("hls")||this.playOrder.includes("ll-hls")||this.playOrder.includes("vod")||this.playOrder.includes("webrtc")?this.videojsLoaded?Promise.resolve():n.e(26).then(n.bind(null,"j8Fn")).then((function(e){var n=t.dom.createElement("style");n.textContent=e.default.toString(),t.dom.head.appendChild(n)})).then((function(){return n.e(2).then(n.bind(null,"LFg+")).then((function(t){return t.a}))})).then((function(e){window.videojs=e.default,t.videojsLoaded=!0})).then((function(){return Promise.all([n.e(2),n.e(25)]).then(n.bind(null,"hjFC"))})).then((function(){return t.loadWebRTCComponents()})):Promise.resolve()}},{key:"enable360Player",value:function(){this.aScene=this.dom.createElement("a-scene");var t=this.dom.getElementsByTagName("video")[0].id;this.aScene.innerHTML='<a-videosphere src="#'+t+'" rotation="0 180 0" style="background-color: antiquewhite"></a-videosphere>',this.dom.body.appendChild(this.aScene)}},{key:"setPlayerVisible",value:function(t){if(this.containerElement.style.display=t?this.containerElementInitialDisplay:"none",this.placeHolderElement&&(this.placeHolderElement.style.display=t?"none":this.placeHolderElementInitialDisplay),this.is360)if(t)this.enable360Player();else if(null!=this.aScene){for(var e=this.dom.getElementsByTagName("a-scene");e.length>0;)this.dom.body.removeChild(e[0]),e=this.dom.getElementsByTagName("a-scene");this.aScene=null}}},{key:"handleWebRTCInfoMessages",value:function(t){var e=this;"ice_connection_state_changed"==t.info?(lr.debug("ice connection state changed to "+t.obj.state),"completed"==t.obj.state||"connected"==t.obj.state?this.iceConnected=!0:"failed"!=t.obj.state&&"disconnected"!=t.obj.state&&"closed"!=t.obj.state||(lr.warn("Ice connection is not connected. tryNextTech to replay"),this.tryNextTech())):"closed"==t.info?(lr.warn("Websocket is closed. tryNextTech to replay"),this.tryNextTech()):"resolutionChangeInfo"==t.info?(lr.info("Resolution is changing"),this.videojsPlayer.pause(),setTimeout((function(){e.videojsPlayer.play()}),2e3)):"streaming_started"==t.info&&(lr.info("Requested stream has started"),this.playIfExists(this.currentPlayType,t.obj.streamId))}},{key:"playWithVideoJS",value:function(t,e){var n,i=this;if("mp4"==e)n="video/mp4";else if("webm"==e)n="video/webm";else if("mov"==e)n="video/mp4",alert("Browsers do not support to play mov format");else if("avi"==e)n="video/mp4",alert("Browsers do not support to play avi format");else if("m3u8"==e)n="application/x-mpegURL";
1else if("mpd"==e)n="application/dash+xml";else if("webrtc"==e)n="video/webrtc";else{if("mp3"!=e)return void lr.warn("Unknown extension: "+e);n="audio/mpeg"}var r=this.streamId;this.streamId.endsWith("_adaptive")&&(r=streamId.substring(0,streamId.indexOf("_adaptive"))),this.videojsPlayer=videojs(this.videoPlayerId,{poster:"previews/"+r+".png",liveui:"m3u8"==e,liveTracker:{trackingThreshold:0},html5:{vhs:{limitRenditionByPlayerDimensions:!1}},controls:this.controls,class:"video-js vjs-default-skin vjs-big-play-centered",muted:this.mute,preload:"auto",autoplay:this.autoPlay}),"webrtc"==e&&(this.videojsPlayer.on("webrtc-info",(function(t,e){i.handleWebRTCInfoMessages(e)})),this.videojsPlayer.on("webrtc-error",(function(t,e){lr.warn("error callback: "+JSON.stringify(e)),"no_stream_exist"==e.error&&e.message&&"stream_not_exist_or_not_streaming"==e.message.information?null!=i.backupStreamId?i.tryNextTech():lr.info("Stream "+e.message.streamId+" does not exists or not started yet. Waiting for the stream to start. It will be notified with streaming_started event by the server"):"no_stream_exist"==e.error||"WebSocketNotConnected"==e.error||"not_initialized_yet"==e.error||"data_store_not_available"==e.error||"highResourceUsage"==e.error||"unauthorized_access"==e.error||"user_blocked"==e.error?i.tryNextTech():"notSetRemoteDescription"==e.error&&(lr.warn("notSetRemoteDescription error. Redirecting to HLS player."),i.playIfExists("hls",i.activeStreamId)),null!=i.playerListener&&i.playerListener("webrtc-error",e)})),this.videojsPlayer.on("webrtc-data-received",(function(t,e){lr.trace("webrtc-data-received: "+JSON.stringify(e)),null!=i.webRTCDataListener&&i.webRTCDataListener(e)}))),"m3u8"==e&&(this.videojsPlayer.on("xhr-hooks-ready",(function(){i.videojsPlayer.ready((function(){i.videojsPlayer.tech().vhs.xhr.onRequest(i.insertSecurityParameters)}))})),this.videojsPlayer.ready((function(){"function"==typeof i.videojsPlayer.qualitySelectorHls&&i.videojsPlayer.qualitySelectorHls({displayCurrentQuality:!0});var t=i.videojsPlayer.qualityLevels();t.on("addqualitylevel",(function(e){var n=e.qualityLevel;n.height?n.enabled=!0:(t.removeQualityLevel(n),n.enabled=!1)}))})),this.listenForID3MetaData()),"mp4"!=e&&"webm"!=e&&"m3u8"!=e||this.makeVideoJSVisibleWhenReady(),this.listenPlayerEvents(),this.iceConnected=!1,this.videojsPlayer.src({src:t,type:n,withCredentials:!0,iceServers:this.iceServers,reconnect:!1}),this.autoPlay&&this.videojsPlayer.play().catch((function(t){"NotAllowedError"!==t.name||i.forcePlayWithAudio||(i.videojsPlayer.muted(!0),i.videojsPlayer.play()),lr.warn("Problem in playback. The error is "+t)}))}},{key:"listenPlayerEvents",value:function(){var t=this;this.playerEvents.forEach((function(e){t.videojsPlayer.on(e,(function(n){switch(e){case"play":t.setPlayerVisible(!0),null!=t.playerListener&&t.playerListener("play"),t.restJwt?t.isIpCameraBroadcast():t.isIPCamera&&t.injectPtzElements();break;case"ended":lr.warn("stream is ended"),t.setPlayerVisible(!1),"vod"!=t.currentPlayType&&(t.iceConnected?t.playIfExists(t.playOrder[0],t.activeStreamId):"hls"==t.currentPlayType?(t.setPlayerVisible(!1),(t.playOrder[0]="hls")?setTimeout((function(){t.playIfExists(t.playOrder[0],t.activeStreamId)}),1e4):t.playIfExists(t.playOrder[0],t.activeStreamId)):t.tryNextTech()),null!=t.playerListener&&t.playerListener(e);break;case"timeupdate":null!=t.playerListener&&t.playerListener(e,n,{currentTime:t.videojsPlayer.currentTime()});break;case"progress":null!=t.playerListener&&t.playerListener(e,n,{bufferedPercent:t.videojsPlayer.bufferedPercent()});break;case"volumechange":null!=t.playerListener&&t.playerListener(e,n,{volume:t.videojsPlayer.volume(),muted:t.videojsPlayer.muted()});break;case"ratechange":null!=t.playerListener&&t.playerListener(e,n,{playbackRate:t.videojsPlayer.playbackRate()});break;case"error":lr.warn("There is an error in playback: ",n),t.errorCalled||(t.errorCalled=!0,setTimeout((function(){t.tryNextTech(),t.errorCalled=!1}),2500)),null!=t.playerListener&&t.playerListener("error",n);break;default:null!=t.playerListener&&t.playerListener(e,n)}}))}))}},{key:"listenForID3MetaData",value:function(){var t=this;this.videojsPlayer.textTracks().on("addtrack",(function(e){var n=Array.from(t.videojsPlayer.textTracks()).find((function(t){return"Timed Metadata"===t.label}));n&&n.addEventListener("cuechange",(function(){var e,i=null===(e=n.activeCues[0])||void 0===e?void 0:e.text;t.id3Listener&&t.id3Listener(i),lr.info("ID3 Meta Data Received: "+i)}))}))}},{key:"makeVideoJSVisibleWhenReady",value:function(){var t=this;this.videojsPlayer.ready((function(){t.setPlayerVisible(!0)}))}},{key:"checkStreamExistsViaHttp",value:function(e,n,i){var r=this,a=this.httpBaseURL;n.startsWith(e)||(a+=e+"/");var o=e.includes(t.LL_HLS_FOLDER);return a+=o?"".concat(n,"/").concat(n,"__master"):n,i&&(a+="_adaptive.".concat(i)),a=this.addSecurityParams(a),fetch(a,{method:"HEAD"}).then((function(t){return 200==t.status?new Promise((function(t,e){t(a)})):(a=r.addSecurityParams(a=o?r.httpBaseURL+e+"/"+n+"/"+n+"__master."+i:r.httpBaseURL+e+"/"+n+"."+i),fetch(a,{method:"HEAD"}).then((function(t){return 200==t.status?new Promise((function(t,e){t(a)})):(lr.warn("No stream found"),new Promise((function(t,e){e("resource_is_not_available")})))}
1)))}))}},{key:"addSecurityParams",value:function(t){var e=this.getSecurityQueryParams();return null!=e&&""!=e&&(t+="?"+e),t}},{key:"tryNextTech",value:function(){var t=this;if(-1==this.tryNextTechTimer){this.destroyDashPlayer(),this.destroyVideoJSPlayer(),this.setPlayerVisible(!1);var e=this.playOrder.indexOf(this.currentPlayType);this.activeStreamId==this.streamId&&null!=this.backupStreamId?this.activeStreamId=this.backupStreamId:(this.activeStreamId=this.streamId,-1==e||e==this.playOrder.length-1?e=0:e++),this.tryNextTechTimer=setTimeout((function(){t.tryNextTechTimer=-1,t.playIfExists(t.playOrder[e],t.activeStreamId)}),3e3)}else lr.debug("tryNextTech is already scheduled no need to schedule again")}},{key:"playViaDash",value:function(t){var e=this;this.destroyDashPlayer(),this.dashPlayer=dashjs.MediaPlayer().create(),this.dashPlayer.extend("RequestModifier",(function(){return{modifyRequestHeader:function(t,e){return t},modifyRequestURL:function(t){var n="",i=e.getSecurityQueryParams();return t.includes(i)?t:(t.endsWith("?")||(t+="?"),lr.warn(n=t+i),n)},modifyRequest:function(t){}}})),this.dashPlayer.updateSettings({streaming:{delay:{liveDelay:this.targetLatency},liveCatchup:{maxDrift:.5,playbackRate:.5,latencyThreshold:60}}}),this.dashPlayer.initialize(this.containerElement.firstChild,t,this.autoPlay),this.dashPlayer.setMute(this.mute),this.dashLatencyTimer=setInterval((function(){lr.warn("live latency: "+e.dashPlayer.getCurrentLiveLatency())}),2e3),this.makeDashPlayerVisibleWhenInitialized(),this.dashPlayer.on(dashjs.MediaPlayer.events.PLAYBACK_PLAYING,(function(t){lr.w
1arn("playback started"),e.setPlayerVisible(!0),null!=e.playerListener&&e.playerListener("play")})),this.dashPlayer.on(dashjs.MediaPlayer.events.PLAYBACK_ENDED,(function(){lr.warn("playback ended"),e.destroyDashPlayer(),e.setPlayerVisible(!1),(e.playOrder[0]="dash")?setTimeout((function(){e.playIfExists(e.playOrder[0],e.activeStreamId)}),1e4):e.playIfExists(e.playOrder[0],e.activeStreamId),null!=e.playerListener&&e.playerListener("ended")})),this.dashPlayer.on(dashjs.MediaPlayer.events.PLAYBACK_ERROR,(function(t){lr.warn("dash playback error: "+t),e.tryNextTech()})),this.dashPlayer.on(dashjs.MediaPlayer.events.ERROR,(function(t){lr.warn("error: "+t),e.tryNextTech()})),this.dashPlayer.on(dashjs.MediaPlayer.events.PLAYBACK_NOT_ALLOWED,(function(t){lr.warn("dash playback not allowed: "+t),e.handleDashPlayBackNotAllowed()})),this.dashPlayer.on(dashjs.MediaPlayer.events.PLAYBACK_PAUSED,(function(t){null!=e.playerListener&&e.playerListener("pause")})),this.dashPlayer.on(dashjs.MediaPlayer.events.PLAYBACK_SEEKED,(function(t){null!=e.playerListener&&e.playerListener("seeked")})),this.dashPlayer.on(dashjs.MediaPlayer.events.PLAYBACK_TIME_UPDATED,(function(t){null!=e.playerListener&&e.playerListener("timeupdate")}))}},{key:"handleDashPlayBackNotAllowed",value:function(){this.forcePlayWithAudio?this.tryNextTech():(lr.info("Try to play with muted audio"),this.dashPlayer.setMute(!0),this.dashPlayer.play())}},{key:"makeDashPlayerVisibleWhenInitialized",value:function(){var t=this;this.dashPlayer.on(dashjs.MediaPlayer.events.STREAM_INITIALIZED,(function(e){lr.warn("Stream initialized"),t.setPlayerVisible(!0)}))}},{key:"destroyDashPlayer",value:function(){this.dashPlayer&&(this.dashPlayer.destroy(),this.dashPlayer=null,clearInterval(this.dashLatencyTimer))}},{key:"destroyVideoJSPlayer",value:function(){this.videojsPlayer&&(this.videojsPlayer.dispose(),this.videojsPlayer=null)}},{key:"destroy",value:function(){this.destroyVideoJSPlayer(),this.destroyDashPlayer()}},{key:"playIfExists",value:function(e,n){var i,r=this;return(i=regeneratorRuntime.mark((function i(){var a,o,s;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:r.currentPlayType=e,r.destroyVideoJSPlayer(),r.destroyDashPlayer(),r.setPlayerVisible(!1),r.containerElement.innerHTML=r.videoHTMLContent,a=n,i.t0=(a&&(a=n.includes("/")?n.split("/").pop():n),lr.warn("Try to play the stream "+n+" with "+r.currentPlayType+" CleanID "+a),r.currentPlayType),i.next="hls"===i.t0?5:"ll-hls"===i.t0?6:"dash"===i.t0?7:"webrtc"===i.t0?8:"vod"===i.t0?9:11;break;case 5:return i.abrupt("return",r.checkStreamExistsViaHttp(t.STREAMS_FOLDER,n,t.HLS_EXTENSION).then((function(e){r.playWithVideoJS(e,t.HLS_EXTENSION),lr.warn("incoming stream path: "+e)}
1)).catch((function(t){lr.warn("HLS stream resource not available for stream:"+n+" error is "+t+". Try next play tech"),r.tryNextTech()})));case 6:return i.abrupt("return",r.checkStreamExistsViaHttp(t.STREAMS_FOLDER+"/"+t.LL_HLS_FOLDER,n,t.HLS_EXTENSION).then((function(e){r.playWithVideoJS(e,t.HLS_EXTENSION),lr.warn("incoming stream path: "+e)})).catch((function(t){lr.warn("LL-HLS stream resource not available for stream:"+n+" error is "+t+". Try next play tech"),r.tryNextTech()})));case 7:return i.abrupt("return",r.checkStreamExistsViaHttp(t.STREAMS_FOLDER,a+"/"+a,t.DASH_EXTENSION).then((function(t){r.playViaDash(t)})).catch((function(t){lr.warn("DASH stream resource not available for stream:"+n+" error is "+t+". Try next play tech"),r.tryNextTech()})));case 8:return i.abrupt("return",r.playWithVideoJS(r.addSecurityParams(r.getWebsocketURLForStream(a)),t.WEBRTC_EXTENSION));case 9:return s=n.lastIndexOf("."),i.abrupt("return",(-1!=s?(r.playType[0]="",o=n.substring(s+1)):o=r.playType[0],r.checkStreamExistsViaHttp(t.STREAMS_FOLDER,n,r.playType[0]).then((function(t){r.playWithVideoJS(t,o)})).catch((function(e){lr.warn("VOD stream resource not available for stream:"+n+" and play type "+r.playType[0]+". Error is "+e),r.playType.length>1&&(lr.warn("Try next play type which is "+r.playType[1]+"."),r.checkStreamExistsViaHttp(t.STREAMS_FOLDER,n,r.playType[1]).then((function(t){r.playWithVideoJS(t,r.playType[1])}
1)).catch((function(t){lr.warn("VOD stream resource not available for stream:"+n+" and play type error is "+t)})))}))));case 11:case"end":return i.stop()}}),i)})),function(){var t=this,e=arguments;return new Promise((function(n,r){var a=i.apply(t,e);function o(t){cr(a,n,r,o,s,"next",t)}function s(t){cr(a,n,r,o,s,"throw",t)}o(void 0)}))})()}},{key:"getWebsocketURLForStream",value:function(t){return this.websocketBaseURL+t+".webrtc"}},{key:"getSecurityQueryParams",value:function(){var t="";return null!=this.token&&(t+="token="+this.token+"&"),null!=this.subscriberId&&(t+="subscriberId="+this.subscriberId+"&"),null!=this.subscriberCode&&(t+="subscriberCode="+this.subscriberCode+"&"),t.endsWith("&")&&(t=t.substring(0,t.length-1)),t}},{key:"play",value:function(){if(this.activeStreamId=this.streamId,this.activeStreamId.startsWith(t.STREAMS_FOLDER)){var e=this.activeStreamId.lastIndexOf("."),n=this.activeStreamId.substring(e+1);this.playOrder=["vod"],this.currentPlayType=this.playOrder[0],this.httpBaseURL.endsWith("/")||(this.httpBaseURL+="/"),this.containerElement.innerHTML=this.videoHTMLContent,n==t.DASH_EXTENSION?this.playViaDash(this.httpBaseURL+this.addSecurityParams(this.activeStreamId),n):this.playWithVideoJS(this.httpBaseURL+this.addSecurityParams(this.activeStreamId),n)}else this.playIfExists(this.playOrder[0],this.activeStreamId)}},{key:"mutePlayer",value:function(t){this.mute=t,this.videojsPlayer&&this.videojsPlayer.muted(t),this.dashPlayer&&this.dashPlayer.setMute(t)}},{key:"isMuted",value:function(){return this.mute}},{key:"addPlayerListener",value:function(t){this.playerListener=t}},{key:"addWebRTCDataListener",value:function(t){this.webRTCDataListener=t}},{key:"addId3Listener",value:function(t){this.id3Listener=t}},{key:"sendWebRTCData",value:function(t){try{if(this.videojsPlayer&&"webrtc"==this.currentPlayType)return this.videojsPlayer.sendDataViaWebRTC(t),!0;lr.warn("Player is not ready or playType is not WebRTC")}catch(e){lr.error("An error occurred while sending WebRTC data: ",e)}return!1}},{key:"injectPtzElements",value:function(){var t=this,e='\n <style>\n .ptz-camera-container {\n display: none;\n position: absolute;\n flex-direction: row;\n align-items: center;\n bottom: 30px;\n right: 10px;\n z-index:999;\n }\n .direction-arrow-container {\n display: flex;\n width: 200px;\n height: 200px;\n position: relative;\n }\n \n </style>\n <div id="ptz-camera-container" class="ptz-camera-container">\n \n <div style="display: flex; flex-direction: column;">\n <div style="margin-bottom:5px">\n <span id="zoom-out-button" style="color: #bc1b22; font-size: 50px; font-weight: bold; user-select: none; cursor: pointer; margin-right: 5px;">-</span>\n <span id="zoom-in-button" style="color: #bc1b22; font-size: 50px; font-weight: bold; cursor: pointer; margin-left: 5px; user-select: none;">+</span>\n </div>\n <div id="direction-arrow-container" class="direction-arrow-container">\n <img id="up-button" style="position: absolute; width: 50px; cursor: pointer; height: 50px; left: 50%; transform: translateX(-50%);" src="'+fr.src+'"/>\n \n <img id="left-button" style="position: absolute; left: 0px; width: 50px; height: 50px; cursor: pointer; top: 50%; transform: translateY(-50%) rotate(-90deg);" src="'+fr.src+'"/>\n <img id="right-button" style="position: absolute; right:0px; top: 50%; width: 50px; cursor: pointer; height: 50px; transform: translateY(-50%) rotate(90deg);" src="'+fr.src+'"/>\n <img id="down-button" style="position: absolute; bottom:0px;left: 50%; width: 50px; cursor: pointer; height: 50px; transform: translateX(-50%) rotate(180deg);" src="'+fr.src+'"/>\n \n </div>\n \n \n </div>\n </div>\n </div>\n ';if(document.getElementById("ptz-camera-container"))lr.info("PTZ controls are already injected");else{document.getElementById("video-player").insertAdjacentHTML("afterbegin",e);var n=this.videojsPlayer.controlBar.addChild("button"),i=n.el();i.innerHTML='<span style="cursor:pointer">PTZ</span>',i.onclick=function(){var e=document.getElementById("ptz-camera-container"),n=e.style.display;"none"===n||""===n?(t.scalePtzControls(),e.style.display="flex"):e.style.display="none"},n.controlText("Show PTZ Controls"),this.videojsPlayer.controlBar.el().insertBefore(i,this.videojsPlayer.controlBar.getChild("fullscreenToggle").el()),this.videojsPlayer.on("fullscreenchange",(function(){t.scalePtzControls()})),this.initPtzControls()}}},{key:"scalePtzControls",value:function(){var t=this.getContainerWidth(),e=Math.round(25*t/640),n=Math.round(75*t/640),i=Math.round(35*t/640);this.ptzControlElements.leftButton=document.getElementById("left-button"),this.ptzControlElements.rightButton=document.getElementById("right-button"),this.ptzControlElements.upButton=document.getElementById("up-button"),this.ptzControlElements.downButton=document.getElementById("down-button"),this.ptzControlElements.leftButton.style.width=e+"px",this.ptzControlElements.leftButton.style.height=e+"px",this.ptzControlElements.rightButton.style.width=e+"px",this.ptzControlElements.rightButton.style.height=e+"px",this.ptzControlElements.upButton.style.width=e+"px",this.ptzControlElements.upButton.style.height=e+"px",this.ptzControlElements.downButton.style.width=e+"px",this.ptzControlElements.downButton.style.height=e+"px",this.ptzControlElements.directionArrowContainer.style.width=n+"px",this.ptzControlElements.directionArrowContainer.style.height=n+"px",this.ptzControlElements.zoomInButton.style.fontSize=i+"px",this.ptzControlElements.zoomOutButton.style.fontSize=i+"px"}},{key:"getContainerWidth",value:function(){return document.getElementById("video-player").getBoundingClientRect().width}},{key:"initPtzControls",value:function(){var t=this;this.ptzControlElements.directionArrowContainer=document.getElementById("direction-arrow-container"),this.ptzControlElements.leftButton=document.getElementById("left-button"),this.ptzControlElements.rightButton=document.getElementById("right-button"),this.ptzControlElements.upButton=document.getElementById("up-button"),this.ptzControlElements.downButton=document.getElementById("down-button"),this.ptzControlElements.zoomInButton=document.getElementById("zoom-in-button"),this.ptzControlElements.zoomOutButton=document.getElementById("zoom-out-button"),this.ptzControlElements.leftButton.addEventListener("click",(function(){return t.moveCamera(1*t.ptzValueStep,0,0,t.ptzMovement)})),this.ptzControlElements.rightButton.addEventListener("click",(function(){return t.moveCamera(-1*t.ptzValueStep,0,0,t.ptzMovement)})),this.ptzControlElements.downButton.addEventListener("click",(function(){return t.moveCamera(0,-1*t.ptzValueStep,0,t.ptzMovement)})),this.ptzControlElements.upButton.addEventListener("click",(function(){return t.moveCamera(0,t.ptzValueStep,0,t.ptzMovement)})),this.ptzControlElements.zoomInButton.addEventListener("click",(function(){return t.moveCamera(0,0,t.ptzValueStep,t.ptzMovement)})),this.ptzControlElements.zoomOutButton.addEventListener("click",(function(){return t.moveCamera(0,0,-1*t.ptzValueStep,t.ptzMovement)}))}},{key:"isIpCameraBroadcast",value:function(){var t=this,e="rest/v2/broadcasts/"+this.streamId,n={method:"GET",headers:{Authorization:this.restJwt}};(this.restAPIPromise?this.restAPIPromise(e,n):fetch(this.httpBaseURL+e,n)).then((function(t){return t.json?t.json():t}
1)).then((function(e){"ipCamera"===e.type&&t.injectPtzElements(),console.log(e)})).catch((function(t){return console.error("Error:",t)}))}},{key:"moveCamera",value:function(t,e,n,i){lr.info("move camera called valuex:"+t+" valueY:"+e+" valueZ:"+n+" movement:"+i);var r="rest/v2/broadcasts/"+this.streamId+"/ip-camera/move?valueX="+t+"&valueY="+e+"&valueZ="+n+"&movement="+i,a={method:"POST",headers:{Authorization:this.restJwt,"Content-Type":"application/json"}};(this.restAPIPromise?this.restAPIPromise(r,a):fetch(this.httpBaseURL+r,a)).then((function(t){return t.json?t.json():t})).then((function(t){})).catch((function(t){return console.error("Error:",t)}))}},{key:"getSource",value:function(){return this.videojsPlayer?this.videojsPlayer.currentSrc():this.dashPlayer?this.dashPlayer.getSource():void 0}},{key:"getTime",value:function(){return this.videojsPlayer?this.videojsPlayer.currentTime():this.dashPlayer?this.dashPlayer.time():void 0}}]),t}();ur(dr,"PLAYER_EVENTS",["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","enterpictureinpicture","leavepictureinpicture","fullscreenchange","resize","audioonlymodechange","audiopostermodechange","controlsdisabled","controlsenabled","debugon","debugoff","disablepictureinpicturechanged","dispose","enterFullWindow","error","exitFullWindow","firstplay","fullscreenerror","languagechange","loadedmetadata","loadstart","playerreset","playerresize","posterchange","ready","textdata","useractive","userinactive","usingcustomcontrols","usingnativecontrols"]),ur(dr,"DEFAULT_PLAY_ORDER",["webrtc","hls"]),ur(dr,"DEFAULT_PLAY_TYPE",["mp4","webm"]),ur(dr,"HLS_EXTENSION","m3u8"),ur(dr,"WEBRTC_EXTENSION","webrtc"),ur(dr,"DASH_EXTENSION","mpd"),ur(dr,"STREAMS_FOLDER","streams"),ur(dr,"LL_HLS_FOLDER","ll-hls");var pr,mr,vr,br,gr,yr,_r=n("tyNb"),wr=n("Dvla"),kr=n("jhN1"),Sr=n("Qu3c");function xr(t,e){1&t&&(qe.Tb(0,"div",33),qe.Tb(1,"label"),qe.Lc(2,"Get "),qe.Tb(3,"a",34),qe.Lc(4,"Enterprise Edition"),qe.Sb(),qe.Lc(5," for Ultra Low Latency Streaming"),qe.Sb(),qe.Sb())}pr=$localize(ae()),mr=$localize(re()),vr=$localize(ie()),br=$localize(ne(),"\ufffd#26\ufffd","\ufffd/#26\ufffd"),gr=$localize(ee()),yr=$localize(te());var Cr,Tr,Er,Or,Mr,Ar,Ir,Rr,Lr=["placeholder",$localize($t())];function Pr(t,e){1&t&&(qe.Tb(0,"small",51),qe.Lc(1," Stream name should not be empty. "),qe.Sb())}function jr(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",59),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function Dr(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",60),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function Nr(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",61),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function Br(t,e){if(1&t){var n=qe.Ub();qe.Rb(0),qe.Tb(1,"div",54),qe.Tb(2,"input",55),qe.gc("ngModelChange",(function(t){qe.Ac(n);var i=e.index;return qe.kc(3).shareEndpoint[i]=t})),qe.Sb(),qe.Tb(3,"label",56),qe.Rb(4,57),qe.Jc(5,jr,3,0,"ng-container",58),qe.Jc(6,Dr,3,0,"ng-container",58),qe.Jc(7,Nr,3,0,"ng-container",58),qe.Qb(),qe.Lc(8),qe.Sb(),qe.Sb(),qe.Qb()}if(2&t){var i=e.$implicit,r=e.index,a=qe.kc(3);qe.Bb(2),qe.rc("id",i.id)("name",i.id)("ngModel",a.shareEndpoint[r]),qe.Bb(1),qe.rc("for",i.id),qe.Bb(1),qe.rc("ngSwitch",i.serviceName),qe.Bb(1),qe.rc("ngSwitchCase","facebook"),qe.Bb(1),qe.rc("ngSwitchCase","youtube"),qe.Bb(1),qe.rc("ngSwitchCase","periscope"),qe.Bb(1),qe.Nc(" ",i.accountName," ")}}function Fr(t,e){if(1&t&&(qe.Tb(0,"div",39),qe.Tb(1,"label",52),qe.Xb(2,Er),qe.Sb(),qe.Jc(3,Br,9,9,"ng-container",53),qe.Sb()),2&t){var n=qe.kc(2);qe.Bb(3),qe.rc("ngForOf",n.videoServiceEndpoints)}}function zr(t,e){1&t&&(qe.bc(0,Or,1),qe.Ob(1,"i",62),qe.Zb())}function Vr(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",5),qe.Tb(1,"form",35,36),qe.gc("ngSubmit",(function(){qe.Ac(n);var t=qe.yc(2);return qe.kc().createLiveStream(t.valid)})),qe.Tb(3,"div",37),qe.Tb(4,"h4",38),qe.Xb(5,gr),qe.Sb(),qe.Sb(),qe.Tb(6,"div",6),qe.Tb(7,"div",39),qe.Tb(8,"label"),qe.Xb(9,yr),qe.Sb(),qe.Tb(10,"input",40,41),qe.Yb(12,Lr),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.name=t}
1)),qe.Sb(),qe.Tb(13,"small",42),qe.Xb(14,Cr),qe.Sb(),qe.Jc(15,Pr,2,0,"small",43),qe.Sb(),qe.Tb(16,"div",39),qe.Tb(17,"label"),qe.Lc(18,"Stream Id"),qe.Sb(),qe.Tb(19,"input",44,45),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.streamId=t})),qe.Sb(),qe.Tb(21,"small",42),qe.Lc(22," Stream Id should be at least 4 characters. "),qe.Sb(),qe.Sb(),qe.Jc(23,Fr,4,1,"div",46),qe.Tb(24,"div",47),qe.Tb(25,"button",48),qe.bc(26,Or),qe.Jc(27,zr,2,0,"i",49),qe.Zb(),qe.Sb(),qe.Tb(28,"button",50),qe.gc("click",(function(){return qe.Ac(n),qe.kc().cancelNewLiveStream()})),qe.Xb(29,Tr),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(2),r=qe.yc(11),a=qe.yc(20),o=qe.kc();qe.Bb(10),qe.rc("ngModel",o.liveBroadcast.name),qe.Bb(3),qe.rc("hidden",r.valid||!i.submitted),qe.Bb(2),qe.rc("ngIf",o.streamNameEmpty),qe.Bb(4),qe.rc("ngModel",o.liveBroadcast.streamId),qe.Bb(2),qe.rc("hidden",a.valid||!i.submitted),qe.Bb(2),qe.rc("ngIf",o.videoServiceEndpoints.length>0),qe.Bb(2),qe.rc("disabled",o.newLiveStreamCreating),qe.Bb(2),qe.rc("ngIf",o.newLiveStreamCreating)}}Cr=$localize(Qt()),Tr=$localize(Zt()),Er=$localize(Yt()),Or=$localize(Gt(),"\ufffd*27:1\ufffd\ufffd#1:1\ufffd","\ufffd/#1:1\ufffd\ufffd/*27:1\ufffd"),Mr=$localize(Jt()),Ar=$localize(Xt()),Ir=$localize(Kt()),Rr=$localize(Wt());var Ur,Hr,qr,Wr,Kr,Xr,Jr,Gr=["placeholder",$localize(qt())];function Yr(t,e){1&t&&(qe.Tb(0,"small",51),qe.Lc(1," Stream name should not be empty. "),qe.Sb())}function Zr(t,e){1&t&&qe.Ob(0,"i",62)}function Qr(t,e){1&t&&(qe.Tb(0,"small",51),qe.Lc(1," No unregistered camera found, write camera URL manually! "),qe.Sb())}function $r(t,e){1&t&&(qe.bc(0,Kr,1),qe.Ob(1,"i",62),qe.Zb())}function ta(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",5),qe.Tb(1,"form",35,36),qe.gc("ngSubmit",(function(){qe.Ac(n);var t=qe.yc(2);return qe.kc().addIPCamera(t.valid)})),qe.Tb(3,"div",37),qe.Tb(4,"h4",38),qe.Xb(5,Mr),qe.Sb(),qe.Sb(),qe.Tb(6,"div",6),qe.Tb(7,"div",39),qe.Tb(8,"label"),qe.Xb(9,Ar),qe.Sb(),qe.Tb(10,"input",63,41),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.name=t})),qe.Sb(),qe.Tb(12,"small",42),qe.Xb(13,Ir),qe.Sb(),qe.Jc(14,Yr,2,0,"small",43),qe.Sb(),qe.Tb(15,"div",39),qe.Tb(16,"label"),qe.Xb(17,Rr),qe.Sb(),qe.Tb(18,"button",64),qe.gc("click",(function(){return qe.Ac(n),qe.kc().startDiscover()})),qe.Lc(19," Auto-Discover "),qe.Sb(),qe.Jc(20,Zr,1,0,"i",49),qe.Jc(21,Qr,2,0,"small",43),qe.Tb(22,"input",65,66),qe.Yb(24,Gr),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.ipAddr=t})),qe.Sb(),qe.Tb(25,"small",42),qe.Xb(26,Ur),qe.Sb(),qe.Sb(),qe.Tb(27,"div",39),qe.Tb(28,"label"),qe.Xb(29,Hr),qe.Sb(),qe.Tb(30,"input",67,68),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.username=t})),qe.Sb(),qe.Sb(),qe.Tb(32,"div",39),qe.Tb(33,"label"),qe.Xb(34,qr),qe.Sb(),qe.Tb(35,"input",69,70),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.password=t})),qe.Sb(),qe.Sb(),qe.Tb(37,"div",39),qe.Tb(38,"label"),qe.Lc(39,"Stream Id"),qe.Sb(),qe.Tb(40,"input",44,45),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.streamId=t})),qe.Sb(),qe.Tb(42,"small",42),qe.Lc(43," Stream Id should be at least 4 characters. "),qe.Sb(),qe.Sb(),qe.Tb(44,"div",71),qe.Tb(45,"input",72,73),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.autoStart
1StopEnabled=t})),qe.Sb(),qe.Tb(47,"label"),qe.Lc(48,"Auto Start/Stop Streaming"),qe.Sb(),qe.Ob(49,"br"),qe.Tb(50,"small",74),qe.Lc(51," Start streaming when there is a viewer, Stops streaming when there is no viewer "),qe.Sb(),qe.Sb(),qe.Tb(52,"div",47),qe.Tb(53,"button",48),qe.bc(54,Kr),qe.Jc(55,$r,2,0,"i",49),qe.Zb(),qe.Sb(),qe.Tb(56,"button",50),qe.gc("click",(function(){return qe.Ac(n),qe.kc().cancelNewIPCamera()})),qe.Xb(57,Wr),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(2),r=qe.yc(11),a=qe.yc(23),o=qe.yc(41),s=qe.kc();qe.Bb(10),qe.rc("ngModel",s.liveBroadcast.name),qe.Bb(2),qe.rc("hidden",r.valid||!i.submitted),qe.Bb(2),qe.rc("ngIf",s.streamNameEmpty),qe.Bb(6),qe.rc("ngIf",s.discoveryStarted),qe.Bb(1),qe.rc("ngIf",s.noCamWarning),qe.Bb(1),qe.rc("ngModel",s.liveBroadcast.ipAddr),qe.Bb(3),qe.rc("hidden",a.valid||!i.submitted),qe.Bb(5),qe.rc("ngModel",s.liveBroadcast.username),qe.Bb(5),qe.rc("ngModel",s.liveBroadcast.password),qe.Bb(5),qe.rc("ngModel",s.liveBroadcast.streamId),qe.Bb(2),qe.rc("hidden",o.valid||!i.submitted),qe.Bb(3),qe.rc("ngModel",s.liveBroadcast.autoStart
1StopEnabled),qe.Bb(8),qe.rc("disabled",s.newIPCameraAdding),qe.Bb(2),qe.rc("ngIf",s.newIPCameraAdding)}}Ur=$localize(Ht()),Hr=$localize(Ut()),qr=$localize(Vt()),Wr=$localize(zt()),Kr=$localize(Ft(),"\ufffd*55:1\ufffd\ufffd#1:1\ufffd","\ufffd/#1:1\ufffd\ufffd/*55:1\ufffd"),Xr=$localize(Bt()),Jr=$localize(Nt());var ea,na,ia,ra,aa,oa,sa,ca=["placeholder",$localize(Dt())];function ua(t,e){1&t&&(qe.Tb(0,"small",51),qe.Lc(1," Stream name should not be empty. "),qe.Sb())}function la(t,e){1&t&&(qe.Tb(0,"small",51),qe.Lc(1," Please write a valid stream URL "),qe.Sb())}function ha(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",59),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function fa(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",60),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function da(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",61),qe.Lc(2,"\xa0"),qe.Sb(),qe.Qb())}function pa(t,e){if(1&t){var n=qe.Ub();qe.Rb(0),qe.Tb(1,"div",54),qe.Tb(2,"input",55),qe.gc("ngModelChange",(function(t){qe.Ac(n);var i=e.index;return qe.kc(3).shareEndpoint[i]=t})),qe.Sb(),qe.Tb(3,"label",56),qe.Rb(4,57),qe.Jc(5,ha,3,0,"ng-container",58),qe.Jc(6,fa,3,0,"ng-container",58),qe.Jc(7,da,3,0,"ng-container",58),qe.Qb(),qe.Lc(8),qe.Sb(),qe.Sb(),qe.Qb()}if(2&t){var i=e.$implicit,r=e.index,a=qe.kc(3);qe.Bb(2),qe.rc("id",i.id)("name",i.id)("ngModel",a.shareEndpoint[r]),qe.Bb(1),qe.rc("for",i.id),qe.Bb(1),qe.rc("ngSwitch",i.serviceName),qe.Bb(1),qe.rc("ngSwitchCase","facebook"),qe.Bb(1),qe.rc("ngSwitchCase","youtube"),qe.Bb(1),qe.rc("ngSwitchCase","periscope"),qe.Bb(1),qe.Nc(" ",i.accountName," ")}}function ma(t,e){if(1&t&&(qe.Tb(0,"div",39),qe.Tb(1,"label",52),qe.Xb(2,ra),qe.Sb(),qe.Jc(3,pa,9,9,"ng-container",53),qe.Sb()),2&t){var n=qe.kc(2);qe.Bb(3),qe.rc("ngForOf",n.videoServiceEndpoints)}}function va(t,e){1&t&&(qe.bc(0,aa,1),qe.Ob(1,"i",62),qe.Zb())}function ba(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",5),qe.Tb(1,"form",35,36),qe.gc("ngSubmit",(function(){qe.Ac(n);var t=qe.yc(2);return qe.kc().addStreamSource(t.valid)})),qe.Tb(3,"div",37),qe.Tb(4,"h4",38),qe.Xb(5,Xr),qe.Sb(),qe.Sb(),qe.Tb(6,"div",6),qe.Tb(7,"div",39),qe.Tb(8,"label"),qe.Xb(9,Jr),qe.Sb(),qe.Tb(10,"input",40,41),qe.Yb(12,ca),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.name=t})),qe.Sb(),qe.Tb(13,"small",42),qe.Xb(14,ea),qe.Sb(),qe.Jc(15,ua,2,0,"small",43),qe.Sb(),qe.Tb(16,"div",39),qe.Tb(17,"label"),qe.Xb(18,na),qe.Sb(),qe.Tb(19,"input",75,76),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.streamUrl=t})),qe.Sb(),qe.Tb(21,"small",42),qe.Lc(22," Stream URL is not valid "),qe.Sb(),qe.Jc(23,la,2,0,"small",43),qe.Sb(),qe.Tb(24,"div",39),qe.Tb(25,"label"),qe.Lc(26,"Stream Id"),qe.Sb(),qe.Tb(27,"input",44,45),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.streamId=t})),qe.Sb(),qe.Tb(29,"small",42),qe.Lc(30," Stream Id should be at least 4 characters. "),qe.Sb(),qe.Sb(),qe.Tb(31,"div",71),qe.Tb(32,"input",72,73),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.autoStart
1StopEnabled=t})),qe.Sb(),qe.Tb(34,"label",77),qe.Lc(35,"Auto Start/Stop Streaming"),qe.Sb(),qe.Ob(36,"br"),qe.Tb(37,"small",74),qe.Lc(38," Start streaming when there is a viewer, Stops streaming when there is no viewer "),qe.Sb(),qe.Sb(),qe.Jc(39,ma,4,1,"div",46),qe.Tb(40,"div",47),qe.Tb(41,"button",48),qe.bc(42,aa),qe.Jc(43,va,2,0,"i",49),qe.Zb(),qe.Sb(),qe.Tb(44,"button",50),qe.gc("click",(function(){return qe.Ac(n),qe.kc().cancelStreamSource()})),qe.Xb(45,ia),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(2),r=qe.yc(11),a=qe.yc(20),o=qe.yc(28),s=qe.kc();qe.Bb(10),qe.rc("ngModel",s.liveBroadcast.name),qe.Bb(3),qe.rc("hidden",r.valid||!i.submitted),qe.Bb(2),qe.rc("ngIf",s.streamNameEmpty),qe.Bb(4),qe.rc("ngModel",s.liveBroadcast.streamUrl),qe.Bb(2),qe.rc("hidden",a.valid||!i.submitted),qe.Bb(2),qe.rc("ngIf",!s.streamUrlValid),qe.Bb(4),qe.rc("ngModel",s.liveBroadcast.streamId),qe.Bb(2),qe.rc("hidden",o.valid||!i.submitted),qe.Bb(3),qe.rc("ngModel",s.liveBroadcast.autoStartStopEnabled),qe.Bb(7),qe.rc("ngIf",s.videoServiceEndpoints.length>0),qe.Bb(2),qe.rc("disabled",s.newStreamSourceWarn),qe.Bb(2),qe.rc("ngIf",s.newStreamSourceAdding)}}ea=$localize(jt()),na=$localize(Pt()),ia=$localize(Lt()),ra=$localize(Rt()),aa=$localize(It(),"\ufffd*43:1\ufffd\ufffd#1:1\ufffd","\ufffd/#1:1\ufffd\ufffd/*43:1\ufffd"),oa=$localize(At()),sa=$localize(Mt());var ga,ya,_a,wa,ka=["placeholder",$localize(Ot())];function Sa(t,e){1&t&&(qe.Tb(0,"small",51),qe.Lc(1," Playlist name should not be empty. "),qe.Sb())}function xa(t,e){1&t&&(qe.Tb(0,"div"),qe.Tb(1,"div",96),qe.Tb(2,"span",97),qe.Lc(3,"Name"),qe.Sb(),qe.Sb(),qe.Tb(4,"div",98),qe.Tb(5,"span",97),qe.Lc(6,"URL"),qe.Sb(),qe.Sb(),qe.Tb(7,"div",96),qe.Tb(8,"span",97),qe.Lc(9," Start Offset "),qe.Tb(10,"small",99),qe.Lc(11,"(HH:MM:SS)"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb())}function Ca(t,e){1&t&&(qe.Tb(0,"small",51),qe.Lc(1," Time format is not correct. "),qe.Sb())}function Ta(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",101),qe.Tb(1,"div",96),qe.Tb(2,"input",102),qe.gc("ngModelChange",(function(t){return qe.Ac(n),e.$implicit.name=t})),qe.Sb(),qe.Sb(),qe.Tb(3,"div",98),qe.Tb(4,"input",102),qe.gc("ngModelChange",(function(t){return qe.Ac(n),e.$implicit.streamUrl=t})),qe.Sb(),qe.Sb(),qe.Tb(5,"div",103),qe.Tb(6,"input",104),qe.gc("change",(function(t){qe.Ac(n);var i=e.index;return qe.kc(3).seekTimeChanged(t.target.value,i)})),qe.Sb(),qe.Jc(7,Ca,2,0,"small",43),qe.Sb(),qe.Tb(8,"div",105),qe.Tb(9,"button",106),qe.gc("click",(function(){qe.Ac(n);var t=e.index;return qe.kc(3).deletePlaylistItem(t)})),qe.Ob(10,"i",107),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=e.$implicit,r=e.index,a=qe.kc(3);qe.Bb(2),qe.rc("name","streamName"+r)("ngModel",i.name),qe.Bb(2),qe.rc("name","streamUrl"+r)("ngModel",i.streamUrl),qe.Bb(2),qe.rc("name","streamUrlSeekTimeMs"+r),qe.Bb(1),qe.rc("ngIf",!a.isTimeFormatCorrect(r))}}function Ea(t,e){if(1&t&&(qe.Tb(0,"div",2),qe.Rb(1),qe.Jc(2,Ta,11,6,"div",100),qe.Qb(),qe.Sb()),2&t){var n=qe.kc(2);qe.Bb(2),qe.rc("ngForOf",n.liveBroadcast.playListItemList)}}function Oa(t,e){1&t&&qe.Ob(0,"i",62)}function Ma(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",108),qe.Tb(1,"div",6),qe.Tb(2,"div",39),qe.Tb(3,"label"),qe.Lc(4,"Name"),qe.Sb(),qe.Tb(5,"input",109),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).playListItemAdding.name=t})),qe.Sb(),qe.Sb(),qe.Tb(6,"div",39),qe.Tb(7,"label"),qe.Lc(8,"Item URL"),qe.Sb(),qe.Tb(9,"input",109),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).playListItemAdding.streamUrl=t})),qe.Sb(),qe.Sb(),qe.Tb(10,"div",47),qe.Tb(11,"button",110),qe.gc("click",(function(){return qe.Ac(n),qe.kc(2).addPlaylistItemDirectlyClicked()})),qe.Jc(12,Oa,1,0,"i",49),qe.Lc(13,"Add"),qe.Sb(),qe.Tb(14,"button",50),qe.gc("click",(function(){return qe.Ac(n),qe.kc(2).cancelAddingPlayListItem()})),qe.Lc(15,"Cancel"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(2);qe.Bb(5),qe.rc("name","streamUrl")("ngModel",i.playListItemAdding.name),qe.Bb(4),qe.rc("name","streamUrl")("ngModel",i.playListItemAdding.streamUrl),qe.Bb(3),qe.rc("ngIf",i.playlistItemAddingActive)}}function Aa(t,e){1&t&&(qe.Tb(0,"div",114),qe.Lc(1," VoD search results will appear here "),qe.Sb())}function Ia(t,e){1&t&&(qe.Tb(0,"div",114),qe.Lc(1," No VoD found with your search query "),qe.Sb())}function Ra(t,e){1&t&&(qe.Tb(0,"mat-header-cell"),qe.Lc(1,"# "),qe.Sb())}function La(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"mat-cell"),qe.Tb(1,"mat-checkbox",124),qe.gc("click",(function(t){return qe.Ac(n),t.stopPropagation()}))("change",(function(t){qe.Ac(n);var i=e.$implicit,r=qe.kc(4);return t?r.selectHandlerStreamsPlayListVoD(i.vodId):null})),qe.Sb(),qe.Sb()}if(2&t){var i=e.$implicit,r=qe.kc(4);qe.Bb(1),qe.rc("checked",r.selectionPlaylistVoDs.isSelected(i.vodI
1d))}}function Pa(t,e){1&t&&(qe.Tb(0,"mat-header-cell",125),qe.Lc(1," VoD Name "),qe.Sb()),2&t&&qe.rc("ngClass","playlist-name-column")}function ja(t,e){if(1&t&&(qe.Tb(0,"mat-cell",125),qe.Tb(1,"div",126),qe.Lc(2),qe.Tb(3,"div",127),qe.Lc(4),qe.Sb(),qe.Sb(),qe.Sb()),2&t){var n=e.$implicit;qe.rc("ngClass","playlist-name-column"),qe.Bb(2),qe.Nc(" ",n.vodName," "),qe.Bb(2),qe.Nc("VoD Id: ",n.vodId,"")}}function Da(t,e){1&t&&qe.Ob(0,"mat-header-row")}function Na(t,e){1&t&&qe.Ob(0,"mat-row")}ga=$localize(Et()),ya=$localize(Tt(),"\ufffd#31\ufffd","\ufffd/#31\ufffd"),_a=$localize(Ct()),wa=$localize(xt());var Ba,Fa=function(){return["select","name"]};function za(t,e){if(1&t&&(qe.Tb(0,"div"),qe.Tb(1,"mat-table",115),qe.Rb(2,116),qe.Jc(3,Ra,2,0,"mat-header-cell",117),qe.Jc(4,La,2,1,"mat-cell",118),qe.Qb(),qe.Rb(5,119),qe.Jc(6,Pa,2,1,"mat-header-cell",120),qe.Jc(7,ja,5,3,"mat-cell",121),qe.Qb(),qe.Jc(8,Da,1,0,"mat-header-row",122),qe.Jc(9,Na,1,0,"mat-row",123),qe.Sb(),qe.Sb()),2&t){var n=qe.kc(3);qe.Bb(1),qe.rc("dataSource",n.dataSourcePlaylistVod),qe.Bb(7),qe.rc("matHeaderRowDef",qe.uc(3,Fa)),qe.Bb(1),qe.rc("matRowDefColumns",qe.uc(4,Fa))}}function Va(t,e){1&t&&qe.Ob(0,"i",62)}function Ua(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",108),qe.Tb(1,"div",6),qe.Tb(2,"div",39),qe.Tb(3,"label"),qe.Lc(4,"Search VoDs"),qe.Sb(),qe.Tb(5,"input",111),qe.gc("keyup",(function(t){return qe.Ac(n),qe.kc(2).applyFilterPlaylistVod(t.target.value)})),qe.Sb(),qe.Sb(),qe.Tb(6,"div",39),qe.Jc(7,Aa,2,0,"div",112),qe.Jc(8,Ia,2,0,"div",112),qe.Jc(9,za,10,5,"div",25),qe.Sb(),qe.Tb(10,"div",47),qe.Tb(11,"button",113),qe.gc("click",(function(){return qe.Ac(n),qe.kc(2).addPlaylistItemFromVoDsClicked()})),qe.Jc(12,Va,1,0,"i",49),qe.Lc(13,"Add"),qe.Sb(),qe.Tb(14,"button",50),qe.gc("click",(function(){return qe.Ac(n),qe.kc(2).cancelAddingPlayListItem()})),qe.Lc(15,"Cancel"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(2);qe.Bb(7),qe.rc("ngIf",0==i.filterValuePlaylistVoD.length),qe.Bb(1),qe.rc("ngIf",0==i.vodTableDataForPlaylist.dataRows.length&&i.filterValuePlaylistVoD.length>3),qe.Bb(1),qe.rc("ngIf",i.vodTableDataForPlaylist.dataRows.length>0),qe.Bb(2),qe.rc("disabled",i.playlistItemAdding),qe.Bb(1),qe.rc("ngIf",i.playlistItemAdding)}}function Ha(t,e){1&t&&(qe.bc(0,Ba,1),qe.Ob(1,"i",62),qe.Zb())}function qa(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",5),qe.Tb(1,"form",35,36),qe.gc("ngSubmit",(function(){qe.Ac(n);var t=qe.yc(2);return qe.kc().addPlaylist(t.valid)})),qe.Tb(3,"div",37),qe.Tb(4,"h4",38),qe.Xb(5,oa),qe.Sb(),qe.Sb(),qe.Tb(6,"div",6),qe.Tb(7,"div",78),qe.Tb(8,"div",79),qe.Tb(9,"div",80),qe.Tb(10,"div"),qe.Tb(11,"label"),qe.Xb(12,sa),qe.Sb(),qe.Tb(13,"input",81,82),qe.Yb(15,ka),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.name=t})),qe.Sb(),qe.Tb(16,"small",42),qe.Xb(17,ga),qe.Sb(),qe.Jc(18,Sa,2,0,"small",43),qe.Sb(),qe.Tb(19,"div",39),qe.Tb(20,"label"),qe.Lc(21,"Stream Id"),qe.Sb(),qe.Tb(22,"input",44,45),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.streamId=t})),qe.Sb(),qe.Tb(24,"small",42),qe.Lc(25," Stream Id should be at least 4 characters. "),qe.Sb(),qe.Sb(),qe.Jc(26,xa,12,0,"div",25),qe.Jc(27,Ea,3,1,"div",83),qe.Tb(28,"div",84),qe.Tb(29,"button",85),qe.bc(30,ya),qe.Ob(31,"span",17),qe.Zb(),qe.Sb(),qe.Tb(32,"ul",86),qe.Tb(33,"li"),qe.Tb(34,"a",19),qe.gc("click",(function(){return qe.Ac(n),qe.kc().addPlaylistItemDirectly()})),qe.Lc(35,"Add URL Directly"),qe.Sb(),qe.Sb(),qe.Tb(36,"li"),qe.Tb(37,"a",19),qe.gc("click",(function(){return qe.Ac(n),qe.kc().addPlaylistItemFromVoDs()})),qe.Lc(38,"Add From VoDs"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(39,Ma,16,5,"div",87),qe.Jc(40,Ua,16,5,"div",87),qe.Sb(),qe.Tb(41,"div",88),qe.Tb(42,"div",89),qe.Tb(43,"input",90),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().scheduleToStart=t}))("change",(function(t){return qe.Ac(n),qe.kc().scheduleToStartChanged(t.target.checked)})),qe.Sb(),qe.Tb(44,"label",91),qe.Lc(45," Schedule to Start Automatically "),qe.Sb(),qe.Sb(),qe.Ob(46,"input",92),qe.Sb(),qe.Tb(47,"div"),qe.Tb(48,"div",88),qe.Tb(49,"div",89),qe.Tb(50,"input",93),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc().liveBroadcast.playlistLoopEnabled=t})),qe.Sb(),qe.Tb(51,"label",94),qe.Xb(52,_a),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(53,"div",95),qe.Tb(54,"button",48),qe.bc(55,Ba),qe.Jc(56,Ha,2,0,"i",49),qe.Zb(),qe.Sb(),qe.Tb(57,"button",50),qe.gc("click",(function(){return qe.Ac(n),qe.kc().cancelPlaylist()})),qe.Xb(58,wa),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(2),r=qe.yc(14),a=qe.yc(23),o=qe.kc();qe.Bb(13),qe.rc("ngModel",o.liveBroadcast.name),qe.Bb(3),qe.rc("hidden",r.valid||!i.submitted),qe.Bb(2),qe.rc("ngIf",o.streamNameEmpty),qe.Bb(4),qe.rc("ngModel",o.liveBroadcast.streamId),qe.Bb(2),qe.rc("hidden",a.valid||!i.submitted),qe.Bb(2),qe.rc("ngIf",0!=o.liveBroadcast.playListItemList.length),qe.Bb(1),qe.rc("ngIf",0!=o.liveBroadcast.playListItemList.length),qe.Bb(12),qe.rc("ngIf",o.directUrlAdding),qe.Bb(1),qe.rc("ngIf",o.vodAdding),qe.Bb(3),qe.rc("ngModel",o.scheduleToStart),qe.Bb(7),qe.rc("ngModel",o.liveBroadcast.playlistLoopEnabled),qe.Bb(4),qe.rc("disabled",o.newPlaylistWarn),qe.Bb(2),qe.rc("ngIf",o.newPlaylistAdding)}}function Wa(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"mat-header-cell"),qe.Tb(1,"mat-checkbox",142),qe.gc("change",(function(t){qe.Ac(n);var e=qe.kc(2);return t?e.masterToggleStreams():null})),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(2);
1qe.Bb(1),qe.rc("checked",i.selectionStreams.hasValue()&&i.isAllStreamsSelected())("indeterminate",i.selectionStreams.hasValue()&&!i.isAllStreamsSelected())}}function Ka(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"mat-cell"),qe.Tb(1,"mat-checkbox",124),qe.gc("click",(function(t){return qe.Ac(n),t.stopPropagation()}))("change",(function(t){qe.Ac(n);var i=e.$implicit,r=qe.kc(2);return t?r.selectHandlerStreams(i.streamId):null})),qe.Sb(),qe.Sb()}if(2&t){var i=e.$implicit,r=qe.kc(2);qe.Bb(1),qe.rc("checked",r.selectionStreams.isSelected(i.streamId))}}function Xa(t,e){1&t&&(qe.Tb(0,"mat-header-cell",143),qe.Lc(1," Stream Name "),qe.Sb()),2&t&&qe.rc("ngClass","stream-name-column")}function Ja(t,e){1&t&&(qe.Rb(0),qe.Ob(1,"img",144),qe.Qb())}function Ga(t,e){1&t&&(qe.Rb(0),qe.Ob(1,"img",145),qe.Qb())}function Ya(t,e){1&t&&(qe.Rb(0),qe.Ob(1,"img",144),qe.Qb())}function Za(t,e){1&t&&(qe.Rb(0),qe.Ob(1,"img",146),qe.Qb())}function Qa(t,e){1&t&&(qe.Rb(0),qe.Ob(1,"img",146),qe.Qb())}function $a(t,e){1&t&&(qe.Rb(0),qe.Lc(1," [No Name] "),qe.Qb())}function to(t,e){if(1&t&&(qe.Tb(0,"mat-cell",125),qe.Rb(1,57),qe.Jc(2,Ja,2,0,"ng-container",58),qe.Jc(3,Ga,2,0,"ng-container",58),qe.Jc(4,Ya,2,0,"ng-container",58),qe.Jc(5,Za,2,0,"ng-container",58),qe.Jc(6,Qa,2,0,"ng-container",58),qe.Qb(),qe.Tb(7,"div",126),qe.Lc(8),qe.Jc(9,$a,2,0,"ng-container",25),qe.Tb(10,"div",127),qe.Lc(11),qe.Sb(),qe.Sb(),qe.Sb()),2&t){var n=e.$implicit;qe.rc("ngClass","stream-name-column"),qe.Bb(1),qe.rc("ngSwitch",n.type),qe.Bb(1),qe.rc("ngSwitchCase","liveStream"),qe.Bb(1),qe.rc("ngSwitchCase","ipCamera"),qe.Bb(1),qe.rc("ngSwitchCase","streamSource"),qe.Bb(1),qe.rc("ngSwitchCase","VoD"),qe.Bb(1),qe.rc("ngSwitchCase","playlist"),qe.Bb(2),qe.Nc(" ",n.name," "),qe.Bb(1),qe.rc("ngIf",!n.name||0==n.name.length),qe.Bb(2),qe.Nc("Stream Id: ",n.streamId,"")}}function eo(t,e){1&t&&(qe.Tb(0,"mat-header-cell",143),qe.Lc(1,"Status "),qe.Sb()),2&t&&qe.rc("ngClass","status-column")}function no(t,e){1&t&&(qe.Rb(0),qe.Tb(1,"i",147),qe.Lc(2,"\xa0"),qe.Sb(),qe.Lc(3,"Offline "),qe.Qb())}function io(t,e){if(1&t&&(qe.Tb(0,"i",151),qe.Lc(1,"\xa0"),qe.Sb()),2&t){var n=qe.kc(2).$implicit,i=qe.kc(2);qe.Fc("color:",i.getStreamHealthColor(n),"")}}Ba=$localize(St(),"\ufffd*56:1\ufffd\ufffd#1:1\ufffd","\ufffd/#1:1\ufffd\ufffd/*56:1\ufffd");var ro,ao,oo,so,co,uo,lo,ho,fo,po,mo,vo=["title",$localize(kt())];function bo(t,e){if(1&t&&(qe.Rb(0),qe.Tb(1,"i",152),qe.Yb(2,vo),qe.Lc(3),qe.lc(4,"number"),qe.Sb(),qe.Qb()),2&t){var n=qe.kc(2).$implicit;qe.Bb(3),qe.Nc(" ",qe.nc(4,1,n.speed,"1.2-2"),"x")}}function go(t,e){1&t&&qe.Ob(0,"i",153)}function yo(t,e){if(1&t&&(qe.Rb(0),qe.Tb(1,"div",148),qe.Jc(2,io,2,3,"i",149),qe.Lc(3," Broadcasting "),qe.Jc(4,bo,5,4,"ng-container",25),qe.Jc(5,go,1,0,"i",150),qe.Sb(),qe.Qb()),2&t){var n=qe.kc().$implicit,i=qe.kc(2);qe.Bb(1),qe.sc("matTooltip",i.getStatInfo(n)),qe.Bb(1),qe.rc("ngSwitchCase","broadcasting"),qe.Bb(2),qe.rc("ngIf",n.speed>0),qe.Bb(1),qe.rc("ngIf",""!=i.getStreamDiagnose(n))}}function _o(t,e){1&t&&(qe.Tb(0,"i",147),qe.Lc(1,"\xa0"),qe.Sb())}function wo(t,e){1&t&&(qe.Rb(0),qe.Jc(1,_o,2,0,"i",154),qe.Tb(2,"div"),qe.Lc(3,"Offline"),qe.Sb(),qe.Qb()),2&t&&(qe.Bb(1),qe.rc("ngSwitchCase","finished"))}function ko(t,e){1&t&&(qe.Tb(0,"i",147),qe.Lc(1,"\xa0"),qe.Sb())}function So(t,e){1&t&&(qe.Rb(0),qe.Jc(1,ko,2,0,"i",154),qe.Tb(2,"div",155),qe.Lc(3,"Offline*"),qe.Sb(),qe.Qb()),2&t&&(qe.Bb(1),qe.rc("ngSwitchCase","terminated_unexpectedly"))}function xo(t,e){1&t&&(qe.Tb(0,"i",157),qe.Lc(1,"\xa0"),qe.Sb())}function Co(t,e){1&t&&(qe.Rb(0),qe.Jc(1,xo,2,0,"i",156),qe.Tb(2,"div"),qe.Lc(3,"Preparing"),qe.Sb(),qe.Qb()),2&t&&(qe.Bb(1),qe.rc("ngSwitchCase","preparing"))}function To(t,e){if(1&t&&(qe.Tb(0,"mat-cell",125),qe.Rb(1,57),qe.Jc(2,no,4,0,"ng-container",58),qe.Jc(3,yo,6,4,"ng-container",58),qe.Jc(4,wo,4,1,"ng-container",58),qe.Jc(5,So,4,1,"ng-container",58),qe.Jc(6,Co,4,1,"ng-container",58),qe.Qb(),qe.Sb()),2&t){var n=e.$implicit;qe.rc("ngClass","status-column"),qe.Bb(1),qe.rc("ngSwitch",n.status),qe.Bb(1),qe.rc("ngSwitchCase","created"),qe.Bb(1),qe.rc("ngSwitchCase","broadcasting"),qe.Bb(1),qe.rc("ngSwitchCase","finished"),qe.Bb(1),qe.rc("ngSwitchCase","terminated_unexpectedly"),qe.Bb(1),qe.rc("ngSwitchCase","preparing")}}function Eo(t,e){1&t&&(qe.Tb(0,"mat-header-cell",125),qe.Lc(1," Viewers "),qe.Sb()),2&t&&qe.rc("ngClass","viewer-column")}function Oo(t,e){if(1&t&&(qe.Tb(0,"div"),qe.Ob(1,"i",158),qe.Lc(2),qe.Sb()),2&t){var n=qe.kc().$implicit;qe.Bb(2),qe.Nc(" HLS : ",n.hlsViewerCount," ")}}function Mo(t,e){if(1&t&&(qe.Tb(0,"div"),qe.Ob(1,"i",158),qe.Lc(2),qe.Sb()),2&t){var n=qe.kc().$implicit;qe.Bb(2),qe.Nc(" DASH : ",n.dashViewerCount," ")}}function Ao(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div"),qe.Tb(1,"i",159),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).webrtcStats(t)})),qe.Sb(),qe.Lc(2),qe.Sb()}if(2&t){var i=qe.kc().$implicit;qe.Bb(2),qe.Nc(" WebRTC : ",i.webRTCViewerCount," ")}}function Io(t,e){if(1&t&&(qe.Tb(0,"div"),qe.Ob(1,"i",158),qe.Lc(2),qe.Sb()),2&t){var n=qe.kc().$implicit;qe.Bb(2),qe.Nc(" RTMP : ",n.rtmpViewerCount," ")}}function Ro(t,e){1&t&&(qe.Rb(0),qe.Lc(1," No viewer "),qe.Qb())}function Lo(t,e){if(1&t&&(qe.Tb(0,"mat-cell",125),qe.Jc(1,Oo,3,1,"div",25),qe.Jc(2,Mo,3,1,"div",25),qe.Jc(3,Ao,3,1,"div",25),qe.Jc(4,Io,3,1,"div",25),qe.Jc(5,Ro,2,0,"ng-container",25),qe.Sb()),2&t){var n=e.$implicit;qe.rc("ngClass","viewer-column"),qe.Bb(1),qe.rc("ngIf",n.hlsViewerCount>0),qe.Bb(1),qe.rc("ngIf",n.dashViewerCount>0),qe.Bb(1),qe.rc("ngIf",n.webRTCViewerCount>0),qe.Bb(1),qe.rc("ngIf",n.rtmpViewerCount>0),qe.Bb(1),qe.rc("ngIf",0==n.webRTCViewerCount&&0==n.hlsViewerCount&&0==n.dashViewerCount&&0==n.rtmpViewerCount)}}function Po(t,e){1&t&&(qe.Tb(0,"mat-header-cell",125),qe.Lc(1," Extradata"),qe.Sb()),2&t&&qe.rc("ngClass","extradata-column")}function jo(t,e){if(1&t&&(qe.Rb(0),qe.Lc(1),qe.Ob(2,"br"),qe.Lc(3),qe.Ob(4,"br"),qe.Qb()),2&t){var n=qe.kc(2).$implicit,i=qe.kc(2);qe.Bb(1),qe.Nc(" Playing Index: ",n.currentPlayIndex,""),qe.Bb(2),qe.Nc(" Playing Time: ",i.getPlayListCurrentTime(n)," ")}}function Do(t,e){if(1&t&&(qe.Rb(0),qe.Jc(1,jo,5,2,"ng-container",25),qe.Lc(2),qe.Qb()),2&t){var n=qe.kc().$implicit,i=qe.kc(2);qe.Bb(1),qe.rc("ngIf","broadcasting"==n.status),qe.Bb(1),qe.Nc(" Playlist Length: ",i.getPlayListDuration(n)," ")}}function No(t,e){if(1&t&&(qe.Tb(0,"mat-cell",160),qe.Rb(1,57),qe.J
1c(2,Do,3,2,"ng-container",58),qe.Qb(),qe.Sb()),2&t){var n=e.$implicit;qe.rc("ngClass","extradata-column"),qe.Bb(1),qe.rc("ngSwitch",n.type),qe.Bb(1),qe.rc("ngSwitchCase","playlist")}}function Bo(t,e){1&t&&(qe.Tb(0,"mat-header-cell",161),qe.Lc(1," Actions"),qe.Sb()),2&t&&qe.rc("ngClass","action-column")}function Fo(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"li"),qe.Tb(1,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).startStreams(t.streamId)})),qe.Rb(2),qe.Xb(3,so),qe.Qb(),qe.Sb(),qe.Sb()}}function zo(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"li"),qe.Tb(1,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).stopStreams(t.streamId)})),qe.Rb(2),qe.Xb(3,co),qe.Qb(),qe.Sb(),qe.Sb()}}function Vo(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"li"),qe.Tb(1,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).openRTMPEndpointDialog(t)})),qe.Rb(2),qe.Xb(3,uo),qe.Qb(),qe.Sb(),qe.Sb()}}function Uo(t,e){1&t&&(qe.bc(0,lo,1),qe.Ob(1,"span"),qe.Zb())}function Ho(t,e){1&t&&(qe.bc(0,lo,2),qe.Ob(1,"span"),qe.Zb())}function qo(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"li"),qe.Tb(1,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).setRecordingStatus(t.streamId,!0,"mp4")})),qe.Rb(2),qe.bc(3,lo),qe.Jc(4,Uo,2,0,"span",25),qe.Jc(5,Ho,2,0,"span",25),qe.Zb(),qe.Qb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc().$implicit;qe.Bb(4),qe.rc("ngIf","broadcasting"==i.status),qe.Bb(1),qe.rc("ngIf","broadcasting"!=i.status)}}function Wo(t,e){1&t&&(qe.bc(0,ho,1),qe.Ob(1,"span"),qe.Zb())}function Ko(t,e){1&t&&(qe.bc(0,ho,2),qe.Ob(1,"span"),qe.Zb())}function Xo(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"li"),qe.Tb(1,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).setRecordingStatus(t.streamId,!1,"mp4")})),qe.Rb(2),qe.bc(3,ho),qe.Jc(4,Wo,2,0,"span",25),qe.Jc(5,Ko,2,0,"span",25),qe.Zb(),qe.Qb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc().$implicit;qe.Bb(4),qe.rc("ngIf","broadcasting"==i.status),qe.Bb(1),qe.rc("ngIf","broadcasting"!=i.status)}}function Jo(t,e){1&t&&(qe.bc(0,fo,1),qe.Ob(1,"span"),qe.Zb())}function Go(t,e){1&t&&(qe.bc(0,fo,2),qe.Ob(1,"span"),qe.Zb())}function Yo(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"li"),qe.Tb(1,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).setRecordingStatus(t.streamId,!0,"webm")})),qe.Rb(2),qe.bc(3,fo),qe.Jc(4,Jo,2,0,"span",25),qe.Jc(5,Go,2,0,"span",25),qe.Zb(),qe.Qb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc().$implicit;qe.Bb(4),qe.rc("ngIf","broadcasting"==i.status),qe.Bb(1),qe.rc("ngIf","broadcasting"!=i.status)}}function Zo(t,e){1&t&&(qe.bc(0,po,1),qe.Ob(1,"span"),qe.Zb())}function Qo(t,e){1&t&&(qe.bc(0,po,2),qe.Ob(1,"span"),qe.Zb())}function $o(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"li"),qe.Tb(1,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).setRecordingStatus(t.streamId,!1,"webm")})),qe.Rb(2),qe.bc(3,po),qe.Jc(4,Zo,2,0,"span",25),qe.Jc(5,Qo,2,0,"span",25),qe.Zb(),qe.Qb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc().$implicit;qe.Bb(4),qe.rc("ngIf","broadcasting"==i.status),qe.Bb(1),qe.rc("ngIf","broadcasting"!=i.status)}}function ts(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"li",139),qe.Tb(1,"a",177),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).showDetectedObject(t.streamId)})),qe.Rb(2),qe.Xb(3,mo),qe.Qb(),qe.Sb(),qe.Sb()}}
1ro=$localize(wt()),ao=$localize(_t()),oo=$localize(yt()),so=$localize(gt()),co=$localize(bt()),uo=$localize(vt()),lo=$localize(mt(),"\ufffd*4:1\ufffd\ufffd#1:1\ufffd","[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]","\ufffd*5:2\ufffd\ufffd#1:2\ufffd","[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]"),lo=qe.ac(lo),ho=$localize(pt(),"\ufffd*4:1\ufffd\ufffd#1:1\ufffd","[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]","\ufffd*5:2\ufffd\ufffd#1:2\ufffd","[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]"),ho=qe.ac(ho),fo=$localize(dt(),"\ufffd*4:1\ufffd\ufffd#1:1\ufffd","[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]","\ufffd*5:2\ufffd\ufffd#1:2\ufffd","[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]"),fo=qe.ac(fo),po=$localize(ft(),"\ufffd*4:1\ufffd\ufffd#1:1\ufffd","[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]","\ufffd*5:2\ufffd\ufffd#1:2\ufffd","[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]"),po=qe.ac(po),mo=$localize(ht());var es=["title",$localize(lt())];function ns(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"button",178),qe.Yb(1,es),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).playLive(t.streamId,t.type,t.subTrackStreamIds)})),qe.Tb(2,"span",179),qe.Ob(3,"i",180),qe.Sb(),qe.Pb(4),qe.Sb()}}function is(t,e){1&t&&(qe.Tb(0,"button",181),qe.Tb(1,"span",179),qe.Ob(2,"i",153),qe.Sb(),qe.Pb(3),qe.Sb())}function rs(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"button",182),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).openBroadcastEditDialog(t)})),qe.Tb(1,"span",179),qe.Ob(2,"i",183),qe.Sb(),qe.Pb(3),qe.Sb()}}var as=["title",$localize(ut())];function os(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"button",184),qe.Yb(1,as),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).openSettingsDialog(t)})),qe.Tb(2,"span",185),qe.Ob(3,"i",183),qe.Sb(),qe.Pb(4),qe.Sb()}}var ss,cs,us,ls,hs,fs,ds,ps,ms,vs,bs,gs,ys,_s,ws,ks,Ss,xs,Cs,Ts,Es,Os,Ms,As,Is,Rs,Ls,Ps,js,Ds,Ns,Bs,Fs,zs,Vs,Us,Hs,qs,Ws,Ks,Xs,Js,Gs,Ys,Zs,Qs,$s,tc,ec=["title",$localize(ct())];function nc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"button",184),qe.Yb(1,ec),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).openStreamSourceSettingsDialog(t)})),qe.Tb(2,"span",185),qe.Ob(3,"i",183),qe.Sb(),qe.Pb(4),qe.Sb()}}function ic(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"button",182),qe.gc("click",(function(){qe.Ac(n);var t=qe.kc().$implicit;return qe.kc(2).openPlaylistEditDialog(t)})),qe.Tb(1,"span",179),qe.Ob(2,"i",183),qe.Sb(),qe.Pb(3),qe.Sb()}}function rc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"mat-cell",162),qe.Tb(1,"div",163),qe.Tb(2,"ul",164),qe.Tb(3,"li",165),qe.gc("click",(function(){return qe.Ac(n),qe.kc(2).contextDropdownClicked()})),qe.Tb(4,"a",166),qe.Ob(5,"i",167),qe.Ob(6,"span",168),qe.Ob(7,"b",17),qe.Ob(8,"p",169),qe.Sb(),qe.Tb(9,"ul",170),qe.Jc(10,Fo,4,0,"li",25),qe.Jc(11,zo,4,0,"li",25),qe.Jc(12,Vo,4,0,"li",25),qe.Tb(13,"li"),qe.Tb(14,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=e.$implicit;return qe.kc(2).copyLiveEmbedCode(t.streamId)})),qe.Rb(15),qe.Xb(16,ro),qe.Qb(),qe.Sb(),qe.Sb(),qe.Tb(17,"li"),qe.Tb(18,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=e.$implicit;return qe.kc(2).copyPublishUrl(t.streamId)})),qe.Rb(19),qe.Xb(20,ao),qe.Qb(),qe.Sb(),qe.Sb(),qe.Jc(21,qo,6,2,"li",25),qe.Jc(22,Xo,6,2,"li",25),qe.Jc(23,Yo,6,2,"li",25),qe.Jc(24,$o,6,2,"li",25),qe.Jc(25,ts,4,0,"li",172),qe.Tb(26,"li"),qe.Tb(27,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=e.$implicit;return qe.kc(2).deleteLiveBroadcast(t.streamId,t.originAdress)})),qe.Rb(28),qe.Xb(29,oo),qe.Qb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(30,ns,5,0,"button",173),qe.Jc(31,is,4,0,"button",174),qe.Jc(32,rs,4,0,"button",175),qe.Jc(33,os,5,0,"button",176),qe.Jc(34,nc,5,0,"button",176),qe.Jc(35,ic,4,0,"button",175),qe.Sb(),qe.Sb()}if(2&t){var i=e.$implicit,r=qe.kc(2);qe.rc("ngClass","action-column"),qe.Bb(10),qe.rc("ngIf",("streamSource"==i.type||"ipCamera"==i.type||"playlist"==i.type)&&"broadcasting"!=i.status&&"preparing"!=i.status),qe.Bb(1),qe.rc("ngIf",!("streamSource"!=i.type&&"ipCamera"!=i.type&&"playlist"!=i.type||"broadcasting"!=i.status&&"preparing"!=i.status)),qe.Bb(1),qe.rc("ngIf","VoD"
1!=i.type),qe.Bb(9),qe.rc("ngIf","0"==i.mp4Enabled&&!r.appSettings.mp4MuxingEnabled||"-1"==i.mp4Enabled),qe.Bb(1),qe.rc("ngIf","0"==i.mp4Enabled&&r.appSettings.mp4MuxingEnabled||"1"==i.mp4Enabled),qe.Bb(1),qe.rc("ngIf","0"==i.webMEnabled&&!r.appSettings.webMMuxingEnabled||"-1"==i.webMEnabled),qe.Bb(1),qe.rc("ngIf","0"==i.webMEnabled&&r.appSettings.webMMuxingEnabled||"1"==i.webMEnabled),qe.Bb(1),qe.rc("ngIf",1==r.appSettings.objectDetectionEnabled),qe.Bb(5),qe.rc("ngIf","broadcasting"==i.status&&(1==r.appSettings.webRTCEnabled||1==r.appSettings.hlsMuxingEnabled)),qe.Bb(1),qe.rc("ngIf","broadcasting"==i.status&&0==r.appSettings.webRTCEnabled&&0==r.appSettings.hlsMuxingEnabled),qe.Bb(1),qe.rc("ngIf","broadcasting"!=i.status&&"liveStream"==i.type),qe.Bb(1),qe.rc("ngIf","ipCamera"==i.type),qe.Bb(1),qe.rc("ngIf","streamSource"==i.type),qe.Bb(1),qe.rc("ngIf","playlist"==i.type)}}function ac(t,e){1&t&&qe.Ob(0,"mat-header-row")}function oc(t,e){1&t&&qe.Ob(0,"mat-row")}function sc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",128),qe.Tb(1,"div",129),qe.Tb(2,"mat-table",130),qe.gc("matSortChange",(function(t){return qe.Ac(n),qe.kc().sortBroadcastList(t)})),qe.Rb(3,116),qe.Jc(4,Wa,2,2,"mat-header-cell",117),qe.Jc(5,Ka,2,1,"mat-cell",118),qe.Qb(),qe.Rb(6,119),qe.Jc(7,Xa,2,1,"mat-header-cell",131),qe.Jc(8,to,12,10,"mat-cell",121),qe.Qb(),qe.Rb(9,132),qe.Jc(10,eo,2,1,"mat-header-cell",131),qe.Jc(11,To,7,7,"mat-cell",121),qe.Qb(),qe.Rb(12,133),qe.Jc(13,Eo,2,1,"mat-header-cell",120),qe.Jc(14,Lo,6,6,"mat-cell",121),qe.Qb(),qe.Rb(15,134),qe.Jc(16,Po,2,1,"mat-header-cell",120),qe.Jc(17,No,3,3,"mat-cell",135),qe.Qb(),qe.Rb(18,136),qe.Jc(19,Bo,2,1,"mat-header-cell",137),qe.Jc(20,rc,36,15,"mat-cell",138),qe.Qb(),qe.Jc(21,ac,1,0,"mat-header-row",122),qe.Jc(22,oc,1,0,"mat-row",123),qe.Sb(),qe.Tb(23,"div",139),qe.Tb(24,"div"),qe.Tb(25,"button",140),qe.gc("click",(function(){return qe.Ac(n),qe.kc().deleteSelectedStreams()})),qe.Lc(26,"Delete "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(27,"mat-paginator",141),qe.gc("page",(function(t){return qe.Ac(n),qe.kc().onListPaginateChange(t)})),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(2),qe.rc("dataSource",i.dataSource),qe.Bb(19),qe.rc("matHeaderRowDef",i.displayedColumnsStreams),qe.Bb(1),qe.rc("matRowDefColumns",i.displayedColumnsStreams),qe.Bb(5),qe.rc("pageSizeOptions",i.pageSizeOptions)("length",i.listLength)("pageSize",i.pageSize)}}function cc(t,e){1&t&&(qe.Tb(0,"p"),qe.Xb(1,ss),qe.Sb())}function uc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"mat-header-cell"),qe.Tb(1,"mat-checkbox",142),qe.gc("change",(function(t){qe.Ac(n);var e=qe.kc(2);return t?e.masterToggleVods():null})),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(2);qe.Bb(1),qe.rc("checked",i.selectionVods.hasValue()&&i.isAllVodsSelected())("indeterminate",i.selectionVods.hasValue()&&!i.isAllVodsSelected())}}function lc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"mat-cell"),qe.Tb(1,"mat-checkbox",124),qe.gc("click",(function(t){return qe.Ac(n),t.stopPropagation()}))("change",(function(t){qe.Ac(n);var i=e.$implicit,r=qe.kc(2);return t?r.selectHandlerVod(i.vodId):null})),qe.Sb(),qe.Sb()}if(2&t){var i=e.$implicit,r=qe.kc(2);qe.Bb(1),qe.rc("checked",r.selectionVods.isSelected(i.vodId))}}function hc(t,e){1&t&&(qe.Tb(0,"mat-header-cell",191),qe.Lc(1,"Name "),qe.Sb())}function fc(t,e){if(1&t&&(qe.Tb(0,"mat-cell"),qe.Tb(1,"div",126),qe.Lc(2),qe.Tb(3,"div",127),qe.Lc(4),qe.Sb(),qe.Sb(),qe.Sb()),2&t){var n=e.$implicit;qe.Bb(2),qe.Nc(" ",n.vodName," "),qe.Bb(2),qe.Nc("VoD Id: ",n.vodId,"")}}function dc(t,e){1&t&&(qe.Tb(0,"mat-header-cell"),qe.Lc(1," Type"),qe.Sb())}function pc(t,e){1&t&&(qe.Rb(0),qe.Lc(1,"Recorded Stream"),qe.Ob(2,"br"),qe.Qb())}function mc(t,e){1&t&&(qe.Rb(0),qe.Lc(1,"Uploaded "),qe.Qb())}function vc(t,e){1&t&&(qe.Rb(0),qe.Lc(1,"Linked"),qe.Qb())}function bc(t,e){if(1&t&&(qe.Tb(0,"div",127),qe.Lc(1),qe.Sb()),2&t){var n=qe.kc().$implicit;qe.Bb(1),qe.Nc("Stream Id: ",n.streamId,"")}}function gc(t,e){if(1&t&&(qe.Tb(0,"mat-cell"),qe.Tb(1,"div"),qe.Rb(2,57),qe.Jc(3,pc,3,0,"ng-container",58),qe.Jc(4,mc,2,0,"ng-container",58),qe.Jc(5,vc,2,0,"ng-container",58),qe.Qb(),qe.Jc(6,bc,2,1,"div",192),qe.Sb(),qe.Sb()),2&t){var n=e.$implicit;qe.Bb(2),qe.rc("ngSwitch",n.type),qe.Bb(1),qe.rc("ngSwitchCase","streamVod"),qe.Bb(1),qe.rc("ngSwitchCase","uploadedVod"),qe.Bb(1),qe.rc("ngSwitchCase","userVod"),qe.Bb(1),qe.rc("ngIf","streamVod"==n.type)}}function yc(t,e){1&t&&(qe.Tb(0,"mat-header-cell",191),qe.Lc(1," Date "),qe.Sb())}function _c(t,e){if(1&t&&(qe.Tb(0,"mat-cell"),qe.Lc(1),qe.Sb()),2&t){var n=e.$implicit,i=qe.kc(2);qe.Bb(1),qe.Nc(" ",i.convertJavaTime(n.creationDate)," ")}}function wc(t,e){1&t&&(qe.Tb(0,"mat-header-cell",161),qe.Lc(1," Actions "),qe.Sb()),2&t&&qe.rc("ngClass","action-column")}function kc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"mat-cell",162),qe.Tb(1,"div",163),qe.Tb(2,"ul",164),qe.Tb(3,"li",165),qe.gc("click",(function(){return qe.Ac(n),qe.kc(2).contextDropdownClicked()})),qe.Tb(4,"a",166),qe.Ob(5,"i",167),qe.Ob(6,"span",168),qe.Ob(7,"b",17),qe.Ob(8,"p",169),qe.Sb(),qe.Tb(9,"ul",170),qe.Tb(10,"li"),qe.Tb(11,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=e.$implicit;return qe.kc(2).copyVoDEmbedCode(t.vodName,t.type,t.vodId,t.filePath)})),qe.Rb(12),qe.Lc(13,"Copy Embed code"),qe.Qb(),qe.Sb(),qe.Sb(),qe.Tb(14,"li"),qe.Tb(15,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=e.$implicit;return qe.kc(2).copyVoDUrl(t.filePath)})),qe.Rb(16),qe.Lc(17,"Copy VoD URL"),qe.Qb(),qe.Sb(),qe.Sb(),qe.Tb(18,"li"),qe.Tb(19,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=e.$implicit;return qe.kc(2).downloadFile(t.vodName,t.type,t.vodId,t.streamId,t.filePath)})),qe.Rb(20),qe.Lc(21,"Download"),qe.Qb(),qe.Sb(),qe.Sb(),qe.Tb(22,"li"),qe.Tb(23,"a",171),qe.gc("click",(function(){qe.Ac(n);var t=e.$implicit;return qe.kc(2).deleteVoD(t.vodName,t.vodId,t.type)})),qe.Rb(24),qe.Lc(25,"Delete"),qe.Qb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(26,"button",193),qe.gc("click",(function(){qe.Ac(n);var t=e.$implicit;return qe.kc(2).playVoD(t.vodName,t.type,t.vodId,t.streamId,t.filePath)})),qe.Tb(27,"span",179),qe.Ob(28,"i",180),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}2&t&&qe.rc("ngClass","action-column")}function Sc(t,e){1&t&&qe.Ob(0,"mat-header-row")}function xc(t,e){1&t&&qe.Ob(0,"mat-row")}function Cc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",186),qe.Ob(1,"br"),qe.Tb(2,"div",129),qe.Tb(3,"mat-table",130),qe.gc("matSortChange",(function(t){return qe.Ac(n),qe.kc().sortVodList(t)}
1)),qe.Rb(4,116),qe.Jc(5,uc,2,2,"mat-header-cell",117),qe.Jc(6,lc,2,1,"mat-cell",118),qe.Qb(),qe.Rb(7,119),qe.Jc(8,hc,2,0,"mat-header-cell",187),qe.Jc(9,fc,5,2,"mat-cell",118),qe.Qb(),qe.Rb(10,188),qe.Jc(11,dc,2,0,"mat-header-cell",117),qe.Jc(12,gc,7,5,"mat-cell",118),qe.Qb(),qe.Rb(13,189),qe.Jc(14,yc,2,0,"mat-header-cell",187),qe.Jc(15,_c,2,1,"mat-cell",118),qe.Qb(),qe.Rb(16,136),qe.Jc(17,wc,2,1,"mat-header-cell",137),qe.Jc(18,kc,29,1,"mat-cell",138),qe.Qb(),qe.Jc(19,Sc,1,0,"mat-header-row",122),qe.Jc(20,xc,1,0,"mat-row",123),qe.Sb(),qe.Tb(21,"div",139),qe.Tb(22,"div"),qe.Tb(23,"button",140),qe.gc("click",(function(){return qe.Ac(n),qe.kc().deleteSelectedVoDs()})),qe.Lc(24,"Delete "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(25,"mat-paginator",190),qe.gc("page",(function(t){return qe.Ac(n),qe.kc().onPaginateChange(t)})),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(3),qe.rc("dataSource",i.dataSourceVod),qe.Bb(16),qe.rc("matHeaderRowDef",i.displayedColumnsVod),qe.Bb(1),qe.rc("matRowDefColumns",i.displayedColumnsVod),qe.Bb(5),qe.rc("length",i.vodLength)("pageSize",i.pageSize)("pageSizeOptions",i.pageSizeOptions)}}function Tc(t,e){1&t&&(qe.Tb(0,"p"),qe.Xb(1,cs),qe.Sb())}function Ec(t,e){1&t&&(qe.Tb(0,"div",249),qe.Ob(1,"i",254),qe.Lc(2," If you want to have both VP8 and H.264 streaming, you should add at least one adaptive bitrate below. "),qe.Sb())}function Oc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",39),qe.Tb(1,"div",88),qe.Tb(2,"div",89),qe.Tb(3,"input",247),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.h264Enabled=t})),qe.Sb(),qe.Tb(4,"label",248),qe.Lc(5," H.264 "),qe.Sb(),qe.Sb(),qe.Tb(6,"p",249),qe.Lc(7,"Explicitly required for MP4 Recording and HLS Streaming"),qe.Sb(),qe.Sb(),qe.Tb(8,"div",88),qe.Tb(9,"div",89),qe.Tb(10,"input",250),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.vp8Enabled=t})),qe.Sb(),qe.Tb(11,"label",251),qe.Lc(12," VP8 "),qe.Sb(),qe.Sb(),qe.Tb(13,"p",249),qe.Lc(14,"Explicitly required for WebM Recording"),qe.Sb(),qe.Sb(),qe.Tb(15,"div",252),qe.Jc(16,Ec,3,0,"div",253),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(3),qe.rc("ngModel",i.appSettings.h264Enabled),qe.Bb(7),qe.rc("ngModel",i.appSettings.vp8Enabled),qe.Bb(6),qe.rc("ngIf",i.appSettings.vp8Enabled&&i.appSettings.h264Enabled)}}function Mc(t,e){1&t&&(qe.Tb(0,"div",39),qe.Tb(1,"div",88),qe.Tb(2,"label"),qe.bc(3,_s),qe.Ob(4,"a",255),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb())}function Ac(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",78),qe.Tb(1,"label",257),qe.Lc(2,"Frame Rate(fps)"),qe.Sb(),qe.Tb(3,"div",258),qe.Tb(4,"input",259,260),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(4).appSettings.webRTCFrameRate=t})),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(5),r=qe.kc(4);qe.Bb(4),qe.rc("ngModel",r.appSettings.webRTCFrameRate)("name",i)}}function Ic(t,e){1&t&&(qe.Tb(0,"div"),qe.Tb(1,"label"),qe.Ob(2,"i",261),qe.Lc(3," Adaptive Streaming is a process intensive operation. Please use it if you know what you're doing."),qe.Sb(),qe.Sb())}function Rc(t,e){if(1&t&&(qe.Tb(0,"div",78),qe.Tb(1,"div",256),qe.Jc(2,Ac,6,2,"div",202),qe.Jc(3,Ic,4,0,"div",25),qe.Sb(),qe.Sb()),2&t){var n=qe.kc(3);qe.Bb(2),qe.rc("ngIf",null!=n.encoderSettings&&0!=n.encoderSettings.length),qe.Bb(1),qe.rc("ngIf",null!=n.encoderSettings&&0==n.encoderSettings.length)}}function Lc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div"),qe.Tb(1,"div",266),qe.Tb(2,"select",267,268),qe.gc("ngModelChange",(function(t){qe.Ac(n);var i=e.index;return qe.kc(5).dropDownChanged(t,i)}))("ngModelChange",(function(t){return qe.Ac(n),e.$implicit.height=t})),qe.Tb(4,"option",269),qe.Lc(5," Choose One"),qe.Sb(),qe.Tb(6,"option",270),qe.Lc(7,"2880p"),qe.Sb(),qe.Tb(8,"option",271),qe.Lc(9,"2160p"),qe.Sb(),qe.Tb(10,"option",272),qe.Lc(11,"1080p"),qe.Sb(),qe.Tb(12,"option",273),qe.Lc(13,"720p"),qe.Sb(),qe.Tb(14,"option",274),qe.Lc(15,"640p"),qe.Sb(),qe.Tb(16,"option",275),qe.Lc(17,"540p"),qe.Sb(),qe.Tb(18,"option",276),qe.Lc(19,"480p"),qe.Sb(),qe.Tb(20,"option",277),qe.Lc(21,"360p"),qe.Sb(),qe.Tb(22,"option",278),qe.Lc(23,"240p"),qe.Sb(),qe.Sb(),qe.Tb(24,"small",42),qe.Lc(25," Resolution Bitrate is required. "),qe.Sb(),qe.Sb(),qe.Tb(26,"div",279),qe.Tb(27,"input",280,281),qe.gc("ngModelChange",(function(t){return qe.Ac(n),e.$implicit.videoBitrate=t})),qe.Sb(),qe.Tb(29,"small",42),qe.Lc(30," Video Bitrate is required. "),qe.Sb(),qe.Sb(),qe.Tb(31,"div",279),qe.Tb(32,"input",280,282),qe.gc("ngModelChange",(function(t){return qe.Ac(n),e.$implicit.audioBitrate=t})),qe.Sb(),qe.Tb(34,"small",42),qe.Lc(35," Audio Bitrate is required. "),qe.Sb(),qe.Sb(),qe.Tb(36,"div",283),qe.Tb(37,"button",106),qe.gc("click",(function(){qe.Ac(n);var t=e.index;return qe.kc(5).deleteStream(t)})),qe.Ob(38,"i",107),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=e.$implicit,r=e.index,a=qe.yc(3),o=qe.yc(28),s=qe.yc(33);qe.kc(3);var c=qe.yc(1);qe.Bb(2),qe.rc("name","resolutionHeight"+r)("ngModel",i.height),qe.Bb(22),qe.rc("hidden",a.valid||a.pristine&&!c.submitted),qe.Bb(3),qe.rc("min",10)("name","videobitrate"+r)("ngModel",i.videoBitrate),qe.Bb(2),qe.rc("hidden",o.valid||o.pristine&&!c.submitted),qe.Bb(3),qe.rc("min",10)("name","audiobitrate"+r)("ngModel",i.audioBitrate),qe.Bb(2),qe.rc("hidden",s.valid||s.pristine&&!c.submitted)}}function Pc(t,e){if(1&t&&(qe.Tb(0,"div"),qe.Tb(1,"div",264),qe.Tb(2,"span",97),qe.Xb(3,ks),qe.Sb(),qe.Sb(),qe.Tb(4,"div",265),qe.Tb(5,"span",97),qe.Xb(6,Ss),qe.Sb(),qe.Sb(),qe.Tb(7,"div",265),qe.Tb(8,"span",97),qe.Xb(9,xs),qe.Sb(),qe.Sb(),qe.Rb(10),qe.Jc(11,Lc,39,11,"div",53),qe.Qb(),qe.Sb()),2&t){var n=qe.kc(4);qe.Bb(11),qe.rc("ngForOf",n.encoderSettings)}}function jc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",39),qe.Jc(1,Pc,12,1,"div",25),qe.Tb(2,"div",262),qe.Tb(3,"button",263),qe.gc("click",(function(){return qe.Ac(n),qe.kc(3).addNewStream()})),qe.Xb(4,ws),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(1),qe.rc("ngIf",null!=i.encoderSettings&&0!=i.encoderSettings.length)}}function Dc(t,e){1&t&&(qe.Tb(0,"div",39),qe.Tb(1,"div",88),qe.Tb(2,"label"),qe.bc(3,Cs),qe.Ob(4,"a",255),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb())}function Nc(t,e){1&t&&(qe.Tb(0,"div",212),qe.Ob(1,"i",261),qe.Lc(2," H.264 is not enabled. Please enable H.264 for HLS Streaming "),qe.Sb())}function Bc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",212),qe.Tb(1,"div",78),qe.Tb(2,"div",205),qe.Tb(3,"div",89),qe.Tb(4,"input",284),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSett
1ings.hlsMuxingEnabled=t})),qe.Sb(),qe.Tb(5,"label",285),qe.Xb(6,Ts),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(7,"div",78),qe.Tb(8,"div",286),qe.Tb(9,"label",287),qe.Xb(10,Es),qe.Sb(),qe.Tb(11,"div",288),qe.Tb(12,"input",289,290),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.hlsListSize=t})),qe.Sb(),qe.Tb(14,"small",42),qe.Lc(15," Segment list size is required "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(16,"div",78),qe.Tb(17,"div",286),qe.Tb(18,"label",287),qe.Xb(19,Os),qe.Sb(),qe.Tb(20,"div",288),qe.Tb(21,"input",291,292),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.hlsTime=t})),qe.Sb(),qe.Tb(23,"small",42),qe.Lc(24," Segment duration is required "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(25,"div",78),qe.Tb(26,"div",205),qe.Tb(27,"div",89),qe.Tb(28,"input",293),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.deleteHLSFilesOnEnded=t})),qe.Sb(),qe.Tb(29,"label",294),qe.Xb(30,Ms),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(13),r=qe.yc(22),a=qe.kc(3);qe.Bb(4),qe.rc("ngModel",a.appSettings.hlsMuxingEnabled),qe.Bb(8),qe.rc("ngModel",a.appSettings.hlsListSize),qe.Bb(2),qe.rc("hidden",i.valid),qe.Bb(7),qe.rc("ngModel",a.appSettings.hlsTime),qe.Bb(2),qe.rc("hidden",r.valid),qe.Bb(5),qe.rc("ngModel",a.appSettings.deleteHLSFilesOnEnded)}}function Fc(t,e){1&t&&(qe.Tb(0,"div",295),qe.Ob(1,"i",261),qe.Lc(2," H.264 is not enabled. Please enable H.264 for DASH Streaming "),qe.Sb())}function zc(t,e){1&t&&(qe.Tb(0,"div",295),qe.Tb(1,"div",88),qe.Tb(2,"label"),qe.bc(3,As),qe.Ob(4,"a",255),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb())}function Vc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",212),qe.Tb(1,"div",78),qe.Tb(2,"div",205),qe.Tb(3,"div",89),qe.Tb(4,"input",296),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.dashMuxingEnabled=t})),qe.Sb(),qe.Tb(5,"label",297),qe.Xb(6,Is),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(7,"div",78),qe.Tb(8,"div",286),qe.Tb(9,"label",287),qe.Xb(10,Rs),qe.Sb(),qe.Tb(11,"div",288),qe.Tb(12,"input",298,299),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.dashSegDuration=t})),qe.Sb(),qe.Tb(14,"small",42),qe.Lc(15," Segment duration is required "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(16,"div",78),qe.Tb(17,"div",286),qe.Tb(18,"label",287),qe.Xb(19,Ls),qe.Sb(),qe.Tb(20,"div",288),qe.Tb(21,"input",300,301),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.dashFragmentDuration=t})),qe.Sb(),qe.Tb(23,"small",42),qe.Lc(24," Fragment duration is required "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(25,"div",78),qe.Tb(26,"div",205),qe.Tb(27,"div",89),qe.Tb(28,"input",302),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.lLDashEnabled=t})),qe.Sb(),qe.Tb(29,"label",303),qe.Xb(30,Ps),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(31,"div",78),qe.Tb(32,"div",205),qe.Tb(33,"div",89),qe.Tb(34,"input",304),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.lLHLSEnabled=t})),qe.Sb(),qe.Tb(35,"label",305),qe.Xb(36,js),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(37,"div",78),qe.Tb(38,"div",205),qe.Tb(39,"div",89),qe.Tb(40,"input",306),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.deleteDASHFilesOnEnded=t})),qe.Sb(),qe.Tb(41,"label",307),qe.Xb(42,Ds),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(13),r=qe.yc(22),a=qe.kc(3);qe.Bb(4),qe.rc("ngModel",a.appSettings.dashMuxingEnabled),qe.Bb(8),qe.rc("ngModel",a.appSettings.dashSegDuration),qe.Bb(2),qe.rc("hidden",i.valid),qe.Bb(7),qe.rc("ngModel",a.appSettings.dashFragmentDuration),qe.Bb(2),qe.rc("hidden",r.valid),qe.Bb(5),qe.rc("ngModel",a.appSettings.lLDashEnabled),qe.Bb(6),qe.rc("ngModel",a.appSettings.lLHLSEnabled),qe.Bb(6),qe.rc("ngModel",a.appSettings.deleteDASHFilesOnEnded)}}function Uc(t,e){1&t&&(qe.Tb(0,"div",39),qe.Tb(1,"div",88),qe.Tb(2,"label"),qe.bc(3,Ns),qe.Ob(4,"a",255),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb())}function Hc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",139),qe.Tb(1,"div",80),qe.Tb(2,"div",89),qe.Tb(3,"input",308),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSett
1ings.objectDetectionEnabled=t})),qe.Sb(),qe.Tb(4,"label",309),qe.Lc(5," Use Object Detection "),qe.Tb(6,"a",310),qe.Ob(7,"i",153),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(3),qe.rc("disabled",null!=i.encoderSettings&&0==i.encoderSettings.length)("ngModel",i.appSettings.objectDetectionEnabled)}}function qc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",139),qe.Tb(1,"div",80),qe.Tb(2,"div",89),qe.Tb(3,"input",311),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.generatePreview=t})),qe.Sb(),qe.Tb(4,"label",312),qe.Lc(5," Generate Preview "),qe.Tb(6,"a",313),qe.Ob(7,"i",153),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(3),qe.rc("disabled",null!=i.encoderSettings&&0==i.encoderSettings.length)("ngModel",i.appSettings.generatePreview)}}function Wc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",88),qe.Tb(1,"label",317),qe.Lc(2,"Player's messages are distributed to"),qe.Sb(),qe.Tb(3,"div",318),qe.Tb(4,"div",319),qe.Tb(5,"input",320),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(4).appSettings.dataChannelPlayerDistribution=t})),qe.Sb(),qe.Tb(6,"label",321),qe.Lc(7,"Nobody"),qe.Sb(),qe.Sb(),qe.Tb(8,"div",319),qe.Tb(9,"input",322),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(4).appSettings.dataChannelPlayerDistribution=t})),qe.Sb(),qe.Tb(10,"label",323),qe.Lc(11,"Only Publisher"),qe.Sb(),qe.Sb(),qe.Tb(12,"div",319),qe.Tb(13,"input",324),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(4).appSettings.dataChannelPlayerDistribution=t})),qe.Sb(),qe.Tb(14,"label",325),qe.Lc(15,"Publisher and all Players"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(4);qe.Bb(5),qe.rc("ngModel",i.appSettings.dataChannelPlayerDistribution),qe.Bb(4),qe.rc("ngModel",i.appSettings.dataChannelPlayerDistribution),qe.Bb(4),qe.rc("ngModel",i.appSettings.dataChannelPlayerDistribution)}}function Kc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div"),qe.Tb(1,"div",78),qe.Tb(2,"div",88),qe.Tb(3,"div",89),qe.Tb(4,"input",314),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.dataChannelEnabled=t})),qe.Sb(),qe.Tb(5,"label",315),qe.Lc(6," Enable "),qe.Sb(),qe.Sb(),qe.Tb(7,"p",316),qe.Lc(8,"If enabled, publisher can send messages to players and choose player distribution option below"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(9,"div",78),qe.Jc(10,Wc,16,3,"div",219),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(4),qe.rc("ngModel",i.appSettings.dataChannelEnabled),qe.Bb(6),qe.rc("ngIf",i.appSettings.dataChannelEnabled)}}function Xc(t,e){1&t&&(qe.Tb(0,"div",39),qe.Tb(1,"div",88),qe.Tb(2,"label"),qe.bc(3,Bs),qe.Ob(4,"a",255),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb())}function Jc(t,e){1&t&&(qe.Tb(0,"div",326),qe.Ob(1,"i",327),qe.Lc(2," H.264 is not enabled. Please enable H.264 for MP4 Recording "),qe.Sb())}function Gc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div"),qe.Tb(1,"div",88),qe.Tb(2,"div",89),qe.Tb(3,"input",328),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.mp4MuxingEnabled=t})),qe.Sb(),qe.Tb(4,"label",329),qe.Xb(5,Fs),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(3),qe.rc("ngModel",i.appSettings.mp4MuxingEnabled)}}function Yc(t,e){1&t&&(qe.Tb(0,"div",326),qe.Ob(1,"i",327),qe.Lc(2," VP8 is not enabled. Please enable VP8 for WebM Recording "),qe.Sb())}function Zc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div"),qe.Tb(1,"div",88),qe.Tb(2,"div",89),qe.Tb(3,"input",330),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.webMMuxingEnabled=t})),qe.Sb(),qe.Tb(4,"label",331),qe.Xb(5,zs),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(3),qe.rc("ngModel",i.appSettings.webMMuxingEnabled)}}function Qc(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",78),qe.Tb(1,"div",286),qe.Tb(2,"label",287),qe.Xb(3,Vs),qe.Sb(),qe.Tb(4,"div",332),qe.Tb(5,"input",333,334),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.s3AccessKey=t})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(7,"div",286),qe.Tb(8,"label",287),qe.Xb(9,Us),qe.Sb(),qe.Tb(10,"div",332),qe.Tb(11,"input",335,336),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSett
1ings.s3SecretKey=t})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(13,"div",286),qe.Tb(14,"label",287),qe.Xb(15,Hs),qe.Sb(),qe.Tb(16,"div",332),qe.Tb(17,"input",337,338),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.s3RegionName=t})),qe.Sb(),qe.Tb(19,"small",42),qe.Lc(20," S3 Region Name is Required. "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(21,"div",286),qe.Tb(22,"label",287),qe.Xb(23,qs),qe.Sb(),qe.Tb(24,"div",332),qe.Tb(25,"input",339,340),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.s3BucketName=t})),qe.Sb(),qe.Tb(27,"small",42),qe.Lc(28," S3 Bucket Name is Required. "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(29,"div",286),qe.Tb(30,"label",287),qe.Xb(31,Ws),qe.Sb(),qe.Tb(32,"div",332),qe.Tb(33,"input",341,342),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.s3Endpoint=t})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(35,"div",286),qe.Tb(36,"label",343),qe.Lc(37," Permission "),qe.Sb(),qe.Tb(38,"div",256),qe.Tb(39,"select",344,345),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.s3Permission=t})),qe.Tb(41,"option",346),qe.Lc(42,"Public-Read"),qe.Sb(),qe.Tb(43,"option",347),qe.Lc(44,"Private"),qe.Sb(),qe.Tb(45,"option",348),qe.Lc(46,"Public-Read-Write"),qe.Sb(),qe.Tb(47,"option",349),qe.Lc(48,"Authenticated-Read"),qe.Sb(),qe.Tb(49,"option",350),qe.Lc(50,"Bucket-Owner-Read"),qe.Sb(),qe.Tb(51,"option",351),qe.Lc(52,"Bucket-Owner-Full-Control"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(18),r=qe.yc(26);qe.kc();var a=qe.yc(1),o=qe.kc(2);qe.Bb(5),qe.rc("ngModel",o.appSettings.s3AccessKey),qe.Bb(6),qe.rc("ngModel",o.appSettings.s3SecretKey),qe.Bb(6),qe.rc("ngModel",o.appSettings.s3RegionName),qe.Bb(2),qe.rc("hidden",i.valid||!a.submitted),qe.Bb(6),qe.rc("ngModel",o.appSettings.s3BucketName),qe.Bb(2),qe.rc("hidden",r.valid||!a.submitted),qe.Bb(6),qe.rc("ngModel",o.appSettings.s3Endpoint),qe.Bb(6),qe.rc("ngModel",o.appSettings.s3Permission)}}function $c(t,e){1&t&&(qe.Tb(0,"div",139),qe.Tb(1,"div",88),qe.Tb(2,"label"),qe.bc(3,Ks),qe.Ob(4,"a",255),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb())}function tu(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",88),qe.Tb(1,"label"),qe.Lc(2,"One-time Tokens*"),qe.Sb(),qe.Tb(3,"div",352),qe.Tb(4,"input",353),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.publishTokenControlEnabled=t}))("ngModelChange",(function(){return qe.Ac(n),qe.kc(3).onPublishTokenControlChange()})),qe.Sb(),qe.Tb(5,"label",354),qe.Lc(6," Publish with One-time Tokens "),qe.Tb(7,"a",355),qe.Ob(8,"i",356),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(9,"div",352),qe.Tb(10,"input",357),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.playTokenControlEnabled=t}))("ngModelChange",(function(){return qe.Ac(n),qe.kc(3).onPlayTokenControlChange()})),qe.Sb(),qe.Tb(11,"label",358),qe.Lc(12," Play with One-time Tokens "),qe.Tb(13,"a",359),qe.Ob(14,"i",356),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(4),qe.rc("ngModel",i.appSettings.publishTokenControlEnabled),qe.Bb(6),qe.rc("ngModel",i.appSettings.playTokenControlEnabled)}}function eu(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",222),qe.Tb(1,"label"),qe.Xb(2,Xs),qe.Sb(),qe.Tb(3,"div"),qe.Tb(4,"textarea",368,369),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(4).appSettings.timeTokenSecretForPublish=t})),qe.Lc(6),qe.Sb(),qe.Tb(7,"button",370),qe.gc("click",(function(){return qe.Ac(n),qe.kc(4).setTOTPSecretForPublishing(6)})),qe.Lc(8," Generate "),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(4);qe.Bb(4),qe.rc("disabled",!i.appSettings.timeTokenSecretForPublish)("ngModel",i.appSettings.timeTokenSecretForPublish),qe.Bb(2),qe.Nc("",i.appSettings.timeTokenSecretForPublish,"\n ")}}function nu(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",222),qe.Tb(1,"label"),qe.Xb(2,Js),qe.Sb(),qe.Tb(3,"div"),qe.Tb(4,"textarea",371,369),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(4).appSettings.timeTokenSecretForPlay=t})),qe.Lc(6),qe.Sb(),qe.Tb(7,"button",370),qe.gc("click",(function(){return qe.Ac(n),qe.kc(4).setTOTPSecretForPlaying(6)})),qe.Lc(8," Generate "),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(4);
1qe.Bb(4),qe.rc("disabled",!i.appSettings.timeTokenSecretForPlay)("ngModel",i.appSettings.timeTokenSecretForPlay),qe.Bb(2),qe.Nc("",i.appSettings.timeTokenSecretForPlay,"\n ")}}function iu(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",222),qe.Tb(1,"label"),qe.Lc(2,"Time-based One-time Password(TOTP)*"),qe.Sb(),qe.Tb(3,"div",360),qe.Tb(4,"input",361),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.enableTimeTokenForPublish=t}))("ngModelChange",(function(){return qe.Ac(n),qe.kc(3).onEnableTimeTokenForPublishChange()})),qe.Sb(),qe.Tb(5,"label",362),qe.Lc(6," Publish with TOTP "),qe.Tb(7,"a",363),qe.Ob(8,"i",356),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(9,eu,9,3,"div",230),qe.Tb(10,"div",364),qe.Tb(11,"input",365),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.enableTimeTokenForPlay=t}))("ngModelChange",(function(){return qe.Ac(n),qe.kc(3).onEnableTimeTokenForPlayChange()})),qe.Sb(),qe.Tb(12,"label",366),qe.Lc(13," Play with TOTP "),qe.Tb(14,"a",367),qe.Ob(15,"i",356),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(16,nu,9,3,"div",230),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(4),qe.rc("ngModel",i.appSettings.enableTimeTokenForPublish),qe.Bb(5),qe.rc("ngIf",i.appSettings.enableTimeTokenForPublish&&i.isEnterpriseEdition),qe.Bb(2),qe.rc("ngModel",i.appSettings.enableTimeTokenForPlay),qe.Bb(5),qe.rc("ngIf",i.appSettings.enableTimeTokenForPlay&&i.isEnterpriseEdition)}}function ru(t,e){1&t&&(qe.Tb(0,"div",139),qe.Tb(1,"div",88),qe.Tb(2,"label"),qe.bc(3,Gs),qe.Ob(4,"a",255),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb())}function au(t,e){1&t&&(qe.Tb(0,"div",139),qe.Tb(1,"div",88),qe.Tb(2,"label"),qe.bc(3,Ys),qe.Ob(4,"a",255),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb())}function ou(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",222),qe.Tb(1,"label"),qe.bc(2,Zs),qe.Tb(3,"a",378),qe.Ob(4,"i",153),qe.Sb(),qe.Zb(),qe.Sb(),qe.Tb(5,"div"),qe.Tb(6,"textarea",379,380),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(4).appSettings.jwtStreamSecretKey=t})),qe.Lc(8),qe.Sb(),qe.Tb(9,"small",42),qe.Lc(10," JWT Stream Secret Key should at least 32 character "),qe.Sb(),qe.Tb(11,"button",370),qe.gc("click",(function(){return qe.Ac(n),qe.kc(4).setJwtStreamFilterString(32)})),qe.Lc(12," Generate "),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(7);qe.kc(2);var r=qe.yc(1),a=qe.kc(2);qe.Bb(6),qe.rc("disabled",!a.appSettings.publishJwtControlEnabled&&!a.appSett
1ings.playJwtControlEnabled)("ngModel",a.appSettings.jwtStreamSecretKey),qe.Bb(2),qe.Nc("",a.appSettings.jwtStreamSecretKey,"\n "),qe.Bb(1),qe.rc("hidden",i.valid||!a.appSettings.publishJwtControlEnabled||!a.appSettings.playJwtControlEnabled||!r.submitted)}}function su(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",222),qe.Tb(1,"label"),qe.Lc(2,"JWT Tokens*"),qe.Sb(),qe.Tb(3,"div",223),qe.Tb(4,"input",372),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.publishJwtControlEnabled=t}))("ngModelChange",(function(){return qe.Ac(n),qe.kc(3).onPublishJwtControlEnabledChange()})),qe.Sb(),qe.Tb(5,"label",373),qe.Lc(6," Publish with JWT Tokens "),qe.Tb(7,"a",374),qe.Ob(8,"i",356),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(9,"div",223),qe.Tb(10,"input",375),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.playJwtControlEnabled=t}))("ngModelChange",(function(){return qe.Ac(n),qe.kc(3).onPlayJwtControlEnabledChange()})),qe.Sb(),qe.Tb(11,"label",376),qe.Lc(12," Play with JWT Tokens "),qe.Tb(13,"a",377),qe.Ob(14,"i",356),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(15,ou,13,4,"div",230),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(4),qe.rc("ngModel",i.appSettings.publishJwtControlEnabled),qe.Bb(6),qe.rc("ngModel",i.appSettings.playJwtControlEnabled),qe.Bb(5),qe.rc("ngIf",i.appSettings.publishJwtControlEnabled||i.appSettings.playJwtControlEnabled&&i.isEnterpriseEdition)}}function cu(t,e){1&t&&(qe.Tb(0,"div",381),qe.Tb(1,"small"),qe.Lc(2,"*One Token Type at a Time for Publish or Play"),qe.Sb(),qe.Sb())}function uu(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",222),qe.Tb(1,"label"),qe.bc(2,Qs),qe.Tb(3,"a",382),qe.Ob(4,"i",153),qe.Sb(),qe.Zb(),qe.Sb(),qe.Tb(5,"div"),qe.Tb(6,"textarea",383),qe.gc("keydown.enter",(function(){return!1}))("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.remoteAllowedCIDR=t})),qe.Lc(7),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(3);qe.Bb(6),qe.rc("ngModel",i.appSettings.remoteAllowedCIDR),qe.Bb(1),qe.Nc("",i.appSettings.remoteAllowedCIDR,"\n ")}}function lu(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",222),qe.Tb(1,"label"),qe.bc(2,$s),qe.Tb(3,"a",378),qe.Ob(4,"i",153),qe.Sb(),qe.Zb(),qe.Sb(),qe.Tb(5,"div"),qe.Tb(6,"textarea",384,385),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(3).appSettings.jwtSecretKey=t})),qe.Lc(8),qe.Sb(),qe.Tb(9,"small",42),qe.Lc(10," JWT Secret Key should at least 32 character "),qe.Sb(),qe.Tb(11,"button",370),qe.gc("click",(function(){return qe.Ac(n),qe.kc(3).setJwtRestFilterString(32)})),qe.Lc(12," Generate "),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(7);qe.kc();var r=qe.yc(1),a=qe.kc(2);qe.Bb(6),qe.rc("disabled",!a.appSettings.jwtControlEnabled)("ngModel",a.appSettings.jwtSecretKey),qe.Bb(2),qe.Nc("",a.appSettings.jwtSecretKey,"\n "),qe.Bb(1),qe.rc("hidden",i.valid||!a.appSett
1ings.jwtControlEnabled||!r.submitted)}}function hu(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"form",200,36),qe.gc("ngSubmit",(function(){qe.Ac(n);var t=qe.yc(1);return qe.kc(2).changeSettings(t.valid)})),qe.Tb(2,"div",2),qe.Tb(3,"div",80),qe.Ob(4,"div",201),qe.Ob(5,"div",201),qe.Tb(6,"div",201),qe.Tb(7,"div",37),qe.Tb(8,"legend",139),qe.Lc(9," WebRTC Codec Support "),qe.Sb(),qe.Sb(),qe.Tb(10,"div",6),qe.Jc(11,Oc,17,3,"div",46),qe.Jc(12,Mc,5,0,"div",46),qe.Sb(),qe.Tb(13,"div",37),qe.Tb(14,"legend",139),qe.Lc(15," Adaptive Streaming "),qe.Sb(),qe.Sb(),qe.Tb(16,"div",6),qe.Jc(17,Rc,4,2,"div",202),qe.Jc(18,jc,5,1,"div",46),qe.Jc(19,Dc,5,0,"div",46),qe.Sb(),qe.Tb(20,"div",37),qe.Tb(21,"legend",139),qe.Lc(22," HLS Streaming "),qe.Sb(),qe.Sb(),qe.Jc(23,Nc,3,0,"div",203),qe.Jc(24,Bc,31,6,"div",203),qe.Tb(25,"div",37),qe.Tb(26,"legend",139),qe.Lc(27," DASH & CMAF Streaming "),qe.Sb(),qe.Sb(),qe.Jc(28,Fc,3,0,"div",204),qe.Jc(29,zc,5,0,"div",204),qe.Jc(30,Vc,43,8,"div",203),qe.Tb(31,"div"),qe.Tb(32,"div",37),qe.Tb(33,"legend",139),qe.Xb(34,ls),qe.Sb(),qe.Sb(),qe.Tb(35,"div",6),qe.Tb(36,"div",78),qe.Tb(37,"div",205),qe.Jc(38,Uc,5,0,"div",46),qe.Tb(39,"div",78),qe.Jc(40,Hc,8,2,"div",172),qe.Sb(),qe.Tb(41,"div",78),qe.Jc(42,qc,8,2,"div",172),qe.Sb(),qe.Tb(43,"div",78),qe.Tb(44,"label",206),qe.Lc(45,"VoD Streaming Folder"),qe.Sb(),qe.Tb(46,"div",207),qe.Tb(47,"input",208,209),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.vodFolder=t})),qe.Sb(),qe.Tb(49,"small",42),qe.Lc(50," Folder path should be at least 4 characters. "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(51,"div",78),qe.Tb(52,"label",206),qe.Lc(53,"Webhook URL"),qe.Sb(),qe.Tb(54,"div",207),qe.Tb(55,"input",210,211),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.listenerHookURL=t})),qe.Sb(),qe.Tb(57,"small",42),qe.Lc(58," URL should be at least 4 characters. "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(59,"div",201),qe.Tb(60,"div",37),qe.Tb(61,"legend",139),qe.Lc(62," WebRTC Data Channel "),qe.Sb(),qe.Sb(),qe.Tb(63,"div",212),qe.Jc(64,Kc,11,2,"div",25),qe.Jc(65,Xc,5,0,"div",46),qe.Sb(),qe.Tb(66,"div",37),qe.Tb(67,"legend",139),qe.Xb(68,hs),qe.Sb(),qe.Sb(),qe.Tb(69,"div",212),qe.Tb(70,"div",78),qe.Jc(71,Jc,3,0,"div",213),qe.Jc(72,Gc,6,1,"div",25),qe.Jc(73,Yc,3,0,"div",213),qe.Jc(74,Zc,6,1,"div",25),qe.Tb(75,"div",88),qe.Tb(76,"div",89),qe.Tb(77,"input",214),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.s3RecordingEnabled=t})),qe.Sb(),qe.Tb(78,"label",215),qe.Lc(79," Enable S3 Recording "),qe.Tb(80,"a",216),qe.Ob(81,"i",153),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(82,Qc,53,8,"div",202),qe.Sb(),qe.Tb(83,"div"),qe.Tb(84,"div",88),qe.Tb(85,"div",89),qe.Tb(86,"input",217),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.addDateTimeToMp4FileName=t})),qe.Sb(),qe.Tb(87,"label",218),qe.Xb(88,fs),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(89,"div",37),qe.Tb(90,"legend",139),qe.Xb(91,ds),qe.Sb(),qe.Sb(),qe.Tb(92,"div",212),qe.Tb(93,"div",78),qe.Jc(94,$c,5,0,"div",172),qe.Jc(95,tu,15,2,"div",219),qe.Jc(96,iu,17,4,"div",220),qe.Jc(97,ru,5,0,"div",172),qe.Jc(98,au,5,0,"div",172),qe.Jc(99,su,16,3,"div",220),qe.Jc(100,cu,3,0,"div",221),qe.Tb(101,"div",222),qe.Tb(102,"label"),qe.Lc(103," General "),qe.Sb(),qe.Tb(104,"div",223),qe.Tb(105,"input",224),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).acceptAllStreams=t})),qe.Sb(),qe.Tb(106,"label",225),qe.bc(107,ps),qe.Tb(108,"a",226),qe.Ob(109,"i",153),qe.Sb(),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(110,"div",37),qe.Tb(111,"legend",139),qe.Xb(112,ms),qe.Sb(),qe.Sb(),qe.Tb(113,"div",212),qe.Tb(114,"div",78),qe.Tb(115,"div",222),qe.Tb(116,"div",89),qe.Tb(117,"input",227),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.ipFilterEnabled=t})),qe.Sb(),qe.Tb(118,"label",228),qe.bc(119,vs),qe.Tb(120,"a",229),qe.Ob(121,"i",153),qe.Sb(),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(122,uu,8,2,"div",230),qe.Tb(123,"div",222),qe.Tb(124,"div",89),qe.Tb(125,"input",231),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSett
1ings.jwtControlEnabled=t})),qe.Sb(),qe.Tb(126,"label",232),qe.bc(127,bs),qe.Tb(128,"a",233),qe.Ob(129,"i",153),qe.Sb(),qe.Zb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(130,lu,13,4,"div",230),qe.Sb(),qe.Sb(),qe.Tb(131,"div",37),qe.Tb(132,"legend",139),qe.Xb(133,gs),qe.Sb(),qe.Sb(),qe.Tb(134,"div",212),qe.Tb(135,"div",78),qe.Tb(136,"div",88),qe.Tb(137,"label",234),qe.Lc(138," Firebase Cloud Messaging "),qe.Sb(),qe.Sb(),qe.Tb(139,"div",88),qe.Tb(140,"label",235),qe.Lc(141," Private Key JSON "),qe.Sb(),qe.Tb(142,"div"),qe.Tb(143,"textarea",236),qe.gc("keydown.enter",(function(){return!1}))("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.firebaseAccountKeyJSON=t})),qe.Lc(144),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(145,"div",78),qe.Tb(146,"div",88),qe.Tb(147,"label",237),qe.Lc(148," Apple Push Notification "),qe.Sb(),qe.Sb(),qe.Tb(149,"div",88),qe.Tb(150,"label"),qe.Lc(151," Team ID "),qe.Sb(),qe.Tb(152,"div"),qe.Tb(153,"input",238,239),qe.gc("keydown.enter",(function(){return!1}))("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.apnTeamId=t})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(155,"div",88),qe.Tb(156,"label"),qe.Lc(157," Key ID "),qe.Sb(),qe.Tb(158,"div"),qe.Tb(159,"input",240,241),qe.gc("keydown.enter",(function(){return!1}))("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.apnKeyId=t})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(161,"div",88),qe.Tb(162,"label"),qe.Lc(163," Private Key "),qe.Sb(),qe.Tb(164,"div"),qe.Tb(165,"textarea",242),qe.gc("keydown.enter",(function(){return!1}))("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.apnPrivateKey=t})),qe.Lc(166),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(167,"div",88),qe.Tb(168,"label"),qe.Lc(169," APN Server "),qe.Sb(),qe.Tb(170,"div"),qe.Tb(171,"input",243,244),qe.gc("keydown.enter",(function(){return!1}))("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).appSettings.apnsServer=t})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(173,"div",80),qe.Tb(174,"div",245),qe.Tb(175,"button",246),qe.Xb(176,ys),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.yc(1),r=qe.yc(48),a=qe.yc(56),o=qe.kc(2);qe.Bb(11),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",!o.isEnterpriseEdition),qe.Bb(5),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",!o.isEnterpriseEdition),qe.Bb(4),qe.rc("ngIf",!o.appSettings.h264Enabled),qe.Bb(1),qe.rc("ngIf",o.appSettings.h264Enabled),qe.Bb(4),qe.rc("ngIf",!o.appSettings.h264Enabled),qe.Bb(1),qe.rc("ngIf",!o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",o.appSettings.h264Enabled&&o.isEnterpriseEdition),qe.Bb(8),qe.rc("ngIf",!o.isEnterpriseEdition),qe.Bb(2),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(2),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(5),qe.rc("ngModel",o.appSettings.vodFolder),qe.Bb(2),qe.rc("hidden",r.valid||!i.submitted),qe.Bb(6),qe.rc("ngModel",o.appSettings.listenerHookURL),qe.Bb(2),qe.rc("hidden",a.valid||!i.submitted),qe.Bb(7),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",!o.isEnterpriseEdition),qe.Bb(6),qe.rc("ngIf",!o.appSettings.h264Enabled),qe.Bb(1),qe.rc("ngIf",o.appSettings.h264Enabled),qe.Bb(1),qe.rc("ngIf",!o.appSettings.vp8Enabled),qe.Bb(1),qe.rc("ngIf",o.appSettings.vp8Enabled),qe.Bb(3),qe.rc("ngModel",o.appSettings.s3RecordingEnabled),qe.Bb(5),qe.rc("ngIf",o.appSettings.s3RecordingEnabled),qe.Bb(4),qe.rc("ngModel",o.appSettings.addDateTimeToMp4FileName),qe.Bb(8),qe.rc("ngIf",!o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",!o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",!o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(1),qe.rc("ngIf",o.isEnterpriseEdition),qe.Bb(5),qe.rc("ngModel",o.acceptAllStreams),qe.Bb(12),qe.rc("ngModel",o.appSettings.ipFilterEnabled),qe.Bb(5),qe.rc("ngIf",o.appSettings.ipFilterEnabled),qe.Bb(3),qe.rc("ngModel",o.appSettings.jwtControlEnabled),qe.Bb(5),qe.rc("ngIf",o.appSettings.jwtControlEnabled),qe.Bb(13),qe.rc("ngModel",o.appSettings.firebaseAccountKeyJSON),qe.Bb(1),qe.Nc("",o.appSett
1ings.firebaseAccountKeyJSON,"\n "),qe.Bb(9),qe.rc("ngModel",o.appSettings.apnTeamId),qe.Bb(6),qe.rc("ngModel",o.appSettings.apnKeyId),qe.Bb(6),qe.rc("ngModel",o.appSettings.apnPrivateKey),qe.Bb(1),qe.Nc("",o.appSettings.apnPrivateKey,"\n "),qe.Bb(5),qe.rc("ngModel",o.appSettings.apnsServer)}}function fu(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",2),qe.Tb(1,"div",80),qe.Tb(2,"div",37),qe.Tb(3,"legend",139),qe.bc(4,tc),qe.Ob(5,"a",386),qe.Zb(),qe.Sb(),qe.Sb(),qe.Tb(6,"div",212),qe.Tb(7,"fieldset"),qe.Tb(8,"div",78),qe.Tb(9,"textarea",387,388),qe.gc("ngModelChange",(function(t){return qe.Ac(n),qe.kc(2).settingsJson=t})),qe.Lc(11),qe.lc(12,"json"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(13,"div",80),qe.Tb(14,"div",245),qe.Tb(15,"button",389),qe.gc("click",(function(){return qe.Ac(n),qe.kc(2).updateSettingsByJson()})),qe.Lc(16,"Save "),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()}if(2&t){var i=qe.kc(2);qe.Bb(9),qe.rc("ngModel",i.settingsJson),qe.Bb(2),qe.Mc(qe.mc(12,2,i.settingsJson))}}function du(t,e){if(1&t){var n=qe.Ub();qe.Tb(0,"div",194),qe.Tb(1,"div",195),qe.Tb(2,"select",196),qe.gc("change",(function(t){return qe.Ac(n),qe.kc().settingModeChanged(t.target.value)})),qe.bc(3,us),qe.Ob(4,"option",197),qe.Ob(5,"option",198),qe.Zb(),qe.Sb(),qe.Sb(),qe.Jc(6,hu,177,45,"form",199),qe.Jc(7,fu,17,4,"div",83),qe.Sb()}if(2&t){var i=qe.kc();qe.Bb(6),qe.rc("ngIf",!i.isJsonUpdate),qe.Bb(1),qe.rc("ngIf",i.isJsonUpdate)}}ss=$localize(st()),cs=$localize(ot()),us=$localize(at(),"\ufffd#4\ufffd","[\ufffd/#4\ufffd|\ufffd/#5\ufffd]","\ufffd#5\ufffd","[\ufffd/#4\ufffd|\ufffd/#5\ufffd]"),us=qe.ac(us),ls=$localize(rt()),hs=$localize(it()),fs=$localize(nt()),ds=$localize(et()),ps=$localize(tt(),"\ufffd#108\ufffd","\ufffd#109\ufffd","\ufffd/#109\ufffd","\ufffd/#108\ufffd"),ms=$localize(Q()),vs=$localize(Z(),"\ufffd#120\ufffd","\ufffd#121\ufffd","\ufffd/#121\ufffd","\ufffd/#120\ufffd"),bs=$localize(Y(),"\ufffd#128\ufffd","\ufffd#129\ufffd","\ufffd/#129\ufffd","\ufffd/#128\ufffd"),gs=$localize(G()),ys=$localize(J()),_s=$localize(X(),"\ufffd#4\ufffd","\ufffd/#4\ufffd"),ws=$localize(K()),ks=$localize(W()),Ss=$localize(q()),xs=$localize(H()),Cs=$localize(U(),"\ufffd#4\ufffd","\ufffd/#4\ufffd"),Ts=$localize(V()),Es=$localize(z()),Os=$localize(F()),Ms=$localize(B()),As=$localize(N(),"\ufffd#4\ufffd","\ufffd/#4\ufffd"),Is=$localize(D()),Rs=$localize(j()),Ls=$localize(P()),Ps=$localize(L()),js=$localize(R()),Ds=$localize(I()),Ns=$localize(A(),"\ufffd#4\ufffd","\ufffd/#4\ufffd"),Bs=$localize(M(),"\ufffd#4\ufffd","\ufffd/#4\ufffd"),Fs=$localize(O()),zs=$localize(E()),Vs=$localize(T()),Us=$localize(C()),Hs=$localize(x()),qs=$localize(S()),Ws=$localize(k()),Ks=$localize(w(),"\ufffd#4\ufffd","\ufffd/#4\ufffd"),Xs=$localize(_()),Js=$localize(y()),Gs=$localize(g(),"\ufffd#4\ufffd","\ufffd/#4\ufffd"),Ys=$localize(b(),"\ufffd#4\ufffd","\ufffd/#4\ufffd"),Zs=$localize(v(),"\ufffd#3\ufffd","\ufffd#4\ufffd","\ufffd/#4\ufffd","\ufffd/#3\ufffd"),Qs=$localize(m(),"\ufffd#3\ufffd","\ufffd#4\ufffd","\ufffd/#4\ufffd","\ufffd/#3\ufffd"),$s=$localize(p(),"\ufffd#3\ufffd","\ufffd#4\ufffd","\ufffd/#4\ufffd","\ufffd/#3\ufffd"),tc=$localize(d(),"\ufffd#5\ufffd","\ufffd/#5\ufffd");var pu,mu=9516239022,vu=function t(e,n){Qe(this,t),this.name=e,this.value=n},bu=function t(e,n,i,r,a,o){Qe(this,t),this.name=e,this.ipAddr=n,this.username=i,this.password=r,this.streamUrl=a,this.type=o},gu=function t(){Qe(this,t)},yu=((pu=function(){function t(e,n,i,r,a,o,s,u,f,d,p,m){Qe(this,t),this.route=e,this.restService=n,this.clusterRestService=i,this.clipBoardService=r,this.renderer=a,this.router=o,this.zone=s,this.dialog=u,this.sanitizer=f,this.cdr=d,this.matpage=p,this.authService=m,this.newLiveStreamCreating=!1,this.newIPCameraAdding=!1,this.newStreamSourceAdding=!1,this.newStreamSourceWarn=!1,this.newPlaylistAdding=!1,this.newPlaylistWarn=!1,this.discoveryStarted=!1,this.newSourceAdding=!1,this.isEnterpriseEdition=!0,this.isClusterMode=!1,this.filterValue=null,this.filterValueVod=null,this.gettingDeviceParameters=!1,this.waitingForConfirmation=!1,this.noCamWarning=!1,this.searchWarning=!1,this.showVodButtons=!1,this.userFBPagesLoading=!1,this.liveStreamUpdating=!1,this.streamUrlValid=!0,this.jwtTokenValid=!0,this.streamNameEmpty=!1,this.playlistNameEmpty=!1,this.listTypes=[new vu("None",""),new vu("Event","event")],this.displayedColumnsStream
1s=["select","name","status","viewerCount","extradata","actions"],this.displayedColumnsVod=["select","name","type","date","actions"],this.displayedColumnsUserVod=["name","date","actions"],this.selectionVods=new l.c(!0,[]),this.selectionStreams=new l.c(!0,[]),this.selectionPlaylistVoDs=new l.c(!0,[]),this.streamsPageSize=10,this.vodPageSize=10,this.pageSize=10,this.pageSizeOptions=[10,25,50],this.streamListOffset=0,this.vodListOffset=0,this.importingLiveStreams=!1,this.importingVoDStreams=!1,this.vodSortBy="",this.vodOrderBy="",this.broadcastSortBy="",this.broadcastOrderBy="",this.isJsonUpdate=!1,this.nodeColumns=["nodeIp","cpu","memory","lastUpdateTime","inTheCluster","actions"],this.timeFormatValidity={},this.directUrlAdding=!1,this.vodAdding=!1,this.playListItemAdding=new h.c,this.playlistItemAddingActive=!1,this.scheduleToStart=!1,this.dataSource=new c.k,this.dataSourceVod=new c.k,this.dataSourceNode=new c.k,this.dataSourcePlaylistVod=new c.k,this.videoServiceEndpoints=[],this.filterValuePlaylistVoD=""}return tn(t,[{key:"setPageSizeOptions",value:function(t){this.pageSizeOptions=t.split(",").map((function(t){return+t}))}},{key:"ngOnInit",value:function(){this.timerId=null,this.dropdownTimer=null,this.broadcastTableData={dataRows:[]},this.gridTableData={list:[]},this.vodTableData={dataRows:[]},this.broadcastTempTable={dataRows:[]},this.broadcastGridTableData={dataRows:[]},this.clusterNodeTableData={dataRows:[]},this.vodTableDataForPlaylist={dataRows:[]},this.liveBroadcast=new r.c,this.selectedBroadcast=new r.c,this.liveBroadcast.name="",this.liveBroadcast.type="",this.searchParam=new gu,this.appSettings=null,this.token=null,this.newLiveStreamActive=!1,this.camera=new bu("","","","","",""),this.getInitParams()}},{key:"contextDropdownClicked",value:function(){var t=this;this.clearTimer(),this.dropdownTimer=window.setInterval((function(){t.authService.isAuthenticated&&void 0!==t.appName&&t.callTimer()}),8e3)}},{key:"getAllStreamData",value:function(){this.authService.isAuthenticated&&void 0!==this.appName&&(this.getAppLiveStreams(this.streamListOffset,this.pageSize),this.getVoDStreams(),this.getAppLiveStreamsNumber())}},{key:"callTimer",value:function(){var t=this;this.clearTimer(),this.timerId=window.setInterval((function(){t.getAllStreamData()}),5e3)}},{key:"onPaginateChange",value:function(t){var e=this;console.log("page index:"+t.pageIndex),console.log("length:"+t.length),console.log("page size:"+t.pageSize),this.vodListOffset=t.pageIndex*t.pageSize,this.pageSize=t.pageSize,this.keyword=null,this.restService.getVodList(this.appName,this.vodListOffset,this.pageSize,this.vodSortBy,this.vodOrderBy,this.filterValueVod).subscribe((function(t){for(var n in e.vodTableData.dataRows=[],t)e.vodTableData.dataRows.push(t[n]);e.dataSourceVod=new c.k(e.vodTableData.dataRows)}),(function(t){Object(r.g)(t)}))}},{key:"onListPaginateChange",value:function(t){console.log("list page index:"+t.pageIndex+" length:"+t.length+" page size:"+t.pageSize),this.pageSize=t.pageSize,this.streamListOffset=t.pageIndex,this.getAppLiveStreams(this.streamListOffset,this.pageSize)}},{key:"onGridPaginateChange",value:function(t){console.log("grid page index:"+t.pageIndex+" length:"+t.length+" page size:"+t.pageSize),this.pageSize=t.pageSize,this.openGridPlayers(t.pageIndex,this.pageSize)}},{key:"ngAfterViewInit",value:function(){this.cdr.detectChanges()}},{key:"getInitParams",value:function(){var t=this;this.sub=this.route.params.subscribe((function(e){t.appName=e.appname;var n=localStorage.getItem(a.a);if(null!=n&&""!=n){var i=JSON.parse(n);void 0!==t.appName?(t.broadcastOrderBy="",t.broadcastSortBy="",t.vodOrderBy="",t.vodSortBy="",t.getSettings(),t.restService.isEnterpriseEdition().subscribe((function(e){t.isEnterpriseEdition=e.success}),(function(t){Object(r.g)(t)})),"system"in i&&t.restService.isInClusterMode().subscribe((function(e){t.isClusterMode=e.success,t.isClusterMode&&t.clusterRestService.getClusterNodeCount().subscribe((function(e){t.clusterRestService.getClusterNodes(0,e.number).subscribe((function(e){for(var n in t.clusterNodeTableData.dataRows=[],e)"alive"==e[n].status&&(t.currentClusterNode=e[0].ip,t.clusterNodeTableData.dataRows.push(e[n]))}),(function(t){Object(r.g)(t)}))}),(function(t){Object(r.g)(t)}))}),(function(t){Object(r.g)(t)}))):"system"in i?t.restService.getApplications().subscribe((function(e){for(var n in e.applications){t.router.navigateByUrl("/applications/"+e.applications[n]);break}}),(function(t){Object(r.g)(t)})):t.router.navigateByUrl("/applications/"+Object.keys(i)[0])}else t.router.navigateByUrl("/")}))}},{key:"changeApplication",value:function(){this.clearTimer(),this.getAppLiveStreamsNumber(),this.getVoDStreams(),this.getAppLiveStreams(0,this.pageSize)}},{key:"applyFilter",value:function(t){this.filterValue!=t&&(this.filterValue=t.toLowerCase(),this.getAppLiveStreamsNumber(),this.paginator.firstPage(),this.getAppLiveStreams(0,this.pageSize))}},{key:"applyFilterVod",value:function(t){this.filterValueVod=t.toLowerCase(),this.vodListOffset=0,this.getVoDStreams(),this.paginator.firstPage()}},{key:"openSettingsDialog",value:function(t){var e=this;this.selectedBroadcast=t,this.dialog.open(ni,{width:"450px",data:{name:this.selectedBroadcast.name,url:this.selectedBroadcast.ipAddr,username:this.selectedBroadcast.username,pass:this.selectedBroadcast.password,streamId:this.selectedBroadcast.streamId,status:this.selectedBroadcast.status,type:this.selectedBroadcast.type,streamUrl:this.selectedBroadcast.streamUrl,appName:this.appName,webRTCViewerLimit:this.selectedBroadcast.
1webRTCViewerLimit,hlsViewerLimit:this.selectedBroadcast.hlsViewerLimit,dashViewerLimit:this.selectedBroadcast.dashViewerLimit,endpointList:t.endPointList,videoServiceEndpoints:this.videoServiceEndpoints,autoStartStopEnabled:this.selectedBroadcast.autoStartStopEnabled}}).afterClosed().subscribe((function(t){console.log("The dialog was closed"),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber()}))}},{key:"showLiveComments",value:function(t){this.dialog.open(_i,{width:"90%",data:{appName:this.appName,streamName:t.name,streamId:t.streamId,endpointList:t.endPointList},disableClose:!0})}},{key:"openStreamSourceSettingsDialog",value:function(t){var e=this;this.selectedBroadcast=t,this.dialog.open(ni,{width:"450px",data:{name:this.selectedBroadcast.name,url:this.selectedBroadcast.ipAddr,streamId:this.selectedBroadcast.streamId,status:this.selectedBroadcast.status,type:this.selectedBroadcast.type,appName:this.appName,webRTCViewerLimit:this.selectedBroadcast.webRTCViewerLimit,hlsViewerLimit:this.selectedBroadcast.hlsViewerLimit,dashViewerLimit:this.selectedBroadcast.dashViewerLimit,streamUrl:this.selectedBroadcast.streamUrl,endpointList:t.endPointList,videoServiceEndpoints:this.videoServiceEndpoints,autoStartStopEnabled:this.selectedBroadcast.autoStart
1StopEnabled}}).afterClosed().subscribe((function(t){console.log("The dialog was closed"),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber()}))}},{key:"hasSocialEndpoint",value:function(t){var e=!1;if(t.endPointList){var n,i=Ge(t.endPointList);try{for(i.s();!(n=i.n()).done;)if(n.value.endpointServiceId){e=!0;break}}catch(r){i.e(r)}finally{i.f()}}return e}},{key:"openVodUploadDialog",value:function(){var t=this;this.dialog.open(yn,{data:{appName:this.appName},width:"640px"}).afterClosed().subscribe((function(e){console.log("The dialog was closed"),t.getVoDStreams()}))}},{key:"openBroadcastEditDialog",value:function(t){var e=this;this.liveStreamEditing=new r.c,this.liveStreamEditing.streamId=t.streamId,this.liveStreamEditing.name=t.name,this.liveStreamEditing.webRTCViewerLimit=t.webRTCViewerLimit,this.liveStreamEditing.hlsViewerLimit=t.hlsViewerLimit,this.liveStreamEditing.dashViewerLimit=t.dashViewerLimit,this.liveStreamEditing.description="",this.liveStreamEditing&&this.dialog.open(ni,{data:{name:this.liveStreamEditing.name,streamId:this.liveStreamEditing.streamId,type:this.liveStreamEditing.type,appName:this.appName,webRTCViewerLimit:this.liveStreamEditing.webRTCViewerLimit,hlsViewerLimit:this.liveStreamEditing.hlsViewerLimit,dashViewerLimit:this.liveStreamEditing.dashViewerLimit,endpointList:t.endPointList,videoServiceEndpoints:this.videoServiceEndpoints,autoStartStopEnabled:this.selectedBroadcast.autoStart
1StopEnabled}}).afterClosed().subscribe((function(t){console.log("The dialog was closed"),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber()}))}},{key:"openPlaylistEditDialog",value:function(t){var e=this;this.dialog.open(or,{width:"720px",data:{streamId:t.streamId,appName:this.appName,appSettings:this.appSettings}}).afterClosed().subscribe((function(t){console.log("The dialog was closed"),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber()}))}},{key:"getAppLiveStreams",value:function(t,e){var n=this;this.restService.getAppLiveStreams(this.appName,t*=e,e,this.broadcastSortBy,this.broadcastOrderBy,this.filterValue).subscribe((function(t){for(var e in console.log(t),n.broadcastTableData.dataRows=[],t){var i=[];for(var a in t[e].endPointList)i.push(t[e].endPointList[a]);n.broadcastTableData.dataRows.push(t[e]),n.broadcastTableData.dataRows[e].iframeSource=r.b+n.appName+"/play.html?id="+n.broadcastTableData.dataRows[e].streamId+"&autoplay=true"}n.dataSource=new c.k(n.broadcastTableData.dataRows),n.cdr.detectChanges()}),(function(t){Object(r.g)(t)}))}},{key:"cleanURL",value:function(t){return console.log("clean url"),this.sanitizer.bypassSecurityTrustResourceUrl(t)}},{key:"getAppLiveStreamsNumber",value:function(){var t=this;this.restService.getTotalBroadcastNumber(this.appName,this.filterValue).subscribe((function(e){t.listLength=e.number}),(function(t){Object(r.g)(t)})),this.cdr.detectChanges()}},{key:"sortVodList",value:function(t){this.vodOrderBy=this.sortOrderBy(t.direction,this.vodOrderBy),this.vodSortBy=t.active,this.getVoDStreams(),console.log("vodSortBy->"+this.vodSortBy),console.log("vodOrderBy->"+this.vodOrderBy)}},{key:"getBroadcastByStreamId",value:function(t){for(var e=0;e<this.dataSource.data.length;e++){var n=this.dataSource.data[e];if(n.streamId==t)return n}return null}},{key:"sortBroadcastList",value:function(t){this.broadcastOrderBy=this.sortOrderBy(t.direction,this.broadcastOrderBy),this.broadcastSortBy=t.active,this.getAppLiveStreams(this.streamListOffset,this.pageSize),console.log("broadcastSortBy->"+this.broadcastSortBy),console.log("broadcastOrderBy->"+this.broadcastOrderBy)}},{key:"sortOrderBy",value:function(t,e){return""!=t&&e!=t||"asc"!=e?""!=t&&e!=t||"desc"!=e?t:"asc":"desc"}},{key:"getVoDStreams",value:function(){var t=this;this.searchWarning=!1,this.keyword=null,this.restService.getTotalVodNumber(this.appName,this.filterValueVod).subscribe((function(e){t.vodLength=e.number}),(function(t){Object(r.g)(t)})),this.restService.getVodList(this.appName,this.vodListOffset,this.pageSize,this.vodSortBy,this.vodOrderBy,this.filterValueVod).subscribe((function(e){for(var n in t.vodTableData.dataRows=[],e)t.vodTableData.dataRows.push(e[n]);t.dataSourceVod=new c.k(t.vodTableData.dataRows)}),(function(t){Object(r.g)(t)}))}},{key:"clearTimer",value:function(){clearInterval(this.timerId),clearInterval(this.dropdownTimer),this.timerId=null,this.dropdownTimer=null}},{key:"ngOnDestroy",value:function(){this.sub.unsubscribe(),this.clearTimer()}},{key:"getVoD",value:function(){this.getVoDStreams()}},{key:"isMobileMenu",value:function(){return $(window).width()>991}},{key:"showDetectedObject",value:function(t){this.dialog.open(cn,{width:"500px",data:{streamId:t,appName:this.appName}})}},{key:"getIFrameSrc",value:function(t,e,n,i,a){var o=this.getBroadcastByStreamId(t);return"".concat(r.b).concat(this.appName,"/play.html?name=").concat(t,"&autoplay=").concat(e).concat(null!=n?"&token="+n:"").concat(null!=a?"&playOrder="+a:null!=o&&"playlist"===o.type?"&playOrder=hls":"")}},{key:"getIFrameEmbedCode",value:function(t){return'<iframe id="'+t+'" frameborder="0" allowfullscreen="true" class = "frame" seamless="seamless" style="display:block; width:100%; height:480px" ></iframe>'}},{key:"playLive",value:function(t,e,n){var i=null!=n&&n.length>0;this.appSettings.playTokenControlEnabled?this.openPlayerWithOneTimeToken(t,t,"640px",t,e,i):this.appSettings.playJwtControlEnabled?this.openPlayerWithJWTToken(t,t,"640px",t,e,i):this.appSettings.enableTimeTokenForPlay?swal({title:"TOTP Playback ",text:"TOTP Playback is not currently supported through web panel",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){})):this.openPlayer(this.getIFrameEmbedCode(t),t,t,"640px",null,null,null,e,i)}},{key:"openPlayer",value:function(t,e,n,i,a,o,s,c,u){var l,h=this;if(!u){t='<div id="video_container" style="height:360px;overflow:hidden"></div><div id="place_holder" style="height:360px;overflow:hidden;display:flex;align-items: center;justify-content: center;">The streaming will begin shortly...</div>';var f=this.getBroadcastByStreamId(n),d=["webrtc","hls","dash"];this.isEnterpriseEdition||(d=["hls"]),null!=f&&"playlist"===f.type?d=["hls"]:s&&(d=s)}swal({html:t,showConfirmButton:!1,width:i,padding:"0px",animation:!1,showCloseButton:!0,onOpen:function(){var t=n;
1if(h.appSettings&&h.appSettings.subFolder&&""!==h.appSettings.subFolder.trim()&&!n.includes(".")&&(t=h.appSettings.subFolder+"/"+n),u)$("#"+e).prop("src",r.b+"multitrack-play.html?id="+t+"&app="+h.appName+"&token="+a);else{var i=r.b+h.appName;i.startsWith("//")&&(i=location.protocol+i),(l=new dr({streamId:t,httpBaseURL:i,token:a,playOrder:d,restAPIPromise:function(t,e){return"GET"===e.method?new Promise((function(e,n){t=t.replace("?","&"),h.restService.callGet(h.appName,t).subscribe((function(t){e(t)}),(function(t){n(t)}))})):"POST"===e.method?(t=t.replace("?","&"),new Promise((function(n,i){return h.restService.callPost(h.appName,t,e.body).subscribe((function(t){n(t)}),(function(t){i(t)}))}))):void 0},isIPCamera:"ipCamera"==c,videoHTMLContent:'<video id="video-player" class="video-js vjs-default-skin vjs-big-play-centered" controls playsinline style="width:100%;height:100%"></video>'},document.getElementById("video_container"),document.getElementById("place_holder"))).initialize().then((function(){l.play()})).catch((function(t){console.error("Error while initializing embedded player: "+t)}))}},onClose:function(){if(u){var t=document.getElementById(e);t.parentNode.removeChild(t)}l&&l.destroy()}}).then((function(){}),(function(){})).catch((function(){}))}},{key:"openGridPlayers",value:function(t,e){var n,i=this;this.restService.getAppLiveStreams(this.appName,t*=e,e,this.broadcastSortBy,this.broadcastOrderBy,null).subscribe((function(t){for(var e in i.broadcastGridTableData.dataRows=[],t){var n=[];for(var r in t[e].endPointList)n.push(t[e].endPointList[r]);i.broadcastGridTableData.dataRows.push(t[e])}}),(function(t){Object(r.g)(t)})),setTimeout((function(){for(var t in i.broadcastGridTableData.dataRows)n=i.broadcastGridTableData.dataRows[t].streamId,$("#"+n).prop("src",i.getIFrameSrc(n,"true",null,null,null))}),1500)}},{key:"downloadFile",value:function(t,e,n,i,a){var o=r.b+this.appName+"/"+a,s=t,c=document.createElement("a");c.download=s,document.body.appendChild(c),c.href=o,c.target="_blank",c.click()}},{key:"getVoDUrl",value:function(t){return r.b+this.appName+"/"+t}},{key:"copyVoDUrl",value:function(t){this.clipBoardService.copyFromContent(r.b+this.appName+"/"+t),$.notify({message:"File URL copied to clipboard"},{type:"success",delay:400,timer:500,placement:{from:"top",align:"right"}})}},{key:"playVoD",value:function(t,e,n,i,r){this.appSettings.playTokenControlEnabled||this.appSettings.playJwtControlEnabled?this.playVoDToken(t,e,n,i,r):(-1==r.lastIndexOf(".")&&(r+="/"+t),this.openPlayer(this.getIFrameEmbedCode(n),n,r,"640px",null,t,["vod"],null,null))}},{key:"playVoDToken",value:function(t,e,n,i,r){var a;if("uploadedVod"==e)a=n;else if("streamVod"==e)a=i;else if("userVod"==e){var o=t.lastIndexOf(".mp4");a=t.substring(0,o)}this.appSettings.enableTimeTokenForPlay?swal({title:"TOTP Playback ",text:"TOTP Playback is not currently supported through web panel",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){})):null!=a&&this.appSettings.playTokenControlEnabled?this.openPlayerWithOneTimeToken(n,r,"640px",a,null,null):null!=a&&this.appSettings.playJwtControlEnabled?this.openPlayerWithJWTToken(n,r,"640px",a,null,null):swal({title:"Undefined VoD Type",text:"It cannot get token for Undefined VoD type",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){}))}},{key:"openPlayerWithOneTimeToken",value:function(t,e,n,i,a,o){var s=this,c=Math.floor(Date.now()/1e3);this.restService.getOneTimeToken(this.appName,i,c+100).subscribe((function(n){s.token=n,s.openPlayer(s.getIFrameEmbedCode(t),t,e,"640px",s.token.tokenId,null,null,a,o)}),(function(t){Object(r.g)(t)}))}},{key:"openPlayerWithJWTToken",value:function(t,e,n,i,a,o){var s=this,c=Math.floor(Date.now()/1e3);this.restService.getJWTToken(this.appName,i,c+100).subscribe((function(n){s.token=n,s.openPlayer(s.getIFrameEmbedCode(t),t,e,"640px",s.token.tokenId,null,null,a,o)}),(function(t){Object(r.g)(t)}))}},{key:"deleteVoD",value:function(t,e,n){var i=this;swal({title:o.a.getLocaleInterface().are_you_sure,text:o.a.getLocaleInterface().wont_be_able_to_revert,type:"warning",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Yes, delete it!"}).then((function(){i.restService.deleteVoDFile(i.appName,t,e,n).subscribe((function(t){1==t.success?$.notify({icon:"ti-save",message:o.a.getLocaleInterface().vod_deleted},{type:"success",delay:900,placement:{from:"top",align:"right"}}):i.showVoDFileNotDeleted(),i.getVoDStreams()}),(function(t){Object(r.g)(t)}))})).catch((function(){}))}},{key:"showVoDFileNotDeleted",value:function(){$.notify({icon:"ti-save",message:o.a.getLocaleInterface().vodFileNotDeleted},{type:"warning",delay:900,placement:{from:"top",align:"right"}})}},{key:"editLiveBroadcast",value:function(t){null==this.liveStreamEditing||t.streamId!=this.liveStreamEditing.streamId?(this.liveStreamEditing=new r.c,this.liveStreamEditing.streamId=t.streamId,this.liveStreamEditing.name=t.name,this.liveStreamEditing.description=""):this.liveStreamEditing=null}},{key:"updateLiveStream",value:function(t){var e=this;t&&(this.liveStreamUpdating=!0,this.restService.updateLiveStream(this.appName,this.liveStreamEditing,[]).subscribe((function(t){e.liveStreamUpdating=!1,console.log(t.success),t.success?(e.liveStreamEditing=null,e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber(),$.notify({icon:"ti-save",message:o.a.getLocaleInterface().broadcast_updated},{type:"success",delay:900,placement:{from:"top",align:"right"}})):$.notify({icon:"ti-alert",message:o.a.getLocaleInterface().broadcast_not_updated+" "+t.message+" "+t.errorId},{type:"warning",delay:900,placement:{from:"top",align:"right"}})}),(function(t){Object(r.g)(t)})))}},{key:"deleteLiveBroadcast",value:function(t,e){var n=this;localStorage.getItem("hostAddress"),swal({title:o.a.getLocaleInterface().are_you_sure,text:o.a.getLocaleInterface().wont_be_able_to_revert,type:"warning",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Yes, delete it!"}).then((function(e){n.restService.deleteBroadcast(n.appName,t,void 0).subscribe((function(t){1==t.success?$.notify({icon:"ti-save",message:"Successfully deleted"},{type:"success",delay:900,placement:{from:"top",align:"right"}}):$.notify({icon:"ti-save",message:o.a.getLocaleInterface().broadcast_not_deleted},{type:"warning",delay:900,placement:{from:"top",align:"right"}}),n.getAppLiveStreams(n.streamListOffset,n.pageSize),n.getAppLiveStreamsNumber()}),(function(t){Object(r.g)(t)}))}))}},{key:"addNewStream",value:function(){this.encoderSettings||(this.encoderSettings=[]),this.encoderSettings.push({height:0,videoBitrate:0,audioBitrate:0})}},{key:"dropDownChanged",value:function(t,e){2880==t&&(this.encoderSettings[e].videoBitrate=8e3,this.encoderSettings[e].audioBitrate=320),2160==t&&(this.encoderSettings[e].videoBitrate=6e3,this.encoderSettings[e].audioBitrate=256),1080==t&&(this.encoderSettings[e].videoBitrate=2500,this.encoderSettings[e].audioBitrate=256),720==t&&(this.encoderSettings[e].videoBitrate=2e3,this.encoderSettings[e].audioBitrate=128),640==t&&(this.encoderSettings[e].videoBitrate=1800,this.encoderSettings[e].audioBitrate=96),540==t&&(this.encoderSettings[e].videoBitrate=1500,this.encoderSettings[e].audioBitrate=96),480==t&&(this.encoderSettings[e].videoBitrate=1e3,this.encoderSettings[e].audioBitrate=96),360==t&&(this.encoderSettings[e].videoBitrate=800,this.encoderSettings[e].audioBitrate=64),240==t&&(this.encoderSettings[e].videoBitrate=500,this.encoderSettings[e].audioBitrate=32)}},{key:"deleteStream",value:function(t){this.encoderSettings.splice(t,1)}},{key:"getSettings",value:function(){var t=this;this.restService.getSettings(this.appName).subscribe((function(e){if(t.appSettings=e,t.settingsJson=JSON.stringify(e,null,2),t.appSettings.jwtControlEnabled){var i=n("FLf1").sign({sub:"token"},t.appSettings.jwtSecretKey);localStorage.setItem(t.appName+"jwtToken",i),localStorage.setItem(t.appName+"jwtControlEnabled",t.appSettings.jwtControlEnabled+"")}else localStorage.setItem(t.appName+"jwtToken",null),localStorage.setItem(t.appName+"jwtControlEnabled","false");
1t.encoderSettings=[],t.appSettings.encoderSettings.forEach((function(e,n){null!=e&&t.encoderSettings.push({height:t.appSettings.encoderSettings[n].height,videoBitrate:t.appSettings.encoderSettings[n].videoBitrate/1e3,audioBitrate:t.appSettings.encoderSettings[n].audioBitrate/1e3})})),t.acceptAllStreams=!t.appSettings.acceptOnlyStreamsInDataStore,t.getAllStreamData(),t.callTimer()}),(function(e){t.callTimer(),Object(r.g)(e)}))}},{key:"updateSettingsByJson",value:function(){var t=this;try{this.settingsObject=JSON.parse(this.settingsJson)}catch(e){console.error("Invalid JSON:",e)}this.restService.changeSettingsByJson(this.appName,this.settingsObject).subscribe((function(e){1==e.success?(t.getSettings(),$.notify({icon:"ti-save",message:o.a.getLocaleInterface().settings_saved},{type:"success",delay:3e3,placement:{from:"top",align:"right"}})):($.notify({icon:"ti-alert",message:o.a.getLocaleInterface().settings_not_saved},{type:"warning",delay:1900,placement:{from:"top",align:"right"}}),t.getSettings())}),(function(e){Object(r.g)(e)||$.notify({icon:"ti-alert",message:o.a.getLocaleInterface().settings_not_saved},{type:"warning",delay:1900,placement:{from:"top",align:"right"}}),t.getSettings()}))}},{key:"changeSettings",value:function(t){var e=this;if(t){if(this.appSettings.jwtControlEnabled){var i=n("FLf1").sign({sub:"token"},this.appSettings.jwtSecretKey);localStorage.setItem(this.appName+"jwtToken",i),localStorage.setItem(this.appName+"jwtControlEnabled",this.appSettings.jwtControlEnabled+"")}else localStorage.setItem(this.appName+"jwtToken",null),localStorage.setItem(this.appName+"jwtControlEnabled","false");this.appSettings.s3RecordingEnabled||(this.appSettings.s3AccessKey="",this.appSettings.s3SecretKey="",this.appSettings.s3BucketName="",this.appSettings.s3Endpoint="",this.appSettings.s3RegionName=""),this.appSettings.encoderSettings=[],this.encoderSettings.forEach((function(t,n){null!=t&&e.appSettings.encoderSettings.push({height:e.encoderSettings[n].height,videoBitrate:1e3*e.encoderSettings[n].videoBitrate,audioBitrate:1e3*e.encoderSettings[n].audioBitrate})})),this.appSettings.remoteAllowedCIDR=this.appSettings.remoteAllowedCIDR.trim(),""==this.appSettings.remoteAllowedCIDR&&(this.appSettings.remoteAllowedCIDR="127.0.0.1"),this.appSettings.acceptOnlyStreamsInDataStore=!this.acceptAllStreams,this.appSettings.vodFolder.endsWith("/")&&(this.appSettings.vodFolder=this.appSettings.vodFolder.substring(0,this.appSettings.vodFolder.length-1)),this.restService.changeSettings(this.appName,this.appSettings).subscribe((function(t){1==t.success?($.notify({icon:"ti-save",message:o.a.getLocaleInterface().settings_saved},{type:"success",delay:3e3,placement:{from:"top",align:"right"}}),e.getSettings()):($.notify({icon:"ti-alert",message:o.a.getLocaleInterface().settings_not_saved},{type:"warning",delay:1900,placement:{from:"top",align:"right"}}),e.getSettings()),e.appSettings.encoderSettings.forEach((function(t,n){null!=t&&(e.appSettings.encoderSettings[n].videoBitrate/=1e3,e.appSettings.encoderSettings[n].audioBitrate/=1e3)}))}),(function(t){Object(r.g)(t)||$.notify({icon:"ti-alert",message:o.a.getLocaleInterface().settings_not_saved},{type:"warning",delay:1900,placement:{from:"top",align:"right"}}),e.getSettings()}))}}},{key:"settingModeChanged",value:function(t){console.log("event:"+t),"setByForm"==t?this.isJsonUpdate=!1:"setByJson"==t&&(this.isJsonUpdate=!0)}},{key:"newLiveStream",value:function(){this.shareEndpoint=[],this.newLiveStreamActive=!0,this.newIPCameraActive=!1,this.newStreamSourceActive=!1,this.streamNameEmpty=!1,this.newPlaylistActive=!1,this.liveBroadcast=new r.c}},{key:"newIPCamera",value:function(){this.shareEndpoint=[],this.newLiveStreamActive=!1,this.newIPCameraActive=!0,this.newStreamSourceActive=!1,this.streamNameEmpty=!1,this.newPlaylistActive=!1,this.liveBroadcast=new r.c}},{key:"newStreamSource",value:function(){this.shareEndpoint=[],this.newLiveStreamActive=!1,this.newIPCameraActive=!1,this.newStreamSourceActive=!0,this.streamNameEmpty=!1,this.newPlaylistActive=!1,this.liveBroadcast=new r.c}},{key:"newPlaylist",value:function(){this.newLiveStreamActive=!1,this.newIPCameraActive=!1,this.newStreamSourceActive=!1,this.newPlaylistActive=!0,this.streamNameEmpty=!1,this.liveBroadcast=new r.c,this.initDateTimePicker()}},{key:"initDateTimePicker",value:function(){var t=this;setTimeout((function(){$(".datetimepickerAddPlaylist").length?($(".datetimepickerAddPlaylist").datetimepicker({icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-chevron-up",down:"fa fa-chevron-down",previous:"fa fa-chevron-left",next:"fa fa-chevron-right",today:"fa fa-screenshot",clear:"fa fa-tras
1h",close:"fa fa-remove"},format:"MMM DD YYYY hh:mm A",date:""}),$(".datetimepickerAddPlaylist").hide()):t.initDateTimePicker()}),250)}},{key:"checkIPCameraError",value:function(t){var e=this;this.restService.getCameraError(this.appName,t).subscribe((function(n){console.log("stream ID : "+t),0==n.success?null!=n.message&&n.message.includes("401")?swal({title:"Authorization Error",text:"Please Check Username and/or Password",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){})):swal({title:"Camera Error",text:"An unknown error occured for your IP Camera. Please report this case to [email protected] with your logs and IP camera address",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){})):console.log("no camera error"),e.liveBroadcast.ipAddr=""}),(function(t){Object(r.g)(t)}))}},{key:"addIPCamera",value:function(t){var e=this;if(this.streamNameEmpty=!1,t)if(this.restService.checkStreamName(this.liveBroadcast.name)){this.newIPCameraAdding=!0,this.liveBroadcast.type="ipCamera";var n=[];this.shareEndpoint.forEach((function(t,i){!0===t&&n.push(e.videoServiceEndpoints[i].id)})),this.restService.createLiveStream(this.appName,this.liveBroadcast,null,n.join(",")).subscribe((function(t){if(e.newIPCameraAdding=!1,1==t.success||null!=t.streamId)console.log("success: "+t.success),console.log("error: "+t.message),e.newIPCameraActive=!1,$.notify({icon:"ti-save",message:o.a.getLocaleInterface().new_broadcast_created},{type:"success",delay:1e3,placement:{from:"top",align:"right"}}),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber(),setTimeout((function(){e.checkIPCameraError(t.dataId)}),5e3);else{console.log("success: "+t.success),console.log("message: "+t.message);var n=t.errorId;-1==n?swal({title:"Connection Error",text:"Please Check Camera URL",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){})):-2==n?swal({title:"Authorization Error",text:"Please Check Username and/or Password",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){})):-3==n&&swal({title:"High CPU Load",text:"Please Decrease CPU Load Then Try Again",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){})),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber()}}),(function(t){e.newIPCameraAdding=!1,0==Object(r.g)(t)&&$.notify({icon:"ti-save",message:void 0!==t.error.message?t.error.message:"Unknown problem. Reach to technical support([email protected])"},{type:"warning",delay:2e3,placement:{from:"top",align:"right"}})}))}else this.streamNameEmpty=!0}},{key:"addStreamSource",value:function(t){var e=this;if(this.streamNameEmpty=!1,t)if(this.restService.checkStreamName(this.liveBroadcast.name)){if(!this.restService.checkStreamUrl(this.liveBroadcast.streamUrl))return console.log("stream source address is not in correct format"),void(this.streamUrlValid=!1);this.streamNameEmpty=!1,this.newStreamSourceAdding=!0,this.liveBroadcast.type="streamSource";var n=[];this.shareEndpoint.forEach((function(t,i){!0===t&&n.push(e.videoServiceEndpoints[i].id)})),localStorage.getItem("hostAddress"),this.restService.createLiveStream(this.appName,this.liveBroadcast,null,n.join(",")).subscribe((function(t){if(1==t.success||null!=t.streamId)e.jwtTokenValid=!0,e.newStreamSourceAdding=!1,$.notify({icon:"ti-save",message:o.a.getLocaleInterface().new_broadcast_created},{type:"success",delay:1e3,placement:{from:"top",align:"right"}}),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber(),e.liveBroadcast.streamUrl="",e.streamUrlValid=!0;else{var n=t.message;e.jwtTokenValid=!1,e.newIPCameraAdding=!1,e.newStreamSourceAdding=!1,$.notify({icon:"ti-save",message:"Failed. Error is "+t.message},{type:"danger",delay:2e3,placement:{from:"top",align:"right"}}),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber(),-3==n&&swal({title:"High CPU L
1oad",text:"Please Decrease CPU Load Then Try Again",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){}))}e.newStreamSourceAdding=!1,e.newStreamSourceActive=!1,e.liveBroadcast.name="",e.liveBroadcast.ipAddr="",e.liveBroadcast.username="",e.liveBroadcast.password=""}),(function(t){e.newStreamSourceAdding=!1,0==Object(r.g)(t)&&$.notify({icon:"ti-save",message:void 0!==t.error.message?t.error.message:"Unknown problem. Reach to technical support([email protected])"},{type:"warning",delay:2e3,placement:{from:"top",align:"right"}})}))}else this.streamNameEmpty=!0}},{key:"addPlaylistItem",value:function(){this.liveBroadcast.playListItemList.push({streamUrl:"",type:"VoD",seekTimeInMs:0,durationInMs:0,name:""})}},{key:"scheduleToStartChanged",value:function(t){console.log("scheduleToStartChanged ",t),this.scheduleToStart?$(".datetimepickerAddPlaylist").show():$(".datetimepickerAddPlaylist").hide()}},{key:"addPlaylistItemDirectly",value:function(){this.directUrlAdding=!0,this.vodAdding=!1,this.playListItemAdding=new h.c}},{key:"addPlaylistItemDirectlyClicked",value:function(){var t=this;this.playlistItemAddingActive=!0,this.restService.getDurationInMilliseconds(this.appName,this.playListItemAdding.streamUrl).subscribe((function(e){t.playlistItemAddingActive=!1,e.success?(t.addVodToPlaylistItemList(t.playListItemAdding.streamUrl,t.playListItemAdding.name,Number(e.dataId)),t.directUrlAdding=!1):-1==e.errorId?t.liveBroadcast.playListItemList.push({type:"VoD",streamUrl:t.playListItemAdding.streamUrl,name:t.playListItemAdding.name,seekTimeInMs:0,durationInMs:Number(e.dataId)}):-2==e.errorId?swal({title:"Warning",text:"The URL is inaccessible. If you're adding a local file and token security is enabled for play in the app, ensure to add a play token to the URL.",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"}):swal({title:"Warning",text:"Stream format cannot be found in this url",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"})}),(function(e){t.playlistItemAddingActive=!1,t.directUrlAdding=!1}))}},{key:"addPlaylistItemFromVoDs",value:function(){this.directUrlAdding=!1,this.vodAdding=!0,this.playListItemAdding=new h.c}},{key:"applyFilterPlaylistVod",value:function(t){var e=this;this.filterValuePlaylistVoD!=t&&t.length>3&&(this.filterValuePlaylistVoD=t.toLowerCase(),this.restService.getVodList(this.appName,0,20,"","",this.filterValuePlaylistVoD).subscribe((function(t){for(var n in e.vodTableDataForPlaylist.dataRows=[],t)e.vodTableDataForPlaylist.dataRows.push(t[n]),console.log(t[n]);e.dataSourcePlaylistVod=new c.k(e.vodTableDataForPlaylist.dataRows)}),(function(t){Object(r.g)(t)})))}},{key:"selectHandlerStreamsPlayListVoD",value:function(t){this.selectionPlaylistVoDs.toggle(t)}},{key:"addPlaylistItemFromVoDsClicked",value:function(){return t=this,n=regeneratorRuntime.mark((function t(){var e,n,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.selectionPlaylistVoDs.isEmpty()){t.next=4;break}swal({title:"Warning",text:"Please Select VoD to Add the Playlist",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"}),t.next=36;break;case 4:e=Ge(this.dataSourcePlaylistVod.data),t.prev=5,e.s();case 7:if((n=e.n()).done){t.next=27;break}if(i=n.value,!this.selectionPlaylistVoDs.isSelected(i.vodId)){t.next=25;break}
1if(a=r.b+this.appName+"/"+i.filePath,!this.appSettings.playJwtControlEnabled){t.next=24;break}return t.prev=12,t.t0=a,t.next=16,this.restService.getJWTToken(this.appName,i.vodId,mu).toPromise();case 16:t.t1=t.sent.tokenId,a=t.t0+="?token="+t.t1,t.next=24;break;case 20:return t.prev=20,t.t2=t.catch(12),Object(r.g)(t.t2),t.abrupt("continue",25);case 24:this.addVodToPlaylistItemList(a,i.vodName,i.duration);case 25:t.next=7;break;case 27:t.next=32;break;case 29:t.prev=29,t.t3=t.catch(5),e.e(t.t3);case 32:return t.prev=32,e.f(),t.finish(32);case 35:this.vodAdding=!1,this.selectionPlaylistVoDs.clear(),this.vodTableDataForPlaylist.dataRows=[],this.dataSourcePlaylistVod=new c.k(this.vodTableDataForPlaylist.dataRows);case 36:case"end":return t.stop()}}),t,this,[[5,29,32,35],[12,20]])})),new((e=void 0)||(e=Promise))((function(i,r){function a(t){try{s(n.next(t))}catch(e){r(e)}}function o(t){try{s(n.throw(t))}catch(e){r(e)}}function s(t){var n;t.done?i(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,o)}s((n=n.apply(t,[])).next())}));var t,e,n}},{key:"addVodToPlaylistItemList",value:function(t,e,n){this.liveBroadcast.playListItemList.push({type:"VoD",streamUrl:t,name:e,seekTimeInMs:0,durationInMs:n})}},{key:"cancelAddingPlayListItem",value:function(){this.directUrlAdding=!1,this.vodAdding=!1,this.vodTableDataForPlaylist.dataRows=[],this.dataSourcePlaylistVod=new c.k(this.vodTableDataForPlaylist.dataRows)}},{key:"isTimeFormatCorrect",value:function(t){return!1!==this.timeFormatValidity[t]}},{key:"convertToMilliseconds",value:function(t){var e=Ke(t.split(":").map(Number),3);return 1e3*(60*(60*e[0]+e[1])+e[2])}},{key:"seekTimeChanged",value:function(t,e){var n=this.convertToMilliseconds(t);isNaN(n)?this.timeFormatValidity[e]=!1:(this.liveBroadcast.playListItemList[e].seekTimeInMs=n,this.timeFormatValidity[e]=!0)}},{key:"deletePlaylistItem",value:function(t){this.liveBroadcast.playListItemList.splice(t,1)}},{key:"addPlaylist",value:function(t){var e=this;this.playlistNameEmpty=!1,t&&(this.restService.checkStreamName(this.liveBroadcast.name)?(this.liveBroadcast.type="playlist",this.playlistNameEmpty=!1,this.newPlaylistAdding=!0,this.liveBroadcast.plannedStartDate=this.scheduleToStart&&""!=$(".datetimepickerAddPlaylist").val()?new Date($(".datetimepickerAddPlaylist").data("DateTimePicker").viewDate()).getTime()/1e3:0,this.restService.createLiveStream(this.appName,this.liveBroadcast,null,"").subscribe((function(t){if(console.log("data :"+JSON.stringify(t)),null!=t.streamId)e.newPlaylistAdding=!1,$.notify({icon:"ti-save",message:o.a.getLocaleInterface().new_playlist_created},{type:"success",delay:1e3,placement:{from:"top",align:"right"}}),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber();else{var n=t.message;$.notify({icon:"ti-save",message:o.a.getLocaleInterface().new_playlist_error},{type:"danger",delay:2e3,placement:{from:"top",align:"right"}}),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber(),-3==n&&swal({title:"High CPU Load",text:"Please Decrease CPU Load Then Try Again",type:"error",confirmButtonColor:"#3085d6",confirmButtonText:"OK"}).then((function(){})).catch((function(){}))}e.newPlaylistAdding=!1,e.newPlaylistActive=!1}),(function(t){e.newPlaylistAdding=!1,0==Object(r.g)(t)&&$.notify({icon:"ti-save",message:void 0!==t.error.message?t.error.message:"Unknown problem. Reach to technical support([email protected])"},{type:"warning",delay:2e3,placement:{from:"top",align:"right"}})}))):this.playlistNameEmpty=!0)}},{key:"setJwtRestFilterString",value:function(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",i=0;i<t;i++)n+=e.charAt(Math.floor(Math.random()*e.length));return this.appSettings.jwtSecretKey=n,n}},{key:"setJwtStreamFilterString",value:function(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",i=0;i<t;i++)n+=e.charAt(Math.floor(Math.random()*e.length));return this.appSettings.jwtStreamSecretKey=n,n}},{key:"setTOTPSecretForPlaying",value:function(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",i=0;i<t;i++)n+=e.charAt(Math.floor(Math.random()*e.length));
1return this.appSettings.timeTokenSecretForPlay=n,n}},{key:"setTOTPSecretForPublishing",value:function(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",i=0;i<t;i++)n+=e.charAt(Math.floor(Math.random()*e.length));return this.appSettings.timeTokenSecretForPublish=n,n}},{key:"startDiscover",value:function(){var t=this;this.discoveryStarted=!0,this.onvifURLs=this.getDiscoveryList(),this.noCamWarning=!1,setTimeout((function(){if(t.onvifURLs)for(var e=0;e<t.broadcastTableData.dataRows.length;e++)for(var n=0;n<t.onvifURLs.length;n++)if("ipCamera"==t.broadcastTableData.dataRows[e].type&&t.onvifURLs[n]==t.broadcastTableData.dataRows[e].ipAddr){console.log("found: "+t.onvifURLs[n]);var i=t.onvifURLs.indexOf(t.onvifURLs[n]);t.onvifURLs.splice(i,1)}t.onvifURLs&&t.onvifURLs.length>0?(console.log(t.onvifURLs[0]),console.log(t.onvifURLs.length),t.discoveryStarted=!1,swal({type:"info",title:"Onvif Camera(s) ",input:"radio",inputOptions:t.onvifURLs,width:"355px",inputValidator:function(t){return new Promise((function(e,n){""!==t?e():n("Select Camera")}))}}).then((function(e){e&&(t.liveBroadcast.ipAddr=t.onvifURLs[e].toString())}))):(t.discoveryStarted=!1,t.noCamWarning=!0,t.camera.ipAddr="")}),6e3)}},{key:"getDiscoveryList",value:function(){var t=this;return this.onvifURLs=null,this.restService.autoDiscover(this.appName).subscribe((function(e){0!=e.length&&(t.onvifURLs=e,console.log("result: "+t.onvifURLs[0]))}),(function(t){console.log("!!!Error!!! "+t),Object(r.g)(t)})),this.onvifURLs}},{key:"toConsole",value:function(t){console.log(t)}},{key:"createLiveStream",value:function(t){var e=this;if(this.streamNameEmpty=!1,t)if(this.liveBroadcast.type="liveStream",this.restService.checkStreamName(this.liveBroadcast.name)){var n=[];this.shareEndpoint.forEach((function(t,i){!0===t&&n.push(e.videoServiceEndpoints[i].id)})),this.newLiveStreamCreating=!0,this.restService.createLiveStream(this.appName,this.liveBroadcast,null,n.join(",")).subscribe((function(t){null!=t.streamId&&(e.newLiveStreamActive=!1,$.notify({icon:"ti-save",message:o.a.getLocaleInterface().new_broadcast_created},{type:"success",delay:900,placement:{from:"top",align:"right"}}),e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.liveBroadcast.name=""),e.newLiveStreamCreating=!1,e.getAppLiveStreamsNumber()}),(function(t){e.newLiveStreamCreating=!1,0==Object(r.g)(t)&&$.notify({icon:"ti-save",message:void 0!==t.error.message?t.error.message:"Unknown problem. Reach to technical support([email protected])"},{type:"warning",delay:2e3,placement:{from:"top",align:"right"}})}))}else this.streamNameEmpty=!0}},{key:"switchToListView",value:function(){this.getAppLiveStreams(0,5);var t=document.getElementById("cbp-vm"),e=Array.prototype.slice.call(t.querySelectorAll("div.cbp-vm-options > a"));e.forEach((function(n,i){n.addEventListener("click",(function(){e.forEach((function(e){classie.remove(t,e.getAttribute("data-view")),classie.remove(e,"cbp-vm-selected")})),classie.add(t,this.getAttribute("data-view")),classie.add(this,"cbp-vm-selected")}))}))}},{key:"switchToGridView",value:function(){var t=this;setTimeout((function(){t.openGridPlayers(0,4)}),500)}},{key:"cancelNewLiveStream",value:function(){this.newLiveStreamActive=!1}},{key:"cancelNewIPCamera",value:function(){this.newIPCameraActive=!1}},{key:"cancelStreamSource",value:function(){this.newStreamSourceActive=!1}},{key:"cancelPlaylist",value:function(){this.newPlaylistActive=!1}},{key:"copyPublishUrl",value:function(t){this.clipBoardService.copyFromContent(this.getRtmpUrl(t)),$.notify({message:o.a.getLocaleInterface().publish_url_copied_to_clipboard},{type:"success",delay:400,timer:500,placement:{from:"top",align:"right"}})}},{key:"setRecordingStatus",value:function(t,e,n){var i=this;this.appSettings.h264Enabled||"mp4"!=n||!e?this.appSettings.vp8Enabled||"webm"!=n||!e?this.restService.setStreamRecordingStatus(this.appName,t,e,n).subscribe((function(t){if(1==t.success){if(e)var r="starting";else r="stopping";i.getAppLiveStreams(i.streamListOffset,i.pageSize),$.notify({icon:"ti-save",message:n+" recording is "+r+". Please wait few seconds."},{type:"success",delay:1e3,placement:{from:"top",align:"right"}})}else $.notify({icon:"ti-save",message:"Operation has failed"},{type:"warning",delay:3e3,placement:{from:"top",align:"right"}})}),(function(t){Object(r.g)(t)})):$.notify({icon:"ti-save",message:"Firstly, please enable VP8 Encoder in App Settings"},{type:"warning",delay:3e3,placement:{from:"top",align:"right"}}):$.notify({icon:"ti-save",message:"Firstly, please enable H.264 Encoder in App Settings"},{type:"warning",delay:3e3,placement:{from:"top",align:"right"}})}},{key:"copyLiveEmbedCode",value:function(t){this.clipBoardService.copyFromContent('<iframe width="560" height="315" src="'+r.b+this.appName+"/play.html?id="+t+'" frameborder="0" allowfullscreen></iframe>'),$.notify({message:o.a.getLocaleInterface().embed_code_copied_to_clipboard},{type:"success",delay:400,timer:500,placement:{from:"top",align:"right"}})}},{key:"copyVoDEmbedCode",value:function(t,e,n,i){-1==i.lastIndexOf(".")&&(i+="/"+t),this.clipBoardService.copyFromContent('<iframe width="560" height="315" src="'+r.b+this.appName+"/play.html?id="+i+'&playOrder=vod" frameborder="0" allowfullscreen></iframe>'),$.notify({message:o.a.getLocaleInterface().embed_code_copied_to_clipboard},{type:"success",delay:400,timer:500,placement:{from:"top",align:"right"}})}},{key:"getRtmpUrl",value:function(t){return this.restService.getRtmpUrl(this.appName,t)}},{key:"getFormattedTime",value:function(t){if(t&&Number(t)>0){var e=Math.floor(t/1e3),n=Math.floor(e/60);return[Math.floor(n/60),n%=60,e%=60].map((function(t){return t.toString().padStart(2,"0")})).join(":")}return"00:00:00"}},{key:"getPlayListCurrentTime",value:function(t){var e,n=0;for(e=0;e<t.currentPlayIndex;e++)n+=t.playListItemList[e].durationInMs;return console.log("current duration:"+t.duration+" playlistbroadcast.time:"+t.streamId),this.getFormattedTime(n+=t.duration)}},{key:"getPlayListDuration",value:function(t){var e=0;return t.playListItemList.forEach((function(t){e+=t.durationInMs-t.seekTimeInMs})),this.getFormattedTime(e)}},{key:"convertJavaTime",value:function(t){var e=new Date(t),n=e.getFullYear(),i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getMonth()],r=e.getDate(),a=e.getHours(),o="0"+e.getMinutes(),s="0"+e.getSeconds();return i+"-"+r+"-"+n+" "+a+":"+o.substr(-2)+":"+s.substr(-2)}},{key:"moveDown",value:function(t){this.restService.moveDown(t,this.appName).subscribe((function(t){console.log("result!!!: "+t)}),(function(t){console.log("!!!Error!!! "+t),Object(r.g)(t)}))}},{key:"moveUp",value:function(t){this.restService.moveUp(t,this.appName).subscribe((function(t){console.log("result!!!: "+t)}),(function(t){console.log("!!!Error!!! "+t),Object(r.g)(t)}))}},{key:"moveRight",value:function(t){this.restService.moveRight(t,this.appName).subscribe((function(t){console.log("result!!!: "+t)}),(function(t){console.log("!!!Error!!! "+t),Object(r.g)(t)}))}},{key:"moveLeft",value:function(t){this.restService.moveLeft(t,this.appName).subscribe((function(t){console.log("result!!!: "+t)}),(function(t){console.log("!!!Error!!! "+t),Object(r.g)(t)}))}},{key:"webrtcStats",value:function(t){this.dialog.open(Si,{width:"90%",data:{appName:this.appName,streamName:t.name,streamId:t.streamId},disableClose:!0})}},{key:"openRTMPEndpointDialog",value:function(t){var e=this;null!=this.liveStreamEditing&&t.streamId==this.liveStreamEditing.streamId&&t.name==this.liveStreamEditing.name||(this.liveStreamEditing=new r.c,this.liveStreamEditing.streamId=t.streamId,this.liveStreamEditing.name=t.name,this.liveStreamEditing.description=""),this.liveStreamEditing&&this.dialog.open(Pi,{height:"300px",maxHeight:"500px",width:"600px",maxWidth:"600px",data:{name:this.liveStreamEditing.name,streamId:this.liveStreamEditing.streamId,appName:this.appName,endpointList:t.endPointList}}).afterClosed().subscribe((function(t){e.getAppLiveStreams(e.streamListOffset,e.pageSize),e.getAppLiveStreamsNumber()}))}},{key:"stopStreams",value:function(t){var e=this;this.restService.stopStream(this.appName,t).subscribe((function(t){1==t.success?$.notify({icon:"ti-save",message:"Stream's stopping, please wait a few seconds."},{type:"success",delay:3e3,placement:{from:"top",align:"right"}}):$.notify({icon:"ti-save",message:"Stream stop is failed.<br/>Error: "+t.message},{type:"warning",delay:3e3,placement:{from:"top",align:"right"}}),e.callTimer()}),(function(t){Object(r.g)(t)}))}},{key:"startStreams",value:function(t){var e=this;this.restService.startStream(this.appName,t).subscribe((function(t){1==t.success?$.notify({icon:"ti-save",message:"Stream's starting, please wait a few seconds."},{type:"success",delay:3e3,placement:{from:"top",align:"right"}}):$.notify({icon:"ti-save",message:"Stream Start Failed.<br/>Error: "+t.message},{type:"warning",delay:5e3,placement:{from:"top",align:"right"}}),e.callTimer()}),(function(t){Object(r.g)(t)}))}},{key:"selectHandlerVod",value:function(t){this.selectionVods.toggle(t)}},{key:"isAllVodsSelected",value:function(){var t=this;return this.dataSourceVod.data.every((function(e){return t.selectionVods.isSelected(e.vodId)}))}},{key:"masterToggleVods",value:function(){var t=this;this.isAllVodsSelected()?this.dataSourceVod.data.forEach((function(e){return t.selectionVods.deselect(e.vodId)})):this.dataSourceVod.data.forEach((function(e){return t.selectionVods.select(e.vodId)}))}},{key:"deleteSelectedVoDs",value:function(){var t=this;this.selectionVods.isEmpty()?swal({title:"Warning",text:"Please Select Streams to Delete",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"}):swal({title:o.a.getLocaleInterface().are_you_sure,text:o.a.getLocaleInterface().wont_be_able_to_revert,type:"warning",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Yes, delete them!"}).then((function(){for(var e=[],n=0,i=Object.keys(t.dataSourceVod.data);n<i.length;n++){var a=i[n];t.selectionVods.isSelected(t.dataSourceVod.data[a].vodId)&&e.push(t.dataSourceVod.data[a].vodId)}t.restService.deleteVoDFiles(t.appName,e).subscribe((function(e){1==e.success?($.notify({icon:"ti-save",message:o.a.getLocaleInterface().vod_deleted},{type:"success",delay:900,placement:{from:"top",align:"right"}}),t.selectionVods.clear()):t.showVoDFileNotDeleted(),t.getVoDStreams()}),(function(t){Object(r.g)(t)}))})).catch((function(){}))}},{key:"selectHandlerStreams",value:function(t){this.selectionStream
1s.toggle(t)}},{key:"isAllStreamsSelected",value:function(){var t=this;return this.dataSource.data.every((function(e){return t.selectionStreams.isSelected(e.streamId)}))}},{key:"masterToggleStreams",value:function(){var t=this;this.isAllStreamsSelected()?this.dataSource.data.forEach((function(e){return t.selectionStreams.deselect(e.streamId)})):this.dataSource.data.forEach((function(e){return t.selectionStreams.select(e.streamId)}))}},{key:"onPublishTokenControlChange",value:function(){this.cdr.detectChanges(),this.appSettings.publishTokenControlEnabled&&(this.appSettings.publishJwtControlEnabled=!1,this.appSettings.enableTimeTokenForPublish=!1)}},{key:"onPlayTokenControlChange",value:function(){this.cdr.detectChanges(),this.appSettings.playTokenControlEnabled&&(this.appSettings.playJwtControlEnabled=!1,this.appSettings.enableTimeTokenForPlay=!1)}},{key:"onEnableTimeTokenForPublishChange",value:function(){this.cdr.detectChanges(),this.appSettings.enableTimeTokenForPublish&&(this.appSettings.publishJwtControlEnabled=!1,this.appSettings.publishTokenControlEnabled=!1)}},{key:"onEnableTimeTokenForPlayChange",value:function(){this.cdr.detectChanges(),this.appSettings.enableTimeTokenForPlay&&(this.appSettings.playJwtControlEnabled=!1,this.appSettings.playTokenControlEnabled=!1)}},{key:"onPublishJwtControlEnabledChange",value:function(){this.cdr.detectChanges(),this.appSettings.publishJwtControlEnabled&&(this.appSettings.enableTimeTokenForPublish=!1,this.appSettings.publishTokenControlEnabled=!1)}},{key:"onPlayJwtControlEnabledChange",value:function(){this.cdr.detectChanges(),this.appSettings.playJwtControlEnabled&&(this.appSettings.enableTimeTokenForPlay=!1,this.appSettings.playTokenControlEnabled=!1)}},{key:"deleteSelectedStreams",value:function(){var t=this;this.selectionStreams.isEmpty()?swal({title:"Warning",text:"Please Select Streams to Delete",showCancelButton:!1,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"OK"}):swal({title:o.a.getLocaleInterface().are_you_sure,text:o.a.getLocaleInterface().wont_be_able_to_revert,type:"warning",showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Yes, delete them!"}).then((function(e){for(var n=[],i=0,a=Object.keys(t.dataSource.data);i<a.length;i++){var s=a[i];t.selectionStreams.isSelected(t.dataSource.data[s].streamId)&&n.push(t.dataSource.data[s].streamId)}t.restService.deleteBroadcasts(t.appName,n,null).subscribe((function(e){1==e.success?($.notify({icon:"ti-save",message:"Successfully deleted"},{type:"success",delay:900,placement:{from:"top",align:"right"}}),t.selectionStreams.clear()):$.notify({icon:"ti-save",message:o.a.getLocaleInterface().broadcast_not_deleted},{type:"warning",delay:900,placement:{from:"top",align:"right"}}),t.getAppLiveStreams(t.streamListOffset,t.pageSize),t.getAppLiveStreamsNumber()}),(function(t){Object(r.g)(t)}))})).catch((function(){}))}},{key:"formatTime",value:function(t){var e=Math.floor(t/1e3),n=e%60,i=Math.floor(e/60),r=i%60,a=Math.floor(i/60),o=a%24,s=Math.floor(a/24),c=[];return s>0&&c.push(s+"d"),o>0&&c.push(o+"h"),r>0&&c.push(r+"m"),n>0&&c.push(n+"s"),c.join(" ")}},{key:"getBitrateInKbps",value:function(t){return Math.floor(t/1e3)}},{key:"getStreamHealthColor",value:function(t){return t.packetLostRatio>.02||t.rttMs>100||t.jitterMs>50||t.pendingPacketSize>15||t.encoderQueueSize>15||t.speed>0&&t.speed<.7?"#FFC107":"#28a745"}},{key:"getStreamDiagnose",value:function(t){var e="";return t.packetLostRatio>.01&&(e+="- Packet loss ratio exceeds %1 percent. This likely indicates an issue with the broadcaster's network.Recommend switching to a network with higher QoS anor using a stable Wireless connection.\n"),t.rttMs>100&&(e+="- RTT exceeds 100ms, indicating a potential issue with the broadcaster's network.Recommend using a network with better stability and lower latency.\n"),t.jitterMs>50&&(e+="- Jitter exceeds 50ms, suggesting a potential issue with the broadcaster's network.Recommend using a more stable network to improve performance.\n"),t.pendingPacketSize>15&&(e+="- Input queue size exceeds 15, indicating that the server may be overloaded and struggling to process packets efficie
1ntly.Consider scaling the server horizontally or vertically, or reducing the number of incoming streams to alleviate the load.\n"),t.encoderQueueSize>15&&(e+="- Encoding queue size exceeds 15, indicating that the encoder(CPU or GPU) may be overloaded and struggling to process tasks efficiently.Consider scaling the server horizontally or vertically, or reducing the number of incoming streams to alleviate the load.\n"),t.speed>0&&t.speed<.7&&(e+="- Speed is below 0.7(should be around 1.0x), which may indicate an issue with the broadcaster's network.Consider troubleshooting the network or switching to a higher-quality connection.\n"),e}},{key:"getStatInfo",value:function(t){var e="",n=this.getStreamDiagnose(t);return""!=n&&(e+="Stream is having some issues. Please check the diagnose information below.\n",e+=n+"\n\n",e+="Stats:\n"),t.width>0&&t.height>0&&(e+="Resolution: "+t.width+"x"+t.height+"\n"),t.bitrate>0&&(e+="Bitrate: "+this.getBitrateInKbps(t.bitrate)+"kbps\n"),t.duration>0&&(e+="Duration: "+this.formatTime(t.duration)+"\n"),t.pendingPacketSize>0&&(e+="Input Queue Size: "+t.pendingPacketSize+"\n"),t.packetsLost>0&&(e+="Packets Lost: "+t.packetsLost+"\n"),t.encoderQueueSize>0&&(e+="Encoding Queue Size: "+t.encoderQueueSize+"\n"),t.rttMs>0&&(e+="RTT: "+t.rttMs+" ms\n"),t.jitterMs>0&&(e+="Jitter: "+t.jitterMs+" ms\n"),t.dropPacketCountInIngestion>0&&(e+="Dropped Packets: "+t.dropPacketCountInIngestion+"\n"),t.dropFrameCountInEncoding>0&&(e+="Dropped Frames: "+t.dropFrameCountInEncoding+"\n"),e}}]),t}()).\u0275fac=function(t){return new(t||pu)(qe.Nb(_r.a),qe.Nb(r.e),qe.Nb(sr.a),qe.Nb(wr.b),qe.Nb(qe.G),qe.Nb(_r.c),qe.Nb(qe.B),qe.Nb(f.b),qe.Nb(kr.b),qe.Nb(qe.h),qe.Nb(s.b),qe.Nb(a.b))},pu.\u0275cmp=qe.Hb({type:pu,selectors:[["manage-app-cmp"]],viewQuery:function(t,e){var n;1&t&&(qe.Qc(s.a,!0),qe.Qc(s.a,!0),qe.Qc(u.a,!0)),2&t&&(qe.xc(n=qe.hc())&&(e.paginator=n.first),qe.xc(n=qe.hc())&&(e.paginatorVod=n.first),qe.xc(n=qe.hc())&&(e.sort=n.first))},inputs:{pageEvent:"pageEvent"},outputs:{pageChange:"pageChange"},decls:62,vars:10,consts:[[1,"main-content"],[1,"container-fluid"],[1,"row"],[1,"col-lg-12","col-sm-12"],["class","isEnterprise text-center",4,"ngIf"],[1,"card"],[1,"card-content"],[1,"nav-tabs-navigation"],[1,"nav-tabs-wrapper"],["data-tabs","tabs","id","tabs",1,"nav","nav-tabs"],["data-toggle","tab","href","#livestreams",1,"active"],["data-toggle","tab","href","#vod"],["data-toggle","tab","href","#settings"],["id","my-tab-content",1,"tab-content","text-center"],["id","livestreams",1,"tab-pane","active"],[1,"dropdown","text-right",2,"float","right"],["data-toggle","dropdown","role","button",1,"btn","btn-fill","btn-success"],[1,"caret"],[1,"dropdown-menu","dropdown-menu-right"],["role","button",3,"click"],["class","card",4,"ngIf"],[2,"display","flex","justify-content","flex-end"],[1,"mat-header"],["placeholder","Search",3,"keyup"],["id","broadcastTable","style","text-align: left;",4,"ngIf"],[4,"ngIf"],["id","vod",1,"tab-pane"],[1,"text-right"],["data-toggle","dropdown","role","button",1,"btn","btn-fill","btn-success",3,"click"],["placeholder","Search",2,"margin-top","24px",3,"keyup"],["id","vodTable","style","text-align: left",4,"ngIf"],["class","tab-pane","id","settings",4,"ngIf"],[1,"footer"],[1,"isEnterprise","text-center"],["target","_blank","href","https://antmedia.io/#contact"],["method","post","validate","",3,"ngSubmit"],["f","ngForm"],[1,"card-header"],[1,"card-title","text-left"],[1,"form-group","text-left"],["type","text","required","","minlength","4","name","broadcastName",1,"form-control",3,"ngModel","ngModelChange",6,"placeholder"],["broadcastName","ngModel"],[1,"text-danger",3,"hidden"],["class","text-danger",4,"ngIf"],["type","text","minlength","4","name","streamId","placeholder","Unique Id of the stream. If you do not enter a value, It will be generated automatically",1,"form-control",3,"ngModel","ngModelChange"],["streamId","ngModel"],["class","form-group text-left",4,"ngIf"],[1,"form-group","text-center"],["type","submit",1,"btn","btn-fill","btn-success",3,"disabled"],["class","fa fa-spinner fa-pulse fa-1x fa-fw","aria-hidden","true",4,"ngIf"],["type","button",1,"btn","btn-simple",3,"click"],[1,"text-danger"],[1,"col-sm-12",2,"padding-left","0px"],[4,"ngFor","ngForOf"],[1,"col-sm-4","text-left","checkbox","vcenter",2,"margin-top","5px"],["type","checkbox",3,"id","name","ngModel","ngModelChange"],[3,"for"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"ti-facebook",2,"color","#3b5998"],[1,"ti-youtube",2,"color","#e52d27"],[1,"ti-twitter-alt",2,"color","#55acee"],["aria-hidden","true",1,"fa","fa-spinner","fa-pulse","fa-1x","fa-fw"],["type","text","required","","minlength","4","name","broadcastName","placeholder","Camera Name",1,"form-control",3,"ngModel","ngModelChange"],["type","button",1,"btn","btn-success","btn-simple","btn-magnify","btn-xs",3,"click"],["type","text","name","onvifURL",1,"form-control",3,"ngModel","ngModelChange",6,"placeholder"],["onvifURL","ngModel"],["type","text","name","username","placeholder","User Name",1,"form-control",3,"ngModel","ngModelChange"],["username","ngModel"],["type","text","name","password","placeholder","Password ","type","password","type","password",1,"form-control",3,"ngModel","ngModelChange"],["password","ngModel"],[1,"form-group","checkbox","text-left"],["type","checkbox","name","autoStart
1StopEnabled",1,"form-control",3,"ngModel","ngModelChange"],["autoStartStopEnabled","ngModel"],[2,"font-size","12px","padding-left","10px","display","block"],["type","text","required","","minlength","4","name","broadcasturl","placeholder","Remote Stream URL",1,"form-control",3,"ngModel","ngModelChange"],["broadcasturl","ngModel"],["for","autoStartStopEnabled"],[1,"form-group"],[1,"row","text-left"],[1,"col-sm-12","col-md-12"],["type","text","required","","minlength","4","name","playlistName",1,"form-control",3,"ngModel","ngModelChange",6,"placeholder"],["playlistName","ngModel"],["class","row",4,"ngIf"],[1,"text-left",2,"margin-top","10px"],["type","button","data-toggle","dropdown",1,"btn","btn-default"],[1,"dropdown-menu","dropdown-menu-left"],["class","row card",4,"ngIf"],[1,"col-xs-12"],[1,"checkbox"],["id","scheduleToStart","name","scheduleToStart","type","checkbox",3,"ngModel","ngModelChange","change"],["for","scheduleToStart"],["type","text","name","plannedStartDate","placeholder","No Set",1,"form-control","datetimepickerAddPlaylist"],["id","playlistLoopEnabled","name","playlistLoopEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","playlistLoopEnabled"],[1,"row","text-center",2,"padding-top","20px"],[1,"col-xs-3","col-sm-3","text-left"],[1,"help-block"],[1,"col-xs-6","col-sm-6","text-left"],[2,"font-size","12px"],["class","col-md-12 col-sm-12 col-xs-12","style","margin-bottom: 20px",4,"ngFor","ngForOf"],[1,"col-md-12","col-sm-12","col-xs-12",2,"margin-bottom","20px"],["minlength","4","type","text",1,"form-control",3,"name","ngModel","ngModelChange"],[1,"col-xs-2","col-sm-2","text-left"],["type","text","value","00:00:00",1,"form-control",3,"name","change"],[1,"col-xs-1","col-sm-1","text-left"],["type","button",1,"btn","btn-icon","btn-simple","btn-danger","btn-minus",3,"click"],[1,"ti-close"],[1,"row","card"],["type","text",1,"form-control",3,"name","ngModel","ngModelChange"],["type","button",1,"btn","btn-fill","btn-success",3,"click"],["type","text","required","","minlength","4","name","vodName","placeholder","Type vod name or vod id",1,"form-control",3,"keyup"],["style","margin-top: 20px;margin-bottom: 20px;text-align: center;",4,"ngIf"],["type","button",1,"btn","btn-fill","btn-success",3,"disabled","click"],[2,"margin-top","20px","margin-bottom","20px","text-align","center"],[2,"max-height","300px",3,"dataSource"],["matColumnDef","select"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","name"],[3,"ngClass",4,"matHeaderCellDef"],[3,"ngClass",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[3,"checked","click","change"],[3,"ngClass"],[2,"padding-left","12px"],[2,"font-size","10px"],["id","broadcastTable",2,"text-align","left"],[1,"mat-container","mat-elevation-z0"],["matSort","",2,"overflow","visible !important",3,"dataSource","matSortChange"],["mat-sort-header","",3,"ngClass",4,"matHeaderCellDef"],["matColumnDef","status"],["matColumnDef","viewerCount"],["matColumnDef","extradata"],["style","font-size: 12px;",3,"ngClass",4,"matCellDef"],["matColumnDef","actions"],["class","text-right",3,"ngClass",4,"matHeaderCellDef"],["style","overflow: visible !important; ","class","text-right",3,"ngClass",4,"matCellDef"],[1,"text-left"],["role","button",1,"btn","btn-simple",3,"click"],[3,"pageSizeOptions","length","pageSize","page"],[3,"checked","indeterminate","change"],["mat-sort-header","",3,"ngClass"],["src","/assets/img/icons/video-camera.svg",2,"width","10%"],["src","/assets/img/icons/cctv.svg",2,"width","10%"],["src","/assets/img/icons/playlist.svg",2,"width","10%"],[1,"fa","fa-circle","text-muted"],[3,"matTooltip"],["class","fa fa-circle ",3,"style",4,"ngSwitchCase"],["class","fa fa-info-circle ",4,"ngIf"],[1,"fa","fa-circle"],["data-toggle","tooltip",6,"title"],[1,"fa","fa-info-circle"],["class","fa fa-circle text-muted",4,"ngSwitchCase"],["matTooltip","Terminated unexpectedly"],["class","fa fa-circle ","style","color:#ff9800",4,"ngSwitchCase"],[1,"fa","fa-circle",2,"color","#ff9800"],[1,"ti-eye",2,"color","#199826","font-size","1.1em"],[1,"ti-eye",2,"color","#199826","font-size","1.1em",3,"click"],[2,"font-size","12px",3,"ngClass"],[1,"text-right",3,"ngClass"],[1,"text-right",2,"overflow","visible !important",3,"ngClass"],[2,"font-size","1.1em"],[1,"nav","navbar-right"],[1,"dropdown",3,"click"],["href","#","data-toggle","dropdown",1,"dropdown-toggle","btn-magnify"],[1,"ti-menu-alt"],[1,"notification"],[1,"hidden-md","hidden-lg"],[1,"dropdown-menu"],[1,"dropdown-link",3,"click"],["class","text-left",4,"ngIf"],["data-toggle","tooltip","class","btn btn-success btn-simple btn-magnify btn-xs big-icons","type","button",3,"click",4,"ngIf",6,"title"],["data-toggle","tooltip","matTooltip","Please enable HLS or WebRTC Live Streaming to watch streams.","class","btn btn-warning btn-simple btn-magnify btn-xs big-icons","type","button",4,"ngIf"],["title","Edit","data-toggle","tooltip","class","btn btn-simple btn-magnify btn-info btn-xs big-icons","type","button",3,"click",4,"ngIf"],["class","btn btn-simple btn-magnify btn-info btn-xs big-icons","type","button","data-toggle","tooltip",3,"click",4,"ngIf",6,"title"],[3,"click"],["data-toggle","tooltip","type","button",1,"btn","btn-success","btn-simple","btn-magnify","btn-xs","big-icons",3,"click",6,"title"],[1,"btn-label"],[1,"ti-control-play"],["data-toggle","tooltip","matTooltip","Please enable HLS or WebRTC Live Streaming to watch streams.","type","button",1,"btn","btn-warning","btn-simple","btn-magnify","btn-xs","big-icons"],["title","Edit","data-toggle","tooltip","type","button",1,"btn","btn-simple","btn-magnify","btn-info","btn-xs","big-icons",3,"click"],[1,"ti-pencil"],["type","button","data-toggle","tooltip",1,"btn","btn-simple","btn-magnify","btn-info","btn-xs","big-icons",3,"click",6,"title"],[1,"btn-label",2,"float","right"],["id","vodTable",2,"text-align","left"],["mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","type"],["matColumnDef","date"],[3,"length","pageSize","pageSizeOptions","page"],["mat-sort-header",""],["style","font-size: 10px",4,"ngIf"],["type","button",1,"btn","btn-success","btn-simple","btn-magnify","btn-xs","big-icons",3,"click"],["id","settings",1,"tab-pane"],[1,"col-sm-12",2,"text-align","right"],["type","button","data-size","2",1,"btn","dropdown-toggle",3,"change"],["value","setByForm"],["value","setByJson"],["validate","","class","form-horizontal","method","post",3,"ngSubmit",4,"ngIf"],["validate","","method","post",1,"form-horizontal",3,"ngSubmit"],[1,"col-sm-12","col-md-6"],["class","form-group",4,"ngIf"],["class","card-content text-left",4,"ngIf"],["class","form-group text-left","style","margin-left:0px;",4,"ngIf"],[1,"col-sm-12","col-md-12","text-left"],[1,"col-sm-12","col-md-3","col-lg-3","control-label",2,"min-width","190px"],[1,"col-sm-12","col-md-9","col-lg-6","text-left"],["type","text","name","vodFolderPath","placeholder","Write full path of VoD folder",1,"form-control",3,"ngModel","ngModelChange"],["vodFolderPath","ngModel"],["type","text","name","listenerHookURLPath","placeholder","Write Webhook URL",1,"form-control",3,"ngModel","ngModelChange"],["listenerHookURLPath","
1ngModel"],[1,"card-content","text-left"],["class","col-xs-12 card-content category text-left","style","font-size:16px",4,"ngIf"],["id","s3RecordingEnabled","name","s3RecordingEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","s3RecordingEnabled"],["href","https://antmedia.io/docs/guides/recording-live-streams/s3-integration-http-forwarding/","target","_blank","matTooltip","This feature uploads recorded files(MP4, WebM, HLS) to the S3. Click to learn more..."],["id","addDateTimeToMp4FileName","name","addDateTimeToMp4FileName","type","checkbox",3,"ngModel","ngModelChange"],["for","addDateTimeToMp4FileName"],["class","col-xs-12",4,"ngIf"],["class","col-xs-12 ","style","margin-top:12px",4,"ngIf"],["class","col-xs-12 ","style","margin-top:12px;margin-bottom: 12px;",4,"ngIf"],[1,"col-xs-12",2,"margin-top","12px"],[1,"checkbox",2,"margin-left","12px"],["id","acceptOnlyStreamsInDataStore","name","acceptOnlyStreamsInDataStore","type","checkbox",3,"ngModel","ngModelChange"],["for","acceptOnlyStreamsInDataStore"],["matTooltip","By enabling this option, all streams are accepted even if they are not defined in database."],["id","ipFilter","name","ipFilter","type","checkbox",3,"ngModel","ngModelChange"],["for","ipFilter"],["href","https://antmedia.io/docs/guides/developer-sdk-and-api/rest-api-guide/jwt-rest-api-filter/","target","_blank","matTooltip","If you disable IP Filter, we are strongly recommending enable JWT Filter"],["class","col-xs-12","style","margin-top:12px",4,"ngIf"],["id","jwtFilter","name","jwtFilter","type","checkbox",3,"ngModel","ngModelChange"],["for","jwtFilter"],["href","https://antmedia.io/docs/guides/developer-sdk-and-api/rest-api-guide/securing-rest-apis/#ip-filter-for-the-rest-api","target","_blank","matTooltip","If you disable JWT Filter, we are strongly recommending enable IP Filter."],[2,"font-size","18px"],["for","fcmPrivateKeyJSON"],["name","fcmPrivateKeyJSON","type","textarea","placeholder","Copy and paste your Private Key JSON content","rows","3",1,"form-control",3,"ngModel","keydown.enter","ngModelChange"],[2,"font-size","18px","margin-top","25px"],["name","appTeamId","type","text","placeholder","Team ID in Apple Developer Account",1,"form-control",3,"ngModel","keydown.enter","ngModelChange"],["appTeamId","ngModel"],["name","apnKeyId","type","text","placeholder","Key ID of Your Private Key in Apple Developer Account",1,"form-control",3,"ngModel","keydown.enter","ngModelChange"],["apnKeyId","ngModel"],["name","apnPrivateKey","type","textarea","placeholder","Copy and paste your APN Private Key","rows","3",1,"form-control",3,"ngModel","keydown.enter","ngModelChange"],["name","apnsServer","type","text","placeholder","APN Server",1,"form-control",3,"ngModel","keydown.enter","ngModelChange"],["apnsServer","ngModel"],[1,"text-center"],["type","submit",1,"btn","btn-info",2,"margin","15px"],["enabled","","id","h264Encoder","name","h264Encoder","type","checkbox",3,"ngModel","ngModelChange"],["for","h264Encoder"],[1,"category","text-left"],["id","vp8Encoder","name","vp8Encoder","type","checkbox",3,"ngModel","ngModelChange"],["for","vp8Encoder"],[1,"col-xs-12",2,"margin-top","24px"],["class","category text-left",4,"ngIf"],[1,"fa","fa-info-circle",2,"font-size","20px","color","#DD0330"],["href","https://antmedia.io/#products"],[1,"col-sm-12","col-md-10","text-left"],[1,"col-sm-5","control-label"],[1,"col-sm-4"],["id","webRTCFrameRate","range","[5,30]","required","","type","number",1,"form-control",3,"ngModel","name","ngModelChange"],["webRTCFrameRate","ngModel"],[1,"fa","fa-exclamation-circle",2,"font-size","20px","color","#DD0330"],[1,"col-sm-12","text-left","col-md-12",2,"margin-top","20px"],["type","button",1,"btn","btn-default",3,"click"],[1,"col-xs-4","col-sm-4","text-left"],[1,"col-xs-4","col-sm-3","text-left"],[1,"col-xs-4","col-sm-4","text-left",2,"margin-bottom","10px"],["type","number","required","",1,"dropdown-toggle","form-control",3,"name","ngModel","ngModelChange"],["resolution","ngModel"],["value","0","selected","","disabled",""],["value","2880"],["value","2160"],["value","1080"],["value","720"],["value","640"],["value","540"],["value","480"],["value","360"],["value","240"],[1,"col-xs-4","col-sm-3","text-left",2,"margin-bottom","10px"],["type","number","min","10","required","",1,"form-control",3,"min","name","ngModel","ngModelChange"],["videobitrate","ngModel"],["audiobitrate","ngModel"],[1,"col-xs-1","col-sm-1","text-left",2,"margin-bottom","10px"],["id","hlsMuxingEnabled","name","hlsMuxingEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","hlsMuxingEnabled"],[1,"col-sm-12","text-left","col-md-12"],[1,"col-sm-12","col-md-3","control-label",2,"min-width","160px"],[1,"col-sm-12","text-left","col-md-3"],["name","hlsListSize","required","","type","number",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["hlsListSize","ngModel"],["name","hlsTime","required","","type","number",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["hlsTime","ngModel"],["id","deleteHLSFilesOnEnded","name","deleteHLSFilesOnEnded","type","checkbox",3,"ngModel","ngModelChange"],["for","deleteHLSFilesOnEnded"],[1,"form-group","text-left",2,"margin-left","0px"],["id","dashMuxingEnabled","name","dashMuxingEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","dashMuxingEnabled"],["name","dashSegDuration","required","","type","number",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["dashSegDuration","ngModel"],["name","dashFragmentDuration","required","","type","number",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["dashFragmentDuration","ngModel"],["id","lLDashEnabled","name","lLDashEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","lLDashEnabled"],["id","lLHLSEnabled","name","lLHLSEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","lLHLSEnabled"],["id","deleteDASHFilesOnEnded","name","deleteDASHFilesOnEnded","type","checkbox",3,"ngModel","ngModelChange"],["for","deleteDASHFilesOnEnded"],["id","objectDetection","name","objectDetection","type","checkbox",3,"disabled","ngModel","ngModelChange"],["for","objectDetection"],["matTooltip","If you want to use this feature, you should first install necessary libraries by running install_tensorflow_plugin.sh script in the installation directory. \n Also you should add Adaptive Streaming. \n If you still have a problem, review FAQ page in docs.antmedia.io"],["id","generatePreview","name","generatePreview","type","checkbox",3,"disabled","ngModel","ngModelChange"],["for","generatePreview"],["matTooltip","If you use this feature, you should add Adaptive Streaming."],["enabled","","id","dataChannelEnabled","name","dataChannelEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","dataChannelEnabled"],[1,"category"],[1,"control-label"],[1,"col-xs-10"],[1,"radio"],["type","radio","id","noneRadioDistribution","name","playerDistribution","value","none",3,"ngModel","ngModelChange"],["for","noneRadioDistribution"],["type","radio","id","publisherRadioDistribution","name","playerDistribution","value","publisher",3,"ngModel","ngModelChange"],["for","publisherRadioDistribution"],["type","radio","id","allRadio
1Distribution","name","playerDistribution","value","all",3,"ngModel","ngModelChange"],["for","allRadioDistribution"],[1,"col-xs-12","card-content","category","text-left",2,"font-size","16px"],[1,"fa","fa-exclamation-circle"],["id","mp4MuxingEnabled","name","mp4MuxingEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","mp4MuxingEnabled"],["id","webMMuxingEnabled","name","webMMuxingEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","webMMuxingEnabled"],[1,"col-sm-12","text-left","col-md-10"],["name","s3AccessKey","type","text",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["s3AccessKey","ngModel"],["name","s3SecretKey","type","text",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["s3SecretKey","ngModel"],["name","s3RegionName","required","","type","text","required","",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["s3RegionName","ngModel"],["name","s3BucketName","required","","type","text","required","",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["s3BucketName","ngModel"],["name","s3Endpoint","type","text",1,"form-control",2,"min-width","125px",3,"ngModel","ngModelChange"],["s3Endpoint","ngModel"],[1,"col-sm-12","col-md-3","control-label"],["name","s3Permission",1,"dropdown-toggle","form-control",3,"ngModel","ngModelChange"],["s3Permission","ngModel"],["value","public-read"],["value","private"],["value","public-read-write"],["value","authenticated-read"],["value","bucket-owner-read"],["value","bucket-owner-full-control"],[1,"checkbox",2,"margin-left","10px"],["id","publishTokenControlEnabled","name","publishTokenControlEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","publishTokenControlEnabled"],["href","https://antmedia.io/docs/guides/developer-sdk-and-api/rest-api-guide/stream-security/#2-one-time-token-control","target","_blank","matTooltip","By enabling this option, one time tokens are required for publishing. Publish request without tokens will not be streamed. Click for more information."],[1,"fa","fa-info-circle",2,"font-size","20px"],["id","playTokenControlEnabled","name","playTokenControlEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","playTokenControlEnabled"],["href","https://antmedia.io/docs/guides/developer-sdk-and-api/rest-api-guide/stream-security/#2-one-time-token-control","target","_blank","matTooltip","By enabling this option, one time tokens are required for playing. Play request without tokens will not be streamed. Click for more information."],[1,"checkbox",2,"margin-left","1dvb"],["id","enableTimeTokenForPublish","name","enableTimeTokenForPublish","type","checkbox",3,"ngModel","ngModelChange"],["for","enableTimeTokenForPublish"],["href","https://antmedia.io/docs/guides/developer-sdk-and-api/rest-api-guide/stream-security/#7-time-based-one-time-password","target","_blank","matTooltip","After enabling this option, publishing can be done with TOTP"],[1,"checkbox",2,"margin-left","10px","clear","both"],["id","enableTimeTokenForPlay","name","enableTimeTokenForPlay","type","checkbox",3,"ngModel","ngModelChange"],["for","enableTimeTokenForPlay"],["href","https://antmedia.io/docs/guides/developer-sdk-and-api/rest-api-guide/stream-security/#7-time-based-one-time-password","target","_blank","matTooltip","After enabling this option, playing can be done with TOTP"],["name","timeTokenSecretForPublish","minlength","6","type","textarea","placeholder","Please write at least 6 character","rows","1",1,"form-control",3,"disabled","ngModel","ngModelChange"],["timeTokenSecretForPlay","ngModel"],["type","button",1,"btn","pull-right","btn-default",2,"margin","5px",3,"click"],["name","timeTokenSecretForPlay","minlength","6","type","textarea","placeholder","Please write at least 6 character","rows","1",1,"form-control",3,"disabled","ngModel","ngModelChange"],["id","publishJwtControlEnabled","name","publishJwtControlEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","publishJwtControlEnabled"],["href","https://antmedia.io/docs/guides/developer-sdk-and-api/rest-api-guide/stream-security/#6-jwt-stream-security-filter","target","_blank","matTooltip","By enabling this option, jwt tokens are required for publishing. Publish request without tokens will not be streamed. Click for more information."],["id","playJwtControlEnabled","name","playJwtControlEnabled","type","checkbox",3,"ngModel","ngModelChange"],["for","playJwtControlEnabled"],["href","https://antmedia.io/docs/guides/developer-sdk-and-api/rest-api-guide/stream-security/#6-jwt-stream-security-filter","target","_blank","matTooltip","By enabling this option, jwt tokens are required for playing. Play request without tokens will not be streamed. Click for more information."],["matTooltip","Please enter at least 32 character"],["name","jwtStreamSecretKey","minlength","32","type","textarea","placeholder","Please write at least 32 character","rows","1",1,"form-control",3,"disabled","ngModel","ngModelChange"],["jwtStreamSecretKey","ngModel"],[1,"col-xs-12",2,"margin-top","12px","margin-bottom","12px"],["matTooltip","If you delete 127.0.0.1, localhost web panel will no longer work. Write access IP Address like: 127.0.0.1,192.168.1.1/24,34.22.16.222"],["name","remoteAllowedCIDR","type","textarea","placeholder","Write access IP Address like: 127.0.0.1,192.168.1.1/24,34.22.16.222","rows","3",1,"form-control",3,"ngModel","keydown.enter","ngModelChange"],["name","jwtSecret","minlength","32","type","textarea","placeholder","Please write at least 32 character","rows","1",1,"form-control",3,"disabled","ngModel","ngModelChange"],["jwtSecret","ngModel"],["target","_blank","href","https://antmedia.io/javadoc/io/antmedia/AppSettings.html",2,"font-size","20px"],["name","jsonSettings","rows","60",1,"form-control",3,"ngModel","ngModelChange"],["jsonSettings","ngModel"],[1,"btn","btn-info",2,"margin","15px",3,"click"]],template:function(t,e){1&t&&(qe.Tb(0,"div",0),qe.Tb(1,"div",1),qe.Tb(2,"div",2),qe.Tb(3,"div",3),qe.Jc(4,xr,6,0,"div",4),qe.Sb(),qe.Tb(5,"div",3),qe.Tb(6,"div",5),qe.Tb(7,"div",6),qe.Tb(8,"div",7),qe.Tb(9,"div",8),qe.Tb(10,"ul",9),qe.Tb(11,"li"),qe.Tb(12,"a",10),qe.Xb(13,pr),qe.Sb(),qe.Sb(),qe.Tb(14,"li"),qe.Tb(15,"a",11),qe.Xb(16,mr),qe.Sb(),qe.Sb(),qe.Tb(17,"li"),qe.Tb(18,"a",12),qe.Xb(19,vr),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Tb(20,"div",13),qe.Tb(21,"div",14),qe.Tb(22,"div"),qe.Tb(23,"div",15),qe.Tb(24,"button",16),qe.bc(25,br),qe.Ob(26,"span",17),qe.Zb(),qe.Sb(),qe.Tb(27,"ul",18),qe.Tb(28,"li"),qe.Tb(29,"a",19),qe.gc("click",(function(){return e.newLiveStream()})),qe.Lc(30,"Live Stream"),qe.Sb(),qe.Sb(),qe.Tb(31,"li"),qe.Tb(32,"a",19),qe.gc("click",(function(){return e.newIPCamera()})),qe.Lc(33,"IP Camera"),qe.Sb(),qe.Sb(),qe.Tb(34,"li"),qe.Tb(35,"a",19),qe.gc("click",(function(){return e.newStreamSource()})),qe.Lc(36,"Stream Source"),qe.Sb(),qe.Sb(),qe.Tb(37,"li"),qe.Tb(38,"a",19),qe.gc("click",(function(){return e.newPlaylist()})),qe.Lc(39,"Playlist"),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb(),qe.Ob(40,"br"),qe.Ob(41,"br"),qe.Sb(),qe.J
1c(42,Vr,30,8,"div",20),qe.Jc(43,ta,58,14,"div",20),qe.Jc(44,ba,46,12,"div",20),qe.Jc(45,qa,59,13,"div",20),qe.Tb(46,"div",21),qe.Tb(47,"div",22),qe.Tb(48,"input",23),qe.gc("keyup",(function(t){return e.applyFilter(t.target.value)})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(49,sc,28,6,"div",24),qe.Jc(50,cc,2,0,"p",25),qe.Sb(),qe.Tb(51,"div",26),qe.Tb(52,"div",27),qe.Tb(53,"div"),qe.Tb(54,"button",28),qe.gc("click",(function(){return e.openVodUploadDialog()})),qe.Lc(55,"Upload VoD "),qe.Sb(),qe.Sb(),qe.Tb(56,"div"),qe.Tb(57,"input",29),qe.gc("keyup",(function(t){return e.applyFilterVod(t.target.value)})),qe.Sb(),qe.Sb(),qe.Sb(),qe.Jc(58,Cc,26,6,"div",30),qe.Jc(59,Tc,2,0,"p",25),qe.Sb(),qe.Jc(60,du,8,2,"div",31),qe.Sb(),qe.Sb(),qe.Sb(),qe.Ob(61,"div",32),qe.Sb(),qe.Sb(),qe.Sb(),qe.Sb()),2&t&&(qe.Bb(4),qe.rc("ngIf",!e.isEnterpriseEdition),qe.Bb(38),qe.rc("ngIf",e.newLiveStreamActive),qe.Bb(1),qe.rc("ngIf",e.newIPCameraActive),qe.Bb(1),qe.rc("ngIf",e.newStreamSourceActive),qe.Bb(1),qe.rc("ngIf",e.newPlaylistActive),qe.Bb(4),qe.rc("ngIf",e.broadcastTableData.dataRows.length>0),qe.Bb(1),qe.rc("ngIf",0==e.broadcastTableData.dataRows.length),qe.Bb(8),qe.rc("ngIf",e.vodTableData.dataRows.length>0),qe.Bb(1),qe.rc("ngIf",0==e.vodTableData.dataRows.length),qe.Bb(1),qe.rc("ngIf",e.appSettings))},directives:[We.p,ln.x,ln.l,ln.m,ln.d,ln.t,ln.g,ln.k,ln.n,We.o,ln.a,We.r,We.s,c.j,c.c,c.e,c.b,c.g,c.i,c.d,c.a,ji.a,We.n,c.f,c.h,u.a,s.a,u.b,Sr.a,ln.o,ln.w,ln.p,ln.u,ln.r],pipes:[We.g,We.i],styles:["body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{height:100%}table[_ngcontent-%COMP%]{width:100%}.mat-column-select[_ngcontent-%COMP%]{word-wrap:break-word!important;white-space:unset!important;flex:0 0 5%!important;width:5%!important;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto} .mat-checkbox-checked.mat-accent .mat-checkbox-background, .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background, .mat-checkbox-ripple .mat-ripple-element{background-color:grey!important}"]}),pu)},i3FT:function(t,e,n){"use strict";function i(t){var e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0),e[t[n]]=n})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=i(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=i(e.tag)},i5UE:function(t,e,n){"use strict";var i=n("w8CP"),r=n("tSWc");function a(){if(!(this instanceof a))return new a;r.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i.inherits(a,r),t.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},iUdu:function(t,e,n){var i=n("usKN"),r=n("gvAe"),a=n("hwdV").Buffer,o=n("CfXC"),s=n("ZDAU"),c=n("OfWw"),u=n("roQf");function l(t,e,n){s.call(this),this._cache=new f,this._cipher=new c.AES(e),this._prev=a.from(n),this._mode=t,this._autopadding=!0}n("P7XM")(l,s),l.prototype._update=function(t){var e,n;this._cache.add(t);for(var i=[];e=this._cache.get();)n=this._mode.encrypt(this,e),i.push(n);return a.concat(i)};var h=a.alloc(16,16);function f(){this.cache=a.allocUnsafe(0)}function d(t,e,n){var s=i[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=a.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof n&&(n=a.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===s.type?new o(s.module,e,n):"auth"===s.type?new r(s.module,e,n):new l(s.module,e,n)}l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=a.concat([this.cache,t])},f.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},f.prototype.flush=function(){for(var t=16-this.cache.length,e=a.allocUnsafe(t),n=-1;++n<t;)e.writeUInt8(t,n);return a.concat([this.cache,e])},e.createCipheriv=d,e.createCipher=function(t,e){var n=i[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=u(e,!1,n.key,n.iv);return d(t,r.key,r.iv)}},ij2l:function(t,e,n){"use strict";var i=n("hwdV").Buffer,r=n("LgVm");function a(t){if(i.isBuffer(t))return t;if("string"==typeof t)return i.from(t,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function o(t,e,n){for(var i=0;e+i<n&&0===t[e+i];)++i;return t[e+i]>=128&&--i,i}
1t.exports={derToJose:function(t,e){t=a(t);var n=r(e),o=n+1,s=t.length,c=0;if(48!==t[c++])throw new Error('Could not find expected "seq"');var u=t[c++];if(129===u&&(u=t[c++]),s-c<u)throw new Error('"seq" specified length of "'+u+'", only "'+(s-c)+'" remaining');if(2!==t[c++])throw new Error('Could not find expected "int" for "r"');var l=t[c++];if(s-c-2<l)throw new Error('"r" specified length of "'+l+'", only "'+(s-c-2)+'" available');if(o<l)throw new Error('"r" specified length of "'+l+'", max of "'+o+'" is acceptable');var h=c;if(c+=l,2!==t[c++])throw new Error('Could not find expected "int" for "s"');var f=t[c++];if(s-c!==f)throw new Error('"s" specified length of "'+f+'", expected "'+(s-c)+'"');if(o<f)throw new Error('"s" specified length of "'+f+'", max of "'+o+'" is acceptable');var d=c;if((c+=f)!==s)throw new Error('Expected to consume entire buffer, but "'+(s-c)+'" bytes remain');var p=n-l,m=n-f,v=i.allocUnsafe(p+l+m+f);for(c=0;c<p;++c)v[c]=0;t.copy(v,c,h+Math.max(-p,0),h+l);for(var b=c=n;c<b+m;++c)v[c]=0;return t.copy(v,c,d+Math.max(-m,0),d+f),(v=v.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(t,e){t=a(t);var n=r(e),s=t.length;if(s!==2*n)throw new TypeError('"'+e+'" signatures must be "'+2*n+'" bytes, saw "'+s+'"');var c=o(t,0,n),u=o(t,n,t.length),l=n-c,h=n-u,f=2+l+1+1+h,d=f<128,p=i.allocUnsafe((d?2:3)+f),m=0;return p[m++]=48,d?p[m++]=f:(p[m++]=129,p[m++]=255&f),p[m++]=2,p[m++]=l,c<0?(p[m++]=0,m+=t.copy(p,m,0,n)):m+=t.copy(p,m,c,n),p[m++]=2,p[m++]=h,u<0?(p[m++]=0,t.copy(p,m,n)):t.copy(p,m,n+u),p}}},itXk:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return l}));var i=n("z+Ro"),r=n("DH7j"),a=n("l7GE"),o=n("ZUHj"),s=n("yCtX"),c={};function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=void 0,o=void 0;return Object(i.a)(e[e.length-1])&&(o=e.pop()),"function"==typeof e[e.length-1]&&(a=e.pop()),1===e.length&&Object(r.a)(e[0])&&(e=e[0]),Object(s.a)(e,o).lift(new l(a))}var l=function(){function t(e){Qe(this,t),this.resultSelector=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new h(t,this.resultSelector))}}]),t}(),h=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return tn(n,[{key:"_next",value:function(t){this.values.push(c),this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var i=t[n];this.add(Object(o.a)(this,i,void 0,n))}}}},{key:"notifyComplete",value:function(t){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(t,e,n){var i=this.values,r=this.toRespond?i[n]===c?--this.toRespond:this.toRespond:0;i[n]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(a.a)},"j/1Z":function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},jIre:function(t,e,n){(function(e){t.exports=function(t,n){for(var i=Math.min(t.length,n.length),r=new e(i),a=0;a<i;++a)r[a]=t[a]^n[a];return r}}).call(this,n("tjlA").Buffer)},jWEn:function(t,e,n){(function(n){var i;e=t.exports=X,i="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var r=Number.MAX_SAFE_INTEGER||9007199254740991,a=e.re=[],o=e.src=[],s=0,c=s++;o[c]="0|[1-9]\\d*";var u=s++;o[u]="[0-9]+";var l=s++;o[l]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var h=s++;o[h]="("+o[c]+")\\.("+o[c]+")\\.("+o[c]+")";var f=s++;o[f]="("+o[u]+")\\.("+o[u]+")\\.("+o[u]+")";var d=s++;o[d]="(?:"+o[c]+"|"+o[l]+")";var p=s++;o[p]="(?:"+o[u]+"|"+o[l]+")";var m=s++;o[m]="(?:-("+o[d]+"(?:\\."+o[d]+")*))";var v=s++;o[v]="(?:-?("+o[p]+"(?:\\."+o[p]+")*))";var b=s++;o[b]="[0-9A-Za-z-]+";var g=s++;o[g]="(?:\\+("+o[b]+"(?:\\."+o[b]+")*))";var y=s++,_="v?"+o[h]+o[m]+"?"+o[g]+"?";o[y]="^"+_+"$";var w="[v=\\s]*"+o[f]+o[v]+"?"+o[g]+"?",k=s++;o[k]="^"+w+"$";var S=s++;o[S]="((?:<|>)?=?)";var x=s++;o[x]=o[u]+"|x|X|\\*";var C=s++;o[C]=o[c]+"|x|X|\\*";var T=s++;o[T]="[v=\\s]*("+o[C]+")(?:\\.("+o[C]+")(?:\\.("+o[C]+")(?:"+o[m]+")?"+o[g]+"?)?)?";var E=s++;o[E]="[v=\\s]*("+o[x]+")(?:\\.("+o[x]+")(?:\\.("+o[x]+")(?:"+o[v]+")?"+o[g]+"?)?)?";var O=s++;o[O]="^"+o[S]+"\\s*"+o[T]+"$";var M=s++;o[M]="^"+o[S]+"\\s*"+o[E]+"$";var A=s++;o[A]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var I=s++;o[I]="(?:~>?)";var R=s++;o[R]="(\\s*)"+o[I]+"\\s+",a[R]=new RegExp(o[R],"g");var L=s++;o[L]="^"+o[I]+o[T]+"$";var P=s++;o[P]="^"+o[I]+o[E]+"$";var j=s++;o[j]="(?:\\^)";var D=s++;o[D]="(\\s*)"+o[j]+"\\s+",a[D]=new RegExp(o[D],"g");var N=s++;o[N]="^"+o[j]+o[T]+"$";var B=s++;o[B]="^"+o[j]+o[E]+"$";var F=s++;o[F]="^"+o[S]+"\\s*("+w+")$|^$";var z=s++;o[z]="^"+o[S]+"\\s*("+_+")$|^$";var V=s++;o[V]="(\\s*)"+o[S]+"\\s*("+w+"|"+o[T]+")",a[V]=new RegExp(o[V],"g");var U=s++;o[U]="^\\s*("+o[T]+")\\s+-\\s+("+o[T]+")\\s*$";var H=s++;o[H]="^\\s*("+o[E]+")\\s+-\\s+("+o[E]+")\\s*$";var q=s++;o[q]="(<|>)?=?\\s*\\*";for(var W=0;W<35;W++)i(W,o[W]),a[W]||(a[W]=new RegExp(o[W]));function K(t,e){if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof X)return t;if("string"!=typeof t)return null;if(t.length>256)return null;if(!(e.loose?a[k]:a[y]).test(t))return null;try{return new X(t,e)}catch(n){return null}}function X(t,e){if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof X){if(t.loose===e.loose)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: "+t);if(t.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof X))return new X(t,e);i("SemVer",t,e),this.options=e,this.loose=!!e.loose;var n=t.trim().match(e.loose?a[k]:a[y]);if(!n)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=n[4]?n[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&e<r)return e}return t})):[],this.build=n[5]?n[5].split("."):[],this.format()}e.parse=K,e.valid=function(t,e){var n=K(t,e);return n?n.version:null},e.clean=function(t,e){var n=K(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null},e.SemVer=X,X.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},X.prototype.toString=function(){return this.version},X.prototype.compare=function(t){return i("SemVer.compare",this.version,this.options,t),t instanceof X||(t=new X(t,this.options)),this.compareMain(t)||this.comparePre(t)},X.prototype.compareMain=function(t){return t instanceof X||(t=new X(t,this.options)),G(this.major,t.major)||G(this.minor,t.minor)||G(this.patch,t.patch)},X.prototype.comparePre=function(t){if(t instanceof X||(t=new X(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var e=0;do{var n=this.prerelease[e],r=t.prerelease[e];
vendor: 5,844 bytes, line 1
1if(i("prerelease compare",e,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return G(n,r)}while(++e)},X.prototype.inc=function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this},e.inc=function(t,e,n,i){"string"==typeof n&&(i=n,n=void 0);try{return new X(t,n).inc(e,i).version}catch(r){return null}},e.diff=function(t,e){if($(t,e))return null;var n=K(t),i=K(e),r="";if(n.prerelease.length||i.prerelease.length){r="pre";var a="prerelease"}for(var o in n)if(("major"===o||"minor"===o||"patch"===o)&&n[o]!==i[o])return r+o;return a},e.compareIdentifiers=G;var J=/^[0-9]+$/;function G(t,e){var n=J.test(t),i=J.test(e);return n&&i&&(t=+t,e=+e),t===e?0:n&&!i?-1:i&&!n?1:t<e?-1:1}function Y(t,e,n){return new X(t,n).compare(new X(e,n))}function Z(t,e,n){return Y(t,e,n)>0}function Q(t,e,n){return Y(t,e,n)<0}function $(t,e,n){return 0===Y(t,e,n)}function tt(t,e,n){return 0!==Y(t,e,n)}function et(t,e,n){return Y(t,e,n)>=0}function nt(t,e,n){return Y(t,e,n)<=0}function it(t,e,n,i){switch(e){case"===":return"object"==typeof t&&(t=t.version),"object"==typeof n&&(n=n.version),t===n;case"!==":return"object"==typeof t&&(t=t.version),"object"==typeof n&&(n=n.version),t!==n;case"":case"=":case"==":return $(t,n,i);case"!=":return tt(t,n,i);case">":return Z(t,n,i);case">=":return et(t,n,i);case"<":return Q(t,n,i);case"<=":return nt(t,n,i);default:throw new TypeError("Invalid operator: "+e)}}function rt(t,e){if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof rt){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof rt))return new rt(t,e);i("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.value=this.semver===at?"":this.operator+this.semver.version,i("comp",this)}e.rcompareIdentifiers=function(t,e){return G(e,t)},e.major=function(t,e){return new X(t,e).major},e.minor=function(t,e){return new X(t,e).minor},e.patch=function(t,e){return new X(t,e).patch},e.compare=Y,e.compareLoose=function(t,e){return Y(t,e,!0)},e.rcompare=function(t,e,n){return Y(e,t,n)},e.sort=function(t,n){return t.sort((function(t,i){return e.compare(t,i,n)}))},e.rsort=function(t,n){return t.sort((function(t,i){return e.rcompare(t,i,n)}))},e.gt=Z,e.lt=Q,e.eq=$,e.neq=tt,e.gte=et,e.lte=nt,e.cmp=it,e.Comparator=rt;var at={};function ot(t,e){if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof ot)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new ot(t.raw,e);if(t instanceof rt)return new ot(t.value,e);if(!(this instanceof ot))return new ot(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t,this.set=t.split(/\s*\|\|\s*/).map((function(t){return this.parseRange(t.trim())}),this).filter((function(t){return t.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+t);this.format()}function st(t){return!t||"x"===t.toLowerCase()||"*"===t}function ct(t,e,n,i,r,a,o,s,c,u,l,h,f){return((e=st(n)?"":st(i)?">="+n+".0.0":st(r)?">="+n+"."+i+".0":">="+e)+" "+(s=st(c)?"":st(u)?"<"+(+c+1)+".0.0":st(l)?"<"+c+"."+(+u+1)+".0":h?"<="+c+"."+u+"."+l+"-"+h:"<="+s)).trim()}function ut(t,e,n){for(var r=0;r<t.length;r++)if(!t[r].test(e))return!1;if(e.prerelease.length&&!n.includePrerelease){for(r=0;r<t.length;r++)if(i(t[r].semver),t[r].semver!==at&&t[r].semver.prerelease.length>0){var a=t[r].semver;if(a.major===e.major&&a.minor===e.minor&&a.patch===e.patch)return!0}return!1}return!0}function lt(t,e,n){try{e=new ot(e,n)}catch(i){return!1}return e.test(t)}function ht(t,e,n,i){var r,a,o,s,c;switch(t=new X(t,i),e=new ot(e,i),n){case">":r=Z,a=nt,o=Q,s=">",c=">=";break;case"<":r=Q,a=et,o=Z,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(lt(t,e,i))return!1;for(var u=0;u<e.set.length;++u){var l=null,h=null;if(e.set[u].forEach((function(t){t.semver===at&&(t=new rt(">=0.0.0")),h=h||t,r(t.semver,(l=l||t).semver,i)?l=t:o(t.semver,h.semver,i)&&(h=t)})),l.operator===s||l.operator===c)return!1;if((!h.operator||h.operator===s)&&a(t,h.semver))return!1;if(h.operator===c&&o(t,h.semver))return!1}return!0}rt.prototype.parse=function(t){var e=t.match(this.options.loose?a[F]:a[z]);if(!e)throw new TypeError("Invalid comparator: "+t);this.operator=e[1],"="===this.operator&&(this.operator=""),this.semver=e[2]?new X(e[2],this.options.loose):at},rt.prototype.toString=function(){return this.value},rt.prototype.test=function(t){return i("Comparator.test",t,this.options.loose),this.semver===at||("string"==typeof t&&(t=new X(t,this.options)),it(t,this.operator,this.semver,this.options))},rt.prototype.intersects=function(t,e){if(!(t instanceof rt))throw new TypeError("a Comparator is required");var n;if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}
1),""===this.operator)return n=new ot(t.value,e),lt(this.value,n,e);if(""===t.operator)return n=new ot(this.value,e),lt(t.semver,n,e);var i=!(">="!==this.operator&&">"!==this.operator||">="!==t.operator&&">"!==t.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==t.operator&&"<"!==t.operator),a=this.semver.version===t.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==t.operator&&"<="!==t.operator),s=it(this.semver,"<",t.semver,e)&&(">="===this.operator||">"===this.operator)&&("<="===t.operator||"<"===t.operator),c=it(this.semver,">",t.semver,e)&&("<="===this.operator||"<"===this.operator)&&(">="===t.operator||">"===t.operator);return i||r||a&&o||s||c},e.Range=ot,ot.prototype.format=function(){return this.range=this.set.map((function(t){return t.join(" ").trim()})).join("||").trim(),this.range},ot.prototype.toString=function(){return this.range},ot.prototype.parseRange=function(t){var e=this.options.loose;t=(t=t.trim()).replace(e?a[H]:a[U],ct),i("hyphen replace",t),t=t.replace(a[V],"$1$2$3"),i("comparator trim",t,a[V]),t=(t=(t=t.replace(a[R],"$1~")).replace(a[D],"$1^")).split(/\s+/).join(" ");var n=e?a[F]:a[z],r=t.split(" ").map((function(t){return function(t,e){return i("comp",t,e),t=function(t,e){return t.trim().split(/\s+/).map((function(t){return function(t,e){return i("caret",t,e),t.replace(e.loose?a[B]:a[N],(function(e,n,r,a,o){var s;return i("caret",t,e,n,r,a,o),st(n)?s="":st(r)?s=">="+n+".0.0 <"+(+n+1)+".0.0":st(a)?s="0"===n?">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0":">="+n+"."+r+".0 <"+(+n+1)+".0.0":o?(i("replaceCaret pr",o),s="0"===n?"0"===r?">="+n+"."+r+"."+a+"-"+o+" <"+n+"."+r+"."+(+a+1):">="+n+"."+r+"."+a+"-"+o+" <"+n+"."+(+r+1)+".0":">="+n+"."+r+"."+a+"-"+o+" <"+(+n+1)+".0.0"):(i("no pr"),s="0"===n?"0"===r?">="+n+"."+r+"."+a+" <"+n+"."+r+"."+(+a+1):">="+n+"."+r+"."+a+" <"+n+"."+(+r+1)+".0":">="+n+"."+r+"."+a+" <"+(+n+1)+".0.0"),i("caret return",s),s}))}(t,e)})).join(" ")}(t,e),i("caret",t),t=function(t,e){return t.trim().split(/\s+/).map((function(t){return function(t,e){return t.replace(e.loose?a[P]:a[L],(function(e,n,r,a,o){var s;return i("tilde",t,e,n,r,a,o),st(n)?s="":st(r)?s=">="+n+".0.0 <"+(+n+1)+".0.0":st(a)?s=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0":o?(i("replaceTilde pr",o),s=">="+n+"."+r+"."+a+"-"+o+" <"+n+"."+(+r+1)+".0"):s=">="+n+"."+r+"."+a+" <"+n+"."+(+r+1)+".0",i("tilde return",s),s}))}(t,e)})).join(" ")}(t,e),i("tildes",t),t=function(t,e){return i("replaceXRanges",t,e),t.split(/\s+/).map((function(t){return function(t,e){return(t=t.trim()).replace(e.loose?a[M]:a[O],(function(e,n,r,a,o,s){i("xRange",t,e,n,r,a,o,s);var c=st(r),u=c||st(a),l=u||st(o);return"="===n&&l&&(n=""),c?e=">"===n||"<"===n?"<0.0.0":"*":n&&l?(u&&(a=0),o=0,">"===n?(n=">=",u?(r=+r+1,a=0,o=0):(a=+a+1,o=0)):"<="===n&&(n="<",u?r=+r+1:a=+a+1),e=n+r+"."+a+"."+o):u?e=">="+r+".0.0 <"+(+r+1)+".0.0":l&&(e=">="+r+"."+a+".0 <"+r+"."+(+a+1)+".0"),i("xRange return",e),e}))}(t,e)})).join(" ")}(t,e),i("xrange",t),t=function(t,e){return i("replaceStars",t,e),t.trim().replace(a[q],"")}(t,e),i("stars",t),t}(t,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(r=r.filter((function(t){return!!t.match(n)}))),r.map((function(t){return new rt(t,this.options)}),this)},ot.prototype.intersects=function(t,e){if(!(t instanceof ot))throw new TypeError("a Range is required");return this.set.some((function(n){return n.every((function(n){return t.set.some((function(t){return t.every((function(t){return n.intersects(t,e)}))}))}))}))},e.toComparators=function(t,e){return new ot(t,e).set.map((function(t){return t.map((function(t){return t.value})).join(" ").trim().split(" ")}))},ot.prototype.test=function(t){if(!t)return!1;"string"==typeof t&&(t=new X(t,this.options));for(var e=0;e<this.set.length;e++)if(ut(this.set[e],t,this.options))return!0;return!1},e.satisfies=lt,e.maxSatisfying=function(t,e,n){var i=null,r=null;try{var a=new ot(e,n)}catch(o){return null}return t.forEach((function(t){a.test(t)&&(i&&-1!==r.compare(t)||(r=new X(i=t,n)))})),i},e.minSatisfying=function(t,e,n){var i=null,r=null;try{var a=new ot(e,n)}catch(o){return null}return t.forEach((function(t){a.test(t)&&(i&&1!==r.compare(t)||(r=new X(i=t,n)))})),i},e.minVersion=function(t,e){t=new ot(t,e);var n=new X("0.0.0");if(t.test(n))return n;if(n=new X("0.0.0-0"),t.test(n))return n;n=null;for(var i=0;i<t.set.length;
1++i)t.set[i].forEach((function(t){var e=new X(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":n&&!Z(n,e)||(n=e);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+t.operator)}}));return n&&t.test(n)?n:null},e.validRange=function(t,e){try{return new ot(t,e).range||"*"}catch(n){return null}},e.ltr=function(t,e,n){return ht(t,e,"<",n)},e.gtr=function(t,e,n){return ht(t,e,">",n)},e.outside=ht,e.prerelease=function(t,e){var n=K(t,e);return n&&n.prerelease.length?n.prerelease:null},e.intersects=function(t,e,n){return t=new ot(t,n),e=new ot(e,n),t.intersects(e)},e.coerce=function(t){if(t instanceof X)return t;if("string"!=typeof t)return null;var e=t.match(a[A]);return null==e?null:K(e[1]+"."+(e[2]||"0")+"."+(e[3]||"0"))}}).call(this,n("8oxB"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("HDdC"),r=n("quSY");function a(t,e){return new i.a((function(n){var i=new r.a,a=0;return i.add(e.schedule((function(){a!==t.length?(n.next(t[a++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}},jfd1:function(t,e,n){"use strict";var i=n("P7XM"),r=n("xZGU").Buffer,a=n("z71Z");function o(t){a.call(this,t),this.enc="pem"}i(o,a),t.exports=o,o.prototype.decode=function(t,e){for(var n=t.toString().split(/[\r\n]+/g),i=e.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,u=0;u<n.length;u++){var l=n[u].match(o);if(null!==l&&l[2]===i){if(-1!==s){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;s=u}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+i);var h=n.slice(s+1,c).join("");h.replace(/[^a-z0-9+/=]+/gi,"");var f=r.from(h,"base64");return a.prototype.decode.call(this,f,e)}},jhN1:function(t,e,n){"use strict";n.d(e,"a",(function(){return D})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return P})),n.d(e,"d",(function(){return _}));var i,r=n("ofXK"),a=n("fXoL"),o=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"getProperty",value:function(t,e){return t[e]}},{key:"log",value:function(t){window.console&&window.console.log&&window.console.log(t)}},{key:"logGroup",value:function(t){window.console&&window.console.group&&window.console.group(t)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){return t.parentNode&&t.parentNode.removeChild(t),t}},{key:"getValue",value:function(t){return t.value}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(t){var e,n=s||(s=document.querySelector("base"))?s.getAttribute("href"):null;return null==n?null:(e=n,i||(i=document.createElement("a")),i.setAttribute("href",e),"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname)}},{key:"resetBaseElement",value:function(){s=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(t){return Object(r.C)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){Object(r.D)(new n)}}]),n}(function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.call(this)}return tn(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(r.z)),s=null,c=new a.s("TRANSITION_ID"),u=[{provide:a.d,useFactory:function(t,e,n){return function(){n.get(a.e).donePromise.then((function(){var n=Object(r.B)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter((function(e){return e.getAttribute("ng-transition")===t}
1)).forEach((function(t){return n.remove(t)}))}))}},deps:[c,r.e,a.t],multi:!0}],l=function(){function t(){Qe(this,t)}return tn(t,[{key:"addToWindow",value:function(t){a.qb.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},a.qb.getAllAngularTestabilities=function(){return t.getAllTestabilities()},a.qb.getAllAngularRootElements=function(){return t.getAllRootElements()},a.qb.frameworkStabilizers||(a.qb.frameworkStabilizers=[]),a.qb.frameworkStabilizers.push((function(t){var e=a.qb.getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach((function(t){t.whenStable(r)}))}))}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?Object(r.B)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){Object(a.Z)(new t)}}]),t}(),h=new a.s("EventManagerPlugins"),f=function(){var t=function(){function t(e,n){var i=this;Qe(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach((function(t){return t.manager=i})),this._plugins=e.slice().reverse()}
1return tn(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event "+t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.cc(h),a.cc(a.B))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}(),d=function(){function t(e){Qe(this,t),this._doc=e}return tn(t,[{key:"addGlobalEventListener",value:function(t,e,n){var i=Object(r.B)().getGlobalEventTarget(this._doc,t);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(e));return this.addEventListener(i,e,n)}}]),t}(),p=function(){var t=function(){function t(){Qe(this,t),this._stylesSet=new Set}
1return tn(t,[{key:"addStyles",value:function(t){var e=this,n=new Set;t.forEach((function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))})),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(t){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}(),m=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this))._doc=t,i._hostNodes=new Set,i._styleNodes=new Set,i._hostNodes.add(t.head),i}return tn(n,[{key:"_addStylesToHost",value:function(t,e){var n=this;t.forEach((function(t){var i=n._doc.createElement("style");i.textContent=t,n._styleNodes.add(e.appendChild(i))}))}},{key:"addHost",value:function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}},{key:"removeHost",value:function(t){this._hostNodes.delete(t)}},{key:"onStylesAdded",value:function(t){var e=this;this._hostNodes.forEach((function(n){return e._addStylesToHost(t,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(t){return Object(r.B)().remove(t)}))}}]),n}(p);return t.\u0275fac=function(e){return new(e||t)(a.cc(r.e))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}(),v={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/"},b=/%COMP%/g;function g(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];Array.isArray(r)?g(t,r,n):(r=r.replace(b,t),n.push(r))}return n}function y(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var _=function(){var t=function(){function t(e,n,i){Qe(this,t),this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new w(e)}
1return tn(t,[{key:"createRenderer",value:function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case a.S.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new k(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case a.S.Native:case a.S.ShadowDom:return new S(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var i=g(e.id,e.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.cc(f),a.cc(m),a.cc(a.c))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}(),w=function(){function t(e){Qe(this,t),this.eventManager=e,this.data=Object.create(null)}return tn(t,[{key:"destroy",value:function(){}},{key:"createElement",value:function(t,e){return e?document.createElementNS(v[e]||e,t):document.createElement(t)}},{key:"createComment",value:function(t){return document.createComment(t)}},{key:"createText",value:function(t){return document.createTextNode(t)}},{key:"appendChild",value:function(t,e){t.appendChild(e)}},{key:"insertBefore",value:function(t,e,n){t&&t.insertBefore(e,n)}},{key:"removeChild",value:function(t,e){t&&t.removeChild(e)}},{key:"selectRootElement",value:function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'.concat(t,'" did not match any elements'));return e||(n.textContent=""),n}},{key:"parentNode",value:function(t){return t.parentNode}},{key:"nextSibling",value:function(t){return t.nextSibling}},{key:"setAttribute",value:function(t,e,n,i){if(i){e=i+":"+e;var r=v[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}},{key:"removeAttribute",value:function(t,e,n){if(n){var i=v[n];i?t.removeAttributeNS(i,e):t.removeAttribute("".concat(n,":").concat(e))}else t.removeAttribute(e)}},{key:"addClass",value:function(t,e){t.classList.add(e)}},{key:"removeClass",value:function(t,e){t.classList.remove(e)}},{key:"setStyle",value:function(t,e,n,i){i&a.I.DashCase?t.style.setProperty(e,n,i&a.I.Important?"important":""):t.style[e]=n}},{key:"removeStyle",value:function(t,e,n){n&a.I.DashCase?t.style.removeProperty(e):t.style[e]=""}},{key:"setProperty",value:function(t,e,n){t[e]=n}},{key:"setValue",value:function(t,e){t.nodeValue=e}},{key:"listen",value:function(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,y(n)):this.eventManager.addEventListener(t,e,y(n))}}]),t}(),k=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;Qe(this,n),(o=e.call(this,t)).component=r;var s,c=g(a+"-"+r.id,r.styles,[]);return i.addStyles(c),o.contentAttr="_ngcontent-%COMP%".replace(b,a+"-"+r.id),o.hostAttr=(s=a+"-"+r.id,"_nghost-%COMP%".replace(b,s)),o}return tn(n,[{key:"applyToHost",value:function(t){Je(cn(n.prototype),"setAttribute",this).call(this,t,this.hostAttr,"")}},{key:"createElement",value:function(t,e){var i=Je(cn(n.prototype),"createElement",this).call(this,t,e);return Je(cn(n.prototype),"setAttribute",this).call(this,i,this.contentAttr,""),i}}]),n}(w),S=function(t){en(n,t);var e=rn(n);function n(t,i,r,o){var s;Qe(this,n),(s=e.call(this,t)).sharedStylesHost=i,s.hostEl=r,s.component=o,s.shadowRoot=o.encapsulation===a.S.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),s.sharedStylesHost.addHost(s.shadowRoot);for(var c=g(o.id,o.styles,[]),u=0;u<c.length;u++){var l=document.createElement("style");l.textContent=c[u],s.shadowRoot.appendChild(l)}return s}return tn(n,[{key:"nodeOrShadowRoot",value:function(t){return t===this.hostEl?this.shadowRoot:t}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(t,e){return Je(cn(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(t),e)}},{key:"insertBefore",value:function(t,e,i){return Je(cn(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(t),e,i)}},{key:"removeChild",value:function(t,e){return Je(cn(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(t),e)}},{key:"parentNode",value:function(t){return this.nodeOrShadowRoot(Je(cn(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(t)))}}]),n}(w),x=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){return Qe(this,n),e.call(this,t)}return tn(n,[{key:"supports",value:function(t){return!0}},{key:"addEventListener",value:function(t,e,n){var i=this;return t.addEventListener(e,n,!1),function(){return i.removeEventListener(t,e,n)}}},{key:"removeEventListener",value:function(t,e,n){return t.removeEventListener(e,n)}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(a.cc(r.e))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}(),C=["alt","control","meta","shift"],T={"\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"},E={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},O={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},M=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){return Qe(this,n),e.call(this,t)}return tn(n,[{key:"supports",value:function(t){return null!=n.parseEventName(t)}}
1,{key:"addEventListener",value:function(t,e,i){var a=n.parseEventName(e),o=n.eventCallback(a.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Object(r.B)().onAndCancel(t,a.domEventName,o)}))}}],[{key:"parseEventName",value:function(t){var e=t.toLowerCase().split("."),i=e.shift();if(0===e.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(e.pop()),a="";if(C.forEach((function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),a+=t+".")})),a+=r,0!=e.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&E.hasOwnProperty(e)&&(e=E[e]))}return T[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),C.forEach((function(i){i!=n&&(0,O[i])(t)&&(e+=i+".")})),e+=n}},{key:"eventCallback",value:function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded((function(){return e(r)}))}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(a.cc(r.e))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t}(),A=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Jb)({factory:function(){return Object(a.cc)(R)},token:t,providedIn:"root"}),t}();function I(t){return new R(t.get(r.e))}var R=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this))._doc=t,i}return tn(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case a.K.NONE:return e;case a.K.HTML:return Object(a.fb)(e,"HTML")?Object(a.xb)(e):Object(a.db)(this._doc,String(e));case a.K.STYLE:return Object(a.fb)(e,"Style")?Object(a.xb)(e):e;case a.K.SCRIPT:if(Object(a.fb)(e,"Script"))return Object(a.xb)(e);throw new Error("unsafe value used in a script context");case a.K.URL:return Object(a.pb)(e),Object(a.fb)(e,"URL")?Object(a.xb)(e):Object(a.eb)(String(e));case a.K.RESOURCE_URL:if(Object(a.fb)(e,"ResourceURL"))return Object(a.xb)(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return Object(a.gb)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return Object(a.jb)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return Object(a.ib)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return Object(a.kb)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return Object(a.hb)(t)}}]),n}(A);return t.\u0275fac=function(e){return new(e||t)(a.cc(r.e))},t.\u0275prov=Object(a.Jb)({factory:function(){return I(Object(a.cc)(a.p))},token:t,providedIn:"root"}),t}(),L=[{provide:a.D,useValue:r.A},{provide:a.E,useValue:function(){o.makeCurrent(),l.init()},multi:!0},{provide:r.e,useFactory:function(){return Object(a.vb)(document),document},deps:[]}],P=Object(a.T)(a.Y,"browser",L),j=[[],{provide:a.bb,useValue:"root"},{provide:a.n,useFactory:function(){return new a.n},deps:[]},{provide:h,useClass:x,multi:!0,deps:[r.e,a.B,a.D]},{provide:h,useClass:M,multi:!0,deps:[r.e]},[],{provide:_,useClass:_,deps:[f,m,a.c]},{provide:a.H,useExisting:_},{provide:p,useExisting:m},{provide:m,useClass:m,deps:[r.e]},{provide:a.O,useClass:a.O,deps:[a.B]},{provide:f,useClass:f,deps:[h,a.B]},[]],D=function(){var t=function(){function t(e){if(Qe(this,t),e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return tn(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:a.c,useValue:e.appId},{provide:c,useExisting:a.c},u]}}}]),t}();return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.cc(t,12))},providers:j,imports:[r.c,a.f]}),t}();"undefined"!=typeof window&&window},jtHE:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n("XNiG"),r=n("qgXg"),a=n("quSY"),o=n("pxpQ"),s=n("9ppp"),c=n("Ylt2"),u=function(t){en(n,t);var e=rn(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,a=arguments.length>2?arguments[2]:void 0;
1return Qe(this,n),(t=e.call(this)).scheduler=a,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=i<1?1:i,t._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return tn(n,[{key:"nextInfiniteTimeWindow",value:function(t){var e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),Je(cn(n.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this._events.push(new l(this._getNow(),t)),this._trimBufferThenGetEvents(),Je(cn(n.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,u=i.length;if(this.closed)throw new s.a;if(this.isStopped||this.hasError?e=a.a.EMPTY:(this.observers.push(t),e=new c.a(this,t)),r&&t.add(t=new o.a(t,r)),n)for(var l=0;l<u&&!t.closed;l++)t.next(i[l]);else for(var h=0;h<u&&!t.closed;h++)t.next(i[h].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e}},{key:"_getNow",value:function(){return(this.scheduler||r.a).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,a=0;a<r&&!(t-i[a].time<n);)a++;return r>e&&(a=Math.max(a,r-e)),a>0&&i.splice(0,a),i}}]),n}(i.a),l=function t(e,n){Qe(this,t),this.time=e,this.value=n}},"k+aG":function(t,e,n){"use strict";var i=n("hwdV").Buffer,r=n("NNVn").Transform;function a(t){r.call(this),this._block=i.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n("P7XM")(a,r),a.prototype._transform=function(t,e,n){var i=null;try{this.update(t,e)}catch(r){i=r}n(i)},a.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)},a.prototype.update=function(t,e){if(function(t,e){if(!i.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer")}(t),this._finalized)throw new Error("Digest already called");i.isBuffer(t)||(t=i.from(t,e));for(var n=this._block,r=0;this._blockOffset+t.length-r>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)n[a++]=t[r++];this._update(),this._blockOffset=0}for(;r<t.length;)n[this._blockOffset++]=t[r++];for(var o=0,s=8*t.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},a.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=a},kBkV:function(t,e,n){"use strict";(function(e){function n(t,e){r(t,e),i(t)}function i(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,a){var o=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(a?a(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(r,this,t)):e.nextTick(r,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!a&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(i,o):(o._writableState.errorEmitted=!0,e.nextTick(n,o,t)):e.nextTick(n,o,t):a?(e.nextTick(i,o),a(t)):e.nextTick(i,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,n("8oxB"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},kU1M:function(t,e,n){"use strict";n.r(e),n.d(e,"audit",(function(){return i.a})),n.d(e,"auditTime",(function(){return r.a})),n.d(e,"buffer",(function(){return o}
1)),n.d(e,"bufferCount",(function(){return l})),n.d(e,"bufferTime",(function(){return v})),n.d(e,"bufferToggle",(function(){return T})),n.d(e,"bufferWhen",(function(){return M})),n.d(e,"catchError",(function(){return R.a})),n.d(e,"combineAll",(function(){return P})),n.d(e,"combineLatest",(function(){return N})),n.d(e,"concat",(function(){return F})),n.d(e,"concatAll",(function(){return z.a})),n.d(e,"concatMap",(function(){return V.a})),n.d(e,"concatMapTo",(function(){return U})),n.d(e,"count",(function(){return H})),n.d(e,"debounce",(function(){return K})),n.d(e,"debounceTime",(function(){return G.a})),n.d(e,"defaultIfEmpty",(function(){return Y.a})),n.d(e,"delay",(function(){return Z.a})),n.d(e,"delayWhen",(function(){return $})),n.d(e,"dematerialize",(function(){return rt})),n.d(e,"distinct",(function(){return st})),n.d(e,"distinctUntilChanged",(function(){return lt.a})),n.d(e,"distinctUntilKeyChanged",(function(){return ht})),n.d(e,"elementAt",(function(){return vt})),n.d(e,"endWith",(function(){return gt})),n.d(e,"every",(function(){return yt.a})),n.d(e,"exhaust",(function(){return _t})),n.d(e,"exhaustMap",(function(){return xt})),n.d(e,"expand",(function(){return Et})),n.d(e,"filter",(function(){return dt.a})),n.d(e,"finalize",(function(){return At.a})),n.d(e,"find",(function(){return It})),n.d(e,"findIndex",(function(){return Pt})),n.d(e,"first",(function(){return jt.a})),n.d(e,"groupBy",(function(){return Dt.b})),n.d(e,"ignoreElements",(function(){return Nt})),n.d(e,"isEmpty",(function(){return zt})),n.d(e,"last",(function(){return Ht.a})),n.d(e,"map",(function(){return St.a})),n.d(e,"mapTo",(function(){return qt})),n.d(e,"materialize",(function(){return Jt})),n.d(e,"max",(function(){return ee})),n.d(e,"merge",(function(){return ie})),n.d(e,"mergeAll",(function(){return re.a})),n.d(e,"mergeMap",(function(){return ae.b})),n.d(e,"flatMap",(function(){return ae.a})),n.d(e,"mergeMapTo",(function(){return oe})),n.d(e,"mergeScan",(function(){return se})),n.d(e,"min",(function(){return le})),n.d(e,"multicast",(function(){return he.a})),n.d(e,"observeOn",(function(){return fe.b})),n.d(e,"onErrorResumeNext",(function(){return de})),n.d(e,"pairwise",(function(){return ve.a})),n.d(e,"partition",(function(){return ge})),n.d(e,"pluck",(function(){return ye})),n.d(e,"publish",(function(){return we})),n.d(e,"publishBehavior",(function(){return Se})),n.d(e,"publishLast",(function(){return Ce})),n.d(e,"publishReplay",(function(){return Ee})),n.d(e,"race",(function(){return Me})),n.d(e,"reduce",(function(){return te})),n.d(e,"repeat",(function(){return Ie})),n.d(e,"repeatWhen",(function(){return Pe})),n.d(e,"retry",(function(){return Ne})),n.d(e,"retryWhen",(function(){return ze})),n.d(e,"refCount",(function(){return He.a})),n.d(e,"sample",(function(){return qe})),n.d(e,"sampleTime",(function(){return Ge})),n.d(e,"scan",(function(){return Zt.a})),n.d(e,"sequenceEqual",(function(){return nn})),n.d(e,"share",(function(){return ln.a})),n.d(e,"shareReplay",(function(){return hn.a})),n.d(e,"single",(function(){return dn})),n.d(e,"skip",(function(){return vn.a})),n.d(e,"skipLast",(function(){return bn})),n.d(e,"skipUntil",(function(){return _n})),n.d(e,"skipWhile",(function(){return Sn})),n.d(e,"startWith",(function(){return Tn.a})),n.d(e,"subscribeOn",(function(){return An})),n.d(e,"switchAll",(function(){return Pn})),n.d(e,"switchMap",(function(){return Rn.a})),n.d(e,"switchMapTo",(function(){return jn})),n.d(e,"take",(function(){return mt.a})),n.d(e,"takeLast",(function(){return Qt.a})),n.d(e,"takeUntil",(function(){return Dn.a})),n.d(e,"takeWhile",(function(){return Nn.a})),n.d(e,"tap",(function(){return Bn.a})),n.d(e,"throttle",(function(){return zn})),n.d(e,"throttleTime",(function(){return Hn})),n.d(e,"throwIfEmpty",(function(){return pt.a})),n.d(e,"timeInterval",(function(){return Jn})),n.d(e,"timeout",(function(){return ni})),n.d(e,"timeoutWith",(function(){return Qn})),n.d(e,"timestamp",(function(){return ii})),n.d(e,"toArray",(function(){return oi})),n.d(e,"window",(function(){return si})),n.d(e,"windowCount",(function(){return li})),n.d(e,"windowTime",(function(){return di})),n.d(e,"windowToggle",(function(){return _i})),n.d(e,"windowWhen",(function(){return Si})),n.d(e,"withLatestFrom",(function(){return Ti})),n.d(e,"zip",(function(){return Ai})),n.d(e,"zipAll",(function(){return Ii}));var i=n("tnsW"),r=n("3UWI"),a=n("zx2A");function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(e){Qe(this,t),this.closingNotifier=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.closingNotifier))}}]),t}(),c=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).buffer=[],r.add(Object(a.c)(i,new a.a(on(r)))),r}return tn(n,[{key:"_next",value:function(t){this.buffer.push(t)}},{key:"notifyNext",value:function(){var t=this.buffer;this.buffer=[],this.destination.next(t)}}]),n}(a.b),u=n("7o/Q");function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n){return n.lift(new h(t,e))}}var h=function(){function t(e,n){Qe(this,t),this.bufferSize=e,this.startBufferEvery=n,this.subscriberClass=n&&e!==n?d:f}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))}}]),t}(),f=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).bufferSize=i,r.buffer=[],r}return tn(n,[{key:"_next",value:function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])}},{key:"_complete",value:function(){var t=this.buffer;t.length>0&&this.destination.next(t),Je(cn(n.prototype),"_complete",this).call(this)}}]),n}(u.a),d=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).bufferSize=i,a.startBufferEvery=r,a.buffers=[],a.count=0,a}return tn(n,[{key:"_next",value:function(t){var e=this.bufferSize,n=this.startBufferEvery,i=this.buffers,r=this.count;this.count++,r%n==0&&i.push([]);for(var a=i.length;a--;){var o=i[a];o.push(t),o.length===e&&(i.splice(a,1),this.destination.next(o))}}},{key:"_complete",value:function(){for(var t=this.buffers,e=this.destination;t.length>0;){var i=t.shift();i.length>0&&e.next(i)}Je(cn(n.prototype),"_complete",this).call(this)}}]),n}(u.a),p=n("D0XW"),m=n("z+Ro");function v(t){var e=arguments.length,n=p.a;Object(m.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),function(e){return e.lift(new b(t,i,r,n))}}var b=function(){function t(e,n,i,r){Qe(this,t),this.bufferTimeSpan=e,this.bufferCreationInterval=n,this.maxBufferSize=i,this.scheduler=r}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new y(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}]),t}(),g=function t(){Qe(this,t),this.buffer=[]},y=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s;Qe(this,n),(s=e.call(this,t)).bufferTimeSpan=i,s.bufferCreationInterval=r,s.maxBufferSize=a,s.scheduler=o,s.contexts=[];var c=s.openContext();if(s.timespanOnly=null==r||r<0,s.timespanOnly)s.add(c.closeAction=o.schedule(_,i,{subscriber:on(s),context:c,bufferTimeSpan:i}));else{var u={bufferTimeSpan:i,bufferCreationInterval:r,subscriber:on(s),scheduler:o};s.add(c.closeAction=o.schedule(k,i,{subscriber:on(s),context:c})),s.add(o.schedule(w,r,u))}return s}return tn(n,[{key:"_next",value:function(t){for(var e,n=this.contexts,i=n.length,r=0;r<i;r++){var a=n[r],o=a.buffer;o.push(t),o.length==this.maxBufferSize&&(e=a)}e&&this.onBufferFull(e)}},{key:"_error",value:function(t){this.contexts.length=0,Je(cn(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){for(var t=this.contexts,e=this.destination;t.length>0;){var i=t.shift();e.next(i.buffer)}Je(cn(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){this.contexts=null}},{key:"onBufferFull",value:function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(_,n,{subscriber:this,context:t,bufferTimeSpan:n}))}}},{key:"openContext",value:function(){var t=new g;return this.contexts.push(t),t}},{key:"closeContext",value:function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)}}]),n}(u.a);function _(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function w(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,r=t.scheduler,a=i.openContext();i.closed||(i.add(a.closeAction=r.schedule(k,n,{subscriber:i,context:a})),this.schedule(t,e))}function k(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var S=n("quSY"),x=n("ZUHj"),C=n("l7GE");function T(t,e){return function(n){return n.lift(new E(t,e))}}var E=function(){function t(e,n){Qe(this,t),this.openings=e,this.closingSelector=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new O(t,this.openings,this.closingSelector))}}]),t}(),O=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).closingSelector=r,a.contexts=[],a.add(Object(x.a)(on(a),i)),a}return tn(n,[{key:"_next",value:function(t){for(var e=this.contexts,n=e.length,i=0;i<n;i++)e[i].buffer.push(t)}},{key:"_error",value:function(t){for(var e=this.contexts;e.length>0;){var i=e.shift();i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,Je(cn(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){for(var t=this.contexts;t.length>0;){var e=t.shift();this.destination.next(e.buffer),e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,Je(cn(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t,e){t?this.closeBuffer(t):this.openBuffer(e)}},{key:"notifyComplete",value:function(t){this.closeBuffer(t.context)}},{key:"openBuffer",value:function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(n){this._error(n)}}},{key:"closeBuffer",value:function(t){var e=this.contexts;if(e&&t){var n=t.buffer,i=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}}},{key:"trySubscribe",value:function(t){var e=this.contexts,n=new S.a,i={buffer:[],subscription:n};e.push(i);var r=Object(x.a)(this,t,i);!r||r.closed?this.closeBuffer(i):(r.context=i,this.add(r),n.add(r))}}]),n}(C.a);function M(t){return function(e){return e.lift(new A(t))}}var A=function(){function t(e){Qe(this,t),this.closingSelector=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new I(t,this.closingSelector))}}]),t}(),I=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).closingSelector=i,r.subscribing=!1,r.openBuffer(),r}return tn(n,[{key:"_next",value:function(t){this.buffer.push(t)}},{key:"_complete",value:function(){var t=this.buffer;t&&this.destination.next(t),Je(cn(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){this.buffer=void 0,this.subscribing=!1}},{key:"notifyNext",value:function(){this.openBuffer()}},{key:"notifyComplete",value:function(){this.subscribing?this.complete():this.openBuffer()}},{key:"openBuffer",value:function(){var t,e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{t=(0,this.closingSelector)()}catch(n){return this.error(n)}e=new S.a,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(a.c)(t,new a.a(this))),this.subscribing=!1}}]),n}(a.b),R=n("JIr8"),L=n("itXk");function P(t){return function(e){return e.lift(new L.a(t))}}var j=n("DH7j"),D=n("Cfvw");function N(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=null;return"function"==typeof e[e.length-1]&&(i=e.pop()),1===e.length&&Object(j.a)(e[0])&&(e=e[0].slice()),function(t){return t.lift.call(Object(D.a)([t].concat(Xe(e))),new L.a(i))}}var B=n("GyhO");function F(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return t.lift.call(Object(B.a).apply(void 0,[t].concat(e)))}}var z=n("0EUg"),V=n("bOdf");function U(t,e){return Object(V.a)((function(){return t}),e)}function H(t){return function(e){return e.lift(new q(t,e))}}var q=function(){function t(e,n){Qe(this,t),this.predicate=e,this.source=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new W(t,this.predicate,this.source))}}]),t}(),W=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).predicate=i,a.source=r,a.count=0,a.index=0,a}return tn(n,[{key:"_next",value:function(t){this.predicate?this._tryPredicate(t):this.count++}},{key:"_tryPredicate",value:function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e&&this.count++}},{key:"_complete",value:function(){this.destination.next(this.count),this.destination.complete()}}]),n}(u.a);function K(t){return function(e){return e.lift(new X(t))}}var X=function(){function t(e){Qe(this,t),this.durationSelector=e}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new J(t,this.durationSelector))}}]),t}(),J=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).durationSelector=i,r.hasValue=!1,r}return tn(n,[{key:"_next",value:function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(n){this.destination.error(n)}}},{key:"_complete",value:function(){this.emitValue(),this.destination.complete()}},{key:"_tryNext",value:function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=Object(a.c)(e,new a.a(this)))&&!n.closed&&this.add(this.durationSubscription=n)}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){if(this.hasValue){var t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,Je(cn(n.prototype),"_next",this).call(this,t)}}}]),n}(a.b),G=n("Kj3r"),Y=n("xbPD"),Z=n("3E0/"),Q=n("HDdC");function $(t,e){return e?function(n){return new nt(n,e).lift(new tt(t))}:function(e){return e.lift(new tt(t))}}var tt=function(){function t(e){Qe(this,t),this.delayDurationSelector=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new et(t,this.delayDurationSelector))}}]),t}(),et=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).delayDurationSelector=i,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return tn(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(t),this.removeSubscription(r),this.tryComplete()}},{key:"notifyError",value:function(t,e){this._error(t)}},{key:"notifyComplete",value:function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()}},{key:"_next",value:function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(i){this.destination.error(i)}}},{key:"_complete",value:function(){this.completed=!0,this.tryComplete(),this.unsubscribe()}},{key:"removeSubscription",value:function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue}},{key:"tryDelay",value:function(t,e){var n=Object(x.a)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))}},{key:"tryComplete",value:function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}]),n}(C.a),nt=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this)).source=t,r.subscriptionDelay=i,r}return tn(n,[{key:"_subscribe",value:function(t){this.subscriptionDelay.subscribe(new it(t,this.source))}}]),n}(Q.a),it=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this)).parent=t,r.source=i,r.sourceSubscribed=!1,r}return tn(n,[{key:"_next",value:function(t){this.subscribeToSource()}},{key:"_error",value:function(t){this.unsubscribe(),this.parent.error(t)}},{key:"_complete",value:function(){this.unsubscribe(),this.subscribeToSource()}},{key:"subscribeToSource",value:function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}]),n}(u.a);function rt(){return function(t){return t.lift(new at)}}var at=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new ot(t))}}]),t}(),ot=function(t){en(n,t);var e=rn(n);function n(t){return Qe(this,n),e.call(this,t)}return tn(n,[{key:"_next",value:function(t){t.observe(this.destination)}}]),n}(u.a);function st(t,e){return function(n){return n.lift(new ct(t,e))}}var ct=function(){function t(e,n){Qe(this,t),this.keySelector=e,this.flushes=n}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new ut(t,this.keySelector,this.flushes))}}]),t}(),ut=function(t){en(n,t);var e=rn(n);function n(t,i,r){var o;return Qe(this,n),(o=e.call(this,t)).keySelector=i,o.values=new Set,r&&o.add(Object(a.c)(r,new a.a(on(o)))),o}return tn(n,[{key:"notifyNext",value:function(){this.values.clear()}},{key:"notifyError",value:function(t){this._error(t)}},{key:"_next",value:function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)}},{key:"_useKeySelector",value:function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(i){return void n.error(i)}this._finalizeNext(e,t)}},{key:"_finalizeNext",value:function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))}}]),n}(a.b),lt=n("/uUt");function ht(t,e){return Object(lt.a)((function(n,i){return e?e(n[t],i[t]):n[t]===i[t]}))}var ft=n("4I5i"),dt=n("pLZG"),pt=n("XDbj"),mt=n("IzEk");function vt(t,e){if(t<0)throw new ft.a;var n=arguments.length>=2;return function(i){return i.pipe(Object(dt.a)((function(e,n){return n===t})),Object(mt.a)(1),n?Object(Y.a)(e):Object(pt.a)((function(){return new ft.a})))}}var bt=n("LRne");function gt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return Object(B.a)(t,Object(bt.a).apply(void 0,e))}}var yt=n("Gi4w");function _t(){return function(t){return t.lift(new wt)}}var wt=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new kt(t))}}]),t}(),kt=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t)).hasCompleted=!1,i.hasSubscription=!1,i}return tn(n,[{key:"_next",value:function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(a.c)(t,new a.a(this))))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),n}(a.b),St=n("lJxs");function xt(t,e){return e?function(n){return n.pipe(xt((function(n,i){return Object(D.a)(t(n,i)).pipe(Object(St.a)((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new Ct(t))}}var Ct=function(){function t(e){Qe(this,t),this.project=e}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Tt(t,this.project))}}]),t}(),Tt=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).project=i,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return tn(n,[{key:"_next",value:function(t){this.hasSubscription||this.tryNext(t)}},{key:"tryNext",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=new a.a(this),n=this.destination;n.add(e);var i=Object(a.c)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyError",value:function(t){this.destination.error(t)}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),n}(a.b);function Et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,n=arguments.length>2?arguments[2]:void 0;return e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(i){return i.lift(new Ot(t,e,n))}}var Ot=function(){function t(e,n,i){Qe(this,t),this.project=e,this.concurrent=n,this.scheduler=i}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Mt(t,this.project,this.concurrent,this.scheduler))}}]),t}(),Mt=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t)).project=i,o.concurrent=r,o.scheduler=a,o.index=0,o.active=0,o.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(o.buffer=[]),o}return tn(n,[{key:"_next",value:function(t){var e=this.destination;if(e.closed)this._complete();else{var i=this.index++;if(this.active<this.concurrent){e.next(t);try{var r=(0,this.project)(t,i);this.scheduler?this.destination.add(this.scheduler.schedule(n.dispatch,0,{subscriber:this,result:r,value:t,index:i})):this.subscribeToProjection(r,t,i)}catch(a){e.error(a)}}else this.buffer.push(t)}}},{key:"subscribeToProjection",value:function(t,e,n){this.active++,this.destination.add(Object(a.c)(t,new a.a(this)))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this._next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}],[{key:"dispatch",value:function(t){var e=t.subscriber,n=t.result,i=t.value,r=t.index;e.subscribeToProjection(n,i,r)}}]),n}(a.b),At=n("nYR2");function It(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Rt(t,n,!1,e))}}var Rt=function(){function t(e,n,i,r){Qe(this,t),this.predicate=e,this.source=n,this.yieldIndex=i,this.thisArg=r}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Lt(t,this.predicate,this.source,this.yieldIndex,this.thisArg))}}]),t}(),Lt=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s;return Qe(this,n),(s=e.call(this,t)).predicate=i,s.source=r,s.yieldIndex=a,s.thisArg=o,s.index=0,s}return tn(n,[{key:"notifyComplete",value:function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()}},{key:"_next",value:function(t){var e=this.predicate,n=this.thisArg,i=this.index++;try{e.call(n||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(r){this.destination.error(r)}}},{key:"_complete",value:function(){this.notifyComplete(this.yieldIndex?-1:void 0)}}]),n}(u.a);function Pt(t,e){return function(n){return n.lift(new Rt(t,n,!0,e))}}var jt=n("SxV6"),Dt=n("OQgR");function Nt(){return function(t){return t.lift(new Bt)}}var Bt=function(){function t(){Qe(this,t)}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Ft(t))}}]),t}(),Ft=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"_next",value:function(t){}}]),n}(u.a);function zt(){return function(t){return t.lift(new Vt)}}var Vt=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Ut(t))}}]),t}(),Ut=function(t){en(n,t);var e=rn(n);function n(t){return Qe(this,n),e.call(this,t)}return tn(n,[{key:"notifyComplete",value:function(t){var e=this.destination;e.next(t),e.complete()}},{key:"_next",value:function(t){this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(u.a),Ht=n("NJ9Y");function qt(t){return function(e){return e.lift(new Wt(t))}}var Wt=function(){function t(e){Qe(this,t),this.value=e}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Kt(t,this.value))}}]),t}(),Kt=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).value=i,r}return tn(n,[{key:"_next",value:function(t){this.destination.next(this.value)}}]),n}(u.a),Xt=n("WMd4");function Jt(){return function(t){return t.lift(new Gt)}}var Gt=function(){function t(){Qe(this,t)}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Yt(t))}}]),t}(),Yt=function(t){en(n,t);var e=rn(n);function n(t){return Qe(this,n),e.call(this,t)}return tn(n,[{key:"_next",value:function(t){this.destination.next(Xt.a.createNext(t))}},{key:"_error",value:function(t){var e=this.destination;e.next(Xt.a.createError(t)),e.complete()}},{key:"_complete",value:function(){var t=this.destination;t.next(Xt.a.createComplete()),t.complete()}}]),n}(u.a),Zt=n("Kqap"),Qt=n("BFxc"),$t=n("mCNh");function te(t,e){return arguments.length>=2?function(n){return Object($t.a)(Object(Zt.a)(t,e),Object(Qt.a)(1),Object(Y.a)(e))(n)}:function(e){return Object($t.a)(Object(Zt.a)((function(e,n,i){return t(e,n,i+1)})),Object(Qt.a)(1))(e)}}function ee(t){return te("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}var ne=n("VRyK");function ie(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return t.lift.call(Object(ne.a).apply(void 0,[t].concat(e)))}}var re=n("bHdf"),ae=n("5+tZ");function oe(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?Object(ae.b)((function(){return t}),e,n):("number"==typeof e&&(n=e),Object(ae.b)((function(){return t}),n))}function se(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return function(i){return i.lift(new ce(t,e,n))}}var ce=function(){function t(e,n,i){Qe(this,t),this.accumulator=e,this.seed=n,this.concurrent=i}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new ue(t,this.accumulator,this.seed,this.concurrent))}}]),t}(),ue=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t)).accumulator=i,o.acc=r,o.concurrent=a,o.hasValue=!1,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return tn(n,[{key:"_next",value:function(t){if(this.active<this.concurrent){var e,n=this.index++,i=this.destination;try{e=(0,this.accumulator)(this.acc,t,n)}catch(r){return i.error(r)}this.active++,this._innerSub(e)}else this.buffer.push(t)}},{key:"_innerSub",value:function(t){var e=new a.a(this),n=this.destination;n.add(e);var i=Object(a.c)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()}},{key:"notifyNext",value:function(t){var e=this.destination;this.acc=t,this.hasValue=!0,e.next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}]),n}(a.b);function le(t){return te("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}var he=n("oB13"),fe=n("pxpQ");function de(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&Object(j.a)(e[0])&&(e=e[0]),function(t){return t.lift(new pe(e))}}var pe=function(){function t(e){Qe(this,t),this.nextSources=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new me(t,this.nextSources))}}]),t}(),me=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).destination=t,r.nextSources=i,r}return tn(n,[{key:"notifyError",value:function(){this.subscribeToNextSource()}},{key:"notifyComplete",value:function(){this.subscribeToNextSource()}},{key:"_error",value:function(t){this.subscribeToNextSource(),this.unsubscribe()}},{key:"_complete",value:function(){this.subscribeToNextSource(),this.unsubscribe()}},{key:"subscribeToNextSource",value:function(){var t=this.nextSources.shift();if(t){var e=new a.a(this),n=this.destination;n.add(e);var i=Object(a.c)(t,e);i!==e&&n.add(i)}else this.destination.complete()}}]),n}(a.b),ve=n("Zy1z"),be=n("F97/");function ge(t,e){return function(n){return[Object(dt.a)(t,e)(n),Object(dt.a)(Object(be.a)(t,e))(n)]}}function ye(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e.length;if(0===i)throw new Error("list of properties cannot be empty.");return function(t){return Object(St.a)(function(t,e){return function(n){for(var i=n,r=0;r<e;r++){var a=null!=i?i[t[r]]:void 0;if(void 0===a)return;i=a}return i}}(e,i))(t)}}var _e=n("XNiG");function we(t){return t?Object(he.a)((function(){return new _e.a}),t):Object(he.a)(new _e.a)}var ke=n("2Vo4");function Se(t){return function(e){return Object(he.a)(new ke.a(t))(e)}}var xe=n("NHP+");function Ce(){return function(t){return Object(he.a)(new xe.a)(t)}}var Te=n("jtHE");function Ee(t,e,n,i){n&&"function"!=typeof n&&(i=n);var r="function"==typeof n?n:void 0,a=new Te.a(t,e,i);return function(t){return Object(he.a)((function(){return a}),r)(t)}}var Oe=n("Nv8m");function Me(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return 1===e.length&&Object(j.a)(e[0])&&(e=e[0]),t.lift.call(Object(Oe.a).apply(void 0,[t].concat(Xe(e))))}}var Ae=n("EY2u");function Ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(e){return 0===t?Object(Ae.b)():e.lift(new Re(t<0?-1:t-1,e))}}var Re=function(){function t(e,n){Qe(this,t),this.count=e,this.source=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Le(t,this.count,this.source))}}]),t}(),Le=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).count=i,a.source=r,a}return tn(n,[{key:"complete",value:function(){if(!this.isStopped){var t=this.source,e=this.count;if(0===e)return Je(cn(n.prototype),"complete",this).call(this);e>-1&&(this.count=e-1),t.subscribe(this._unsubscribeAndRecycle())}}}]),n}(u.a);function Pe(t){return function(e){return e.lift(new je(t))}}var je=function(){function t(e){Qe(this,t),this.notifier=e}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new De(t,this.notifier,e))}}]),t}(),De=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).notifier=i,a.source=r,a.sourceIsBeingSubscribedTo=!0,a}return tn(n,[{key:"notifyNext",value:function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}},{key:"notifyComplete",value:function(){if(!1===this.sourceIsBeingSubscribedTo)return Je(cn(n.prototype),"complete",this).call(this)}},{key:"complete",value:function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return Je(cn(n.prototype),"complete",this).call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}},{key:"_unsubscribe",value:function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._unsubscribe;return this._unsubscribe=null,Je(cn(n.prototype),"_unsubscribeAndRecycle",this).call(this),this._unsubscribe=t,this}},{key:"subscribeToRetries",value:function(){var t;this.notifications=new _e.a;try{t=(0,this.notifier)(this.notifications)}catch(e){return Je(cn(n.prototype),"complete",this).call(this)}this.retries=t,this.retriesSubscription=Object(a.c)(t,new a.a(this))}}]),n}(a.b);function Ne(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(e){return e.lift(new Be(t,e))}}var Be=function(){function t(e,n){Qe(this,t),this.count=e,this.source=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Fe(t,this.count,this.source))}}]),t}(),Fe=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).count=i,a.source=r,a}return tn(n,[{key:"error",value:function(t){if(!this.isStopped){var e=this.source,i=this.count;if(0===i)return Je(cn(n.prototype),"error",this).call(this,t);i>-1&&(this.count=i-1),e.subscribe(this._unsubscribeAndRecycle())}}}]),n}(u.a);function ze(t){return function(e){return e.lift(new Ve(t,e))}}var Ve=function(){function t(e,n){Qe(this,t),this.notifier=e,this.source=n}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Ue(t,this.notifier,this.source))}}]),t}(),Ue=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).notifier=i,a.source=r,a}return tn(n,[{key:"error",value:function(t){if(!this.isStopped){var e=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{e=new _e.a;try{i=(0,this.notifier)(e)}catch(o){return Je(cn(n.prototype),"error",this).call(this,o)}r=Object(a.c)(i,new a.a(this))}this._unsubscribeAndRecycle(),this.errors=e,this.retries=i,this.retriesSubscription=r,e.next(t)}}},{key:"_unsubscribe",value:function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"notifyNext",value:function(){var t=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)}}]),n}(a.b),He=n("x+ZX");function qe(t){return function(e){return e.lift(new We(t))}}var We=function(){function t(e){Qe(this,t),this.notifier=e}
1return tn(t,[{key:"call",value:function(t,e){var n=new Ke(t),i=e.subscribe(n);return i.add(Object(a.c)(this.notifier,new a.a(n))),i}}]),t}(),Ke=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.apply(this,arguments)).hasValue=!1,t}return tn(n,[{key:"_next",value:function(t){this.value=t,this.hasValue=!0}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}]),n}(a.b);function Ge(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.a;return function(n){return n.lift(new Ye(t,e))}}var Ye=function(){function t(e,n){Qe(this,t),this.period=e,this.scheduler=n}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Ze(t,this.period,this.scheduler))}}]),t}(),Ze=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).period=i,a.scheduler=r,a.hasValue=!1,a.add(r.schedule($e,i,{subscriber:on(a),period:i})),a}return tn(n,[{key:"_next",value:function(t){this.lastValue=t,this.hasValue=!0}},{key:"notifyNext",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}]),n}(u.a);function $e(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function nn(t,e){return function(n){return n.lift(new an(t,e))}}var an=function(){function t(e,n){Qe(this,t),this.compareTo=e,this.comparator=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new sn(t,this.compareTo,this.comparator))}}]),t}(),sn=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).compareTo=i,a.comparator=r,a._a=[],a._b=[],a._oneComplete=!1,a.destination.add(i.subscribe(new un(t,on(a)))),a}return tn(n,[{key:"_next",value:function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())}},{key:"_complete",value:function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}},{key:"checkValues",value:function(){for(var t=this._a,e=this._b,n=this.comparator;t.length>0&&e.length>0;){var i=t.shift(),r=e.shift(),a=!1;try{a=n?n(i,r):i===r}catch(o){this.destination.error(o)}a||this.emit(!1)}}},{key:"emit",value:function(t){var e=this.destination;e.next(t),e.complete()}},{key:"nextB",value:function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())}},{key:"completeB",value:function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}]),n}(u.a),un=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).parent=i,r}return tn(n,[{key:"_next",value:function(t){this.parent.nextB(t)}},{key:"_error",value:function(t){this.parent.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.completeB(),this.unsubscribe()}}]),n}(u.a),ln=n("w1tV"),hn=n("UXun"),fn=n("sVev");function dn(t){return function(e){return e.lift(new pn(t,e))}}var pn=function(){function t(e,n){Qe(this,t),this.predicate=e,this.source=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new mn(t,this.predicate,this.source))}}]),t}(),mn=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).predicate=i,a.source=r,a.seenValue=!1,a.index=0,a}return tn(n,[{key:"applySingleValue",value:function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)}},{key:"_next",value:function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)}},{key:"tryNext",value:function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(n){this.destination.error(n)}}},{key:"_complete",value:function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new fn.a)}}]),n}(u.a),vn=n("zP0r");function bn(t){return function(e){return e.lift(new gn(t))}}var gn=function(){function t(e){if(Qe(this,t),this._skipCount=e,this._skipCount<0)throw new ft.a}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(0===this._skipCount?new u.a(t):new yn(t,this._skipCount))}}]),t}(),yn=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t))._skipCount=i,r._count=0,r._ring=new Array(i),r}return tn(n,[{key:"_next",value:function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var i=n%e,r=this._ring,a=r[i];r[i]=t,this.destination.next(a)}}}]),n}(u.a);function _n(t){return function(e){return e.lift(new wn(t))}}var wn=function(){function t(e){Qe(this,t),this.notifier=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new kn(t,this.notifier))}}]),t}(),kn=function(t){en(n,t);var e=rn(n);function n(t,i){var r;Qe(this,n),(r=e.call(this,t)).hasValue=!1;var o=new a.a(on(r));r.add(o),r.innerSubscription=o;var s=Object(a.c)(i,o);return s!==o&&(r.add(s),r.innerSubscription=s),r}return tn(n,[{key:"_next",value:function(t){this.hasValue&&Je(cn(n.prototype),"_next",this).call(this,t)}},{key:"notifyNext",value:function(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}},{key:"notifyComplete",value:function(){}}]),n}(a.b);function Sn(t){return function(e){return e.lift(new xn(t))}}var xn=function(){function t(e){Qe(this,t),this.predicate=e}return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Cn(t,this.predicate))}}]),t}(),Cn=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).predicate=i,r.skipping=!0,r.index=0,r}return tn(n,[{key:"_next",value:function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)}},{key:"tryCallPredicate",value:function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(n){this.destination.error(n)}}}]),n}(u.a),Tn=n("JX91"),En=n("7Hc7"),On=n("Y7HM"),Mn=function(t){en(n,t);var e=rn(n);function n(t){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:En.a;return Qe(this,n),(i=e.call(this)).source=t,i.delayTime=r,i.scheduler
1=a,(!Object(On.a)(r)||r<0)&&(i.delayTime=0),a&&"function"==typeof a.schedule||(i.scheduler=En.a),i}return tn(n,[{key:"_subscribe",value:function(t){return this.scheduler.schedule(n.dispatch,this.delayTime,{source:this.source,subscriber:t})}}],[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:En.a;return new n(t,e,i)}},{key:"dispatch",value:function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))}}]),n}(Q.a);function An(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new In(t,e))}}var In=function(){function t(e,n){Qe(this,t),this.scheduler=e,this.delay=n}return tn(t,[{key:"call",value:function(t,e){return new Mn(e,this.delay,this.scheduler).subscribe(t)}}]),t}(),Rn=n("eIep"),Ln=n("SpAZ");function Pn(){return Object(Rn.a)(Ln.a)}function jn(t,e){return e?Object(Rn.a)((function(){return t}),e):Object(Rn.a)((function(){return t}))}var Dn=n("1G5W"),Nn=n("GJmQ"),Bn=n("vkgz"),Fn={leading:!0,trailing:!1};function zn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fn;return function(n){return n.lift(new Vn(t,!!e.leading,!!e.trailing))}}var Vn=function(){function t(e,n,i){Qe(this,t),this.durationSelector=e,this.leading=n,this.trailing=i}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Un(t,this.durationSelector,this.leading,this.trailing))}}]),t}(),Un=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t)).destination=t,o.durationSelector=i,o._leading=r,o._trailing=a,o._hasValue=!1,o}return tn(n,[{key:"_next",value:function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))}},{key:"send",value:function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=void 0}},{key:"throttle",value:function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(a.c)(e,new a.a(this)))}},{key:"tryDurationSelector",value:function(t){try{return this.durationSelector(t)}catch(e){return this.destination.error(e),null}}},{key:"throttlingDone",value:function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=void 0,e&&this.send()}},{key:"notifyNext",value:function(){this.throttlingDone()}},{key:"notifyComplete",value:function(){this.throttlingDone()}}]),n}(a.b);function Hn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Fn;return function(i){return i.lift(new qn(t,e,n.leading,n.trailing))}}var qn=function(){function t(e,n,i,r){Qe(this,t),this.duration=e,this.scheduler=n,this.leading=i,this.trailing=r}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Wn(t,this.duration,this.scheduler,this.leading,this.trailing))}}]),t}(),Wn=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s;return Qe(this,n),(s=e.call(this,t)).duration=i,s.scheduler=r,s.leading=a,s.trailing=o,s._hasTrailingValue=!1,s._trailingValue=null,s}return tn(n,[{key:"_next",value:function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Kn,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}},{key:"_complete",value:function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}},{key:"clearThrottle",value:function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}]),n}(u.a);function Kn(t){t.subscriber.clearThrottle()}var Xn=n("NXyV");function Jn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.a;return function(e){return Object(Xn.a)((function(){return e.pipe(Object(Zt.a)((function(e,n){var i=e.current;return{value:n,current:t.now(),last:i}}),{current:t.now(),value:void 0,last:void 0}),Object(St.a)((function(t){var e=t.current,n=t.last,i=t.value;return new Gn(i,e-n)})))}))}}var Gn=function t(e,n){Qe(this,t),this.value=e,this.interval=n},Yn=n("Y6u4"),Zn=n("mlxB");function Qn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.a;return function(i){var r=Object(Zn.a)(t),a=r?+t-n.now():Math.abs(t);return i.lift(new $n(a,r,e,n))}}var $n=function(){function t(e,n,i,r){Qe(this,t),this.waitFor=e,this.absoluteTimeout=n,this.withObservable=i,this.scheduler=r}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new ti(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}]),t}(),ti=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s;return Qe(this,n),(s=e.call(this,t)).absoluteTimeout=i,s.waitFor=r,s.withObservable=a,s.scheduler=o,s.scheduleTimeout(),s}return tn(n,[{key:"scheduleTimeout",value:function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(n.dispatchTimeout,this.waitFor,this))}},{key:"_next",value:function(t){this.absoluteTimeout||this.scheduleTimeout(),Je(cn(n.prototype),"_next",this).call(this,t)}},{key:"_unsubscribe",value:function(){this.action=void 0,this.scheduler=null,this.withObservable=null}}],[{key:"dispatchTimeout",value:function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(Object(a.c)(e,new a.a(t)))}}]),n}(a.b),ei=n("z6cu");function ni(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.a;return Qn(t,Object(ei.a)(new Yn.a),e)}function ii(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.a;return Object(St.a)((function(e){return new ri(e,t.now())}))}var ri=function t(e,n){Qe(this,t),this.value=e,this.timestamp=n};function ai(t,e,n){return 0===n?[e]:(t.push(e),t)}function oi(){return te(ai,[])}function si(t){return function(e){return e.lift(new ci(t))}}var ci=function(){function t(e){Qe(this,t),this.windowBoundaries=e}
1return tn(t,[{key:"call",value:function(t,e){var n=new ui(t),i=e.subscribe(n);return i.closed||n.add(Object(a.c)(this.windowBoundaries,new a.a(n))),i}}]),t}(),ui=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t)).window=new _e.a,t.next(i.window),i}return tn(n,[{key:"notifyNext",value:function(){this.openWindow()}},{key:"notifyError",value:function(t){this._error(t)}},{key:"notifyComplete",value:function(){this._complete()}},{key:"_next",value:function(t){this.window.next(t)}},{key:"_error",value:function(t){this.window.error(t),this.destination.error(t)}},{key:"_complete",value:function(){this.window.complete(),this.destination.complete()}},{key:"_unsubscribe",value:function(){this.window=null}},{key:"openWindow",value:function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new _e.a;e.next(n)}}]),n}(a.b);function li(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new hi(t,e))}}var hi=function(){function t(e,n){Qe(this,t),this.windowSize=e,this.startWindowEvery=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new fi(t,this.windowSize,this.startWindowEvery))}}]),t}(),fi=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).destination=t,a.windowSize=i,a.startWindowEvery=r,a.windows=[new _e.a],a.count=0,t.next(a.windows[0]),a}return tn(n,[{key:"_next",value:function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,r=this.windows,a=r.length,o=0;o<a&&!this.closed;o++)r[o].next(t);var s=this.count-i+1;if(s>=0&&s%e==0&&!this.closed&&r.shift().complete(),++this.count%e==0&&!this.closed){var c=new _e.a;r.push(c),n.next(c)}}},{key:"_error",value:function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)}},{key:"_complete",value:function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()}},{key:"_unsubscribe",value:function(){this.count=0,this.windows=null}}]),n}(u.a);function di(t){var e=p.a,n=null,i=Number.POSITIVE_INFINITY;return Object(m.a)(arguments[3])&&(e=arguments[3]),Object(m.a)(arguments[2])?e=arguments[2]:Object(On.a)(arguments[2])&&(i=Number(arguments[2])),Object(m.a)(arguments[1])?e=arguments[1]:Object(On.a)(arguments[1])&&(n=Number(arguments[1])),function(r){return r.lift(new pi(t,n,i,e))}}var pi=function(){function t(e,n,i,r){Qe(this,t),this.windowTimeSpan=e,this.windowCreationInterval=n,this.maxWindowSize=i,this.scheduler=r}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new vi(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}]),t}(),mi=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.apply(this,arguments))._numberOfNextedValues=0,t}return tn(n,[{key:"next",value:function(t){this._numberOfNextedValues++,Je(cn(n.prototype),"next",this).call(this,t)}},{key:"numberOfNextedValues",get:function(){return this._numberOfNextedValues}}]),n}(_e.a),vi=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s;Qe(this,n),(s=e.call(this,t)).destination=t,s.windowTimeSpan=i,s.windowCreationInterval=r,s.maxWindowSize=a,s.scheduler=o,s.windows=[];var c=s.openWindow();if(null!==r&&r>=0){var u={windowTimeSpan:i,windowCreationInterval:r,subscriber:on(s),scheduler:o};s.add(o.schedule(yi,i,{subscriber:on(s),window:c,context:null})),s.add(o.schedule(gi,r,u))}else s.add(o.schedule(bi,i,{subscriber:on(s),window:c,windowTimeSpan:i}));return s}return tn(n,[{key:"_next",value:function(t){for(var e=this.windows,n=e.length,i=0;i<n;i++){var r=e[i];r.closed||(r.next(t),r.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(r))}}},{key:"_error",value:function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)}},{key:"_complete",value:function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()}},{key:"openWindow",value:function(){var t=new mi;return this.windows.push(t),this.destination.next(t),t}},{key:"closeWindow",value:function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)}}]),n}(u.a);function bi(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function gi(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,r=t.windowCreationInterval,a=n.openWindow(),o={action:this,subscription:null};o.subscription=i.schedule(yi,e,{subscriber:n,window:a,context:o}),this.add(o.subscription),this.schedule(t,r)}function yi(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}function _i(t,e){return function(n){return n.lift(new wi(t,e))}}var wi=function(){function t(e,n){Qe(this,t),this.openings=e,this.closingSelector=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new ki(t,this.openings,this.closingSelector))}}]),t}(),ki=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).openings=i,a.closingSelector=r,a.contexts=[],a.add(a.openSubscription=Object(x.a)(on(a),i,i)),a}return tn(n,[{key:"_next",value:function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i<n;i++)e[i].window.next(t)}},{key:"_error",value:function(t){var e=this.contexts;if(this.contexts=null,e)for(var i=e.length,r=-1;++r<i;){var a=e[r];a.window.error(t),a.subscription.unsubscribe()}Je(cn(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,i=-1;++i<e;){var r=t[i];r.window.complete(),r.subscription.unsubscribe()}Je(cn(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var i=t[n];i.window.unsubscribe(),i.subscription.unsubscribe()}}},{key:"notifyNext",value:function(t,e,n,i,r){if(t===this.openings){var a;try{a=(0,this.closingSelector)(e)}catch(l){return this.error(l)}var o=new _e.a,s=new S.a,c={window:o,subscription:s};this.contexts.push(c);var u=Object(x.a)(this,a,c);u.closed?this.closeWindow(this.contexts.length-1):(u.context=c,s.add(u)),this.destination.next(o)}else this.closeWindow(this.contexts.indexOf(t))}},{key:"notifyError",value:function(t){this.error(t)}},{key:"notifyComplete",value:function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))}},{key:"closeWindow",value:function(t){if(-1!==t){var e=this.contexts,n=e[t],i=n.window,r=n.subscription;e.splice(t,1),i.complete(),r.unsubscribe()}}}]),n}(C.a);function Si(t){return function(e){return e.lift(new xi(t))}}var xi=function(){function t(e){Qe(this,t),this.closingSelector=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Ci(t,this.closingSelector))}}]),t}(),Ci=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).destination=t,r.closingSelector=i,r.openWindow(),r}return tn(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.openWindow(r)}},{key:"notifyError",value:function(t){this._error(t)}},{key:"notifyComplete",value:function(t){this.openWindow(t)}},{key:"_next",value:function(t){this.window.next(t)}},{key:"_error",value:function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()}},{key:"_complete",value:function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()}},{key:"unsubscribeClosingNotification",value:function(){this.closingNotification&&this.closingNotification.unsubscribe()}},{key:"openWindow",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,i=this.window=new _e.a;this.destination.next(i);try{var r=this.closingSelector;n=r()}catch(a){return this.destination.error(a),void this.window.error(a)}this.add(this.closingNotification=Object(x.a)(this,n))}}]),n}(C.a);function Ti(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){var n;return"function"==typeof e[e.length-1]&&(n=e.pop()),t.lift(new Ei(e,n))}}var Ei=function(){function t(e,n){Qe(this,t),this.observables=e,this.project=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new Oi(t,this.observables,this.project))}}]),t}(),Oi=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;Qe(this,n),(a=e.call(this,t)).observables=i,a.project=r,a.toRespond=[];var o=i.length;a.values=new Array(o);for(var s=0;s<o;s++)a.toRespond.push(s);for(var c=0;c<o;c++){var u=i[c];a.add(Object(x.a)(on(a),u,void 0,c))}return a}return tn(n,[{key:"notifyNext",value:function(t,e,n){this.values[n]=e;var i=this.toRespond;if(i.length>0){var r=i.indexOf(n);-1!==r&&i.splice(r,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(t){if(0===this.toRespond.length){var e=[t].concat(Xe(this.values));this.project?this._tryProject(e):this.destination.next(e)}}},{key:"_tryProject",value:function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(C.a),Mi=n("1uah");function Ai(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return t.lift.call(Object(Mi.b).apply(void 0,[t].concat(e)))}}function Ii(t){return function(e){return e.lift(new Mi.a(t))}}},"kVK+":function(t,e){e.read=function(t,e,n,i,r){var a,o,s=8*r-i-1,c=(1<<s)-1,u=c>>1,l=-7,h=n?r-1:0,f=n?-1:1,d=t[e+h];for(h+=f,a=d&(1<<-l)-1,d>>=-l,l+=s;l>0;a=256*a+t[e+h],h+=f,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=i;l>0;o=256*o+t[e+h],h+=f,l-=8);if(0===a)a=1-u;else{if(a===c)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,i),a-=u}return(d?-1:1)*o*Math.pow(2,a-i)},e.write=function(t,e,n,i,r,a){var o,s,c,u=8*a-r-1,l=(1<<u)-1,h=l>>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:a-1,p=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=l):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),(e+=o+h>=1?f/c:f*Math.pow(2,1-h))*c>=2&&(o++,c/=2),o+h>=l?(s=0,o=l):o+h>=1?(s=(e*c-1)*Math.pow(2,r),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[n+d]=255&s,d+=p,s/=256,r-=8);for(o=o<<r|s,u+=r;u>0;t[n+d]=255&o,d+=p,o/=256,u-=8);t[n+d-p]|=128*m}},kmnG:function(t,e,n){"use strict";n.d(e,"a",(function(){return X})),n.d(e,"b",(function(){return J})),n.d(e,"c",(function(){return N})),n.d(e,"d",(function(){return G}));var i=n("GU7r"),r=n("ofXK"),a=n("fXoL"),o=n("FKr1"),s=n("8LU1"),c=n("XNiG"),u=n("VRyK"),l=n("xgIS"),h=n("JX91"),f=n("1G5W"),d=n("IzEk"),p=n("R0Ic"),m=n("R1ws"),v=n("cH1L"),b=n("nLfN"),g=["underline"],y=["connectionContainer"],_=["inputContainer"],w=["label"];function k(t,e){1&t&&(a.Rb(0),a.Tb(1,"div",14),a.Ob(2,"div",15),a.Ob(3,"div",16),a.Ob(4,"div",17),a.Sb(),a.Tb(5,"div",18),a.Ob(6,"div",15),a.Ob(7,"div",16),a.Ob(8,"div",17),a.Sb(),a.Qb())}function S(t,e){1&t&&(a.Tb(0,"div",19),a.pc(1,1),a.Sb())}function x(t,e){if(1&t&&(a.Rb(0),a.pc(1,2),a.Tb(2,"span"),a.Lc(3),a.Sb(),a.Qb()),2&t){var n=a.kc(2);a.Bb(3),a.Mc(n._control.placeholder)}}function C(t,e){1&t&&a.pc(0,3,["*ngSwitchCase","true"])}function T(t,e){1&t&&(a.Tb(0,"span",23),a.Lc(1," *"),a.Sb())}function E(t,e){if(1&t){var n=a.Ub();a.Tb(0,"label",20,21),a.gc("cdkObserveContent",(function(){return a.Ac(n),a.kc().updateOutlineGap()})),a.Jc(2,x,4,1,"ng-container",12),a.Jc(3,C,1,0,"ng-content",12),a.Jc(4,T,2,0,"span",22),a.Sb()}if(2&t){var i=a.kc();a.Fb("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),a.rc("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),a.Cb("for",i._control.id)("aria-owns",i._control.id),a.Bb(2),a.rc("ngSwitchCase",!1),a.Bb(1),a.rc("ngSwitchCase",!0),a.Bb(1),a.rc("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function O(t,e){1&t&&(a.Tb(0,"div",24),a.pc(1,4),a.Sb())}function M(t,e){if(1&t&&(a.Tb(0,"div",25,26),a.Ob(2,"span",27),a.Sb()),2&t){var n=a.kc();a.Bb(2),a.Fb("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function A(t,e){if(1&t&&(a.Tb(0,"div"),a.pc(1,5),a.Sb()),2&t){var n=a.kc();a.rc("@transitionMessages",n._subscriptAnimationState)}}function I(t,e){if(1&t&&(a.Tb(0,"div",31),a.Lc(1),a.Sb()),2&t){var n=a.kc(2);a.rc("id",n._hintLabelId),a.Bb(1),a.Mc(n.hintLabel)}}function R(t,e){if(1&t&&(a.Tb(0,"div",28),a.Jc(1,I,2,2,"div",29),a.pc(2,6),a.Ob(3,"div",30),a.pc(4,7),a.Sb()),2&t){var n=a.kc();a.rc("@transitionMessages",n._subscriptAnimationState),a.Bb(1),a.rc("ngIf",n.hintLabel)}}var L=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],P=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],j=new a.s("MatError"),D={transitionMessages:Object(p.n)("transitionMessages",[Object(p.k)("enter",Object(p.l)({opacity:1,transform:"translateY(0%)"})),Object(p.m)("void => enter",[Object(p.l)({opacity:0,transform:"translateY(-100%)"}),Object(p.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},N=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t}),t}();function B(t){return Error("A hint was already declared for 'align=\"".concat(t,"\"'."))}var F=new a.s("MatHint"),z=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["mat-label"]]}),t}(),V=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["mat-placeholder"]]}),t}(),U=new a.s("MatPrefix"),H=new a.s("MatSuffix"),q=0,W=Object(o.x)((function t(e){Qe(this,t),this._elementRef=e}),"primary"),K=new a.s("MAT_FORM_FIELD_DEFAULT_OPTIONS"),X=new a.s("MatFormField"),J=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o,s,u,l){var h;return Qe(this,n),(h=e.call(this,t))._elementRef=t,h._changeDetectorRef=i,h._dir=a,h._defaults=o,h._platform=s,h._ngZone=u,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new c.a,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-"+q++,h._labelId="mat-form-field-label-"+q++,h._labelOptions=r||{},h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==l,h.appearance=o&&o.appearance?o.appearance:"legacy",h._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,h}return tn(n,[{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var t=this;
1this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Object(h.a)(null)).subscribe((function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(f.a)(this._destroyed)).subscribe((function(){return t._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.asObservable().pipe(Object(f.a)(t._destroyed)).subscribe((function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()}))})),Object(u.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Object(h.a)(null)).subscribe((function(){t._processHints(),t._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Object(h.a)(null)).subscribe((function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Object(f.a)(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?t._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return t.updateOutlineGap()}))})):t.updateOutlineGap()}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(l.a)(this._label.nativeElement,"transitionend").pipe(Object(d.a)(1)).subscribe((function(){t._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(t||n.hintLabel)throw B("start");t=i}else if("end"===i.align){if(e)throw B("end");e=i}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find((function(t){return"start"===t.align})):null,n=this._hintChildren?this._hintChildren.find((function(t){return"end"===t.align})):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map((function(t){return t.id})));this._control.setDescribedByIds(t)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var e=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(o),c=t.children,u=this._getStartEnd(c[0].getBoundingClientRect()),l=0,h=0;h<c.length;h++)l+=c[h].offsetWidth;e=Math.abs(u-s)-5,n=l>0?.75*l+10:0}for(var f=0;f<r.length;f++)r[f].style.width=e+"px";for(var d=0;d<a.length;d++)a[d].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}},{key:"_isAttachedToDOM",value:function(){var t=this._elementRef.nativeElement;if(t.getRootNode){var e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}},{key:"appearance",get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Object(s.c)(t)}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}
1,set:function(t){this._explicitFormFieldControl=t}}]),n}(W);return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(a.h),a.Nb(o.f,8),a.Nb(v.b,8),a.Nb(K,8),a.Nb(b.a),a.Nb(a.B),a.Nb(m.a,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){var i;1&t&&(a.Gb(n,N,!0),a.Dc(n,N,!0),a.Gb(n,z,!0),a.Dc(n,z,!0),a.Gb(n,V,!0),a.Gb(n,j,!0),a.Gb(n,F,!0),a.Gb(n,U,!0),a.Gb(n,H,!0)),2&t&&(a.xc(i=a.hc())&&(e._controlNonStatic=i.first),a.xc(i=a.hc())&&(e._controlStatic=i.first),a.xc(i=a.hc())&&(e._labelChildNonStatic=i.first),a.xc(i=a.hc())&&(e._labelChildStatic=i.first),a.xc(i=a.hc())&&(e._placeholderChild=i.first),a.xc(i=a.hc())&&(e._errorChildren=i),a.xc(i=a.hc())&&(e._hintChildren=i),a.xc(i=a.hc())&&(e._prefixChildren=i),a.xc(i=a.hc())&&(e._suffixChildren=i))},viewQuery:function(t,e){var n;1&t&&(a.Qc(g,!0),a.Ec(y,!0),a.Qc(_,!0),a.Qc(w,!0)),2&t&&(a.xc(n=a.hc())&&(e.underlineRef=n.first),a.xc(n=a.hc())&&(e._connectionContainerRef=n.first),a.xc(n=a.hc())&&(e._inputContainerRef=n.first),a.xc(n=a.hc())&&(e._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&a.Fb("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[a.Ab([{provide:X,useExisting:t}]),a.yb],ngContentSelectors:P,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(a.qc(L),a.Tb(0,"div",0),a.Tb(1,"div",1,2),a.gc("click",(function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)})),a.Jc(3,k,9,0,"ng-container",3),a.Jc(4,S,2,0,"div",4),a.Tb(5,"div",5,6),a.pc(7),a.Tb(8,"span",7),a.Jc(9,E,5,16,"label",8),a.Sb(),a.Sb(),a.Jc(10,O,2,0,"div",9),a.Sb(),a.Jc(11,M,3,4,"div",10),a.Tb(12,"div",11),a.Jc(13,A,2,1,"div",12),a.Jc(14,R,5,2,"div",13),a.Sb(),a.Sb()),2&t&&(a.Bb(3),a.rc("ngIf","outline"==e.appearance),a.Bb(1),a.rc("ngIf",e._prefixChildren.length),a.Bb(5),a.rc("ngIf",e._hasFloatingLabel()),a.Bb(1),a.rc("ngIf",e._suffixChildren.length),a.Bb(1),a.rc("ngIf","outline"!=e.appearance),a.Bb(1),a.rc("ngSwitch",e._getDisplayedMessages()),a.Bb(1),a.rc("ngSwitchCase","error"),a.Bb(1),a.rc("ngSwitchCase","hint"))}
1,directives:[r.p,r.r,r.s,i.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px
1)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[D.transitionMessages]},changeDetection:0}),t}(),G=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[r.c,o.j,i.c],o.j]}),t}()},l7GE:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),n}(n("7o/Q").a)},lF1L:function(t,e,n){"use strict";var i=n("fZJM"),r=n("DLvh"),a=n("86MQ"),o=a.assert,s=a.parseBytes,c=n("OA+I"),u=n("RKMU");function l(t){if(o("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof l))return new l(t);this.curve=t=r[t].curve,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=i.sha512}t.exports=l,l.prototype.sign=function(t,e){t=s(t);var n=this.keyFromSecret(e),i=this.hashInt(n.messagePrefix(),t),r=this.g.mul(i),a=this.encodePoint(r),o=this.hashInt(a,n.pubBytes(),t).mul(n.priv()),c=i.add(o).umod(this.curve.n);return this.makeSignature({R:r,S:c,Rencoded:a})},l.prototype.verify=function(t,e,n){t=s(t),e=this.makeSignature(e);var i=this.keyFromPublic(n),r=this.hashInt(e.Rencoded(),i.pubBytes(),t),a=this.g.mul(e.S());return e.R().add(i.pub().mul(r)).eq(a)},l.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return a.intFromLE(t.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(t){return c.fromPublic(this,t)},l.prototype.keyFromSecret=function(t){return c.fromSecret(this,t)},l.prototype.makeSignature=function(t){return t instanceof u?t:new u(this,t)},l.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},l.prototype.decodePoint=function(t){var e=(t=a.parseBytes(t)).length-1,n=t.slice(0,e).concat(-129&t[e]),i=0!=(128&t[e]),r=a.intFromLE(n);return this.curve.pointFromY(r,i)},l.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(t){return a.intFromLE(t)},l.prototype.isPoint=function(t){return t instanceof this.pointClass}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}var a=function(){function t(e,n){Qe(this,t),this.project=e,this.thisArg=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).project=i,a.count=0,a.thisArg=r||on(a),a}return tn(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(i.a)},lTdr:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return o})),n.d(e,"b",(function(){return s}));var i=function t(){Qe(this,t)},r=function t(){Qe(this,t)},a=function t(e,n,i,r,a){Qe(this,t),this.serverName=e,this.licenceKey=n,this.buildForMarket=i,this.logLevel=r,this.sslEnabled=a},o=function(t){return t.NO_SSL="No SSL",t.CUSTOM_DOMAIN="Use Your Domain",t.ANTMEDIA_SUBDOMAIN="Subdomain of antmedia.cloud",t.CUSTOM_CERTIFICATE="Import Your Certificate",t}({}),s=function t(e,n,i,r,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0;Qe(this,t),this.licenceId=e,this.startDate=n,this.endDate=i,this.type=r,this.licenceCount=a,this.owner=o,this.status=s,this.hourUsed=c}},lWpZ:function(t,e,n){var i=n("Hjy1"),r=n("/ab2"),a=n("usKN"),o=n("C+gy"),s=n("roQf");function c(t,e,n){if(t=t.toLowerCase(),a[t])return r.createCipheriv(t,e,n);if(o[t])return new i({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function u(t,e,n){if(t=t.toLowerCase(),a[t])return r.createDecipheriv(t,e,n);if(o[t])return new i({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var n,i;if(t=t.toLowerCase(),a[t])n=a[t].key,i=a[t].iv;else{if(!o[t])throw new TypeError("invalid suite type");n=8*o[t].key,i=o[t].iv}var r=s(e,!1,n,i);return c(t,r.key,r.iv)},e.createCipheriv=e.Cipheriv=c,e.createDecipher=e.Decipher=function(t,e){var n,i;if(t=t.toLowerCase(),a[t])n=a[t].key,i=a[t].iv;else{if(!o[t])throw new TypeError("invalid suite type");n=8*o[t].key,i=o[t].iv}var r=s(e,!1,n,i);return u(t,r.key,r.iv)},e.createDecipheriv=e.Decipheriv=u,e.listCiphers=e.getCiphers=function(){return Object.keys(o).concat(r.getCiphers())}},lm0R:function(t,e,n){"use strict";(function(e){t.exports=void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?{nextTick:function(t,n,i,r){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,i)}));case 4:return e.nextTick((function(){t.call(null,n,i,r)}));default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return e.nextTick((function(){t.apply(null,a)}))}}}:e}).call(this,n("8oxB"))},mAz1:function(t,e,n){var i=n("hwdV").Buffer,r=n("OZ/i"),a=n("MzeL").ec,o=n("Ku4m"),s=n("zZGF");function c(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,n,u,l){var h=o(n);if("ec"===h.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(t,e,n){var i=s[n.data.algorithm.curve.join(".")];if(!i)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));return new a(i).verify(e,t,n.data.subjectPrivateKey.data)}(t,e,h)}if("dsa"===h.type){if("dsa"!==u)throw new Error("wrong public key type");return function(t,e,n){var i=n.data.p,a=n.data.q,s=n.data.g,u=n.data.pub_key,l=o.signature.decode(t,"der"),h=l.s,f=l.r;c(h,a),c(f,a);var d=r.mont(i),p=h.invm(a);return 0===s.toRed(d).redPow(new r(e).mul(p).mod(a)).fromRed().mul(u.toRed(d).redPow(f.mul(p).mod(a)).fromRed()).mod(i).mod(a).cmp(f)}(t,e,h)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");e=i.concat([l,e]);for(var f=h.modulus.byteLength(),d=[1],p=0;e.length+d.length+2<f;)d.push(255),p++;d.push(0);for(var m=-1;++m<e.length;)d.push(e[m]);d=i.from(d);var v=r.mont(h.modulus);t=(t=new r(t).toRed(v)).redPow(new r(h.publicExponent)),t=i.from(t.fromRed().toArray());var b=p<8?1:0;for(f=Math.min(t.length,d.length),t.length!==d.length&&(b=1),m=-1;++m<f;)b|=t[m]^d[m];return 0===b}},mCNh:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var i=n("SpAZ");function r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return a(e)}
1function a(t){return 0===t.length?i.a:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}},mObS:function(t,e,n){"use strict";var i=n("P7XM"),r=n("9XZ3"),a=n("tcrS"),o=n("afKu"),s=n("ZDAU");function c(t){s.call(this,"digest"),this._hash=t}i(c,s),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new r:"rmd160"===t||"ripemd160"===t?new a:new c(o(t))}},mfmY:function(t,e){var n=Object.prototype.toString,i=Array.isArray;t.exports=function(t){return"string"==typeof t||!i(t)&&function(t){return!!t&&"object"==typeof t}(t)&&"[object String]"==n.call(t)}},mlxB:function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}n.d(e,"a",(function(){return i}))},n53Y:function(t,e,n){(function(e){var n;n=e.browser?"utf-8":e.version?parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",t.exports=n}).call(this,n("8oxB"))},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",(function(){return i}))},nLfN:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return b})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return m}));var i,r=n("fXoL"),a=n("ofXK");try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(g){i=!1}var o,s,c,u,l=function(){var t=function t(e){Qe(this,t),this._platformId=e,this.isBrowser=this._platformId?Object(a.y)(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&&!i)&&"undefined"!=typeof CSS&&!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 t.\u0275fac=function(e){return new(e||t)(r.cc(r.D))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(r.D))},token:t,providedIn:"root"}),t}(),h=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)}}),t}(),f=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function d(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(f);var t=document.createElement("input");return o=new Set(f.filter((function(e){return t.setAttribute("type",e),t.type===e})))}function p(t){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return s=!0}}))}finally{s=s||!1}return s}()?t:!!t.capture}function m(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function v(){if("object"!=typeof document||!document)return 0;if(null==c){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),c=0,0===t.scrollLeft&&(t.scrollLeft=1,c=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return c}function b(t){if(function(){if(null==u){var t="undefined"!=typeof document?document.head:null;u=!(!t||!t.createShadowRoot&&!t.attachShadow)}return u}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},nPsm:function(t,e){var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,o=/^(?:0|[1-9]\d*)$/,s=parseInt;function c(t){return t!=t}var u,l,h=Object.prototype,f=h.hasOwnProperty,d=h.toString,p=h.propertyIsEnumerable,m=(u=Object.keys,l=Object,function(t){return u(l(t))}),v=Math.max;function b(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&t<e}var g=Array.isArray;function y(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}(t.length)&&!function(t){var e=_(t)?d.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)}function _(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function w(t){return!!t&&"object"==typeof t}t.exports=function(t,e,o,u){var l;t=y(t)?t:(l=t)?function(t,e){return function(e,n){for(var i=-1,r=e?e.length:0,a=Array(r);++i<r;)a[i]=t[e[i]];return a}(e)}(l,function(t){return y(t)?function(t,e){var n=g(t)||function(t){return function(t){return w(t)&&y(t)}
1(t)&&f.call(t,"callee")&&(!p.call(t,"callee")||"[object Arguments]"==d.call(t))}(t)?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],i=n.length,r=!!i;for(var a in t)!f.call(t,a)||r&&("length"==a||b(a,i))||n.push(a);return n}(t):function(t){if((e=t)!==("function"==typeof(n=e&&e.constructor)&&n.prototype||h))return m(t);var e,n,i=[];for(var r in Object(t))f.call(t,r)&&"constructor"!=r&&i.push(r);return i}(t)}(l)):[],o=o&&!u?function(t){var e=function(t){return t?(t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||w(t)&&"[object Symbol]"==d.call(t)}(t))return NaN;if(_(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=_(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var o=r.test(t);return o||a.test(t)?s(t.slice(2),o?2:8):i.test(t)?NaN:+t}(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}(t),o=e%1;return e==e?o?e-o:e:0}(o):0;var k=t.length;return o<0&&(o=v(k+o,0)),function(t){return"string"==typeof t||!g(t)&&w(t)&&"[object String]"==d.call(t)}(t)?o<=k&&t.indexOf(e,o)>-1:!!k&&function(t,e,n){if(e!=e)return function(t,e,n,i){for(var r=t.length,a=n+-1;++a<r;)if(e(t[a],a,t))return a;return-1}(t,c,n);for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,o)>-1}},nSiv:function(t,e,n){"use strict";t.exports=r;var i=n("8cin");function r(t){if(!(this instanceof r))return new r(t);i.call(this,t)}n("P7XM")(r,i),r.prototype._transform=function(t,e,n){n(null,t)}},nYR2:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("7o/Q"),r=n("quSY");function a(t){return function(e){return e.lift(new o(t))}}var o=function(){function t(e){Qe(this,t),this.callback=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.callback))}}]),t}(),s=function(t){en(n,t);var e=rn(n);function n(t,i){var a;return Qe(this,n),(a=e.call(this,t)).add(new r.a(i)),a}return n}(i.a)},neMA:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("BilO")},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){return function(e){for(var n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}}},oB13:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("EQ5u");function r(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new a(r,e));var o=Object.create(n,i.b);return o.source=n,o.subjectFactory=r,o}}var a=function(){function t(e,n){Qe(this,t),this.subjectFactory=e,this.selector=n}return tn(t,[{key:"call",value:function(t,e){var n=this.selector,i=this.subjectFactory(),r=n(i).subscribe(t);return r.add(e.subscribe(i)),r}}]),t}()},oJl4:function(t,e,n){e.pbkdf2=n("IG1u"),e.pbkdf2Sync=n("4Hv8")},ocFe:function(t,e,n){(function(e){var i=n("hwdV").Buffer,r=n("1IWx");function a(t){if(this.buffer=null,this.writable=!0,this.readable=!0,!t)return this.buffer=i.alloc(0),this;if("function"==typeof t.pipe)return this.buffer=i.alloc(0),t.pipe(this),this;if(t.length||"object"==typeof t)return this.buffer=t,this.writable=!1,e.nextTick((function(){this.emit("end",t),this.readable=!1,this.emit("close")}).bind(this)),this;throw new TypeError("Unexpected data type ("+typeof t+")")}n("7tlc").inherits(a,r),a.prototype.write=function(t){this.buffer=i.concat([this.buffer,i.from(t)]),this.emit("data",t)},a.prototype.end=function(t){t&&this.write(t),this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1},t.exports=a}).call(this,n("8oxB"))},ofXK:function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return Et})),n.d(e,"c",(function(){return Dt})),n.d(e,"d",(function(){return Lt})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return Ot})),n.d(e,"g",(function(){return Rt})),n.d(e,"h",(function(){return k})),n.d(e,"i",(function(){return Mt})),n.d(e,"j",(function(){return At})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return S})),n.d(e,"m",(function(){return g})),n.d(e,"n",(function(){return lt})),n.d(e,"o",(function(){return ft})),n.d(e,"p",(function(){return pt})),n.d(e,"q",(function(){return wt})),n.d(e,"r",(function(){return gt})),n.d(e,"s",(function(){return yt})),n.d(e,"t",(function(){return _t})),n.d(e,"u",(function(){return kt})),n.d(e,"v",(function(){return w})),n.d(e,"w",(function(){return u})),n.d(e,"x",(function(){return Ft})),n.d(e,"y",(function(){return Bt})),n.d(e,"z",(function(){return s})),n.d(e,"A",(function(){return Nt})),n.d(e,"B",(function(){return a})),n.d(e,"C",(function(){return ut})),n.d(e,"D",(function(){return o}));var i=n("fXoL"),r=null;function a(){return r}function o(t){r||(r=t)}var s=function t(){Qe(this,t)},c=new i.s("DocumentToken"),u=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:l,token:t,providedIn:"platform"}),t}();function l(){return Object(i.cc)(f)}var h=new i.s("Location Initialized"),f=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this))._doc=t,i._init(),i}return tn(n,[{key:"_init",value:function(){this.location=a().getLocation(),this._history=a().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return a().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}},{key:"onHashChange",value:function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}},{key:"pushState",value:function(t,e,n){d()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){d()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(u);return t.\u0275fac=function(e){return new(e||t)(i.cc(c))},t.\u0275prov=Object(i.Jb)({factory:p,token:t,providedIn:"platform"}),t}();function d(){return!!window.history.pushState}function p(){return new f(Object(i.cc)(c))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function v(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&"?"!==t[0]?"?"+t:t}var g=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:y,token:t,providedIn:"root"}),t}();function y(t){var e=Object(i.cc)(c).location;return new w(Object(i.cc)(u),e&&e.origin||"")}var _=new i.s("appBaseHref"),w=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i){var r;if(Qe(this,n),(r=e.call(this))._platformLocation=t,null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,an(r)}return tn(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.on
1HashChange(t)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return m(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(g);return t.\u0275fac=function(e){return new(e||t)(i.cc(u),i.cc(_,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),k=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this))._platformLocation=t,r._baseHref="",null!=i&&(r._baseHref=i),r}return tn(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}
1},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=m(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(g);return t.\u0275fac=function(e){return new(e||t)(i.cc(u),i.cc(_,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),S=function(){var t=function(){function t(e,n){var r=this;Qe(this,t),this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=e;var a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=v(C(a)),this._platformStrategy.onPopState((function(t){r._subject.emit({url:r.path(!0),pop:!0,state:t.state,type:t.type})}))}
1return tn(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+b(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,C(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((function(t){e._notifyUrlChangeListeners(t.url,t.state)})))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(t,e)}))}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(g),i.cc(u))},t.normalizeQueryParams=b,t.joinWithSlash=m,t.stripTrailingSlash=v,t.\u0275prov=Object(i.Jb)({factory:x,token:t,providedIn:"root"}),t}();function x(){return new S(Object(i.cc)(g),Object(i.cc)(u))}function C(t){return t.replace(/\/index.html$/,"")}var T={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},E=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
1ntific=3]="Scientific",t}({}),O=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),M=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),A=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),I=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),R=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function L(t,e){return z(Object(i.lb)(t)[i.cb.DateFormat],e)}function P(t,e){return z(Object(i.lb)(t)[i.cb.TimeFormat],e)}function j(t,e){return z(Object(i.lb)(t)[i.cb.DateTimeFormat],e)}function D(t,e){var n=Object(i.lb)(t),r=n[i.cb.NumberSymbols][e];if(void 0===r){if(e===R.CurrencyDecimal)return n[i.cb.NumberSymbols][R.Decimal];if(e===R.CurrencyGroup)return n[i.cb.NumberSymbols][R.Group]}return r}function N(t,e){return Object(i.lb)(t)[i.cb.NumberFormats][e]}var B=i.ob;function F(t){if(!t[i.cb.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[i.cb.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function z(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function V(t){var e=Ke(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var U=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,H={},q=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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]*)/,W=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),K=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),X=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function J(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function G(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,a="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,a=n));for(var o=String(t);o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),a+o}function Y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s,c=function(t,e){switch(t){case K.FullYear:return e.getFullYear();case K.Month:return e.getMonth();case K.Date:return e.getDate();case K.Hours:return e.getHours();case K.Minutes:return e.getMinutes();case K.Seconds:return e.getSeconds();case K.FractionalSeconds:return e.getMilliseconds();case K.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}(t,a);if((n>0||c>-n)&&(c+=n),t===K.Hours)0===c&&-12===n&&(c=12);else if(t===K.FractionalSeconds)return s=e,G(c,3).substr(0,s);var u=D(o,R.MinusSign);return G(c,e,u,i,r)}}function Z(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,o){return function(t,e,n,r,a,o){switch(n){case X.Months:return function(t,e,n){var r=Object(i.lb)(t),a=z([r[i.cb.MonthsFormat],r[i.cb.MonthsStandalone]],e);return z(a,n)}(e,a,r)[t.getMonth()];case X.Days:return function(t,e,n){var r=Object(i.lb)(t),a=z([r[i.cb.DaysFormat],r[i.cb.DaysStandalone]],e);return z(a,n)}(e,a,r)[t.getDay()];case X.DayPeriods:var s=t.getHours(),c=t.getMinutes();if(o){var u=function(t){var e=Object(i.lb)(t);return F(e),(e[i.cb.ExtraData][2]||[]).map((function(t){return"string"==typeof t?V(t):[V(t[0]),V(t[1])]}))}(e),l=function(t,e,n){var r=Object(i.lb)(t);F(r);var a=z([r[i.cb.ExtraData][0],r[i.cb.ExtraData][1]],e)||[];return z(a,n)||[]}(e,a,r),h=u.findIndex((function(t){if(Array.isArray(t)){var e=Ke(t,2),n=e[0],i=e[1],r=s>=n.hours&&c>=n.minutes,a=s<i.hours||s===i.hours&&c<i.minutes;if(n.hours<i.hours){if(r&&a)return!0}else if(r||a)return!0}else if(t.hours===s&&t.minutes===c)return!0;return!1}));if(-1!==h)return l[h]}return function(t,e,n){var r=Object(i.lb)(t),a=z([r[i.cb.DayPeriodsFormat],r[i.cb.DayPeriodsStandalone]],e);return z(a,n)}(e,a,r)[s<12?0:1];case X.Eras:return function(t,e){return z(Object(i.lb)(t)[i.cb.Eras
vendor: 5,320 bytes, line 1
1],e)}(e,r)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(a,o,t,e,n,r)}}function Q(t){return function(e,n,i){var r=-1*i,a=D(n,R.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case W.Short:return(r>=0?"+":"")+G(o,2,a)+G(Math.abs(r%60),2,a);case W.ShortGMT:return"GMT"+(r>=0?"+":"")+G(o,1,a);case W.Long:return"GMT"+(r>=0?"+":"")+G(o,2,a)+":"+G(Math.abs(r%60),2,a);case W.Extended:return 0===i?"Z":(r>=0?"+":"")+G(o,2,a)+":"+G(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}function $(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r,a,o,s;if(e){var c=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();r=1+Math.floor((u+c)/7)}else{var l=(a=n.getFullYear(),o=new Date(a,0,1).getDay(),new Date(a,0,1+(o<=4?4:11)-o)),h=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))).getTime()-l.getTime();r=1+Math.round(h/6048e5)}return G(r,t,D(i,R.MinusSign))}}var tt={};function et(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function nt(t){return t instanceof Date&&!isNaN(t.valueOf())}var it=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function rt(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",c=!1;if(isFinite(t)){var u=function(t){var e,n,i,r,a,o=Math.abs(t)+"",s=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(a=o.length))e=[0],n=1;else{for(a--;"0"===o.charAt(a);)a--;for(n-=i,e=[],r=0;i<=a;i++,r++)e[r]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),s=n-1,n=1),{digits:e,exponent:s,integerLen:n}}(t);o&&(u=function(t){if(0===t.digits[0])return t;var e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(u));var l=e.minInt,h=e.minFrac,f=e.maxFrac;if(a){var d=a.match(it);if(null===d)throw new Error(a+" is not a valid digit info");var p=d[1],m=d[3],v=d[5];null!=p&&(l=ot(p)),null!=m&&(h=ot(m)),null!=v?f=ot(v):null!=m&&h>f&&(f=h)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction (".concat(e,") is higher than the maximum (").concat(n,")."));var i=t.digits,r=i.length-t.integerLen,a=Math.min(Math.max(e,r),n),o=a+t.integerLen,s=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(var c=o;c<i.length;c++)i[c]=0}else{r=Math.max(0,r),t.integerLen=1,i.length=Math.max(1,o=a+1),i[0]=0;for(var u=1;u<o;u++)i[u]=0}if(s>=5)if(o-1<0){for(var l=0;l>o;l--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r<Math.max(0,a);r++)i.push(0);var h=0!==a,f=e+t.integerLen,d=i.reduceRight((function(t,e,n,i){return i[n]=(e+=t)<10?e:e-10,h&&(0===i[n]&&n>=f?i.pop():h=!1),e>=10?1:0}),0);d&&(i.unshift(d),t.integerLen++)}(u,h,f);var b=u.digits,g=u.integerLen,y=u.exponent,_=[];for(c=b.every((function(t){return!t}));g<l;g++)b.unshift(0);for(;g<0;g++)b.unshift(0);g>0?_=b.splice(g,b.length):(_=b,b=[0]);var w=[];for(b.length>=e.lgSize&&w.unshift(b.splice(-e.lgSize,b.length).join(""));b.length>e.gSize;)w.unshift(b.splice(-e.gSize,b.length).join(""));b.length&&w.unshift(b.join("")),s=w.join(D(n,i)),_.length&&(s+=D(n,r)+_.join("")),y&&(s+=D(n,R.Exponential)+"+"+y)}else s=D(n,R.Infinity);return s=t<0&&!c?e.negPre+s+e.negSuf:e.posPre+s+e.posSuf}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],a=i[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=o[0],c=o[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var u=0;u<c.length;u++){var l=c.charAt(u);"0"===l?n.minFrac=n.maxFrac=u+1:"#"===l?n.maxFrac=u+1:n.posSuf+=l}var h=s.split(",");if(n.gSize=h[1]?h[1].length:0,n.lgSize=h[2]||h[1]?(h[2]||h[1]).length:0,a){var f=r.length-n.posPre.length-n.posSuf.length,d=a.indexOf("#");n.negPre=a.substr(0,d).replace(/'/g,""),n.negSuf=a.substr(d+f).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}function ot(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}var st=function t(){Qe(this,t)},ct=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this)).locale=t,i}return tn(n,[{key:"getPluralCategory",value:function(t,e){switch(B(e||this.locale)(t)){case O.Zero:return"zero";case O.One:return"one";case O.Two:return"two";case O.Few:return"few";case O.Many:return"many";default:return"other"}}}]),n}(st);return t.\u0275fac=function(e){return new(e||t)(i.cc(i.w))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}();function ut(t,e){e=encodeURIComponent(e);var n,i=Ge(t.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,a=r.indexOf("="),o=Ke(-1==a?[r,""]:[r.slice(0,a),r.slice(a+1)],2),s=o[0],c=o[1];if(s.trim()===e)return decodeURIComponent(c)}}catch(u){i.e(u)}finally{i.f()}return null}var lt=function(){var t=function(){function t(e,n,i,r){Qe(this,t),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}
1return tn(t,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}},{key:"_applyKeyValueChanges",value:function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))}},{key:"_applyIterableChanges",value:function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.wb)(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))}},{key:"_applyClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))}},{key:"_removeClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))}},{key:"_toggleClass",value:function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))}},{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.u),i.Nb(i.v),i.Nb(i.l),i.Nb(i.G))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),ht=function(){function t(e,n,i,r){Qe(this,t),this.$implicit=e,this.ngForOf=n,this.index=i,this.count=r}
1return tn(t,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),t}(),ft=function(){var t=function(){function t(e,n,i){Qe(this,t),this._viewContainer=e,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return tn(t,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat((e=t).name||typeof e,"'. NgFor only supports binding to Iterables such as Arrays."))}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation((function(t,i,r){if(null==t.previousIndex){var a=e._viewContainer.createEmbeddedView(e._template,new ht(null,e._ngForOf,-1,-1),null===r?void 0:r),o=new dt(t,a);n.push(o)}else if(null==r)e._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=e._viewContainer.get(i);e._viewContainer.move(s,r);var c=new dt(t,s);n.push(c)}}));for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var r=0,a=this._viewContainer.length;r<a;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=a,o.context.ngForOf=this._ngForOf}t.forEachIdentityChange((function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item}))}},{key:"_perViewChange",value:function(t,e){t.context.$implicit=e.item}},{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",set:function(t){Object(i.X)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(t),". See https://angular.io/api/common/NgForOf#change-propagation for more information.")),this._trackByFn=t},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(i.u))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t}(),dt=function t(e,n){Qe(this,t),this.record=e,this.view=n},pt=function(){var t=function(){function t(e,n){Qe(this,t),this._viewContainer=e,this._context=new mt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}
1return tn(t,[{key:"_updateView",value:function(){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)))}},{key:"ngIf",set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}},{key:"ngIfThen",set:function(t){vt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(t){vt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),mt=function t(){Qe(this,t),this.$implicit=null,this.ngIf=null};function vt(t,e){if(e&&!e.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat(Object(i.wb)(e),"'."))}var bt=function(){function t(e,n){Qe(this,t),this._viewContainerRef=e,this._templateRef=n,this._created=!1}
1return tn(t,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}]),t}(),gt=function(){var t=function(){function t(){Qe(this,t),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return tn(t,[{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}},{key:"_matchCase",value:function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}},{key:"_updateDefaultCases",value:function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}},{key:"ngSwitch",set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t}(),yt=function(){var t=function(){function t(e,n,i){Qe(this,t),this.ngSwitch=i,i._addCase(),this._view=new bt(e,n)}
1return tn(t,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(gt,1))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t}(),_t=function(){var t=function t(e,n,i){Qe(this,t),i._addDefault(new bt(e,n))};return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(gt,1))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitchDefault",""]]}),t}(),wt=function(){var t=function(){function t(e,n,i){Qe(this,t),this._ngEl=e,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}return tn(t,[{key:"ngDoCheck",value:function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}},{key:"_setStyle",value:function(t,e){var n=Ke(t.split("."),2),i=n[0],r=n[1];null!=(e=null!=e&&r?"".concat(e).concat(r):e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}},{key:"_applyChanges",value:function(t){var e=this;t.forEachRemovedItem((function(t){return e._setStyle(t.key,null)})),t.forEachAddedItem((function(t){return e._setStyle(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._setStyle(t.key,t.currentValue)}))}},{key:"ngStyle",set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.v),i.Nb(i.G))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t}(),kt=function(){var t=function(){function t(e){Qe(this,t),this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}
1return tn(t,[{key:"ngOnChanges",value:function(t){if(this._shouldRecreateView(t)){var e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(t){var e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}},{key:"_hasContextShapeChanged",value:function(t){var e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){var i,r=Ge(n);try{for(r.s();!(i=r.n()).done;){var a=i.value;if(-1===e.indexOf(a))return!0}}catch(o){r.e(o)}finally{r.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var i=n[e];this._viewRef.context[i]=this.ngTemplateOutletContext[i]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.zb]}),t}();function St(t,e){return Error("InvalidPipeArgument: '".concat(e,"' for pipe '").concat(Object(i.wb)(t),"'"))}var xt=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"createSubscription",value:function(t,e){return t.subscribe({next:e,error:function(t){throw t}})}},{key:"dispose",value:function(t){t.unsubscribe()}},{key:"onDestroy",value:function(t){t.unsubscribe()}}]),t}(),Ct=new(function(){function t(){Qe(this,t)}return tn(t,[{key:"createSubscription",value:function(t,e){return t.then(e,(function(t){throw t}))}},{key:"dispose",value:function(t){}},{key:"onDestroy",value:function(t){}}]),t}()),Tt=new xt,Et=function(){var t=function(){function t(e){Qe(this,t),this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return tn(t,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}},{key:"_subscribe",value:function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,(function(n){return e._updateLatestValue(t,n)}))}},{key:"_selectStrategy",value:function(e){if(Object(i.tb)(e))return Ct;if(Object(i.sb)(e))return Tt;throw St(t,e)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.ec())},t.\u0275pipe=i.Mb({name:"async",type:t,pure:!1}),t}(),Ot=function(){var t=function(){function t(e){Qe(this,t),this.locale=e}
1return tn(t,[{key:"transform",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;if(null==e||""===e||e!=e)return null;try{return function(t,e,n,r){var a=function(t){if(nt(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,n=parseFloat(t);if(!isNaN(t-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var i=Ke(t.split("-").map((function(t){return+t})),3),r=i[0],a=i[1],o=i[2];return new Date(r,a-1,o)}if(e=t.match(U))return function(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var o=Number(t[4]||0)-n,s=Number(t[5]||0)-i,c=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return a.call(e,o,s,c,u),e}(e)}var s=new Date(t);if(!nt(s))throw new Error('Unable to convert "'.concat(t,'" into a date'));return s}(t);e=function t(e,n){var r=function(t){return Object(i.lb)(t)[i.cb.LocaleId]}(e);if(H[r]=H[r]||{},H[r][n])return H[r][n];var a="";switch(n){case"shortDate":a=L(e,I.Short);break;case"mediumDate":a=L(e,I.Medium);break;case"longDate":a=L(e,I.Long);break;case"fullDate":a=L(e,I.Full);break;case"shortTime":a=P(e,I.Short);break;case"mediumTime":a=P(e,I.Medium);break;case"longTime":a=P(e,I.Long);break;case"fullTime":a=P(e,I.Full);break;case"short":var o=t(e,"shortTime"),s=t(e,"shortDate");a=J(j(e,I.Short),[o,s]);break;case"medium":var c=t(e,"mediumTime"),u=t(e,"mediumDate");a=J(j(e,I.Medium),[c,u]);break;case"long":var l=t(e,"longTime"),h=t(e,"longDate");a=J(j(e,I.Long),[l,h]);break;case"full":var f=t(e,"fullTime"),d=t(e,"fullDate");a=J(j(e,I.Full),[f,d])}return a&&(H[r][n]=a),a}(n,e)||e;for(var o,s=[];e;){if(!(o=q.exec(e))){s.push(e);break}var c=(s=s.concat(o.slice(1))).pop();if(!c)break;e=c}var u=a.getTimezoneOffset();r&&(u=et(r,u),a=function(t,e,n){var i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}
1(t,-1*(et(e,i)-i))}(a,r));var l="";return s.forEach((function(t){var e=function(t){if(tt[t])return tt[t];var e;switch(t){case"G":case"GG":case"GGG":e=Z(X.Eras,A.Abbreviated);break;case"GGGG":e=Z(X.Eras,A.Wide);break;case"GGGGG":e=Z(X.Eras,A.Narrow);break;case"y":e=Y(K.FullYear,1,0,!1,!0);break;case"yy":e=Y(K.FullYear,2,0,!0,!0);break;case"yyy":e=Y(K.FullYear,3,0,!1,!0);break;case"yyyy":e=Y(K.FullYear,4,0,!1,!0);break;case"M":case"L":e=Y(K.Month,1,1);break;case"MM":case"LL":e=Y(K.Month,2,1);break;case"MMM":e=Z(X.Months,A.Abbreviated);break;case"MMMM":e=Z(X.Months,A.Wide);break;case"MMMMM":e=Z(X.Months,A.Narrow);break;case"LLL":e=Z(X.Months,A.Abbreviated,M.Standalone);break;case"LLLL":e=Z(X.Months,A.Wide,M.Standalone);break;case"LLLLL":e=Z(X.Months,A.Narrow,M.Standalone);break;case"w":e=$(1);break;case"ww":e=$(2);break;case"W":e=$(1,!0);break;case"d":e=Y(K.Date,1);break;case"dd":e=Y(K.Date,2);break;case"E":case"EE":case"EEE":e=Z(X.Days,A.Abbreviated);break;case"EEEE":e=Z(X.Days,A.Wide);break;case"EEEEE":e=Z(X.Days,A.Narrow);break;case"EEEEEE":e=Z(X.Days,A.Short);break;case"a":case"aa":case"aaa":e=Z(X.DayPeriods,A.Abbreviated);break;case"aaaa":e=Z(X.DayPeriods,A.Wide);break;case"aaaaa":e=Z(X.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":e=Z(X.DayPeriods,A.Abbreviated,M.Standalone,!0);break;case"bbbb":e=Z(X.DayPeriods,A.Wide,M.Standalone,!0);break;case"bbbbb":e=Z(X.DayPeriods,A.Narrow,M.Standalone,!0);break;case"B":case"BB":case"BBB":e=Z(X.DayPeriods,A.Abbreviated,M.Format,!0);break;case"BBBB":e=Z(X.DayPeriods,A.Wide,M.Format,!0);break;case"BBBBB":e=Z(X.DayPeriods,A.Narrow,M.Format,!0);break;case"h":e=Y(K.Hours,1,-12);break;case"hh":e=Y(K.Hours,2,-12);break;case"H":e=Y(K.Hours,1);break;case"HH":e=Y(K.Hours,2);break;case"m":e=Y(K.Minutes,1);break;case"mm":e=Y(K.Minutes,2);break;case"s":e=Y(K.Seconds,1);break;case"ss":e=Y(K.Seconds,2);break;case"S":e=Y(K.FractionalSeconds,1);break;case"SS":e=Y(K.FractionalSeconds,2);break;case"SSS":e=Y(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Q(W.Short);break;case"ZZZZZ":e=Q(W.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Q(W.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Q(W.Long);break;default:return null}return tt[t]=e,e}(t);l+=e?e(a,n,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),l}(e,n,a||this.locale,r)}catch(o){throw St(t,o.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.w))},t.\u0275pipe=i.Mb({name:"date",type:t,pure:!0}),t}(),Mt=function(){var t=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"transform",value:function(t){return JSON.stringify(t,null,2)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Mb({name:"json",type:t,pure:!1}),t}(),At=function(){var t=function(){function t(e){Qe(this,t),this.differs=e,this.keyValues=[]}return tn(t,[{key:"transform",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:It;if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());var i=this.differ.diff(t);return i&&(this.keyValues=[],i.forEachItem((function(t){e.keyValues.push({key:t.key,value:t.currentValue})})),this.keyValues.sort(n)),this.keyValues}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.v))},t.\u0275pipe=i.Mb({name:"keyvalue",type:t,pure:!1}),t}();function It(t,e){var n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;var r=String(n),a=String(i);return r==a?0:r<a?-1:1}var Rt=function(){var t=function(){function t(e){Qe(this,t),this._locale=e}
1return tn(t,[{key:"transform",value:function(e,n,i){if(Pt(e))return null;i=i||this._locale;try{return function(t,e,n){return rt(t,at(N(e,E.Decimal),D(e,R.MinusSign)),e,R.Group,R.Decimal,n)}(jt(e),i,n)}catch(r){throw St(t,r.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.w))},t.\u0275pipe=i.Mb({name:"number",type:t,pure:!0}),t}(),Lt=function(){var t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";Qe(this,t),this._locale=e,this._defaultCurrencyCode=n}return tn(t,[{key:"transform",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(Pt(e))return null;o=o||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var s=n||this._defaultCurrencyCode;"code"!==r&&(s="symbol"===r||"symbol-narrow"===r?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",r=function(t){return Object(i.lb)(t)[i.cb.Currencies]}(n)[t]||T[t]||[],a=r[1];return"narrow"===e&&"string"==typeof a?a:r[0]||t}(s,"symbol"===r?"wide":"narrow",o):r);try{return function(t,e,n,i,r){var a=at(N(e,E.Currency),D(e,R.MinusSign));return a.minFrac=function(t){var e,n=T[t];return n&&(e=n[2]),"number"==typeof e?e:2}(i),a.maxFrac=a.minFrac,rt(t,a,e,R.CurrencyGroup,R.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}(jt(e),o,s,n,a)}catch(c){throw St(t,c.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.w),i.Nb(i.k))},t.\u0275pipe=i.Mb({name:"currency",type:t,pure:!0}),t}();function Pt(t){return null==t||""===t||t!=t}function jt(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}var Dt=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:st,useClass:ct}]}),t}(),Nt="browser";function Bt(t){return t===Nt}var Ft=function(){var t=function t(){Qe(this,t)};return t.\u0275prov=Object(i.Jb)({token:t,providedIn:"root",factory:function(){return new zt(Object(i.cc)(c),window,Object(i.cc)(i.n))}}),t}(),zt=function(){function t(e,n,i){Qe(this,t),this.document=e,this.window=n,this.errorHandler=i,this.offset=function(){return[0,0]}}
1return tn(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='".concat(t,"']"));if(n)return void this.scrollToElement(n)}catch(i){this.errorHandler.handleError(i)}}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}]),t}()},olUY:function(t,e,n){var i=n("P7XM"),r=n("tnIz"),a=n("hwdV").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,r.call(this,64,56)}function u(t,e,n){return n^t&(e^n)}function l(t,e,n){return t&e|n&(t|e)}function h(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function f(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}i(c,r),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(t){for(var e,n=this._w,i=0|this._a,r=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,v=0|this._h,b=0;b<16;++b)n[b]=t.readInt32BE(4*b);for(;b<64;++b)n[b]=0|(((e=n[b-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[b-7]+d(n[b-15])+n[b-16];for(var g=0;g<64;++g){var y=v+f(c)+u(c,p,m)+o[g]+n[g]|0,_=h(i)+l(i,r,a)|0;v=m,m=p,p=c,c=s+y|0,s=a,a=r,r=i,i=y+_|0}this._a=i+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=v+this._h|0},c.prototype._hash=function(){var t=a.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=c},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){Qe(this,t),this.predicate=e,this.thisArg=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t)).predicate=i,a.thisArg=r,a.count=0,a}return tn(n,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),n}(i.a)},pjAE:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(){function t(t){return Error.call(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map((function(t,e){return"".concat(e+1,") ").concat(t.toString())})).join("\n ")):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},pxpQ:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var i=n("7o/Q"),r=n("WMd4");function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Qe(this,t),this.scheduler=e,this.delay=n}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.scheduler,this.delay))}}]),t}(),s=function(t){en(n,t);var e=rn(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Qe(this,n),(r=e.call(this,t)).scheduler=i,r.delay=a,r}return tn(n,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new c(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(r.a.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(r.a.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(r.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()}}]),n}(i.a),c=function t(e,n){Qe(this,t),this.notification=e,this.destination=n}},qCKp:function(t,e,n){"use strict";n.r(e),n.d(e,"Observable",(function(){return r.a})),n.d(e,"ConnectableObservable",(function(){return a.a})),n.d(e,"GroupedObservable",(function(){return o.a})),n.d(e,"observable",(function(){return s.a})),n.d(e,"Subject",(function(){return c.a})),n.d(e,"BehaviorSubject",(function(){return u.a})),n.d(e,"ReplaySubject",(function(){return l.a})),n.d(e,"AsyncSubject",(function(){return h.a})),n.d(e,"asap",(function(){return f.a})),n.d(e,"asapScheduler",(function(){return f.b})),n.d(e,"async",(function(){return d.a})),n.d(e,"asyncScheduler",(function(){return d.b})),n.d(e,"queue",(function(){return p.a})),n.d(e,"queueScheduler",(function(){return p.b})),n.d(e,"animationFrame",(function(){return m.a})),n.d(e,"animationFrameScheduler",(function(){return m.b})),n.d(e,"VirtualTimeScheduler",(function(){return g})),n.d(e,"VirtualAction",(function(){return y})),n.d(e,"Scheduler",(function(){return _.a})),n.d(e,"Subscription",(function(){return w.a})),n.d(e,"Subscriber",(function(){return k.a})),n.d(e,"Notification",(function(){return S.a})),n.d(e,"NotificationKind",(function(){return S.b})),n.d(e,"pipe",(function(){return x.a})),n.d(e,"noop",(function(){return C.a})),n.d(e,"identity",(function(){return T.a})),n.d(e,"isObservable",(function(){return E.a})),n.d(e,"ArgumentOutOfRangeError",(function(){return O.a})),n.d(e,"EmptyError",(function(){return M.a})),n.d(e,"ObjectUnsubscribedError",(function(){return A.a})),n.d(e,"UnsubscriptionError",(function(){return I.a})),n.d(e,"TimeoutError",(function(){return R.a})),n.d(e,"bindCallback",(function(){return N})),n.d(e,"bindNodeCallback",(function(){return z})),n.d(e,"combineLatest",(function(){return q.b})),n.d(e,"concat",(function(){return W.a})),n.d(e,"defer",(function(){return K.a})),n.d(e,"empty",(function(){return X.b})),n.d(e,"forkJoin",(function(){return J.a})),n.d(e,"from",(function(){return G.a})),n.d(e,"fromEvent",(function(){return Y.a})),n.d(e,"fromEventPattern",(function(){return Q})),n.d(e,"generate",(function(){return $})),n.d(e,"iif",(function(){return et})),n.d(e,"interval",(function(){return it})),n.d(e,"merge",(function(){return at.a})),n.d(e,"never",(function(){return st})),n.d(e,"of",(function(){return ct.a})),n.d(e,"onErrorResumeNext",(function(){return ut})),n.d(e,"pairs",(function(){return lt})),n.d(e,"partition",(function(){return mt})),n.d(e,"race",(function(){return vt.a})),n.d(e,"range",(function(){return bt})),n.d(e,"throwError",(function(){return yt.a})),n.d(e,"timer",(function(){return _t.a})),n.d(e,"using",(function(){return wt})),n.d(e,"zip",(function(){return kt.b})),n.d(e,"scheduled",(function(){return St.a})),n.d(e,"EMPTY",(function(){return X.a})),n.d(e,"NEVER",(function(){return ot})),n.d(e,"config",(function(){return xt.a}));var i,r=n("HDdC"),a=n("EQ5u"),o=n("OQgR"),s=n("kJWO"),c=n("XNiG"),u=n("2Vo4"),l=n("jtHE"),h=n("NHP+"),f=n("7Hc7"),d=n("D0XW"),p=n("qgXg"),m=n("eNwd"),v=n("3N8a"),b=n("IjjT"),g=((i=function(t){en(n,t);var e=rn(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;return Qe(this,n),(t=e.call(this,i,(function(){return t.frame}))).maxFrames=r,t.frame=0,t.index=-1,t}return tn(n,[{key:"flush",value:function(){for(var t,e,n=this.actions,i=this.maxFrames;(e=n[0])&&e.delay<=i&&(n.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););
1if(t){for(;e=n.shift();)e.unsubscribe();throw t}}}]),n}(b.a)).frameTimeFactor=10,i),y=function(t){en(n,t);var e=rn(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.index+=1;return Qe(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r.index=a,r.active=!0,r.index=t.index=a,r}return tn(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.id)return Je(cn(n.prototype),"schedule",this).call(this,t,e);this.active=!1;var i=new n(this.scheduler,this.work);return this.add(i),i.schedule(t,e)}},{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.delay=t.frame+i;var r=t.actions;return r.push(this),r.sort(n.sortActions),!0}},{key:"recycleAsyncId",value:function(t,e){}},{key:"_execute",value:function(t,e){if(!0===this.active)return Je(cn(n.prototype),"_execute",this).call(this,t,e)}}],[{key:"sortActions",value:function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1}}]),n}(v.a),_=n("Y/cZ"),w=n("quSY"),k=n("7o/Q"),S=n("WMd4"),x=n("mCNh"),C=n("KqfI"),T=n("SpAZ"),E=n("7+OI"),O=n("4I5i"),M=n("sVev"),A=n("9ppp"),I=n("pjAE"),R=n("Y6u4"),L=n("lJxs"),P=n("8Qeq"),j=n("DH7j"),D=n("z+Ro");function N(t,e,n){if(e){if(!Object(D.a)(e))return function(){return N(t,n).apply(void 0,arguments).pipe(Object(L.a)((function(t){return Object(j.a)(t)?e.apply(void 0,Xe(t)):e(t)})))};n=e}return function(){for(var e=arguments.length,i=new Array(e),a=0;a<e;a++)i[a]=arguments[a];var o,s=this,c={context:s,subject:o,callbackFunc:t,scheduler:n};return new r.a((function(e){if(n)return n.schedule(B,0,{args:i,subscriber:e,params:c});if(!o){o=new h.a;try{t.apply(s,[].concat(i,[function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];o.next(e.length<=1?e[0]:e),o.complete()}]))}catch(r){Object(P.a)(o)?o.error(r):console.warn(r)}}return o.subscribe(e)}))}}function B(t){var e=this,n=t.args,i=t.subscriber,r=t.params,a=r.callbackFunc,o=r.context,s=r.scheduler,c=r.subject;if(!c){c=r.subject=new h.a;try{a.apply(o,[].concat(Xe(n),[function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.add(s.schedule(F,0,{value:n.length<=1?n[0]:n,subject:c}))}]))}catch(u){c.error(u)}}this.add(c.subscribe(i))}function F(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function z(t,e,n){if(e){if(!Object(D.a)(e))return function(){return z(t,n).apply(void 0,arguments).pipe(Object(L.a)((function(t){return Object(j.a)(t)?e.apply(void 0,Xe(t)):e(t)})))};n=e}return function(){for(var e=arguments.length,i=new Array(e),a=0;a<e;a++)i[a]=arguments[a];var o={subject:void 0,args:i,callbackFunc:t,scheduler:n,context:this};return new r.a((function(e){var r=o.context,a=o.subject;if(n)return n.schedule(V,0,{params:o,subscriber:e,context:r});if(!a){a=o.subject=new h.a;try{t.apply(r,[].concat(i,[function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e.shift();i?a.error(i):(a.next(e.length<=1?e[0]:e),a.complete())}]))}catch(s){Object(P.a)(a)?a.error(s):console.warn(s)}}return a.subscribe(e)}))}}function V(t){var e=this,n=t.params,i=t.subscriber,r=t.context,a=n.callbackFunc,o=n.args,s=n.scheduler,c=n.subject;if(!c){c=n.subject=new h.a;try{a.apply(r,[].concat(Xe(o),[function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=n.shift();e.add(r?s.schedule(H,0,{err:r,subject:c}):s.schedule(U,0,{value:n.length<=1?n[0]:n,subject:c}))}]))}catch(u){this.add(s.schedule(H,0,{err:u,subject:c}))}}this.add(c.subscribe(i))}function U(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function H(t){var e=t.err;t.subject.error(e)}var q=n("itXk"),W=n("GyhO"),K=n("NXyV"),X=n("EY2u"),J=n("cp0P"),G=n("Cfvw"),Y=n("xgIS"),Z=n("n6bG");function Q(t,e,n){return n?Q(t,e).pipe(Object(L.a)((function(t){return Object(j.a)(t)?n.apply(void 0,Xe(t)):n(t)}))):new r.a((function(n){var i,r=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return n.next(1===e.length?e[0]:e)};try{i=t(r)}catch(a){return void n.error(a)}if(Object(Z.a)(e))return function(){return e(r,i)}}))}function $(t,e,n,i,a){var o,s;return 1==arguments.length?(s=t.initialState,e=t.condition,n=t.iterate,o=t.resultSelector||T.a,a=t.scheduler):void 0===i||Object(D.a)(i)?(s=t,o=T.a,a=i):(s=t,o=i),new r.a((function(t){var i=s;
1if(a)return a.schedule(tt,0,{subscriber:t,iterate:n,condition:e,resultSelector:o,state:i});for(;;){if(e){var r=void 0;try{r=e(i)}catch(u){return void t.error(u)}if(!r){t.complete();break}}var c=void 0;try{c=o(i)}catch(u){return void t.error(u)}if(t.next(c),t.closed)break;try{i=n(i)}catch(u){return void t.error(u)}}}))}function tt(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(a){return void e.error(a)}else t.needIterate=!0;if(n){var i;try{i=n(t.state)}catch(a){return void e.error(a)}if(!i)return void e.complete();if(e.closed)return}var r;try{r=t.resultSelector(t.state)}catch(a){return void e.error(a)}return e.closed||(e.next(r),e.closed)?void 0:this.schedule(t)}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X.a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:X.a;return Object(K.a)((function(){return t()?e:n}))}var nt=n("Y7HM");function it(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.a;return(!Object(nt.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=d.a),new r.a((function(n){return n.add(e.schedule(rt,t,{subscriber:n,counter:0,period:t})),n}))}function rt(t){var e=t.subscriber,n=t.counter,i=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var at=n("VRyK"),ot=new r.a(C.a);function st(){return ot}var ct=n("LRne");function ut(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(0===e.length)return X.a;var i=e[0],a=e.slice(1);return 1===e.length&&Object(j.a)(i)?ut.apply(void 0,Xe(i)):new r.a((function(t){var e=function(){return t.add(ut.apply(void 0,Xe(a)).subscribe(t))};return Object(G.a)(i).subscribe({next:function(e){t.next(e)},error:e,complete:e})}))}function lt(t,e){return new r.a(e?function(n){var i=Object.keys(t),r=new w.a;return r.add(e.schedule(ht,0,{keys:i,index:0,subscriber:n,subscription:r,obj:t})),r}:function(e){for(var n=Object.keys(t),i=0;i<n.length&&!e.closed;i++){var r=n[i];t.hasOwnProperty(r)&&e.next([r,t[r]])}e.complete()})}function ht(t){var e=t.keys,n=t.index,i=t.subscriber,r=t.subscription,a=t.obj;if(!i.closed)if(n<e.length){var o=e[n];i.next([o,a[o]]),r.add(this.schedule({keys:e,index:n+1,subscriber:i,subscription:r,obj:a}))}else i.complete()}var ft=n("F97/"),dt=n("SeVD"),pt=n("pLZG");function mt(t,e,n){return[Object(pt.a)(e,n)(new r.a(Object(dt.a)(t))),Object(pt.a)(Object(ft.a)(e,n))(new r.a(Object(dt.a)(t)))]}var vt=n("Nv8m");function bt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return new r.a((function(i){void 0===e&&(e=t,t=0);var r=0,a=t;if(n)return n.schedule(gt,0,{index:r,count:e,start:t,subscriber:i});for(;;){if(r++>=e){i.complete();break}if(i.next(a++),i.closed)break}}))}function gt(t){var e=t.start,n=t.index,i=t.count,r=t.subscriber;n>=i?r.complete():(r.next(e),r.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}var yt=n("z6cu"),_t=n("PqYM");function wt(t,e){return new r.a((function(n){var i,r;try{i=t()}catch(o){return void n.error(o)}try{r=e(i)}catch(o){return void n.error(o)}var a=(r?Object(G.a)(r):X.a).subscribe(n);return function(){a.unsubscribe(),i&&i.unsubscribe()}}))}var kt=n("1uah"),St=n("7HRe"),xt=n("2fFW")},qPBE:function(t,e,n){var i=n("tjlA"),r=i.Buffer;function a(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return r(t,e,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=i:(a(i,e),e.Buffer=o),a(r,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return r(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=r(t);return void 0!==e?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i.SlowBuffer(t)}},qVij:function(t,e,n){(function(e){var i=n("AQYT"),r=n("Edxu");function a(t,n){var r=function(t){var e=o(t);return{blinder:e.toRed(i.mont(t.modulus)).redPow(new i(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(n),a=n.modulus.byteLength(),s=(i.mont(n.modulus),new i(t).mul(r.blinder).umod(n.modulus)),c=s.toRed(i.mont(n.prime
11)),u=s.toRed(i.mont(n.prime2)),l=n.coefficient,h=n.prime1,f=n.prime2,d=c.redPow(n.exponent1),p=u.redPow(n.exponent2);d=d.fromRed(),p=p.fromRed();var m=d.isub(p).imul(l).umod(h);return m.imul(f),p.iadd(m),new e(p.imul(r.unblinder).umod(n.modulus).toArray(!1,a))}function o(t){for(var e=t.modulus.byteLength(),n=new i(r(e));n.cmp(t.modulus)>=0||!n.umod(t.prime1)||!n.umod(t.prime2);)n=new i(r(e));return n}t.exports=a,a.getr=o}).call(this,n("tjlA").Buffer)},qgXg:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return tn(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>0?Je(cn(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?Je(cn(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?Je(cn(n.prototype),"requestAsyncId",this).call(this,t,e,i):t.flush(this)}}]),n}(n("3N8a").a),r=new(function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return n}(n("IjjT").a))(i),a=r},qlaj:function(t,e,n){"use strict";var i=n("w8CP").rotr32;function r(t,e,n){return t&e^~t&n}function a(t,e,n){return t&e^t&n^e&n}function o(t,e,n){return t^e^n}e.ft_1=function(t,e,n,i){return 0===t?r(e,n,i):1===t||3===t?o(e,n,i):2===t?a(e,n,i):void 0},e.ch32=r,e.maj32=a,e.p32=o,e.s0_256=function(t){return i(t,2)^i(t,13)^i(t,22)},e.s1_256=function(t){return i(t,6)^i(t,11)^i(t,25)},e.g0_256=function(t){return i(t,7)^i(t,18)^t>>>3},e.g1_256=function(t){return i(t,17)^i(t,19)^t>>>10}},quSY:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("DH7j"),r=n("XoHu"),a=n("n6bG"),o=n("pjAE"),s=function(){var t,e=function(){function t(e){Qe(this,t),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}
1return tn(t,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var n=this._parentOrParents,s=this._ctorUnsubscribe,u=this._unsubscribe,l=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var h=0;h<n.length;++h)n[h].remove(this);if(Object(a.a)(u)){s&&(this._unsubscribe=void 0);try{u.call(this)}catch(m){e=m instanceof o.a?c(m.errors):[m]}}if(Object(i.a)(l))for(var f=-1,d=l.length;++f<d;){var p=l[f];if(Object(r.a)(p))try{p.unsubscribe()}catch(m){e=e||[],m instanceof o.a?e=e.concat(c(m.errors)):e.push(m)}}if(e)throw new o.a(e)}}},{key:"add",value:function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var i=n;(n=new t)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var r=n._parentOrParents;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}var a=this._subscriptions;return null===a?this._subscriptions=[n]:a.push(n),n}},{key:"remove",value:function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}]),t}();return e.EMPTY=((t=new e).closed=!0,t),e}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof o.a?e.errors:e)}),[])}},rDax:function(t,e,n){"use strict";n.d(e,"a",(function(){return J})),n.d(e,"b",(function(){return X})),n.d(e,"c",(function(){return q})),n.d(e,"d",(function(){return C})),n.d(e,"e",(function(){return P})),n.d(e,"f",(function(){return Y}));var i=n("vxfF"),r=n("fXoL"),a=n("nLfN"),o=n("cH1L"),s=n("ofXK"),c=n("8LU1"),u=n("+rOU"),l=n("XNiG"),h=n("quSY"),f=n("VRyK"),d=n("IzEk"),p=n("1G5W"),m=n("GJmQ"),v=n("FtGj"),b=function(){function t(e,n){Qe(this,t),this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}
1return tn(t,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(c.d)(-this._previousScrollPosition.left),t.style.top=Object(c.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=r}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}]),t}();function g(){return Error("Scroll strategy has already been attached.")}var y=function(){function t(e,n,i,r){var a=this;Qe(this,t),this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run((function(){return a._overlayRef.detach()}))}}
1return tn(t,[{key:"attach",value:function(t){if(this._overlayRef)throw g();this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe((function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()}))):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),_=function(){function t(){Qe(this,t)}return tn(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function w(t,e){return e.some((function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right}))}function k(t,e){return e.some((function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right}))}var S=function(){function t(e,n,i,r){Qe(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}
1return tn(t,[{key:"attach",value:function(t){if(this._overlayRef)throw g();this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;w(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run((function(){return t._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),x=function(){var t=function t(e,n,i,r){var a=this;Qe(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new _},this.close=function(t){return new y(a._scrollDispatcher,a._ngZone,a._viewportRuler,t)},this.block=function(){return new b(a._viewportRuler,a._document)},this.reposition=function(t){return new S(a._scrollDispatcher,a._viewportRuler,a._ngZone,t)},this._document=r};return t.\u0275fac=function(e){return new(e||t)(r.cc(i.c),r.cc(i.e),r.cc(r.B),r.cc(s.e))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(i.c),Object(r.cc)(i.e),Object(r.cc)(r.B),Object(r.cc)(s.e))},token:t,providedIn:"root"}),t}(),C=function t(e){if(Qe(this,t),this.scrollStrategy=new _,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,this.excludeFromOutsideClick=[],e)for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];void 0!==e[r]&&(this[r]=e[r])}},T=function t(e,n,i,r,a){Qe(this,t),this.offsetX=i,this.offsetY=r,this.panelClass=a,this.originX=e.originX,this.originY=e.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY},E=function t(e,n){Qe(this,t),this.connectionPair=e,this.scrollableViewProperties=n};function O(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid ".concat(t,' "').concat(e,'". Expected "top", "bottom" or "center".'))}function M(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid ".concat(t,' "').concat(e,'". Expected "start", "end" or "center".'))}var A=function(){var t=function(){function t(e){Qe(this,t),this._attachedOverlays=[],this._document=e}
1return tn(t,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(t){this.remove(t),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(s.e))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(s.e))},token:t,providedIn:"root"}),t}(),I=function(){var t=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t))._keydownListener=function(t){for(var e=i._attachedOverlays,n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}},i}return tn(n,[{key:"add",value:function(t){Je(cn(n.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(A);return t.\u0275fac=function(e){return new(e||t)(r.cc(s.e))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(s.e))},token:t,providedIn:"root"}),t}(),R=function(){var t=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(t){for(var e=t.composedPath?t.composedPath()[0]:t.target,n=r._attachedOverlays,i=n.length-1;i>-1;i--){var a=n[i];if(!(a._outsidePointerEvents.observers.length<1)){if([].concat(Xe(a.getConfig().excludeFromOutsideClick),[a.overlayElement]).some((function(t){return t.contains(e)})))break;a._outsidePointerEvents.next(t)}}},r}return tn(n,[{key:"add",value:function(t){Je(cn(n.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}]),n}(A);return t.\u0275fac=function(e){return new(e||t)(r.cc(s.e),r.cc(a.a))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(s.e),Object(r.cc)(a.a))},token:t,providedIn:"root"}),t}(),L=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),P=function(){var t=function(){function t(e,n){Qe(this,t),this._platform=n,this._document=e}
1return tn(t,[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var t=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||L)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);var i=this._document.createElement("div");i.classList.add("cdk-overlay-container"),L?i.setAttribute("platform","test"):t||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(s.e),r.cc(a.a))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(s.e),Object(r.cc)(a.a))},token:t,providedIn:"root"}),t}(),j=function(){function t(e,n,i,r,a,o,s,c,u){var f=this;Qe(this,t),this._portalOutlet=e,this._host=n,this._pane=i,this._config=r,this._ngZone=a,this._keyboardDispatcher=o,this._document=s,this._location=c,this._outsideClickDispatcher=u,this._backdropElement=null,this._backdropClick=new l.a,this._attachments=new l.a,this._detachments=new l.a,this._locationChanges=h.a.EMPTY,this._backdropClickHandler=function(t){return f._backdropClick.next(t)},this._keydownEvents=new l.a,this._outsidePointerEvents=new l.a,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}
1return tn(t,[{key:"attach",value:function(t){var e=this,n=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(d.a)(1)).subscribe((function(){e.hasAttached()&&e.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._location&&(this._locationChanges=this._location.subscribe((function(){return e.dispose()}))),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),t}}},{key:"dispose",value:function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick.asObservable()}},{key:"attachments",value:function(){return this._attachments.asObservable()}},{key:"detachments",value:function(){return this._detachments.asObservable()}},{key:"keydownEvents",value:function(){return this._keydownEvents.asObservable()}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents.asObservable()}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}},{key:"setDirection",value:function(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}},{key:"addPanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!0)}},{key:"removePanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!1)}},{key:"getDirection",value:function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}},{key:"updateScrollStrategy",value:function(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var t=this._pane.style;t.width=Object(c.d)(this._config.width),t.height=Object(c.d)(this._config.height),t.minWidth=Object(c.d)(this._config.minWidth),t.minHeight=Object(c.d)(this._config.minHeight),t.maxWidth=Object(c.d)(this._config.maxWidth),t.maxHeight=Object(c.d)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(t){this._pane.style.pointerEvents=t?"auto":"none"}},{key:"_attachBackdrop",value:function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var t,e=this,n=this._backdropElement;
1if(n){var i=function i(){n&&(n.removeEventListener("click",e._backdropClickHandler),n.removeEventListener("transitionend",i),n.parentNode&&n.parentNode.removeChild(n)),e._backdropElement==n&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(n,e._config.backdropClass,!1),clearTimeout(t)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((function(){n.addEventListener("transitionend",i)})),n.style.pointerEvents="none",t=this._ngZone.runOutsideAngular((function(){return setTimeout(i,500)}))}}},{key:"_toggleClasses",value:function(t,e,n){var i=t.classList;Object(c.b)(e).forEach((function(t){t&&(n?i.add(t):i.remove(t))}))}},{key:"_detachContentWhenStable",value:function(){var t=this;this._ngZone.runOutsideAngular((function(){var e=t._ngZone.onStable.asObservable().pipe(Object(p.a)(Object(f.a)(t._attachments,t._detachments))).subscribe((function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())}))}))}},{key:"_disposeScrollStrategy",value:function(){var t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}},{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}}]),t}(),D=/([A-Za-z%]+)$/,N=function(){function t(e,n,i,r,a){Qe(this,t),this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=a,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.a,this._resizeSubscription=h.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(e)}
1return tn(t,[{key:"attach",value:function(t){var e=this;if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){e._isInitialRender=!0,e.apply()}))}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var t,e,n=this._originRect,i=this._overlayRect,r=this._viewportRect,a=[],o=Ge(this._preferredPositions);try{for(o.s();!(e=o.n()).done;){var s=e.value,c=this._getOriginPoint(n,s),u=this._getOverlayPoint(c,i,s),l=this._getOverlayFit(u,i,r,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,c);this._canFitWithFlexibleDimensions(l,u,r)?a.push({position:s,origin:c,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(c,s)}):(!t||t.overlayFit.visibleArea<l.visibleArea)&&(t={overlayFit:l,overlayPoint:u,originPoint:c,position:s,overlayRect:i})}}catch(b){o.e(b)}finally{o.f()}if(a.length){var h,f=null,d=-1,p=Ge(a);try{for(p.s();!(h=p.n()).done;){var m=h.value,v=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);v>d&&(d=v,f=m)}}catch(b){p.e(b)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,e,n){var i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}},{key:"_getOverlayFit",value:function(t,e,n,i){var r=t.x,a=t.y,o=this._getOffset(i,"x"),s=this._getOffset(i,"y");o&&(r+=o),s&&(a+=s);var c=0-a,u=a+e.height-n.height,l=this._subtractOverflows(e.width,0-r,r+e.width-n.width),h=this._subtractOverflows(e.height,c,u),f=l*h;return{visibleArea:f,isCompletelyWithinViewport:e.width*e.height===f,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:l==e.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,a=F(this._overlayRef.getConfig().minHeight),o=F(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=a&&a<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,a=this._viewportRect,o=Math.max(t.x+e.width-a.width,0),s=Math.max(t.y+e.height-a.height,0),c=Math.max(a.top-n.top-t.y,0),u=Math.max(a.left-n.left-t.x,0);return i=e.width<=a.width?u||-o:t.x<this._viewportMargin?a.left-n.left-t.x:0,r=e.height<=a.height?c||-s:t.y<this._viewportMargin?a.top-n.top-t.y:0,this._previousPushAmount={x:i,y:r},{x:t.x+i,y:t.y+r}}},{key:"_applyPosition",value:function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){var n=this._getScrollVisibility(),i=new E(t,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin="".concat(e," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(t,e){var n,i,r,a,o,s,c=this._viewportRect,u=this._isRtl();if("top"===e.overlayY)i=t.y,n=c.height-i+this._viewportMargin;else if("bottom"===e.overlayY)r=c.height-t.y+2*this._viewportMargin,n=c.height-r+this._viewportMargin;else{var l=Math.min(c.bottom-t.y+c.top,t.y),h=this._lastBoundingBoxSize.height;n=2*l,i=t.y-l,n>h&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-h/2)}
1if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=c.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)o=t.x,a=c.right-t.x;else{var f=Math.min(c.right-t.x+c.left,t.x),d=this._lastBoundingBoxSize.width;a=2*f,o=t.x-f,a>d&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.x-d/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value:function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(c.d)(n.height),i.top=Object(c.d)(n.top),i.bottom=Object(c.d)(n.bottom),i.width=Object(c.d)(n.width),i.left=Object(c.d)(n.left),i.right=Object(c.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=Object(c.d)(r)),a&&(i.maxWidth=Object(c.d)(a))}this._lastBoundingBoxSize=n,B(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();B(n,this._getExactOverlayY(e,t,o)),B(n,this._getExactOverlayX(e,t,o))}else n.position="static";var s="",u=this._getOffset(e,"x"),l=this._getOffset(e,"y");u&&(s+="translateX(".concat(u,"px) ")),l&&(s+="translateY(".concat(l,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=Object(c.d)(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=Object(c.d)(a.maxWidth):r&&(n.maxWidth="")),B(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(t,e,n){var i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(c.d)(r.y),i}},{key:"_getExactOverlayX",value:function(t,e,n){var i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=Object(c.d)(r.x),i}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(t){return t.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:k(t,n),isOriginOutsideView:w(t,n),isOverlayClipped:k(e,n),isOverlayOutsideView:w(e,n)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.reduce((function(t,e){return t-Math.max(e,0)}),t)}},{key:"_getNarrowedViewportRect",value:function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}},{key:"_validatePositions",value:function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((function(t){M("originX",t.originX),O("originY",t.originY),M("overlayX",t.overlayX),O("overlayY",t.overlayY)}))}},{key:"_addPanelClasses",value:function(t){var e=this;this._pane&&Object(c.b)(t).forEach((function(t){""!==t&&-1===e._appliedPanelClasses.indexOf(t)&&(e._appliedPanelClasses.push(t),e._pane.classList.add(t))}))}},{key:"_clearPanelClasses",value:function(){var t=this;
1this._pane&&(this._appliedPanelClasses.forEach((function(e){t._pane.classList.remove(e)})),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var t=this._origin;if(t instanceof r.l)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();var e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}},{key:"positions",get:function(){return this._preferredPositions}}]),t}();function B(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function F(t){if("number"!=typeof t&&null!=t){var e=Ke(t.split(D),2),n=e[0],i=e[1];return i&&"px"!==i?null:parseFloat(n)}return t||null}var z=function(){function t(e,n,i,r,a,o,s){Qe(this,t),this._preferredPositions=[],this._positionStrategy=new N(i,r,a,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,n)}return tn(t,[{key:"attach",value:function(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(t){this._positionStrategy.withScrollableContainers(t)}},{key:"withFallbackPosition",value:function(t,e,n,i){var r=new T(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}},{key:"withOffsetX",value:function(t){return this._positionStrategy.withDefaultOffsetX(t),this}},{key:"withOffsetY",value:function(t){return this._positionStrategy.withDefaultOffsetY(t),this}},{key:"withLockedPosition",value:function(t){return this._positionStrategy.withLockedPosition(t),this}},{key:"withPositions",value:function(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(t){return this._positionStrategy.setOrigin(t),this}},{key:"onPositionChange",get:function(){return this._positionStrategy.positionChanges}},{key:"positions",get:function(){return this._preferredPositions}}]),t}(),V=function(){function t(){Qe(this,t),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}
1return tn(t,[{key:"attach",value:function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}},{key:"top",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=c?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),U=function(){var t=function(){function t(e,n,i,r){Qe(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r}
1return tn(t,[{key:"global",value:function(){return new V}},{key:"connectedTo",value:function(t,e,n){return new z(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new N(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(i.e),r.cc(s.e),r.cc(a.a),r.cc(P))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(i.e),Object(r.cc)(s.e),Object(r.cc)(a.a),Object(r.cc)(P))},token:t,providedIn:"root"}),t}(),H=0,q=function(){var t=function(){function t(e,n,i,r,a,o,s,c,u,l,h){Qe(this,t),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=c,this._directionality=u,this._location=l,this._outsideClickDispatcher=h}return tn(t,[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new C(t);return r.direction=r.direction||this._directionality.value,new j(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+H++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(r.g)),new u.e(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(x),r.cc(P),r.cc(r.j),r.cc(U),r.cc(I),r.cc(r.t),r.cc(r.B),r.cc(s.e),r.cc(o.b),r.cc(s.l,8),r.cc(R,8))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t}(),W=[{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"}],K=new r.s("cdk-connected-overlay-scroll-strategy"),X=function(){var t=function t(e){Qe(this,t),this.elementRef=e};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t}(),J=function(){var t=function(){function t(e,n,i,a,o){Qe(this,t),this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.a.EMPTY,this._attachSubscription=h.a.EMPTY,this._detachSubscription=h.a.EMPTY,this._positionSubscription=h.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new r.o,this.positionChange=new r.o,this.attach=new r.o,this.detach=new r.o,this.overlayKeydown=new r.o,this.overlayOutsideClick=new r.o,this._templatePortal=new u.i(n,i),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}
1return tn(t,[{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;this.positions&&this.positions.length||(this.positions=W);var e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe((function(){return t.attach.emit()})),this._detachSubscription=e.detachments().subscribe((function(){return t.detach.emit()})),e.keydownEvents().subscribe((function(e){t.overlayKeydown.next(e),e.keyCode!==v.g||Object(v.s)(e)||(e.preventDefault(),t._detachOverlay())})),this._overlayRef.outsidePointerEvents().subscribe((function(e){t.overlayOutsideClick.next(e)}))}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new C({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}},{key:"_updatePositionStrategy",value:function(t){var e=this,n=this.positions.map((function(t){return{originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||e.offsetX,offsetY:t.offsetY||e.offsetY,panelClass:t.panelClass||void 0}}));return t.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}},{key:"_attachOverlay",value:function(){var t=this;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((function(e){t.backdropClick.emit(e)})):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Object(m.a)((function(){return t.positionChange.observers.length>0}))).subscribe((function(e){t.positionChange.emit(e),0===t.positionChange.observers.length&&t._positionSubscription.unsubscribe()})))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}},{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(c.c)(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=Object(c.c)(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=Object(c.c)(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=Object(c.c)(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=Object(c.c)(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(q),r.Nb(r.N
1),r.Nb(r.R),r.Nb(K),r.Nb(o.b,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.zb]}),t}(),G={provide:K,deps:[q],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},Y=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},providers:[q,G],imports:[[o.a,u.h,i.d],i.d]}),t}()},"rE/R":function(t,e,n){"use strict";var i,r=n("0ROu").codes,a=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function c(t,e,r,a){a=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(a);var s=!1;t.on("close",(function(){s=!0})),void 0===i&&(i=n("QqdZ")),i(t,{readable:e,writable:r},(function(t){if(t)return a(t);s=!0,a()}));var c=!1;return function(e){if(!s&&!c)return c=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void a(e||new o("pipe"))}}function u(t){t()}function l(t,e){return t.pipe(e)}function h(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}t.exports=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=h(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new a("streams");var o=e.map((function(t,n){var a=n<e.length-1;return c(t,a,n>0,(function(t){i||(i=t),t&&o.forEach(u),a||(o.forEach(u),r(i))}))}));return e.reduce(l)}},rSVQ:function(t,e,n){var i=n("Ku4m"),r=n("Edxu"),a=n("mObS"),o=n("9GDS"),s=n("g9U9"),c=n("AQYT"),u=n("UpF+"),l=n("qVij"),h=n("hwdV").Buffer;t.exports=function(t,e,n){var f;f=t.padding?t.padding:n?1:4;var d,p=i(t);if(4===f)d=function(t,e){var n=t.modulus.byteLength(),i=e.length,u=a("sha1").update(h.alloc(0)).digest(),l=u.length,f=2*l;if(i>n-f-2)throw new Error("message too long");var d=h.alloc(n-i-f-2),p=n-l-1,m=r(l),v=s(h.concat([u,d,h.alloc(1,1),e],p),o(m,p)),b=s(m,o(v,l));return new c(h.concat([h.alloc(1),b,v],n))}(p,e);else if(1===f)d=function(t,e,n){var i,a=e.length,o=t.modulus.byteLength();if(a>o-11)throw new Error("message too long");return i=n?h.alloc(o-a-3,255):function(t){for(var e,n=h.allocUnsafe(t),i=0,a=r(2*t),o=0;i<t;)o===a.length&&(a=r(2*t),o=0),(e=a[o++])&&(n[i++]=e);return n}(o-a-3),new c(h.concat([h.from([0,n?1:2]),i,h.alloc(1),e],o))}(p,e,n);else{if(3!==f)throw new Error("unknown padding");if((d=new c(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?l(d,p):u(d,p)}},rXFu:function(t,e,n){"use strict";(function(e,i){var r=n("lm0R");t.exports=y;var a,o=n("49sm");y.ReadableState=g,n("+qE3");var s=function(t,e){return t.listeners(e).length},c=n("QpuX"),u=n("qPBE").Buffer,l=e.Uint8Array||function(){},h=Object.create(n("Onz0"));h.inherits=n("P7XM");var f=n(1),d=void 0;d=f&&f.debuglog?f.debuglog("stream"):function(){};var p,m=n("Xhqo"),v=n("RoFp");h.inherits(y,c);var b=["error","close","destroy","pause","resume"];function g(t,e){var i=e instanceof(a=a||n("sZro"));this.objectMode=!!(t=t||{}).objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,o=t.readableHighWaterMark;this.highWaterMark=r||0===r?r:i&&(o||0===o)?o:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=n("fXKp").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function y(t){if(a=a||n("sZro"),!(this instanceof y))return new y(t);this._readableState=new g(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),c.call(this)}function _(t,e,n,i,r){var a,o=t._readableState;return null===e?(o.reading=!1,function(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,S(t)}}(t,o)):(r||(a=function(t,e){var n,i;return u.isBuffer(i=e)||i instanceof l||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(o,e)),a?t.emit("error",a):o.objectMode||e&&e.length>0?("string"==typeof e||o.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),i?o.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,o,e,!0):o.ended?t.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(e=
vendor: 4,305 bytes, line 1
1o.decoder.write(e),o.objectMode||0!==e.length?w(t,o,e,!1):C(t,o)):w(t,o,e,!1))):i||(o.reading=!1)),function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(o)}function w(t,e,n,i){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,i?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&S(t)),C(t,e)}function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function S(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?r.nextTick(x,t):x(t))}function x(t){d("emit readable"),t.emit("readable"),M(t)}function C(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(T,t,e))}function T(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(d("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function E(t){d("readable nexttick read 0"),t.read(0)}function O(t,e){e.reading||(d("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),M(t),e.flowing&&!e.reading&&t.read(0)}function M(t){var e=t._readableState;for(d("flow",e.flowing);e.flowing&&null!==t.read(););}function A(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var i;return t<e.head.data.length?(i=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):i=t===e.head.data.length?e.shift():n?function(t,e){var n=e.head,i=1,r=n.data;for(t-=r.length;n=n.next;){var a=n.data,o=t>a.length?a.length:t;if(r+=o===a.length?a:a.slice(0,t),0==(t-=o)){o===a.length?(++i,e.head=n.next?n.next:e.tail=null):(e.head=n,n.data=a.slice(o));break}++i}return e.length-=i,r}(t,e):function(t,e){var n=u.allocUnsafe(t),i=e.head,r=1;for(i.data.copy(n),t-=i.data.length;i=i.next;){var a=i.data,o=t>a.length?a.length:t;if(a.copy(n,n.length-t,0,o),0==(t-=o)){o===a.length?(++r,e.head=i.next?i.next:e.tail=null):(e.head=i,i.data=a.slice(o));break}++r}return e.length-=r,n}(t,e),i}(t,e.buffer,e.decoder),n);var n}function I(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,r.nextTick(R,e,t))}function R(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function L(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),y.prototype.destroy=v.destroy,y.prototype._undestroy=v.undestroy,y.prototype._destroy=function(t,e){this.push(null),e(t)},y.prototype.push=function(t,e){var n,i=this._readableState;return i.objectMode?n=!0:"string"==typeof t&&((e=e||i.defaultEncoding)!==i.encoding&&(t=u.from(t,e),e=""),n=!0),_(this,t,e,!1,n)},y.prototype.unshift=function(t){return _(this,t,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(t){return p||(p=n("fXKp").StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this},y.prototype.read=function(t){d("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?I(this):S(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&I(this),null;var i,r=e.needReadable;return d("need readable",r),(0===e.length||e.length-t<e.highWaterMark)&&d("length less than watermark",r=!0),e.ended||e.reading?d("reading or ended",r=!1):r&&(d("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(n,e))),null===(i=t>0?A(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&I(this)),null!==i&&this.emit
1("data",i),i},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,e){var n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=t;break;case 1:a.pipes=[a.pipes,t];break;default:a.pipes.push(t)}a.pipesCount+=1,d("pipe count=%d opts=%j",a.pipesCount,e);var c=e&&!1===e.end||t===i.stdout||t===i.stderr?g:u;function u(){d("onend"),t.end()}a.endEmitted?r.nextTick(c):n.once("end",c),t.on("unpipe",(function e(i,r){d("onunpipe"),i===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,d("cleanup"),t.removeListener("close",v),t.removeListener("finish",b),t.removeListener("drain",l),t.removeListener("error",m),t.removeListener("unpipe",e),n.removeListener("end",u),n.removeListener("end",g),n.removeListener("data",p),h=!0,!a.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,M(t))}}(n);t.on("drain",l);var h=!1,f=!1;function p(e){d("ondata"),f=!1,!1!==t.write(e)||f||((1===a.pipesCount&&a.pipes===t||a.pipesCount>1&&-1!==L(a.pipes,t))&&!h&&(d("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,f=!0),n.pause())}function m(e){d("onerror",e),g(),t.removeListener("error",m),0===s(t,"error")&&t.emit("error",e)}function v(){t.removeListener("finish",b),g()}function b(){d("onfinish"),t.removeListener("close",v),g()}function g(){d("unpipe"),n.unpipe(t)}return n.on("data",p),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener("error",n);t._events&&t._events.error?o(t._events.error)?t._events.error.unshift(n):t._events.error=[n,t._events.error]:t.on("error",n)}(t,0,m),t.once("close",v),t.once("finish",b),t.emit("pipe",n),a.flowing||(d("pipe resume"),n.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var i=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var a=0;a<r;a++)i[a].emit("unpipe",this,n);return this}var o=L(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},y.prototype.addListener=y.prototype.on=function(t,e){var n=c.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&S(this):r.nextTick(E,this))}return n},y.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(O,t,e))}(this,t)),this},y.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;for(var r in t.on("end",(function(){if(d("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(r){d("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r||(n.objectMode||r&&r.length)&&(e.push(r)||(i=!0,t.pause()))})),t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));for(var a=0;a<b.length;a++)t.on(b[a],this.emit.bind(this,b[a]));return this._read=function(e){d("wrapped _read",e),i&&(i=!1,t.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=A}).call(this,n("yLpj"),n("8oxB"))},roQf:function(t,e,n){var i=n("hwdV").Buffer,r=n("9XZ3");t.exports=function(t,e,n,a){if(i.isBuffer(t)||(t=i.from(t,"binary")),e&&(i.isBuffer(e)||(e=i.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=n/8,s=i.alloc(o),c=i.alloc(a||0),u=i.alloc(0);o>0||a>0;){var l=new r;l.update(u),l.update(t),e&&l.update(e),u=l.digest();var h=0;if(o>0){var f=s.length-o;h=Math.min(o,u.length),u.copy(s,f,0,h),o-=h}if(h<u.length&&a>0){var d=c.length-a,p=Math.min(a,u.length-h);u.copy(c,d,h,h+p),a-=p}}return u.fill(0),{key:s,iv:c}}},sVev:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}()},sZro:function(t,e,n){"use strict";var i=n("lm0R"),r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=h;var a=Object.create(n("Onz0"));a.inherits=n("P7XM");var o=n("rXFu"),s=n("3BRs");a.inherits(h,o);for(var c=r(s.prototype),u=0;u<c.length;u++){var l=c[u];h.prototype[l]||(h.prototype[l]=s.prototype[l])}function h(t){if(!(this instanceof h))return new h(t);o.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||i.nextTick(d,this)}function d(t){t.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),h.prototype._destroy=function(t,e){this.push(null),this.end(),i.nextTick(e,t)}},t9FE:function(t,e,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(i){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var i=!1;return function(){if(!i){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),i=!0}return t.apply(this,arguments)}}}).call(this,n("yLpj"))},t9l1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return C})),n.d(e,"b",(function(){return Ut})),n.d(e,"c",(function(){return mt})),n.d(e,"d",(function(){return ne})),n.d(e,"e",(function(){return x})),n.d(e,"f",(function(){return re})),n.d(e,"g",(function(){return vt})),n.d(e,"h",(function(){return ae}));var i=n("R0Ic"),r=n("fXoL");function a(){return void 0!==t&&"[object process]"==={}.toString.call(t)}function o(t){switch(t.length){case 0:return new i.d;case 1:return t[0];default:return new i.o(t)}}function s(t,e,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],c=[],u=-1,l=null;if(r.forEach((function(t){var n=t.offset,r=n==u,h=r&&l||{};Object.keys(t).forEach((function(n){var r=n,c=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,s),c){case i.p:c=a[n];break;case i.a:c=o[n];break;default:c=e.normalizeStyleValue(n,r,c,s)}h[r]=c})),r||c.push(h),l=h,u=n})),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return c}function c(t,e,n,i){switch(e){case"start":t.onStart((function(){return i(n&&u(n,"start",t))}));break;case"done":t.onDone((function(){return i(n&&u(n,"done",t))}));break;
1case"destroy":t.onDestroy((function(){return i(n&&u(n,"destroy",t))}))}}function u(t,e,n){var i=n.totalTime,r=l(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),a=t._data;return null!=a&&(r._data=a),r}function l(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function h(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function f(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var d=function(t,e){return!1},p=function(t,e){return!1},m=function(t,e,n){return[]},v=a();(v||"undefined"!=typeof Element)&&(d=function(t,e){return t.contains(e)},p=function(){if(v||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:p}(),m=function(t,e,n){var i=[];if(n)i.push.apply(i,Xe(t.querySelectorAll(e)));else{var r=t.querySelector(e);r&&i.push(r)}return i});var b=null,g=!1;function y(t){b||(b=("undefined"!=typeof document?document.body:null)||{},g=!!b.style&&"WebkitAppearance"in b.style);var e=!0;return b.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(!(e=t in b.style)&&g)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in b.style),e}var _=p,w=d,k=m;function S(t){var e={};return Object.keys(t).forEach((function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]})),e}var x=function(){var t=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"validateStyleProperty",value:function(t){return y(t)}},{key:"matchesElement",value:function(t,e){return _(t,e)}},{key:"containsElement",value:function(t,e){return w(t,e)}},{key:"query",value:function(t,e,n){return k(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return n||""}},{key:"animate",value:function(t,e,n,r,a){return new i.d(n,r)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t}(),C=function(){var t=function t(){Qe(this,t)};return t.NOOP=new x,t}();function T(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:E(parseFloat(e[1]),e[2])}function E(t,e){switch(e){case"s":return 1e3*t;default:return t}}function O(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,r=0,a="";if("string"==typeof t){var o=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return e.push('The provided timing value "'.concat(t,'" is invalid.')),{duration:0,delay:0,easing:""};i=E(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(r=E(parseFloat(s),o[4]));var c=o[5];c&&(a=c)}else i=t;if(!n){var u=!1,l=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(l,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:i,delay:r,easing:a}}(t,e,n)}function M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function A(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var i in t)n[i]=t[i];else M(t,n);return n}function I(t,e,n){return n?e+":"+n+";":""}function R(t){for(var e="",n=0;n<t.style.length;n++){var i=t.style.item(n);e+=I(0,i,t.style.getPropertyValue(i))}for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(e+=I(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[r]));t.setAttribute("style",e)}function L(t,e,n){t.style&&(Object.keys(e).forEach((function(i){var r=V(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]})),a()&&R(t))}function P(t,e){t.style&&(Object.keys(e).forEach((function(e){var n=V(e);t.style[n]=""})),a()&&R(t))}function j(t){return Array.isArray(t)?1==t.length?t[0]:Object(i.j)(t):t}var D=new RegExp("{{\\s*(.+?)\\s*}}","g");function N(t){var e=[];if("string"==typeof t){for(var n;n=D.exec(t);)e.push(n[1]);D.lastIndex=0}return e}function B(t,e,n){var i=t.toString(),r=i.replace(D,(function(t,i){var r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()}));return r==i?t:r}function F(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var z=/-+([a-z0-9])/g;function V(t){return t.replace(z,(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e[1].toUpperCase()}))}function U(t,e){return 0===t||0===e}function H(t,e,n){var i=Object.keys(n);if(i.length&&e.length){var r=e[0],a=[];if(i.forEach((function(t){r.hasOwnProperty(t)||a.push(t),r[t]=n[t]})),a.length)for(var o=function(){var n=e[s];a.forEach((function(e){n[e]=W(t,e)}))},s=1;s<e.length;s++)o()}return e}function q(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function W(t,e){return window.getComputedStyle(t)[e]}var K=new Set(["true","1"]),X=new Set(["false","0"]);function J(t,e){var n=K.has(t)||X.has(t),i=K.has(e)||X.has(e);return function(r,a){var o="*"==t||t==r,s="*"==e||e==a;return!o&&n&&"boolean"==typeof r&&(o=r?K.has(t):X.has(t)),!s&&i&&"boolean"==typeof a&&(s=a?K.has(e):X.has(e)),o&&s}}var G=new RegExp("s*:selfs*,?","g");function Y(t,e,n){return new Z(t).build(e,n)}var Z=function(){function t(e){Qe(this,t),this._driver=e}
1return tn(t,[{key:"build",value:function(t,e){var n=new Q(e);return this._resetContextStyleTimingState(n),q(this,j(t),n)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,e){var n=this,i=e.queryCount=0,r=e.depCount=0,a=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach((function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,c=s.name;c.toString().split(/\s*,\s*/).forEach((function(t){s.name=t,a.push(n.visitState(s,e))})),s.name=c}else if(1==t.type){var u=n.visitTransition(t,e);i+=u.queryCount,r+=u.depCount,o.push(u)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:t.name,states:a,transitions:o,queryCount:i,depCount:r,options:null}}},{key:"visitState",value:function(t,e){var n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){var r=new Set,a=i||{};if(n.styles.forEach((function(t){if($(t)){var e=t;Object.keys(e).forEach((function(t){N(e[t]).forEach((function(t){a.hasOwnProperty(t)||r.add(t)}))}))}})),r.size){var o=F(r.values());e.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(o.join(", ")))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(t,e){e.queryCount=0,e.depCount=0;var n,i,r,a=q(this,j(t.animation),e);return{type:1,matchers:(n=t.expr,i=e.errors,r=[],"string"==typeof n?n.split(/\s*,\s*/).forEach((function(t){return function(t,e,n){if(":"==t[0]){var i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'.concat(t,'" is not supported')),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var a=r[1],o=r[2],s=r[3];e.push(J(a,s)),"<"!=o[0]||"*"==a&&"*"==s||e.push(J(s,a))}(t,r,i)})):r.push(n),r),animation:a,queryCount:e.queryCount,depCount:e.depCount,options:tt(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return q(n,t,e)})),options:tt(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,i=e.currentTime,r=0,a=t.steps.map((function(t){e.currentTime=i;var a=q(n,t,e);return r=Math.max(r,e.currentTime),a}));return e.currentTime=r,{type:3,steps:a,options:tt(t.options)}}},{key:"visitAnimate",value:function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return et(O(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var r=et(0,0,"");return r.dynamic=!0,r.strValue=i,r}return et((n=n||O(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var a=t.styles?t.styles:Object(i.l)({});if(5==a.type)n=this.visitKeyframes(a,e);else{var o=t.styles,s=!1;if(!o){s=!0;var c={};r.easing&&(c.easing=r.easing),o=Object(i.l)(c)}e.currentTime+=r.duration+r.delay;var u=this.visitStyle(o,e);u.isEmptyStep=s,n=u}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?t==i.a?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)})):n.push(t.styles);var r=!1,a=null;return n.forEach((function(t){if($(t)){var e=t,n=e.easing;if(n&&(a=n,delete e.easing),!r)for(var i in e)if(e[i].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:a,offset:t.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,a=e.currentTime;i&&a>
10&&(a-=i.duration+i.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(i){if(n._driver.validateStyleProperty(i)){var o,s,c,u,l,h=e.collectedStyles[e.currentQuerySelector],f=h[i],d=!0;f&&(a!=r&&a>=f.startTime&&r<=f.endTime&&(e.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(f.startTime,'ms" and "').concat(f.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),d=!1),a=f.startTime),d&&(h[i]={startTime:a,endTime:r}),e.options&&(o=t[i],s=e.options,c=e.errors,u=s.params||{},(l=N(o)).length&&l.forEach((function(t){u.hasOwnProperty(t)||c.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))})))}else e.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,a=[],o=!1,s=!1,c=0,u=t.steps.map((function(t){var i=n._makeStyleAst(t,e),u=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if($(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if($(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),l=0;return null!=u&&(r++,l=i.offset=u),s=s||l<0||l>1,o=o||l<c,c=l,a.push(l),i}));s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&e.errors.push("Please ensure that all keyframe offsets are in order");var l=t.steps.length,h=0;r>0&&r<l?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(h=1/(l-1));var f=l-1,d=e.currentTime,p=e.currentAnimateTimings,m=p.duration;return u.forEach((function(t,r){var o=h>0?r==f?1:h*r:a[r],s=o*m;e.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(t,e),t.offset=o,i.styles.push(t)})),i}},{key:"visitReference",value:function(t,e){return{type:8,animation:q(this,j(t.animation),e),options:tt(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:tt(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:tt(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var r=Ke(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(G,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),a=r[0],o=r[1];e.currentQuerySelector=n.length?n+" "+a:a,h(e.collectedStyles,e.currentQuerySelector,{});var s=q(this,j(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:tt(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:O(t.timings,e.errors,!0);return{type:12,animation:q(this,j(t.animation),e),timings:n,options:null}}}]),t}(),Q=function t(e){Qe(this,t),this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function $(t){return!Array.isArray(t)&&"object"==typeof t}function tt(t){var e;return t?(t=M(t)).params&&(t.params=(e=t.params)?M(e):null):t={},t}function et(t,e,n){return{duration:t,delay:e,easing:n}}function nt(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var it=function(){function t(){Qe(this,t),this._map=new Map}
1return tn(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var n,i=this._map.get(t);i||this._map.set(t,i=[]),(n=i).push.apply(n,Xe(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),rt=new RegExp(":enter","g"),at=new RegExp(":leave","g");function ot(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new st).buildKeyframes(t,e,n,i,r,a,o,s,c,u)}var st=function(){function t(){Qe(this,t)}return tn(t,[{key:"buildKeyframes",value:function(t,e,n,i,r,a,o,s,c){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new it;var l=new ut(t,e,c,i,r,u,[]);l.options=s,l.currentTimeline.setStyles([a],null,l.errors,s),q(this,n,l);var h=l.timelines.filter((function(t){return t.containsAnimation()}));if(h.length&&Object.keys(o).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([o],null,l.errors,s)}return h.length?h.map((function(t){return t.buildKeyframes()})):[nt(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?T(n.duration):null,a=null!=n.delay?T(n.delay):null;return 0!==r&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,r,a);i=Math.max(i,n.duration+n.delay)})),i}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),q(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,i=e.subContextCount,r=e,a=t.options;if(a&&(a.params||a.delay)&&((r=e.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ct);var o=T(a.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach((function(t){return q(n,t,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,a=t.options&&t.options.delay?T(t.options.delay):0;t.steps.forEach((function(o){var s=e.createSubContext(t.options);a&&s.delayNextStep(a),q(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)})),i.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(r),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return O(e.params?B(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,a=e.createSubContext().currentTimeline;
1a.easing=n.easing,t.styles.forEach((function(t){a.forwardTime((t.offset||0)*r),a.setStyles(t.styles,t.easing,e.errors,e.options),a.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?T(r.delay):0;a&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ct);var o=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var c=null;s.forEach((function(i,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,i);a&&s.delayNextStep(a),i===e.element&&(c=s.currentTimeline),q(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,a=Math.abs(r.duration),o=a*(e.currentQueryTotal-1),s=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var c=e.currentTimeline;s&&c.delayNextStep(s);var u=c.currentTime;q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),t}(),ct={},ut=function(){function t(e,n,i,r,a,o,s,c){Qe(this,t),this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ct,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new lt(this._driver,n,0),s.push(this.currentTimeline)}
1return tn(t,[{key:"updateOptions",value:function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=T(i.duration)),null!=i.delay&&(r.delay=T(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach((function(t){e&&o.hasOwnProperty(t)||(o[t]=B(a[t],o,n.errors))}))}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach((function(t){n[t]=e[t]}))}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=ct,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new ht(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,n,i,r,a){var o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(rt,"."+this._enterClassName)).replace(at,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),o.push.apply(o,Xe(s))}return r||0!=o.length||a.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),o}},{key:"params",get:function(){return this.options.params}}]),t}(),lt=function(){function t(e,n,i,r){Qe(this,t),this._driver=e,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}
1return tn(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||i.a,e._currentKeyframe[t]=i.a})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,r){var a=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},s=function(t,e){var n,r={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){r[t]=i.a})):A(t,!1,r)})),r}(t,this._globalTimelineStyles);Object.keys(s).forEach((function(t){var e=B(s[t],o,n);a._pendingStyles[t]=e,a._localTimelineStyles.hasOwnProperty(t)||(a._backFill[t]=a._globalTimelineStyles.hasOwnProperty(t)?a._globalTimelineStyles[t]:i.a),a._updateStyle(t,e)}))}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){t._currentKeyframe[n]=e[n]})),Object.keys(this._localTimelineStyles).forEach((function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])})))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)}))}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,a=[];this._keyframes.forEach((function(o,s){var c=A(o,!0);Object.keys(c).forEach((function(t){var r=c[t];r==i.p?e.add(t):r==i.a&&n.add(t)})),r||(c.offset=s/t.duration),a.push(c)}));var o=e.size?F(e.values()):[],s=n.size?F(n.values()):[];if(r){var c=a[0],u=M(c);c.offset=0,u.offset=1,a=[c,u]}return nt(this.element,a,o,s,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}}]),t}(),ht=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o,s){var c,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return Qe(this,n),(c=e.call(this,t,i,s.delay)).element=i,c.keyframes=r,c.preStyleProps=a,c.postStyleProps=o,c._stretchStartingKeyframe=u,c.timings={duration:s.duration,delay:s.delay,easing:s.easing},c}return tn(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,c=A(t[0],!1);c.offset=0,a.push(c);var u=A(t[0],!1);u.offset=ft(s),a.push(u);for(var l=t.length-1,h=1;h<=l;h++){var f=A(t[h],!1);f.offset=ft((n+f.offset*i)/o),a.push(f)}i=o,n=0,r="",t=a}return nt(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(lt);function ft(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var dt,pt,mt=function t(){Qe(this,t)},vt=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"normalizePropertyName",value:function(t,e){return V(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var r="",a=n.toString().trim();if(bt[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return a+r}}]),n}(mt),bt=(dt="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".split(","),pt={},dt.forEach((function(t){return pt[t]=!0}
1)),pt);function gt(t,e,n,i,r,a,o,s,c,u,l,h,f){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:f}}var yt={},_t=function(){function t(e,n,i){Qe(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i}return tn(t,[{key:"match",value:function(t,e,n,i){return function(t,e,n,i,r){return t.some((function(t){return t(e,n,i,r)}))}(this.ast.matchers,t,e,n,i)}},{key:"buildStyles",value:function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],a=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):a}},{key:"build",value:function(t,e,n,i,r,a,o,s,c,u){var l=[],f=this.ast.options&&this.ast.options.params||yt,d=this.buildStyles(n,o&&o.params||yt,l),p=s&&s.params||yt,m=this.buildStyles(i,p,l),v=new Set,b=new Map,g=new Map,y="void"===i,_={params:Object.assign(Object.assign({},f),p)},w=u?[]:ot(t,e,this.ast.animation,r,a,d,m,_,c,l),k=0;if(w.forEach((function(t){k=Math.max(t.duration+t.delay,k)})),l.length)return gt(e,this._triggerName,n,i,y,d,m,[],[],b,g,k,l);w.forEach((function(t){var n=t.element,i=h(b,n,{});t.preStyleProps.forEach((function(t){return i[t]=!0}));var r=h(g,n,{});t.postStyleProps.forEach((function(t){return r[t]=!0})),n!==e&&v.add(n)}));var S=F(v.values());return gt(e,this._triggerName,n,i,y,d,m,w,S,b,g,k)}}]),t}(),wt=function(){function t(e,n){Qe(this,t),this.styles=e,this.defaultParams=n}
1return tn(t,[{key:"buildStyles",value:function(t,e){var n={},i=M(this.defaultParams);return Object.keys(t).forEach((function(e){var n=t[e];null!=n&&(i[e]=n)})),this.styles.styles.forEach((function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach((function(t){var a=r[t];a.length>1&&(a=B(a,i,e)),n[t]=a}))}})),n}}]),t}(),kt=function(){function t(e,n){var i=this;Qe(this,t),this.name=e,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(t){i.states[t.name]=new wt(t.style,t.options&&t.options.params||{})})),St(this.states,"true","1"),St(this.states,"false","0"),n.transitions.forEach((function(t){i.transitionFactories.push(new _t(e,t,i.states))})),this.fallbackTransition=new _t(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return tn(t,[{key:"matchTransition",value:function(t,e,n,i){return this.transitionFactories.find((function(r){return r.match(t,e,n,i)}))||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),t}();function St(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var xt=new it,Ct=function(){function t(e,n,i){Qe(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}
1return tn(t,[{key:"register",value:function(t,e){var n=[],i=Y(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i}},{key:"_buildPlayer",value:function(t,e,n){var i=t.element,r=s(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],c=this._animations[t],u=new Map;if(c?(n=ot(this._driver,e,c,"ng-enter","ng-leave",{},{},a,xt,s)).forEach((function(t){var e=h(u,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(s.push("The requested animation doesn't exist or has already been destroyed"),n=[]),s.length)throw new Error("Unable to create the animation due to the following errors: "+s.join("\n"));u.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=r._driver.computeStyle(e,n,i.a)}))}));var l=o(n.map((function(t){var e=u.get(t.element);return r._buildPlayer(t,{},e)})));return this._playersById[t]=l,l.onDestroy((function(){return r.destroy(t)})),this.players.push(l),l}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}},{key:"listen",value:function(t,e,n,i){var r=l(e,"","","");return c(this._getPlayer(t),n,r,i),function(){}}},{key:"command",value:function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])}}]),t}(),Tt=[],Et={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ot={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";Qe(this,t),this.namespaceId=n;var i,r=e&&e.hasOwnProperty("value");if(this.value=null!=(i=r?e.value:e)?i:null,r){var a=M(e);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}
1return tn(t,[{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach((function(t){null==n[t]&&(n[t]=e[t])}))}}},{key:"params",get:function(){return this.options.params}}]),t}(),At=new Mt("void"),It=function(){function t(e,n,i){Qe(this,t),this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Bt(n,this._hostClassName)}return tn(t,[{key:"listen",value:function(t,e,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var o=h(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};o.push(s);var c=h(this._engine.statesByElement,t,{});return c.hasOwnProperty(e)||(Bt(t,"ng-trigger"),Bt(t,"ng-trigger-"+e),c[e]=At),function(){a._engine.afterFlush((function(){var t=o.indexOf(s);t>=0&&o.splice(t,1),a._triggers[e]||delete c[e]}))}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(e),o=new Lt(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Bt(t,"ng-trigger"),Bt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var c=s[e],u=new Mt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s[e]=u,c||(c=At),"void"===u.value||c.value!==u.value){var l=h(this._engine.playersByElement,t,[]);l.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var f=a.matchTransition(c.value,u.value,t,u.params),d=!1;if(!f){if(!r)return;f=a.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:c,toState:u,player:o,isFallbackTransition:d}),d||(Bt(t,"ng-animate-queued"),o.onStart((function(){Ft(t,"ng-animate-queued")}))),o.onDone((function(){var e=i.players.indexOf(o);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}})),this.players.push(o),l.push(o),o}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var a=n[r];if(!e.hasOwnProperty(a)||t[a]!==e[a])return!1}return!0}(c.params,u.params)){var p=[],m=a.matchStyles(c.value,c.params,p),v=a.matchStyles(u.value,u.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush((function(){P(t,m),L(t,v)}))}}},{key:"deregister",value:function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach((function(e,n){delete e[t]})),this._elementListeners.forEach((function(n,i){e._elementListeners.set(i,n.filter((function(e){return e.name!=t})))}))}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach((function(t){return t.destroy()})),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,e){var n=this,i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach((function(t){if(!t.__ng_removed){var i=n._engine.fetchNamespacesByElement(t);i.size?i.forEach((function(n){return n.triggerLeaveAnimation(t,e,!1,!0)})):n.clearElementCache(t)}})),this._engine.afterFlushAnimationsDone((function(){return i.forEach((function(t){return n.clearElementCache(t)}))}))}},{key:"triggerLeaveAnimation",value:function(t,e,n,i){var r=this,a=this._engine.statesByElement.get(t);if(a){var s=[];
1if(Object.keys(a).forEach((function(e){if(r._triggers[e]){var n=r.trigger(t,e,"void",i);n&&s.push(n)}})),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&o(s).onDone((function(){return r._engine.processLeaveNode(t)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var e=this,n=this._elementListeners.get(t);if(n){var i=new Set;n.forEach((function(n){var r=n.name;if(!i.has(r)){i.add(r);var a=e._triggers[r].fallbackTransition,o=e._engine.statesByElement.get(t)[r]||At,s=new Mt("void"),c=new Lt(e.id,r,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:r,transition:a,fromState:o,toState:s,player:c,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),!this.triggerLeaveAnimation(t,e,!0)){var r=!1;if(i.totalAnimations){var a=i.players.length?i.playersByQueriedElement.get(t):[];if(a&&a.length)r=!0;else for(var o=t;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{var s=t.__ng_removed;s&&s!==Et||(i.afterFlush((function(){return n.clearElementCache(t)})),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}}},{key:"insertNode",value:function(t,e){Bt(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var e=this,n=[];return this._queue.forEach((function(i){var r=i.player;if(!r.destroyed){var a=i.element,o=e._elementListeners.get(a);o&&o.forEach((function(e){if(e.name==i.triggerName){var n=l(a,i.triggerName,i.fromState.value,i.toState.value);n._data=t,c(i.player,e.phase,n,e.callback)}})),r.markedForDestroy?e._engine.afterFlush((function(){r.destroy()})):n.push(i)}})),this._queue=[],n.sort((function(t,n){var i=t.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:e._engine.driver.containsElement(t.element,n.element)?1:-1}))}},{key:"destroy",value:function(t){this.players.forEach((function(t){return t.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find((function(e){return e.element===t}))||e}}]),t}(),Rt=function(){function t(e,n,i){Qe(this,t),this.bodyNode=e,this.driver=n,this._normalizer=i,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=function(t,e){}}
1return tn(t,[{key:"_onRemovalComplete",value:function(t,e){this.onRemovalComplete(t,e)}},{key:"createNamespace",value:function(t,e){var n=new It(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}},{key:"_balanceNamespaceList",value:function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(e)}))}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r<i.length;r++){var a=n[i[r]].namespaceId;if(a){var o=this._fetchNamespace(a);o&&e.add(o)}}return e}},{key:"trigger",value:function(t,e,n,i){if(Pt(e)){var r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}},{key:"insertNode",value:function(t,e,n,i){if(Pt(e)){var r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){var o=this._fetchNamespace(t);o&&o.insertNode(e,n)}i&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Bt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ft(t,"ng-animate-disabled"))}},{key:"removeNode",value:function(t,e,n,i){if(Pt(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,i)}}else this._onRemovalComplete(e,i)}},{key:"markElementAsRemoved",value:function(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,r){return Pt(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}}},{key:"_buildInstruction",value:function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise((function(e){if(t.players.length)return o(t.players).onDone((function(){return e()}));e()}))}},{key:"processLeaveNode",value:function(t){var e=this,n=t.__ng_removed;if(n&&n.setForRemoval){if(t.__ng_removed=Et,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEac
1h((function(t){e.markElementAsDisabled(t,!1)}))}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(e,n){return t._balanceNamespaceList(e,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++)Bt(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,e)}finally{for(var a=0;a<r.length;a++)r[a]()}}else for(var s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(t){return t()})),this._flushFns=[],this._whenQuietFns.length){var c=this._whenQuietFns;this._whenQuietFns=[],n.length?o(n).onDone((function(){c.forEach((function(t){return t()}))})):c.forEach((function(t){return t()}))}}},{key:"reportError",value:function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}},{key:"_flushAnimations",value:function(t,e){var n=this,r=new it,a=[],s=new Map,c=[],u=new Map,l=new Map,f=new Map,d=new Set;this.disabledNodes.forEach((function(t){d.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),i=0;i<e.length;i++)d.add(e[i])}));var p=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=Nt(m,this.collectedEnterElements),b=new Map,g=0;v.forEach((function(t,e){var n="ng-enter"+g++;b.set(e,n),t.forEach((function(t){return Bt(t,n)}))}));for(var y=[],_=new Set,w=new Set,k=0;k<this.collectedLeaveElements.length;k++){var S=this.collectedLeaveElements[k],x=S.__ng_removed;x&&x.setForRemoval&&(y.push(S),_.add(S),x.hasAnimation?this.driver.query(S,".ng-star-inserted",!0).forEach((function(t){return _.add(t)})):w.add(S))}var C=new Map,T=Nt(m,Array.from(_));T.forEach((function(t,e){var n="ng-leave"+g++;C.set(e,n),t.forEach((function(t){return Bt(t,n)}))})),t.push((function(){v.forEach((function(t,e){var n=b.get(e);t.forEach((function(t){return Ft(t,n)}))})),T.forEach((function(t,e){var n=C.get(e);t.forEach((function(t){return Ft(t,n)}))})),y.forEach((function(t){n.processLeaveNode(t)}))}));for(var E=[],O=[],M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(e).forEach((function(t){var e=t.player,i=t.element;if(E.push(e),n.collectedEnterElements.length){var o=i.__ng_removed;if(o&&o.setForMove)return void e.destroy()}var s=!p||!n.driver.containsElement(p,i),d=C.get(i),m=b.get(i),v=n._buildInstruction(t,r,m,d,s);if(v.errors&&v.errors.length)O.push(v);else{if(s)return e.onStart((function(){return P(i,v.fromStyles)})),e.onDestroy((function(){return L(i,v.toStyles)})),void a.push(e);if(t.isFallbackTransition)return e.onStart((function(){return P(i,v.fromStyles)})),e.onDestroy((function(){return L(i,v.toStyles)})),void a.push(e);v.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),r.append(i,v.timelines),c.push({instruction:v,player:e,element:i}),v.queriedElements.forEach((function(t){return h(u,t,[]).push(e)})),v.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var i=l.get(e);i||l.set(e,i=new Set),n.forEach((function(t){return i.add(t)}))}})),v.postStyleProps.forEach((function(t,e){var n=Object.keys(t),i=f.get(e);i||f.set(e,i=new Set),n.forEach((function(t){return i.add(t)}))}))}}));if(O.length){var A=[];O.forEach((function(t){A.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach((function(t){return A.push("- ".concat(t,"\n"))}))}
1)),E.forEach((function(t){return t.destroy()})),this.reportError(A)}var I=new Map,R=new Map;c.forEach((function(t){var e=t.element;r.has(e)&&(R.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))})),a.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){h(I,e,[]).push(t),t.destroy()}))}));var j=y.filter((function(t){return Vt(t,l,f)})),D=new Map;Dt(D,this.driver,w,f,i.a).forEach((function(t){Vt(t,l,f)&&j.push(t)}));var N=new Map;v.forEach((function(t,e){Dt(N,n.driver,new Set(t),l,i.p)})),j.forEach((function(t){var e=D.get(t),n=N.get(t);D.set(t,Object.assign(Object.assign({},e),n))}));var B=[],F=[],z={};c.forEach((function(t){var e=t.element,i=t.player,c=t.instruction;if(r.has(e)){if(d.has(e))return i.onDestroy((function(){return L(e,c.toStyles)})),i.disabled=!0,i.overrideTotalTime(c.totalTime),void a.push(i);var u=z;if(R.size>1){for(var l=e,h=[];l=l.parentNode;){var f=R.get(l);if(f){u=f;break}h.push(l)}h.forEach((function(t){return R.set(t,u)}))}var p=n._buildAnimation(i.namespaceId,c,I,s,N,D);if(i.setRealPlayer(p),u===z)B.push(i);else{var m=n.playersByElement.get(u);m&&m.length&&(i.parentPlayer=o(m)),a.push(i)}}else P(e,c.fromStyles),i.onDestroy((function(){return L(e,c.toStyles)})),F.push(i),d.has(e)&&a.push(i)})),F.forEach((function(t){var e=s.get(t.element);if(e&&e.length){var n=o(e);t.setRealPlayer(n)}})),a.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var V=0;V<y.length;V++){var U=y[V],H=U.__ng_removed;if(Ft(U,"ng-leave"),!H||!H.hasAnimation){var q=[];if(u.size){var W=u.get(U);W&&W.length&&q.push.apply(q,Xe(W));for(var K=this.driver.query(U,".ng-animating",!0),X=0;X<K.length;X++){var J=u.get(K[X]);J&&J.length&&q.push.apply(q,Xe(J))}}var G=q.filter((function(t){return!t.destroyed}));G.length?zt(this,U,G):this.processLeaveNode(U)}}return y.length=0,B.forEach((function(t){n.players.push(t),t.onDone((function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)})),t.play()})),B}},{key:"elementContainsData",value:function(t,e){var n=!1,i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}},{key:"afterFlush",value:function(t){this._flushFns.push(t)}},{key:"afterFlushAnimationsDone",value:function(t){this._whenQuietFns.push(t)}},{key:"_getPreviousPlayers",value:function(t,e,n,i,r){var a=[];if(e){var o=this.playersByQueriedElement.get(t);o&&(a=o)}else{var s=this.playersByElement.get(t);if(s){var c=!r||"void"==r;s.forEach((function(t){t.queued||(c||t.triggerName==i)&&a.push(t)}))}}return(n||i)&&(a=a.filter((function(t){return!(n&&n!=t.namespaceId||i&&i!=t.triggerName)}))),a}},{key:"_beforeAnimationBuild",value:function(t,e,n){var i,r=this,a=e.element,o=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName,c=Ge(e.timelines);try{var u=function(){var t=i.value.element,c=t!==a,u=h(n,t,[]);r._getPreviousPlayers(t,c,o,s,e.toState).forEach((function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),u.push(t)}))};for(c.s();!(i=c.n()).done;)u()}catch(l){c.e(l)}finally{c.f()}P(a,e.fromStyles)}},{key:"_buildAnimation",value:function(t,e,n,r,a,c){var u=this,l=e.triggerName,f=e.element,d=[],p=new Set,m=new Set,v=e.timelines.map((function(e){var o=e.element;p.add(o);var h=o.__ng_removed;if(h&&h.removedBeforeQueried)return new i.d(e.duration,e.delay);var v,b,g=o!==f,y=(v=(n.get(o)||Tt).map((function(t){return t.getRealPlayer()})),b=[],function t(e,n){for(var r=0;r<e.length;r++){var a=e[r];a instanceof i.o?t(a.players,n):n.push(a)}}(v,b),b).filter((function(t){return!!t.element&&t.element===o})),_=a.get(o),w=c.get(o),k=s(0,u._normalizer,0,e.keyframes,_,w),S=u._buildPlayer(e,k,y);if(e.subTimeline&&r&&m.add(o),g){var x=new Lt(t,l,o);x.setRealPlayer(S),d.push(x)}return S}));d.forEach((function(t){h(u.playersByQueriedElement,t.element,[]).push(t),t.onDone((function(){return function(t,e,n){var i;if(t instanceof Map){if(i=t.get(e)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&t.delete(e)}}else if(i=t[e]){if(i.length){var a=i.indexOf(n);i.splice(a,1)}0==i.length&&delete t[e]}return i}(u.playersByQueriedElement,t.element,t)}))})),p.forEach((function(t){return Bt(t,"ng-animating")}));var b=o(v);return b.onDestroy((function(){p.forEach((function(t){return Ft(t,"ng-animating")})),L(f,e.toStyles)})),m.forEach((function(t){h(r,t,[]).push(b)})),b}},{key:"_buildPlayer",value:function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new i.d(t.duration,t.delay)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach((function(e){e.players.forEac
1h((function(e){e.queued&&t.push(e)}))})),t}}]),t}(),Lt=function(){function t(e,n,r){Qe(this,t),this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new i.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return tn(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return c(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart((function(){return n.triggerCallback("start")})),t.onDone((function(){return e.finish()})),t.onDestroy((function(){return e.destroy()}))}},{key:"_queueEvent",value:function(t,e){h(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function Pt(t){return t&&1===t.nodeType}function jt(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Dt(t,e,n,i,r){var a=[];n.forEach((function(t){return a.push(jt(t))}));var o=[];i.forEach((function(n,i){var a={};n.forEach((function(t){var n=a[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Ot,o.push(i))})),t.set(i,a)}));var s=0;return n.forEach((function(t){return jt(t,a[s++])})),o}function Nt(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var i=new Set(e),r=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var a=r.get(e);if(a)return a;var o=e.parentNode;return a=n.has(o)?o:i.has(o)?1:t(o),r.set(e,a),a}(t);1!==e&&n.get(e).push(t)})),n}function Bt(t,e){if(t.classList)t.classList.add(e);else{var n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Ft(t,e){if(t.classList)t.classList.remove(e);else{var n=t.$$classes;n&&delete n[e]}}function zt(t,e,n){o(n).onDone((function(){return t.processLeaveNode(e)}))}function Vt(t,e,n){var i=n.get(t);if(!i)return!1;var r=e.get(t);return r?i.forEach((function(t){return r.add(t)})):e.set(t,i),n.delete(t),!0}var Ut=function(){function t(e,n,i){var r=this;Qe(this,t),this.bodyNode=e,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Rt(e,n,i),this._timelineEngine=new Ct(e,n,i),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}
1return tn(t,[{key:"registerTrigger",value:function(t,e,n,i,r){var a=t+"-"+i,o=this._triggerCache[a];if(!o){var s=[],c=Y(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));o=function(t,e){return new kt(t,e)}(i,c),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(e,i,o)}},{key:"register",value:function(t,e){this._transitionEngine.register(t,e)}},{key:"destroy",value:function(t,e){this._transitionEngine.destroy(t,e)}},{key:"onInsert",value:function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}},{key:"onRemove",value:function(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}},{key:"disableAnimations",value:function(t,e){this._transitionEngine.markElementAsDisabled(t,e)}},{key:"process",value:function(t,e,n,i){if("@"==n.charAt(0)){var r=Ke(f(n),2),a=r[0],o=r[1];this._timelineEngine.command(a,e,o,i)}else this._transitionEngine.trigger(t,e,n,i)}},{key:"listen",value:function(t,e,n,i,r){if("@"==n.charAt(0)){var a=Ke(f(n),2),o=a[0],s=a[1];return this._timelineEngine.listen(o,e,s,r)}return this._transitionEngine.listen(t,e,n,i,r)}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),t}();function Ht(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=Wt(e[0]),e.length>1&&(i=Wt(e[e.length-1]))):e&&(n=Wt(e)),n||i?new qt(t,n,i):null}var qt=function(){var t=function(){function t(e,n,i){Qe(this,t),this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}
1return tn(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&L(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(L(this._element,this._initialStyles),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(P(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(P(this._element,this._endStyles),this._endStyles=null),L(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function Wt(t){for(var e=null,n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];Kt(r)&&((e=e||{})[r]=t[r])}return e}function Kt(t){return"display"===t||"position"===t}var Xt=function(){function t(e,n,i,r,a,o,s){var c=this;Qe(this,t),this._element=e,this._name=n,this._duration=i,this._delay=r,this._easing=a,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return c._handleCallback(t)}}
1return tn(t,[{key:"apply",value:function(){var t,e,n;t=this._element,e="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=$t(t,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)t.charAt(n)}(n),e="".concat(n,", ").concat(e)),Qt(t,"",e),Zt(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){Jt(this._element,this._name,"paused")}},{key:"resume",value:function(){Jt(this._element,this._name,"running")}},{key:"setPosition",value:function(t){var e=Gt(this._element,this._name);this._position=t*this._duration,Qt(this._element,"Delay","-".concat(this._position,"ms"),e)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Zt(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),t=this._element,e=this._name,n=$t(t,"").split(","),(i=Yt(n,e))>=0&&(n.splice(i,1),Qt(t,"",n.join(","))))}}]),t}();function Jt(t,e,n){Qt(t,"PlayState",n,Gt(t,e))}function Gt(t,e){var n=$t(t,"");return n.indexOf(",")>0?Yt(n.split(","),e):Yt([n],e)}function Yt(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Zt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Qt(t,e,n,i){var r="animation"+e;if(null!=i){var a=t.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}t.style[r]=n}function $t(t,e){return t.style["animation"+e]}var te=function(){function t(e,n,i,r,a,o,s,c){Qe(this,t),this.element=e,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=a,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()}
1return tn(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new Xt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:W(t.element,i))}))}this.currentSnapshot=e}}]),t}(),ee=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=S(i),r}return tn(n,[{key:"init",value:function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(e){t._startingStyles[e]=t.element.style[e]})),Je(cn(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return t.element.style.setProperty(e,t._styles[e])})),Je(cn(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)})),this._startingStyles=null,Je(cn(n.prototype),"destroy",this).call(this))}}]),n}(i.d),ne=function(){function t(){Qe(this,t),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}
1return tn(t,[{key:"validateStyleProperty",value:function(t){return y(t)}},{key:"matchesElement",value:function(t,e){return _(t,e)}},{key:"containsElement",value:function(t,e){return w(t,e)}},{key:"query",value:function(t,e,n){return k(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map((function(t){return S(t)}));var i="@keyframes ".concat(e," {\n"),r="";n.forEach((function(t){r=" ";var e=parseFloat(t.offset);i+="".concat(r).concat(100*e,"% {\n"),r+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(e,": ").concat(n,";\n"))}})),i+=r+"}\n"})),i+="}\n";var a=document.createElement("style");return a.innerHTML=i,a}},{key:"animate",value:function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;o&&this._notifyFaultyScrubber();var s=a.filter((function(t){return t instanceof te})),c={};U(n,i)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return c[t]=e[t]}))}));var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach((function(t){Object.keys(t).forEach((function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))})),e}(e=H(t,e,c));if(0==n)return new ee(t,u);var l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);document.querySelector("head").appendChild(h);var f=Ht(t,e),d=new te(t,e,l,n,i,r,u,f);return d.onDestroy((function(){var t;(t=h).parentNode.removeChild(t)})),d}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),t}(),ie=function(){function t(e,n,i,r){Qe(this,t),this.element=e,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}
1return tn(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return t._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:W(t.element,n))})),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),t}(),re=function(){function t(){Qe(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(oe().toString()),this._cssKeyframesDriver=new ne}
1return tn(t,[{key:"validateStyleProperty",value:function(t){return y(t)}},{key:"matchesElement",value:function(t,e){return _(t,e)}},{key:"containsElement",value:function(t,e){return w(t,e)}},{key:"query",value:function(t,e,n){return k(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,a);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var c={},u=a.filter((function(t){return t instanceof ie}));U(n,i)&&u.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return c[t]=e[t]}))}));var l=Ht(t,e=H(t,e=e.map((function(t){return A(t,!1)})),c));return new ie(t,e,s,l)}}]),t}();function ae(){return"function"==typeof oe()}function oe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}).call(this,n("8oxB"))},tOiH:function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},tSWc:function(t,e,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=n("2j6C"),o=i.rotr64_hi,s=i.rotr64_lo,c=i.shr64_hi,u=i.shr64_lo,l=i.sum64,h=i.sum64_hi,f=i.sum64_lo,d=i.sum64_4_hi,p=i.sum64_4_lo,m=i.sum64_5_hi,v=i.sum64_5_lo,b=r.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,
vendor: 6,191 bytes, line 1
11322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function _(t,e,n,i,r){var a=t&n^~t&r;return a<0&&(a+=4294967296),a}function w(t,e,n,i,r,a){var o=e&i^~e&a;return o<0&&(o+=4294967296),o}function k(t,e,n,i,r){var a=t&n^t&r^n&r;return a<0&&(a+=4294967296),a}function S(t,e,n,i,r,a){var o=e&i^e&a^i&a;return o<0&&(o+=4294967296),o}function x(t,e){var n=o(t,e,28)^o(e,t,2)^o(e,t,7);return n<0&&(n+=4294967296),n}function C(t,e){var n=s(t,e,28)^s(e,t,2)^s(e,t,7);return n<0&&(n+=4294967296),n}function T(t,e){var n=s(t,e,14)^s(t,e,18)^s(e,t,9);return n<0&&(n+=4294967296),n}function E(t,e){var n=o(t,e,1)^o(t,e,8)^c(t,e,7);return n<0&&(n+=4294967296),n}function O(t,e){var n=s(t,e,1)^s(t,e,8)^u(t,e,7);return n<0&&(n+=4294967296),n}function M(t,e){var n=s(t,e,19)^s(e,t,29)^u(t,e,6);return n<0&&(n+=4294967296),n}i.inherits(y,b),t.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(t,e){for(var n=this.W,i=0;i<32;i++)n[i]=t[e+i];for(;i<n.length;i+=2){var r=(g=void 0,(g=o(v=n[i-4],b=n[i-3],19)^o(b,v,29)^c(v,b,6))<0&&(g+=4294967296),g),a=M(n[i-4],n[i-3]),s=n[i-14],u=n[i-13],l=E(n[i-30],n[i-29]),h=O(n[i-30],n[i-29]),f=n[i-32],m=n[i-31];n[i]=d(r,a,s,u,l,h,f,m),n[i+1]=p(r,a,s,u,l,h,f,m)}var v,b,g},y.prototype._update=function(t,e){this._prepareBlock(t,e);var n,i,r,s=this.W,c=this.h[0],u=this.h[1],d=this.h[2],p=this.h[3],b=this.h[4],g=this.h[5],y=this.h[6],E=this.h[7],O=this.h[8],M=this.h[9],A=this.h[10],I=this.h[11],R=this.h[12],L=this.h[13],P=this.h[14],j=this.h[15];a(this.k.length===s.length);for(var D=0;D<s.length;D+=2){var N=P,B=j,F=(r=void 0,(r=o(n=O,i=M,14)^o(n,i,18)^o(i,n,9))<0&&(r+=4294967296),r),z=T(O,M),V=_(O,0,A,0,R),U=w(0,M,0,I,0,L),H=this.k[D],q=this.k[D+1],W=s[D],K=s[D+1],X=m(N,B,F,z,V,U,H,q,W,K),J=v(N,B,F,z,V,U,H,q,W,K);N=x(c,u),B=C(c,u),F=k(c,0,d,0,b),z=S(0,u,0,p,0,g);var G=h(N,B,F,z),Y=f(N,B,F,z);P=R,j=L,R=A,L=I,A=O,I=M,O=h(y,E,X,J),M=f(E,E,X,J),y=b,E=g,b=d,g=p,d=c,p=u,c=h(X,J,G,Y),u=f(X,J,G,Y)}l(this.h,0,c,u),l(this.h,2,d,p),l(this.h,4,b,g),l(this.h,6,y,E),l(this.h,8,O,M),l(this.h,10,A,I),l(this.h,12,R,L),l(this.h,14,P,j)},y.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},tc1l:function(t,e,n){"use strict";var i=n("tjlA").Buffer,r=n("tjlA").SlowBuffer;function a(t,e){if(!i.isBuffer(t)||!i.isBuffer(e))return!1;if(t.length!==e.length)return!1;for(var n=0,r=0;r<t.length;r++)n|=t[r]^e[r];return 0===n}t.exports=a,a.install=function(){i.prototype.equal=r.prototype.equal=function(t){return a(this,t)}};var o=i.prototype.equal,s=r.prototype.equal;a.restore=function(){i.prototype.equal=o,r.prototype.equal=s}},tcrS:function(t,e,n){"use strict";var i=n("tjlA").Buffer,r=n("P7XM"),a=n("k+aG"),o=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],h=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function d(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function m(t,e,n,i,r,a,o,s){return p(t+(e^n^i)+a+o|0,s)+r|0}function v(t,e,n,i,r,a,o,s){return p(t+(e&n|~e&i)+a+o|0,s)+r|0}function b(t,e,n,i,r,a,o,s){return p(t+((e|~n)^i)+a+o|0,s)+r|0}function g(t,e,n,i,r,a,o,s){return p(t+(e&i|n&~i)+a+o|0,s)+r|0}function y(t,e,n,i,r,a,o,s){return p(t+(e^(n|~i))+a+o|0,s)+r|0}r(d,a),d.prototype._update=function(){for(var t=o,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,i=0|this._b,r=0|this._c,a=0|this._d,d=0|this._e,_=0|this._a,w=0|this._b,k=0|this._c,S=0|this._d,x=0|this._e,C=0;C<80;C+=1){var T,E;C<16?(T=m(n,i,r,a,d,t[s[C]],h[0],u[C]),E=y(_,w,k,S,x,t[c[C]],f[0],l[C])):C<32?(T=v(n,i,r,a,d,t[s[C]],h[1],u[C]),E=g(_,w,k,S,x,t[c[C]],f[1],l[C])):C<48?(T=b(n,i,r,a,d,t[s[C]],h[2],u[C]),E=b(_,w,k,S,x,t[c[C]],f[2],l[C])):C<64?(T=g(n,i,r,a,d,t[s[C]],h[3],u[C]),E=v(_,w,k,S,x,t[c[C]],f[3],l[C])):(T=y(n,i,r,a,d,t[s[C]],h[4],u[C]),E=m(_,w,k,S,x,t[c[C]],f[4],l[C])),n=d,d=a,a=p(r,10),r=i,i=T,_=x,x=S,S=p(k,10),k=w,w=E}var O=this._b+r+S|0;this._b=this._c+a+x|0,this._c=this._d+d+_|0,this._d=this._e+n+w|0,this._e=this._a+i+k|0,this._a=O},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=i.alloc?i.alloc(20):new i(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t}
vendor: 15,237 bytes, line 1
1,t.exports=d},tjlA:function(t,e,n){"use strict";(function(t){var i=n("H7XF"),r=n("kVK+"),a=n("49sm");function o(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(o()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return u(this,t,e,n)}function u(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,i){if(n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=f(t,e),t}(t,e,n,i):"string"==typeof e?function(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|p(e,n),r=(t=s(t,i)).write(e,n);return r!==i&&(t=t.slice(0,r)),t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|d(e.length);return 0===(t=s(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?s(t,0):f(t,e);if("Buffer"===e.type&&a(e.data))return f(t,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(l(e),t=s(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|d(e.length);t=s(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function d(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(t).length;default:if(i)return F(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return M(this,e,n);case"utf8":case"utf-8":return T(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return O(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function v(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function b(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:g(t,e,n,i,r);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):g(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function g(t,e,n,i,r){var a,o=1,s=t.length,c=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,c/=2,n/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var l=-1;for(a=n;a<s;a++)if(u(t,a)===u(e,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===c)return l*o}else-1!==l&&(a-=a-l),l=-1}else for(n+c>s&&(n=s-c),a=n;a>=0;a--){for(var h=!0,f=0;f<c;f++)if(u(t,a+f)!==u(e,f)){h=!1;break}if(h)return a}return-1}function y(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i))>r&&(i=r):i=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o<i;++o){var s=parseInt(e.substr(2*o,2),16);if(isNaN(s))return o;t[n+o]=s}return o}function _(t,e,n,i){return V(F(e,t.length-n),t,n,i)}function w(t,e,n,i){return V(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,i)}function k(t,e,n,i){return w(t,e,n,i)}function S(t,e,n,i){return V(z(e),t,n,i)}function x(t,e,n,i){return V(function(t,e){for(var n,i,r=[],a=0;a<t.length&&!((e-=2)<0);++a)i=(n=t.charCodeAt(a))>>8,r.push(n%256),r.push(i);return r}(e,t.length-n),t,n,i)}function C(t,e,n){return i.fromByteArray(0===e&&n===t.length?t:t.slice(e,n))}function T(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r<n;){var a,o,s,c,u=t[r],l=null,h=u>239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(a=t[r+1]))&&(c=(31&u)<<6|63&a)>127&&(l=c);break;case 3:o=t[r+2],128==(192&(a=t[r+1]))&&128==(192&o)&&(c=(15&u)<<12|(63&a)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[r+2],s=t[r+3],128==(192&(a=t[r+1]))&&128==(192&o)&&128==(192&s)&&(c=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(i.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),i.push(l),r+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",i=0;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=4096));return n}(i)}function E(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function O(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function M(t,e,n){var i,r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var a="",o=e;o<n;++o)a+=(i=t[o])<16?"0"+i.toString(16):i.toString(16);return a}function A(t,e,n){for(var i=t.slice(e,n),r="",a=0;a<i.length;a+=2)r+=String.fromCharCode(i[a]+256*i[a+1]);return r}function I(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,n,i,r,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<a)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function L(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r<a;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function P(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r<a;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function j(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,i,a){return a||j(t,0,n,4),r.write(t,e,n,i,23,4),n+4}function N(t,e,n,i,a){return a||j(t,0,n,8),r.write(t,e,n,i,52,8),n+8}e.Buffer=c,e.SlowBuffer=function(t){return+t!=t&&(t=0),c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=o(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,i){return l(e),e<=0?s(null,e):void 0!==n?"string"==typeof i?s(null,e).fill(n,i):s(null,e).fill(n):s(null,e)}(0,t,e,n)},c.allocUnsafe=function(t){return h(null,t)},c.allocUnsafeSlow=function(t){return h(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);r<a;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!a(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=c.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var o=t[n];if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?T(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,i,r){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(e>>>=0),s=Math.min(a,o),u=this.slice(i,r),l=t.slice(e,n),h=0;h<s;++h)if(u[h]!==l[h]){a=u[h],o=l[h];break}return a<o?-1:o<a?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return b(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return b(this,t,e,n,!1)},c.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return _(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return k(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var r=e-t;n=new c(r,void 0);for(var a=0;a<r;++a)n[a]=this[a+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t],r=1,a=0;++a<e&&(r*=256);)i+=this[t+a]*r;return i},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},c.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t],r=1,a=0;++a<e&&(r*=256);)i+=this[t+a]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=e,r=1,a=this[t+--i];i>0&&(r*=256);)a+=this[t+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},c.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),r.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),r.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),r.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),r.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){t=+t,e|=0,n|=0,i||R(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[e]=255&t;++a<n&&(r*=256);)this[e+a]=t/r&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,i){t=+t,e|=0,n|=0,i||R(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,a=1;for(this[e+r]=255&t;--r>=0&&(a*=256);)this[e+r]=t/a&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
vendor: 5,381 bytes, line 1
18,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);R(this,t,e,n,r-1,-r)}var a=0,o=1,s=0;for(this[e]=255&t;++a<n&&(o*=256);)t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);R(this,t,e,n,r-1,-r)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return N(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return N(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,a=i-n;if(this===t&&n<e&&e<i)for(r=a-1;r>=0;--r)t[r+e]=this[r+n];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+a),e);return a},c.prototype.fill=function(t,e,n,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var a;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a<n;++a)this[a]=t;else{var o=c.isBuffer(t)?t:F(new c(t,i).toString()),s=o.length;for(a=0;a<n-e;++a)this[a+e]=o[a%s]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function F(t,e){var n;e=e||1/0;for(var i=t.length,r=null,a=[],o=0;o<i;++o){if((n=t.charCodeAt(o))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function z(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function V(t,e,n,i){for(var r=0;r<i&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}}).call(this,n("yLpj"))},"tk/3":function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return T})),n.d(e,"c",(function(){return V})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return f}));var i=n("fXoL"),r=n("LRne"),a=n("HDdC"),o=n("bOdf"),s=n("pLZG"),c=n("lJxs"),u=n("ofXK"),l=function t(){Qe(this,t)},h=function t(){Qe(this,t)},f=function(){function t(e){var n=this;Qe(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){n.headers=new Map,e.split("\n").forEach((function(t){var e=t.indexOf(":");if(e>0){var i=t.slice(0,e),r=i.toLowerCase(),a=t.slice(e+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}}))}:function(){n.headers=new Map,Object.keys(e).forEach((function(t){var i=e[t],r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(t,r))}))}:this.headers=new Map}
vendor: 2,146 bytes, line 1
1return tn(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))}},{key:"clone",value:function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,Xe(n)),this.headers.set(e,i);break;case"d":var r=t.value;if(r){var a=this.headers.get(e);if(!a)return;0===(a=a.filter((function(t){return-1===r.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))}}]),t}(),d=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"encodeKey",value:function(t){return p(t)}},{key:"encodeValue",value:function(t){return p(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}();function p(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var m=function(){function t(){var e,n,i,r=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Qe(this,t),this.updates=null,this.cloneFrom=null,this.encoder=a.encoder||new d,a.fromString){if(a.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=a.fromString,n=this.encoder,i=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),r=Ke(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),a=r[0],o=r[1],s=i.get(a)||[];s.push(o),i.set(a,s)})),i)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach((function(t){var e=a.fromObject[t];r.map.set(t,Array.isArray(e)?e:[e])}))):this.map=null}
vendor: 2,568 bytes, line 1
1return tn(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).filter((function(t){return""!==t})).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)}}]),t}();function v(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function g(t){return"undefined"!=typeof FormData&&t instanceof FormData}var y=function(){function t(e,n,i,r){var a;if(Qe(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new f),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+o}}else this.params=new m,this.urlWithParams=n}
1return tn(t,[{key:"serializeBody",value:function(){return null===this.body?null:v(this.body)||b(this.body)||g(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||g(this.body)?null:b(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.method||this.method,i=e.url||this.url,r=e.responseType||this.responseType,a=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,c=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(c=Object.keys(e.setHeaders).reduce((function(t,n){return t.set(n,e.setHeaders[n])}),c)),e.setParams&&(u=Object.keys(e.setParams).reduce((function(t,n){return t.set(n,e.setParams[n])}),u)),new t(n,i,a,{params:u,headers:c,reportProgress:s,responseType:r,withCredentials:o})}}]),t}(),_=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),w=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";Qe(this,t),this.headers=e.headers||new f,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300},k=function(t){en(n,t);var e=rn(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Qe(this,n),(t=e.call(this,i)).type=_.ResponseHeader,t}return tn(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(w),S=function(t){en(n,t);var e=rn(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Qe(this,n),(t=e.call(this,i)).type=_.Response,t.body=void 0!==i.body?i.body:null,t}return tn(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(w),x=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),i.error=t.error||null,i}return n}(w);function C(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var T=function(){var t=function(){function t(e){Qe(this,t),this.handler=e}
1return tn(t,[{key:"request",value:function(t,e){var n,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof y)n=t;else{var u=void 0;u=a.headers instanceof f?a.headers:new f(a.headers);var l=void 0;a.params&&(l=a.params instanceof m?a.params:new m({fromObject:a.params})),n=new y(t,e,void 0!==a.body?a.body:null,{headers:u,params:l,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials})}var h=Object(r.a)(n).pipe(Object(o.a)((function(t){return i.handler.handle(t)})));if(t instanceof y||"events"===a.observe)return h;var d=h.pipe(Object(s.a)((function(t){return t instanceof S})));switch(a.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return d.pipe(Object(c.a)((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return d.pipe(Object(c.a)((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return d.pipe(Object(c.a)((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return d.pipe(Object(c.a)((function(t){return t.body})))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type ".concat(a.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,C(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,C(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,C(n,e))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(l))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),E=function(){function t(e,n){Qe(this,t),this.next=e,this.interceptor=n}
1return tn(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),O=new i.s("HTTP_INTERCEPTORS"),M=function(){var t=function(){function t(){Qe(this,t)}return tn(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),A=/^\)\]\}',?\n/,I=function t(){Qe(this,t)},R=function(){var t=function(){function t(){Qe(this,t)}return tn(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),L=function(){var t=function(){function t(e){Qe(this,t),this.xhrFactory=e}return tn(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new a.a((function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((function(t,e){return i.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var a=t.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=t.serializeBody(),s=null,c=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new f(i.getAllResponseHeaders()),a=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new k({headers:r,status:e,statusText:n,url:a})},u=function(){var e=c(),r=e.headers,a=e.status,o=e.statusText,s=e.url,u=null;204!==a&&(u=void 0===i.response?i.responseText:i.response),0===a&&(a=u?200:0);var l=a>=200&&a<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(A,"");try{u=""!==u?JSON.parse(u):null}catch(f){u=h,l&&(l=!1,u={error:f,text:u})}}l?(n.next(new S({body:u,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new x({error:u,headers:r,status:a,statusText:o,url:s||void 0}))},l=function(t){var e=c().url,r=new x({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e||void 0});n.error(r)},h=!1,d=function(e){h||(n.next(c()),h=!0);var r={type:_.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(t){var e={type:_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",u),i.addEventListener("error",l),t.reportProgress&&(i.addEventListener("progress",d),null!==o&&i.upload&&i.upload.addEventListener("progress",p)),i.send(o),n.next({type:_.Sent}),function(){i.removeEventListener("error",l),i.removeEventListener("load",u),t.reportProgress&&(i.removeEventListener("progress",d),null!==o&&i.upload&&i.upload.removeEventListener("progress",p)),i.readyState!==i.DONE&&i.abort()}}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(I))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),P=new i.s("XSRF_COOKIE_NAME"),j=new i.s("XSRF_HEADER_NAME"),D=function t(){Qe(this,t)},N=function(){var t=function(){function t(e,n,i){Qe(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}
1return tn(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.C)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(u.e),i.cc(i.D),i.cc(P))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),B=function(){var t=function(){function t(e,n){Qe(this,t),this.tokenService=e,this.headerName=n}return tn(t,[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(D),i.cc(j))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),F=function(){var t=function(){function t(e,n){Qe(this,t),this.backend=e,this.injector=n,this.chain=null}
1return tn(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(O,[]);this.chain=e.reduceRight((function(t,e){return new E(t,e)}),this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(h),i.cc(i.t))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t}(),z=function(){var t=function(){function t(){Qe(this,t)}return tn(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:B,useClass:M}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:P,useValue:e.cookieName}:[],e.headerName?{provide:j,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[B,{provide:O,useExisting:B,multi:!0},{provide:D,useClass:N},{provide:P,useValue:"XSRF-TOKEN"},{provide:j,useValue:"X-XSRF-TOKEN"}]}),t}(),V=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[T,{provide:l,useClass:F},L,{provide:h,useExisting:L},R,{provide:I,useExisting:R}],imports:[[z.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},tnIz:function(t,e,n){var i=n("hwdV").Buffer;function r(t,e){this._block=i.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}r.prototype.update=function(t,e){"string"==typeof t&&(t=i.from(t,e=e||"utf8"));for(var n=this._block,r=this._blockSize,a=t.length,o=this._len,s=0;s<a;){for(var c=o%r,u=Math.min(a-s,r-c),l=0;l<u;l++)n[c+l]=t[s+l];s+=u,(o+=u)%r==0&&this._update(n)}return this._len+=a,this},r.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var i=(4294967295&n)>>>0;this._block.writeUInt32BE((n-i)/4294967296,this._blockSize-8),this._block.writeUInt32BE(i,this._blockSize-4)}this._update(this._block);var r=this._hash();return t?r.toString(t):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=r},tnsW:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("zx2A");function r(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(e){Qe(this,t),this.durationSelector=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.durationSelector))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).durationSelector=i,r.hasValue=!1,r}return tn(n,[{key:"_next",value:function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e;try{e=(0,this.durationSelector)(t)}catch(r){return this.destination.error(r)}var n=Object(i.c)(e,new i.a(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(i.b)},tpL1:function(t,e,n){var i=n("hwdV").Buffer,r=n("mObS"),a=n("NNVn"),o=n("P7XM"),s=n("b+dc"),c=n("mAz1"),u=n("tOiH");function l(t){a.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=r(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){a.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hash=r(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){return new l(t)}function d(t){return new h(t)}Object.keys(u).forEach((function(t){u[t].id=i.from(u[t].id,"hex"),u[t.toLowerCase()]=u[t]})),o(l,a.Writable),l.prototype._write=function(t,e,n){this._hash.update(t),n()},l.prototype.update=function(t,e){return"string"==typeof t&&(t=i.from(t,e)),this._hash.update(t),this},l.prototype.sign=function(t,e){this.end();var n=this._hash.digest(),i=s(n,t,this._hashType,this._signType,this._tag);return e?i.toString(e):i},o(h,a.Writable),h.prototype._write=function(t,e,n){this._hash.update(t),n()},h.prototype.update=function(t,e){return"string"==typeof t&&(t=i.from(t,e)),this._hash.update(t),this},h.prototype.verify=function(t,e,n){"string"==typeof e&&(e=i.from(e,n)),this.end();var r=this._hash.digest();return c(e,r,t,this._signType,this._tag)},t.exports={Sign:f,Verify:d,createSign:f,createVerify:d}},tyNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return Rt})),n.d(e,"b",(function(){return L})),n.d(e,"c",(function(){return Ke})),n.d(e,"d",(function(){return $e})),n.d(e,"e",(function(){return Ye})),n.d(e,"f",(function(){return mn})),n.d(e,"g",(function(){return nn}));var i=n("ofXK"),r=n("fXoL"),a=n("LRne"),o=n("Cfvw"),s=n("2Vo4"),c=n("HDdC"),u=n("sVev"),l=n("itXk"),h=n("NXyV"),f=n("EY2u"),d=n("XNiG"),p=n("lJxs"),m=n("0EUg"),v=n("NJ9Y"),b=n("JIr8"),g=n("SxV6"),y=n("5+tZ"),_=n("vkgz"),w=n("Gi4w"),k=n("eIep"),S=n("IzEk"),x=n("JX91"),C=n("Kqap"),T=n("pLZG"),E=n("bOdf"),O=n("BFxc"),M=n("nYR2"),A=n("bHdf"),I=function t(e,n){Qe(this,t),this.id=e,this.url=n},R=function(t){en(n,t);var e=rn(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Qe(this,n),(r=e.call(this,t,i)).navigationTrigger=a,r.restoredState=o,r}return tn(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(I),L=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a}return tn(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(I),P=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t,i)).reason=r,a}return tn(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(I),j=function(t){en(n,t);var e=rn(n);function n(t,i,r){var a;return Qe(this,n),(a=e.call(this,t,i)).error=r,a}return tn(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(I),D=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return tn(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(I),N=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return tn(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(I),B=function(t){en(n,t);var e=rn(n);function n(t,i,r,a,o){var s;return Qe(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=a,s.shouldActivate=o,s}return tn(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(I),F=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return tn(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(I),z=function(t){en(n,t);var e=rn(n);function n(t,i,r,a){var o;return Qe(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return tn(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(I),V=function(){function t(e){Qe(this,t),this.route=e}
1return tn(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),U=function(){function t(e){Qe(this,t),this.route=e}return tn(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),H=function(){function t(e){Qe(this,t),this.snapshot=e}return tn(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),q=function(){function t(e){Qe(this,t),this.snapshot=e}return tn(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),W=function(){function t(e){Qe(this,t),this.snapshot=e}return tn(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),K=function(){function t(e){Qe(this,t),this.snapshot=e}return tn(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),X=function(){function t(e,n,i){Qe(this,t),this.routerEvent=e,this.position=n,this.anchor=i}
1return tn(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),J=function(){function t(e){Qe(this,t),this.params=e||{}}return tn(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function G(t){return new J(t)}function Y(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Z(t,e,n){var i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;for(var r={},a=0;a<i.length;a++){var o=i[a],s=t[a];if(o.startsWith(":"))r[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function Q(t,e){var n,i=Object.keys(t),r=Object.keys(e);if(!i||!r||i.length!=r.length)return!1;for(var a=0;a<i.length;a++)if(!$(t[n=i[a]],e[n]))return!1;return!0}function $(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length==e.length&&t.every((function(t){return e.indexOf(t)>-1})):t===e}function tt(t){return Array.prototype.concat.apply([],t)}function et(t){return t.length>0?t[t.length-1]:null}function nt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function it(t){return Object(r.sb)(t)?t:Object(r.tb)(t)?Object(o.a)(Promise.resolve(t)):Object(a.a)(t)}function rt(t,e,n){return n?function(t,e){return Q(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!ct(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return $(t[n],e[n])}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!ct(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!ct(n.segments,r))return!1;for(var a in i.children){if(!n.children[a])return!1;if(!t(n.children[a],i.children[a]))return!1}return!0}var o=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!ct(n.segments,o)&&!!n.children.primary&&e(n.children.primary,i,s)}(e,n,n.segments)}(t.root,e.root)}var at=function(){function t(e,n,i){Qe(this,t),this.root=e,this.queryParams=n,this.fragment=i}
1return tn(t,[{key:"toString",value:function(){return ft.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}}]),t}(),ot=function(){function t(e,n){var i=this;Qe(this,t),this.segments=e,this.children=n,this.parent=null,nt(n,(function(t,e){return t.parent=i}))}return tn(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return dt(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),t}(),st=function(){function t(e,n){Qe(this,t),this.path=e,this.parameters=n}return tn(t,[{key:"toString",value:function(){return yt(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=G(this.parameters)),this._parameterMap}}]),t}();function ct(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function ut(t,e){var n=[];return nt(t.children,(function(t,i){"primary"===i&&(n=n.concat(e(t,i)))})),nt(t.children,(function(t,i){"primary"!==i&&(n=n.concat(e(t,i)))})),n}var lt=function t(){Qe(this,t)},ht=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"parse",value:function(t){var e=new xt(t);return new at(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){return"".concat("/"+function t(e,n){if(!e.hasChildren())return dt(e);if(n){var i=e.children.primary?t(e.children.primary,!1):"",r=[];return nt(e.children,(function(e,n){"primary"!==n&&r.push("".concat(n,":").concat(t(e,!1)))})),r.length>0?"".concat(i,"(").concat(r.join("//"),")"):i}var a=ut(e,(function(n,i){return"primary"===i?[t(e.children.primary,!1)]:["".concat(i,":").concat(t(n,!1))]}));return"".concat(dt(e),"/(").concat(a.join("//"),")")}(t.root,!0)).concat((e=t.queryParams,n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return"".concat(mt(t),"=").concat(mt(e))})).join("&"):"".concat(mt(t),"=").concat(mt(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"");var e,n}}]),t}(),ft=new ht;function dt(t){return t.segments.map((function(t){return yt(t)})).join("/")}function pt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mt(t){return pt(t).replace(/%3B/gi,";")}function vt(t){return pt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function bt(t){return decodeURIComponent(t)}function gt(t){return bt(t.replace(/\+/g,"%20"))}function yt(t){return"".concat(vt(t.path)).concat((e=t.parameters,Object.keys(e).map((function(t){return";".concat(vt(t),"=").concat(vt(e[t]))})).join("")));var e}var _t=/^[^\/()?;=#]+/;function wt(t){var e=t.match(_t);return e?e[0]:""}var kt=/^[^=?&#]+/,St=/^[^?&#]+/,xt=function(){function t(e){Qe(this,t),this.url=e,this.remaining=e}
1return tn(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ot([],{}):new ot([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new ot(t,e)),n}},{key:"parseSegment",value:function(){var t=wt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new st(bt(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=wt(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=wt(this.remaining);i&&(n=i,this.capture(n))}t[bt(e)]=bt(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(kt);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(St);return e?e[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=gt(e),a=gt(n);if(t.hasOwnProperty(r)){var o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(a)}else t[r]=a}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=wt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");var a=this.parseChildren();e[r]=1===Object.keys(a).length?a.primary:new ot([],a),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),Ct=function(){function t(e){Qe(this,t),this._root=e}
1return tn(t,[{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=Tt(t,this._root);return e?e.children.map((function(t){return t.value})):[]}},{key:"firstChild",value:function(t){var e=Tt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Et(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))}},{key:"pathFromRoot",value:function(t){return Et(t,this._root).map((function(t){return t.value}))}},{key:"root",get:function(){return this._root.value}}]),t}();function Tt(t,e){if(t===e.value)return e;var n,i=Ge(e.children);try{for(i.s();!(n=i.n()).done;){var r=Tt(t,n.value);if(r)return r}}catch(a){i.e(a)}finally{i.f()}return null}function Et(t,e){if(t===e.value)return[e];var n,i=Ge(e.children);try{for(i.s();!(n=i.n()).done;){var r=Et(t,n.value);if(r.length)return r.unshift(e),r}}catch(a){i.e(a)}finally{i.f()}return[]}var Ot=function(){function t(e,n){Qe(this,t),this.value=e,this.children=n}
1return tn(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function Mt(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var At=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).snapshot=i,Dt(on(r),t),r}return tn(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Ct);function It(t,e){var n=function(t,e){var n=new Pt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new jt("",new Ot(n,[]))}(t,e),i=new s.a([new st("",{})]),r=new s.a({}),a=new s.a({}),o=new s.a({}),c=new s.a(""),u=new Rt(i,r,o,c,a,"primary",e,n.root);return u.snapshot=n.root,new At(new Ot(u,[]),n)}var Rt=function(){function t(e,n,i,r,a,o,s,c){Qe(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=c}return tn(t,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(p.a)((function(t){return G(t)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)((function(t){return G(t)})))),this._queryParamMap}}]),t}();function Lt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return function(t){return t.reduce((function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(i))}var Pt=function(){function t(e,n,i,r,a,o,s,c,u,l,h){Qe(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=c,this._urlSegment=u,this._lastPathIndex=l,this._resolve=h}
1return tn(t,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(t){return t.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=G(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}}]),t}(),jt=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,i)).url=t,Dt(on(r),i),r}return tn(n,[{key:"toString",value:function(){return Nt(this._root)}}]),n}(Ct);function Dt(t,e){e.value._routerState=t,e.children.forEach((function(e){return Dt(t,e)}))}function Nt(t){var e=t.children.length>0?" { ".concat(t.children.map(Nt).join(", ")," } "):"";return"".concat(t.value).concat(e)}function Bt(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Q(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Q(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!Q(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Q(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Ft(t,e){var n,i;return Q(t.params,e.params)&&ct(n=t.url,i=e.url)&&n.every((function(t,e){return Q(t.parameters,i[e].parameters)}))&&!(!t.parent!=!e.parent)&&(!t.parent||Ft(t.parent,e.parent))}function zt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Vt(t,e,n,i,r){var a={};return i&&nt(i,(function(t,e){a[e]=Array.isArray(t)?t.map((function(t){return""+t})):""+t})),new at(n.root===t?e:function t(e,n,i){var r={};return nt(e.children,(function(e,a){r[a]=e===n?i:t(e,n,i)})),new ot(e.segments,r)}(n.root,t,e),a,r)}var Ut=function(){function t(e,n,i){if(Qe(this,t),this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&zt(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==et(i))throw new Error("{outlets:{}} has to be the last command")}
1return tn(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),Ht=function t(e,n,i){Qe(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i};function qt(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Wt(t,e,n){if(t||(t=new ot([],{})),0===t.segments.length&&t.hasChildren())return Kt(t,e,n);var i=function(t,e,n){for(var i=0,r=e,a={match:!1,pathIndex:0,commandIndex:0};r<t.segments.length;){if(i>=n.length)return a;var o=t.segments[r],s=qt(n[i]),c=i<n.length-1?n[i+1]:null;if(r>0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!Yt(s,c,o))return a;i+=2}else{if(!Yt(s,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){var a=new ot(t.segments.slice(0,i.pathIndex),{});return a.children.primary=new ot(t.segments.slice(i.pathIndex),t.children),Kt(a,0,r)}return i.match&&0===r.length?new ot(t.segments,{}):i.match&&!t.hasChildren()?Xt(t,e,n):i.match?Kt(t,0,r):Xt(t,e,n)}function Kt(t,e,n){if(0===n.length)return new ot(t.segments,{});var i=function(t){return"object"==typeof t[0]&&null!==t[0]&&t[0].outlets?t[0].outlets:{primary:t}}(n),r={};return nt(i,(function(n,i){null!==n&&(r[i]=Wt(t.children[i],e,n))})),nt(t.children,(function(t,e){void 0===i[e]&&(r[e]=t)})),new ot(t.segments,r)}function Xt(t,e,n){for(var i=t.segments.slice(0,e),r=0;r<n.length;){if("object"==typeof n[r]&&null!==n[r]&&void 0!==n[r].outlets){var a=Jt(n[r].outlets);return new ot(i,a)}if(0===r&&zt(n[0]))i.push(new st(t.segments[e].path,n[0])),r++;else{var o=qt(n[r]),s=r<n.length-1?n[r+1]:null;o&&s&&zt(s)?(i.push(new st(o,Gt(s))),r+=2):(i.push(new st(o,{})),r++)}}return new ot(i,{})}function Jt(t){var e={};return nt(t,(function(t,n){null!==t&&(e[n]=Xt(new ot([],{}),0,t))})),e}function Gt(t){var e={};return nt(t,(function(t,n){return e[n]=""+t})),e}function Yt(t,e,n){return t==n.path&&Q(e,n.parameters)}var Zt=function(){function t(e,n,i,r){Qe(this,t),this.routeReuseStrategy=e,this.futureState=n,this.currState=i,this.forwardEvent=r}
1return tn(t,[{key:"activate",value:function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Bt(this.futureState.root),this.activateChildRoutes(e,n,t)}},{key:"deactivateChildRoutes",value:function(t,e,n){var i=this,r=Mt(e);t.children.forEach((function(t){var e=t.value.outlet;i.deactivateRoutes(t,r[e],n),delete r[e]})),nt(r,(function(t,e){i.deactivateRouteAndItsChildren(t,n)}))}},{key:"deactivateRoutes",value:function(t,e,n){var i=t.value,r=e?e.value:null;if(i===r)if(i.component){var a=n.getContext(i.outlet);a&&this.deactivateChildRoutes(t,e,a.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}},{key:"deactivateRouteAndItsChildren",value:function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}},{key:"detachAndStoreRouteSubtree",value:function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:i,route:t,contexts:r})}}},{key:"deactivateRouteAndOutlet",value:function(t,e){var n=this,i=e.getContext(t.value.outlet);if(i){var r=Mt(t),a=t.value.component?i.children:e;nt(r,(function(t,e){return n.deactivateRouteAndItsChildren(t,a)})),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(t,e,n){var i=this,r=Mt(e);t.children.forEach((function(t){i.activateRoutes(t,r[t.value.outlet],n),i.forwardEvent(new K(t.value.snapshot))})),t.children.length&&this.forwardEvent(new q(t.value.snapshot))}},{key:"activateRoutes",value:function(t,e,n){var i=t.value,r=e?e.value:null;if(Bt(i),i===r)if(i.component){var a=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,n);else if(i.component){var o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),Qt(s.route)}else{var c=function(t){for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=c?c.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=u,o.outlet&&o.outlet.activateWith(i,u),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}}]),t}();function Qt(t){Bt(t.value),t.children.forEach(Qt)}var $t=function t(e,n){Qe(this,t),this.routes=e,this.module=n};function te(t){return"function"==typeof t}function ee(t){return t instanceof at}var ne=function t(e){Qe(this,t),this.segmentGroup=e||null},ie=function t(e){Qe(this,t),this.urlTree=e};function re(t){return new c.a((function(e){return e.error(new ne(t))}))}function ae(t){return new c.a((function(e){return e.error(new ie(t))}))}function oe(t){return new c.a((function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))}))}var se=function(){function t(e,n,i,a,o){Qe(this,t),this.configLoader=n,this.urlSerializer=i,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(r.z)}
1return tn(t,[{key:"apply",value:function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(p.a)((function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)}))).pipe(Object(b.a)((function(e){if(e instanceof ie)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof ne)throw t.noMatchError(e);throw e})))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(p.a)((function(n){return e.createUrlTree(n,t.queryParams,t.fragment)}))).pipe(Object(b.a)((function(t){if(t instanceof ne)throw e.noMatchError(t);throw t})))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,e,n){var i=t.segments.length>0?new ot([],{primary:t}):t;return new at(i,e,n)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(p.a)((function(t){return new ot([],t)}))):this.expandSegment(t,n,e,n.segments,i,!0)}},{key:"expandChildren",value:function(t,e,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return Object(a.a)({});var o=[],s=[],c={};return nt(n,(function(n,r){var a,u,l=(a=r,u=n,i.expandSegmentGroup(t,e,u,a)).pipe(Object(p.a)((function(t){return c[r]=t})));"primary"===r?o.push(l):s.push(l)})),a.a.apply(null,o.concat(s)).pipe(Object(m.a)(),Object(v.a)(),Object(p.a)((function(){return c})))}(n.children)}},{key:"expandSegment",value:function(t,e,n,i,r,o){var s=this;return Object(a.a).apply(void 0,Xe(n)).pipe(Object(p.a)((function(c){return s.expandSegmentAgainstRoute(t,e,n,c,i,r,o).pipe(Object(b.a)((function(t){if(t instanceof ne)return Object(a.a)(null);throw t})))})),Object(m.a)(),Object(g.a)((function(t){return!!t})),Object(b.a)((function(t,n){if(t instanceof u.a||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,i,r))return Object(a.a)(new ot([],{}));throw new ne(e)}throw t})))}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,r,a,o){return he(i)!==a?re(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a):re(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ae(a):this.lineralizeSegments(n,a).pipe(Object(y.b)((function(n){var a=new ot(n,{});return r.expandSegment(t,a,e,n,i,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,a){var o=this,s=ce(e,i,r),c=s.matched,u=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!c)return re(e);var f=this.applyRedirectCommands(u,i.redirectTo,h);return i.redirectTo.startsWith("/")?ae(f):this.lineralizeSegments(i,f).pipe(Object(y.b)((function(i){return o.expandSegment(t,e,n,i.concat(r.slice(l)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,i){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(p.a)((function(t){return n._loadedConfig=t,new ot(i,{})}))):Object(a.a)(new ot(i,{}));
1var o=ce(e,n,i),s=o.matched,c=o.consumedSegments,u=o.lastChild;if(!s)return re(e);var l=i.slice(u);return this.getChildConfig(t,n,i).pipe(Object(y.b)((function(t){var n=t.module,i=t.routes,o=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some((function(n){return le(t,e,n)&&"primary"!==he(n)}))}(t,n,i)?{segmentGroup:ue(new ot(e,function(t,e){var n={};n.primary=e;var i,r=Ge(t);try{for(r.s();!(i=r.n()).done;){var a=i.value;""===a.path&&"primary"!==he(a)&&(n[he(a)]=new ot([],{}))}}catch(o){r.e(o)}finally{r.f()}return n}(i,new ot(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return le(t,e,n)}))}(t,n,i)?{segmentGroup:ue(new ot(t.segments,function(t,e,n,i){var r,a={},o=Ge(n);try{for(o.s();!(r=o.n()).done;){var s=r.value;le(t,e,s)&&!i[he(s)]&&(a[he(s)]=new ot([],{}))}}catch(c){o.e(c)}finally{o.f()}return Object.assign(Object.assign({},i),a)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,c,l,i),s=o.segmentGroup,u=o.slicedSegments;return 0===u.length&&s.hasChildren()?r.expandChildren(n,i,s).pipe(Object(p.a)((function(t){return new ot(c,t)}))):0===i.length&&0===u.length?Object(a.a)(new ot(c,{})):r.expandSegment(n,s,i,u,"primary",!0).pipe(Object(p.a)((function(t){return new ot(c.concat(t.segments),t.children)})))})))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?Object(a.a)(new $t(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(a.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(y.b)((function(n){return n?i.configLoader.load(t.injector,e).pipe(Object(p.a)((function(t){return e._loadedConfig=t,t}))):function(t){return new c.a((function(e){return e.error(Y("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))}))}(e)}))):Object(a.a)(new $t([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i=this,r=e.canLoad;return r&&0!==r.length?Object(o.a)(r).pipe(Object(p.a)((function(i){var r,a=t.get(i);if(function(t){return t&&te(t.canLoad)}(a))r=a.canLoad(e,n);else{if(!te(a))throw new Error("Invalid CanLoad guard");r=a(e,n)}return it(r)}))).pipe(Object(m.a)(),Object(_.a)((function(t){if(ee(t)){var e=Y('Redirecting to "'.concat(i.urlSerializer.serialize(t),'"'));throw e.url=t,e}})),Object(w.a)((function(t){return!0===t}))):Object(a.a)(!0)}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(a.a)(n);if(i.numberOfChildren>1||!i.children.primary)return oe(t.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new at(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return nt(t,(function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t})),n}},{key:"createSegmentGroup",value:function(t,e,n,i){var r=this,a=this.createSegments(t,e.segments,n,i),o={};return nt(e.children,(function(e,a){o[a]=r.createSegmentGroup(t,e,n,i)})),new ot(a,o)}},{key:"createSegments",value:function(t,e,n,i){var r=this;return e.map((function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)}))}},{key:"findPosParam",value:function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return i}},{key:"findOrReturn",value:function(t,e){var n,i=0,r=Ge(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.path===t.path)return e.splice(i),a;i++}}catch(o){r.e(o)}finally{r.f()}return t}}]),t}();function ce(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(e.matcher||Z)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ue(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new ot(t.segments.concat(e.segments),e.children)}return t}function le(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function he(t){return t.outlet||"primary"}var fe=function t(e){Qe(this,t),this.path=e,this.route=this.path[this.path.length-1]},de=function t(e,n){Qe(this,t),this.component=e,this.route=n};function pe(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function me(t,e,n){var i=Mt(t),r=t.value;nt(i,(function(t,i){me(t,r.component?e?e.children.getContext(i):null:e,n)})),n.canDeactivateChecks.push(new de(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var ve=Symbol("INITIAL_VALUE");function be(){return Object(k.a)((function(t){return Object(l.b).apply(void 0,Xe(t.map((function(t){return t.pipe(Object(S.a)(1),Object(x.a)(ve))})))).pipe(Object(C.a)((function(t,e){var n=!1;return e.reduce((function(t,i,r){if(t!==ve)return t;if(i===ve&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||ee(i))return i}return t}),t)}),ve),Object(T.a)((function(t){return t!==ve})),Object(p.a)((function(t){return ee(t)?t:!0===t})),Object(S.a)(1))}))}function ge(t,e){return null!==t&&e&&e(new W(t)),Object(a.a)(!0)}function ye(t,e){return null!==t&&e&&e(new H(t)),Object(a.a)(!0)}function _e(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(a.a)(!0);var r=i.map((function(i){return Object(h.a)((function(){var r,a=pe(i,e,n);if(function(t){return t&&te(t.canActivate)}(a))r=it(a.canActivate(e,t));else{if(!te(a))throw new Error("Invalid CanActivate guard");r=it(a(e,t))}return r.pipe(Object(g.a)())}))}));return Object(a.a)(r).pipe(be())}function we(t,e,n){var i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map((function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)})).filter((function(t){return null!==t})).map((function(e){return Object(h.a)((function(){var r=e.guards.map((function(r){var a,o=pe(r,e.node,n);if(function(t){return t&&te(t.canActivateChild)}
1(o))a=it(o.canActivateChild(i,t));else{if(!te(o))throw new Error("Invalid CanActivateChild guard");a=it(o(i,t))}return a.pipe(Object(g.a)())}));return Object(a.a)(r).pipe(be())}))}));return Object(a.a)(r).pipe(be())}var ke=function t(){Qe(this,t)},Se=function(){function t(e,n,i,r,a,o){Qe(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return tn(t,[{key:"recognize",value:function(){try{var t=Te(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new Pt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Ot(n,e),r=new jt(this.url,i);return this.inheritParamsAndData(r._root),Object(a.a)(r)}catch(o){return new c.a((function(t){return t.error(o)}))}}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=Lt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){var n,i=this,r=ut(e,(function(e,n){return i.processSegmentGroup(t,e,n)}));return n={},r.forEach((function(t){var e=n[t.value.outlet];if(e){var i=e.url.map((function(t){return t.toString()})).join("/"),r=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(i,"' and '").concat(r,"'."))}n[t.value.outlet]=t.value})),r.sort((function(t,e){return"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)})),r}},{key:"processSegment",value:function(t,e,n,i){var r,a=Ge(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;try{return this.processSegmentAgainstRoute(o,e,n,i)}catch(s){if(!(s instanceof ke))throw s}}}catch(c){a.e(c)}finally{a.f()}if(this.noLeftoversInUrl(e,n,i))return[];throw new ke}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"processSegmentAgainstRoute",value:function(t,e,n,i){if(t.redirectTo)throw new ke;if((t.outlet||"primary")!==i)throw new ke;var r,a=[],o=[];if("**"===t.path){var s=n.length>0?et(n).parameters:{};r=new Pt(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Me(t),i,t.component,t,xe(e),Ce(e)+n.length,Ae(t))}else{var c=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new ke;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(e.matcher||Z)(n,t,e);if(!i)throw new ke;var r={};nt(i.posParams,(function(t,e){r[e]=t.path}));var a=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(e,t,n);a=c.consumedSegments,o=n.slice(c.lastChild),r=new Pt(a,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Me(t),i,t.component,t,xe(e),Ce(e)+a.length,Ae(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),l=Te(e,a,o,u,this.relativeLinkResolution),h=l.segmentGroup,f=l.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(u,h);return[new Ot(r,d)]}if(0===u.length&&0===f.length)return[new Ot(r,[])];var p=this.processSegment(u,h,f,"primary");return[new Ot(r,p)]}}]),t}();function xe(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Ce(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Te(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some((function(n){return Ee(t,e,n)&&"primary"!==Oe(n)}))}(t,n,i)){var a=new ot(e,function(t,e,n,i){var r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;var a,o=Ge(n);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(""===s.path&&"primary"!==Oe(s)){var c=new ot([],{});c._sourceSegment=t,c._segmentIndexShift=e.length,r[Oe(s)]=c}
1}}catch(u){o.e(u)}finally{o.f()}return r}(t,e,i,new ot(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return Ee(t,e,n)}))}(t,n,i)){var o=new ot(t.segments,function(t,e,n,i,r,a){var o,s={},c=Ge(i);try{for(c.s();!(o=c.n()).done;){var u=o.value;if(Ee(t,n,u)&&!r[Oe(u)]){var l=new ot([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===a?t.segments.length:e.length,s[Oe(u)]=l}}}catch(h){c.e(h)}finally{c.f()}return Object.assign(Object.assign({},r),s)}(t,e,n,i,t.children,r));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}var s=new ot(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Ee(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Oe(t){return t.outlet||"primary"}function Me(t){return t.data||{}}function Ae(t){return t.resolve||{}}function Ie(t){return function(e){return e.pipe(Object(k.a)((function(e){var n=t(e);return n?Object(o.a)(n).pipe(Object(p.a)((function(){return e}))):Object(o.a)([e])})))}}var Re=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}(),Le=function(){var t=function t(){Qe(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&r.Ob(0,"router-outlet")},directives:function(){return[nn]},encapsulation:2}),t}();function Pe(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<t.length;n++){var i=t[n];je(i,De(e,i))}}function je(t,e){if(!t)throw new Error("\n Invalid configuration of route '".concat(e,"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n "));if(Array.isArray(t))throw new Error("Invalid configuration of route '".concat(e,"': Array cannot be specified"));if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&"primary"!==t.outlet)throw new Error("Invalid configuration of route '".concat(e,"': a componentless route without children or loadChildren cannot have a named outlet set"));if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '".concat(e,"': redirectTo and children cannot be used together"));if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '".concat(e,"': redirectTo and loadChildren cannot be used together"));if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '".concat(e,"': children and loadChildren cannot be used together"));if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '".concat(e,"': redirectTo and component cannot be used together"));if(t.path&&t.matcher)throw new Error("Invalid configuration of route '".concat(e,"': path and matcher cannot be used together"));if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '".concat(e,"'. One of the following must be provided: component, redirectTo, children or loadChildren"));if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '".concat(e,"': routes must have either a path or a matcher specified"));if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '".concat(e,"': path cannot start with a slash"));if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \"".concat(e,'", redirectTo: "').concat(t.redirectTo,"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'."));if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '".concat(e,"': pathMatch can only be set to 'prefix' or 'full'"));t.children&&Pe(t.children,e)}function De(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:"".concat(t,"/").concat(e.path):"":t}function Ne(t){var e=t.children&&t.children.map(Ne),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Le),n}var Be=new r.s("ROUTES"),Fe=function(){function t(e,n,i,r){Qe(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}
1return tn(t,[{key:"load",value:function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(p.a)((function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new $t(tt(r.injector.get(Be)).map(Ne),r)})))}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?Object(o.a)(this.loader.load(t)):it(t()).pipe(Object(y.b)((function(t){return t instanceof r.x?Object(a.a)(t):Object(o.a)(e.compiler.compileModuleAsync(t))})))}}]),t}(),ze=function t(){Qe(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new Ve,this.attachRef=null},Ve=function(){function t(){Qe(this,t),this.contexts=new Map}return tn(t,[{key:"onChildOutletCreated",value:function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new ze,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),Ue=function(){function t(){Qe(this,t)}
1return tn(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function He(t){throw t}function qe(t,e,n){return e.parse("/")}function We(t,e){return Object(a.a)(null)}var Ke=function(){var t=function(){function t(e,n,i,a,o,c,u,l){var h=this;Qe(this,t),this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=i,this.location=a,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new d.a,this.errorHandler=He,this.malformedUriErrorHandler=qe,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:We,afterPreactivation:We},this.urlHandlingStrategy=new Ue,this.routeReuseStrategy=new Re,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(r.z),this.console=o.get(r.ab);var f=o.get(r.B);this.isNgZoneEnabled=f instanceof r.B,this.resetConfig(l),this.currentUrlTree=new at(new ot([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Fe(c,u,(function(t){return h.triggerEvent(new V(t))}),(function(t){return h.triggerEvent(new U(t))})),this.routerState=It(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}
1return tn(t,[{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe(Object(T.a)((function(t){return 0!==t.id})),Object(p.a)((function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Object(k.a)((function(t){var i,r,c,u=!1,l=!1;return Object(a.a)(t).pipe(Object(_.a)((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Object(k.a)((function(t){var i,r,o,s,c=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||c)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(a.a)(t).pipe(Object(k.a)((function(t){var i=e.transitions.getValue();return n.next(new R(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?f.a:[t]})),Object(k.a)((function(t){return Promise.resolve(t)})),(i=e.ngModule.injector,r=e.configLoader,o=e.urlSerializer,s=e.config,function(t){return t.pipe(Object(k.a)((function(t){return function(t,e,n,i,r){return new se(t,e,n,i,r).apply()}(i,r,o,t.extractedUrl,s).pipe(Object(p.a)((function(e){return Object.assign(Object.assign({},t),{urlAfterRedirects:e})})))})))}),Object(_.a)((function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})})),function(t,n,i,r,a){return function(i){return i.pipe(Object(y.b)((function(i){return function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new Se(t,e,n,i,r,a).recognize()}(t,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,e.serializeUrl(o)),r,a).pipe(Object(p.a)((function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})})));var o})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(_.a)((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Object(_.a)((function(t){var i=new D(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)})));if(c&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.id,l=t.extractedUrl,h=t.source,d=t.restoredState,m=t.extras,v=new R(u,e.serializeUrl(l),h,d);n.next(v);var b=It(l,e.rootComponentType).snapshot;return Object(a.a)(Object.assign(Object.assign({},t),{targetSnapshot:b,urlAfterRedirects:l,extras:Object.assign(Object.assign({},m),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),f.a})),Ie((function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,a=t.rawUrl,o=t.extras,s=o.skipLocationChange,c=o.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),Object(_.a)((function(t){var n=new N(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(p.a)((function(t){return Object.assign(Object.assign({},t),{guards:(n=t.targetSnapshot,i=t.currentSnapshot,r=e.rootContexts,a=n._root,function t(e,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Mt(n);return e.children.forEach((function(e){!function(e,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,s=n?n.value:null,c=i?i.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!ct(t.url,e.url);case"pathParamsOrQueryParamsChange":return!ct(t.url,e.url)||!Q(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ft(t,e)||!Q(t.queryParams,e.queryParams);case"paramsChange":default:return!Ft(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?a.canActivateChecks.push(new fe(r)):(o.data=s.data,o._resolvedData=s._resolvedData),t(e,n,o.component?c?c.children:null:i,r,a),u&&a.canDeactivateChecks.push(new de(c&&c.outlet&&c.outlet.component||null,s))}else s&&me(n,c,a),a.canActivateChecks.push(new fe(r)),t(e,null,o.component?c?c.children:null:i,r,a)}(e,o[e.value.outlet],i,r.concat([e.value]),a),delete o[e.value.outlet]})),nt(o,(function(t,e){return me(t,i.getContext(e),a)})),a}(a,i?i._root:null,r,[a.value]))});var n,i,r,a})),function(t,e){return function(n){return n.pipe(Object(y.b)((function(n){var i=n.targetSnapshot,r=n.currentSnapshot,s=n.guards,c=s.canActivateChecks,u=s.canDeactivateChecks;return 0===u.length&&0===c.length?Object(a.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(o.a)(t).pipe(Object(y.b)((function(t){return function(t,e,n,i,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(a.a)(!0);var s=o.map((function(a){var o,s=pe(a,e,r);if(function(t){return t&&te(t.canDeactivate)}(s))o=it(s.canDeactivate(t,e,n,i));else{if(!te(s))throw new Error("Invalid CanDeactivate guard");o=it(s(t,e,n,i))}
1return o.pipe(Object(g.a)())}));return Object(a.a)(s).pipe(be())}(t.component,t.route,n,e,i)})),Object(g.a)((function(t){return!0!==t}),!0))}(u,i,r,t).pipe(Object(y.b)((function(n){return n&&"boolean"==typeof n?function(t,e,n,i){return Object(o.a)(e).pipe(Object(E.a)((function(e){return Object(o.a)([ye(e.route.parent,i),ge(e.route,i),we(t,e.path,n),_e(t,e.route,n)]).pipe(Object(m.a)(),Object(g.a)((function(t){return!0!==t}),!0))})),Object(g.a)((function(t){return!0!==t}),!0))}(i,c,t,e):Object(a.a)(n)})),Object(p.a)((function(t){return Object.assign(Object.assign({},n),{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),Object(_.a)((function(t){if(ee(t.guardsResult)){var n=Y('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}})),Object(_.a)((function(t){var n=new B(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Object(T.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var i=new P(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(i),t.resolve(!1),!1}return!0})),Ie((function(t){if(t.guards.canActivateChecks.length)return Object(a.a)(t).pipe(Object(_.a)((function(t){var n=new F(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(k.a)((function(t){var i,r,s=!1;return Object(a.a)(t).pipe((i=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(Object(y.b)((function(t){var e=t.targetSnapshot,n=t.guards.canActivateChecks;if(!n.length)return Object(a.a)(t);var s=0;return Object(o.a)(n).pipe(Object(E.a)((function(t){return function(t,e,n,i){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return Object(a.a)({});var s={};return Object(o.a)(r).pipe(Object(y.b)((function(r){return function(t,e,n,i){var r=pe(t,e,i);return it(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Object(_.a)((function(t){s[r]=t})))})),Object(O.a)(1),Object(y.b)((function(){return Object.keys(s).length===r.length?Object(a.a)(s):f.a})))}(t._resolve,t,e,i).pipe(Object(p.a)((function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Lt(t,n).resolve),null})))}(t.route,e,i,r)})),Object(_.a)((function(){return s++})),Object(O.a)(1),Object(y.b)((function(e){return s===n.length?Object(a.a)(t):f.a})))})))}),Object(_.a)({next:function(){return s=!0},complete:function(){if(!s){var i=new P(t.id,e.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");n.next(i),t.resolve(!1)}}}))})),Object(_.a)((function(t){var n=new z(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})))})),Ie((function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,a=t.rawUrl,o=t.extras,s=o.skipLocationChange,c=o.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),Object(p.a)((function(t){var n=function(t,e,n){var i=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){var r=i.value;r._futureSnapshot=n.value;var a=function(e,n,i){return n.children.map((function(n){var r,a=Ge(i.children);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(e.shouldReuseRoute(o.value.snapshot,n.value))return t(e,n,o)}}catch(s){a.e(s)}finally{a.f()}return t(e,n)}))}(e,n,i);return new Ot(r,a)}var o=e.retrieve(n.value);if(o){var c=o.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var i=0;i<e.children.length;++i)t(e.children[i],n.children[i])}(n,c),c}var u,l=new Rt(new s.a((u=n.value).url),new s.a(u.params),new s.a(u.queryParams),new s.a(u.fragment),new s.a(u.data),u.outlet,u.component,u),h=n.children.map((function(n){return t(e,n)}));return new Ot(l,h)}(t,e._root,n?n._root:void 0);return new At(i,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}
1)),Object(_.a)((function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),(i=e.rootContexts,r=e.routeReuseStrategy,c=function(t){return e.triggerEvent(t)},Object(p.a)((function(t){return new Zt(r,t.targetRouterState,t.currentRouterState,c).activate(i),t}))),Object(_.a)({next:function(){u=!0},complete:function(){u=!0}}),Object(M.a)((function(){if(!u&&!l){e.resetUrlToCurrentUrlTree();var i=new P(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId));n.next(i),t.resolve(!1)}e.currentNavigation=null})),Object(b.a)((function(i){if(l=!0,(s=i)&&s.ngNavigationCancelingError){var r=ee(i.url);r||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var a=new P(t.id,e.serializeUrl(t.extractedUrl),i.message);n.next(a),r?setTimeout((function(){var n=e.urlHandlingStrategy.merge(i.url,e.rawUrlTree);return e.scheduleNavigation(n,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})}),0):t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var o=new j(t.id,e.serializeUrl(t.extractedUrl),i);n.next(o);try{t.resolve(e.errorHandler(i))}catch(c){t.reject(c)}}var s;return f.a})))})))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(e){var n=t.parseUrl(e.url),i="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout((function(){t.scheduleNavigation(n,i,r,{replaceUrl:!0})}),0)})))}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){Pe(t),this.config=t.map(Ne),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}},{key:"createUrlTree",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,i=e.queryParams,a=e.fragment,o=e.preserveQueryParams,s=e.queryParamsHandling,c=e.preserveFragment;Object(r.X)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,l=c?this.currentUrlTree.fragment:a,h=null;if(s)switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=i||null}else h=o?this.currentUrlTree.queryParams:i||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,i,r){if(0===n.length)return Vt(e.root,e.root,e,i,r);var a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Ut(!0,0,t);var e=0,n=!1,i=t.reduce((function(t,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var a={};return nt(i.outlets,(function(t,e){a[e]="string"==typeof t?t.split("/"):t})),[].concat(Xe(t),[{outlets:a}])}if(i.segmentPath)return[].concat(Xe(t),[i.segmentPath])}return"string"!=typeof i?[].concat(Xe(t),[i]):0===r?(i.split("/").forEach((function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))})),t):[].concat(Xe(t),[i])}),[]);return new Ut(n,e,i)}(n);if(a.toRoot())return Vt(e.root,new ot([],{}),e,i,r);var o=function(t,e,n){if(t.isAbsolute)return new Ht(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new Ht(i,i===e.root,0)}var r=zt(t.commands[0])?0:1;return function(t,e,n){for(var i=t,r=e,a=n;a>r;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new Ht(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),s=o.processChildren?Kt(o.segmentGroup,o.index,a.commands):Wt(o.segmentGroup,o.index,a.commands);return Vt(o.segmentGroup,s,e,i,r)}(u,this.currentUrlTree,t,h,l)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(r.X)()&&this.isNgZoneEnabled&&!r.B.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did
1you forget to call 'ngZone.run()'?");var n=ee(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(e))}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}},{key:"isActive",value:function(t,e){if(ee(t))return rt(this.currentUrlTree,t,e);var n=this.parseUrl(t);return rt(this.currentUrlTree,n,e)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce((function(e,n){var i=t[n];return null!=i&&(e[n]=i),e}),{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe((function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new L(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)}),(function(e){t.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(t,e,n,i,r){var a,o,s,c=this.getTransition();if(c&&"imperative"!==e&&"imperative"===c.source&&c.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(c&&"hashchange"==e&&"popstate"===c.source&&c.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(c&&"popstate"==e&&"hashchange"===c.source&&c.rawUrl.toString()===t.toString())return Promise.resolve(!0);r?(a=r.resolve,o=r.reject,s=r.promise):s=new Promise((function(t,e){a=t,o=e}));var u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:a,reject:o,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(t){return Promise.reject(t)}))}},{key:"setBrowserUrl",value:function(t,e,n,i){var r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(r.P),r.cc(lt),r.cc(Ve),r.cc(i.l),r.cc(r.t),r.cc(r.y),r.cc(r.i),r.cc(void 0))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t}(),Je=function(){var t=function(){function t(e,n,i,r,a){Qe(this,t),this.router=e,this.route=n,this.commands=[],null==i&&r.setAttribute(a.nativeElement,"tabindex","0")}
1return tn(t,[{key:"onClick",value:function(){var t={skipLocationChange:Ze(this.skipLocationChange),replaceUrl:Ze(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}},{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"preserveQueryParams",set:function(t){Object(r.X)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ze(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ze(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(Ke),r.Nb(Rt),r.dc("tabindex"),r.Nb(r.G),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&r.gc("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),t}(),Ye=function(){var t=function(){function t(e,n,i){var r=this;Qe(this,t),this.router=e,this.route=n,this.locationStrategy=i,this.commands=[],this.subscription=e.events.subscribe((function(t){t instanceof L&&r.updateTargetUrlAndHref()}))}
1return tn(t,[{key:"ngOnChanges",value:function(t){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(t,e,n,i){if(0!==t||e||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var r={skipLocationChange:Ze(this.skipLocationChange),replaceUrl:Ze(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"preserveQueryParams",set:function(t){Object(r.X)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ze(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ze(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(Ke),r.Nb(Rt),r.Nb(i.m))},t.\u0275dir=r.Ib({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.gc("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(r.Wb("href",e.href,r.Bc),r.Cb("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r.zb]}),t}();function Ze(t){return""===t||!!t}var $e=function(){var t=function(){function t(e,n,i,r,a,o){var s=this;Qe(this,t),this.router=e,this.element=n,this.renderer=i,this.cdr=r,this.link=a,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe((function(t){t instanceof L&&s.update()}))}
1return tn(t,[{key:"ngAfterContentInit",value:function(){var t=this;this.links.changes.subscribe((function(e){return t.update()})),this.linksWithHrefs.changes.subscribe((function(e){return t.update()})),this.update()}},{key:"ngOnChanges",value:function(t){this.update()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"update",value:function(){var t=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((function(){var e=t.hasActiveLinks();t.isActive!==e&&(t.isActive=e,t.cdr.markForCheck(),t.classes.forEach((function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)})))}))}},{key:"isLinkActive",value:function(t){var e=this;return function(n){return t.isActive(n.urlTree,e.routerLinkActiveOptions.exact)}}},{key:"hasActiveLinks",value:function(){var t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}},{key:"routerLinkActive",set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter((function(t){return!!t}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(Ke),r.Nb(r.l),r.Nb(r.G),r.Nb(r.h),r.Nb(Je,8),r.Nb(Ye,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var i;1&t&&(r.Gb(n,Je,!0),r.Gb(n,Ye,!0)),2&t&&(r.xc(i=r.hc())&&(e.links=i),r.xc(i=r.hc())&&(e.linksWithHrefs=i))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.zb]}),t}(),nn=function(){var t=function(){function t(e,n,i,a,o){Qe(this,t),this.parentContexts=e,this.location=n,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.o,this.deactivateEvents=new r.o,this.name=a||"primary",e.onChildOutletCreated(this.name,this)}
1return tn(t,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t}},{key:"attach",value:function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}},{key:"deactivate",value:function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}},{key:"activateWith",value:function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new an(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(Ve),r.Nb(r.R),r.Nb(r.j),r.dc("name"),r.Nb(r.h))},t.\u0275dir=r.Ib({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),an=function(){function t(e,n,i){Qe(this,t),this.route=e,this.childContexts=n,this.parent=i}
1return tn(t,[{key:"get",value:function(t,e){return t===Rt?this.route:t===Ve?this.childContexts:this.parent.get(t,e)}}]),t}(),sn=function t(){Qe(this,t)},cn=function(){function t(){Qe(this,t)}return tn(t,[{key:"preload",value:function(t,e){return Object(a.a)(null)}}]),t}(),un=function(){var t=function(){function t(e,n,i,r,a){Qe(this,t),this.router=e,this.injector=r,this.preloadingStrategy=a,this.loader=new Fe(n,i,(function(t){return e.triggerEvent(new V(t))}),(function(t){return e.triggerEvent(new U(t))}))}return tn(t,[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe(Object(T.a)((function(t){return t instanceof L})),Object(E.a)((function(){return t.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var t=this.injector.get(r.z);return this.processRoutes(t,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"processRoutes",value:function(t,e){var n,i=[],r=Ge(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var s=a._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else a.loadChildren&&!a.canLoad?i.push(this.preloadConfig(t,a)):a.children&&i.push(this.processRoutes(t,a.children))}}catch(c){r.e(c)}finally{r.f()}return Object(o.a)(i).pipe(Object(A.a)(),Object(p.a)((function(t){})))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,(function(){return n.loader.load(t.injector,e).pipe(Object(y.b)((function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)})))}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(Ke),r.cc(r.y),r.cc(r.i),r.cc(r.t),r.cc(sn))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t}(),ln=function(){var t=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Qe(this,t),this.router=e,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}
1return tn(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe((function(e){e instanceof R?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof L&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe((function(e){e instanceof X&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new X(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(Ke),r.cc(i.x),r.cc(void 0))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t}(),hn=new r.s("ROUTER_CONFIGURATION"),fn=new r.s("ROUTER_FORROOT_GUARD"),dn=[i.l,{provide:lt,useClass:ht},{provide:Ke,useFactory:function(t,e,n,r,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,h=new Ke(null,t,e,n,r,a,o,tt(s));if(u&&(h.urlHandlingStrategy=u),l&&(h.routeReuseStrategy=l),c.errorHandler&&(h.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(h.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){var f=Object(i.B)();h.events.subscribe((function(t){f.logGroup("Router Event: "+t.constructor.name),f.log(t.toString()),f.log(t),f.logGroupEnd()}))}return c.onSameUrlNavigation&&(h.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(h.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(h.relativeLinkResolution=c.relativeLinkResolution),h},deps:[lt,Ve,i.l,r.t,r.y,r.i,Be,hn,[function(){return function t(){Qe(this,t)}}(),new r.C],[function(){return function t(){Qe(this,t)}}(),new r.C]]},Ve,{provide:Rt,useFactory:function(t){return t.routerState.root},deps:[Ke]},{provide:r.y,useClass:r.M},un,cn,function(){function t(){Qe(this,t)}
1return tn(t,[{key:"preload",value:function(t,e){return e().pipe(Object(b.a)((function(){return Object(a.a)(null)})))}}]),t}(),{provide:hn,useValue:{enableTracing:!1}}];function pn(){return new r.A("Router",Ke)}var mn=function(){var t=function(){function t(e,n){Qe(this,t)}return tn(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[dn,yn(e),{provide:fn,useFactory:gn,deps:[[Ke,new r.C,new r.L]]},{provide:hn,useValue:n||{}},{provide:i.m,useFactory:bn,deps:[i.w,[new r.q(i.a),new r.C],hn]},{provide:ln,useFactory:vn,deps:[Ke,i.x,hn]},{provide:sn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:cn},{provide:r.A,multi:!0,useFactory:pn},[_n,{provide:r.d,multi:!0,useFactory:wn,deps:[_n]},{provide:Sn,useFactory:kn,deps:[_n]},{provide:r.b,multi:!0,useExisting:Sn}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[yn(e)]}}}]),t}();return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)(r.cc(fn,8),r.cc(Ke,8))}}),t}();function vn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new ln(t,e,n)}function bn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new i.h(t,e):new i.v(t,e)}function gn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function yn(t){return[{provide:r.a,multi:!0,useValue:t},{provide:Be,multi:!0,useValue:t}]}var _n=function(){var t=function(){function t(e){Qe(this,t),this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new d.a}
1return tn(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(i.k,Promise.resolve(null)).then((function(){var e=null,n=new Promise((function(t){return e=t})),i=t.injector.get(Ke),r=t.injector.get(hn);if(t.isLegacyDisabled(r)||t.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(r.initialNavigation,"'"));i.hooks.afterPreactivation=function(){return t.initNavigation?Object(a.a)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(hn),n=this.injector.get(un),i=this.injector.get(ln),a=this.injector.get(Ke),o=this.injector.get(r.g);t===o.components[0]&&(this.isLegacyEnabled(e)?a.initialNavigation():this.isLegacyDisabled(e)&&a.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),a.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}},{key:"isLegacyDisabled",value:function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(r.t))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t}();function wn(t){return t.appInitializer.bind(t)}function kn(t){return t.bootstrapListener.bind(t)}var Sn=new r.s("Router Initializer")},"tz+M":function(t,e,n){"use strict";var i=n("gK+I"),r=n("86MQ"),a=r.assert;function o(t,e){if(t instanceof o)return t;this._importDER(t,e)||(a(t.r&&t.s,"Signature without r or s"),this.r=new i(t.r,16),this.s=new i(t.s,16),this.recoveryParam=void 0===t.recoveryParam?null:t.recoveryParam)}function s(){this.place=0}function c(t,e){var n=t[e.place++];if(!(128&n))return n;var i=15&n;if(0===i||i>4)return!1;for(var r=0,a=0,o=e.place;a<i;a++,o++)r<<=8,r|=t[o],r>>>=0;return!(r<=127)&&(e.place=o,r)}function u(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e<n;)e++;return 0===e?t:t.slice(e)}function l(t,e){if(e<128)t.push(e);else{var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=o,o.prototype._importDER=function(t,e){t=r.toArray(t,e);var n=new s;if(48!==t[n.place++])return!1;var a=c(t,n);if(!1===a)return!1;if(a+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var o=c(t,n);if(!1===o)return!1;var u=t.slice(n.place,o+n.place);if(n.place+=o,2!==t[n.place++])return!1;var l=c(t,n);if(!1===l)return!1;if(t.length!==l+n.place)return!1;var h=t.slice(n.place,l+n.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new i(u),this.s=new i(h),this.recoveryParam=null,!0},o.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=u(e),n=u(n);!(n[0]||128&n[1]);)n=n.slice(1);var i=[2];l(i,e.length),(i=i.concat(e)).push(2),l(i,n.length);var a=i.concat(n),o=[48];return l(o,a.length),o=o.concat(a),r.encode(o,t)}},u0Sq:function(t,e,n){"use strict";var i=n("w8CP"),r=n("7ckf"),a=i.rotl32,o=i.sum32,s=i.sum32_3,c=i.sum32_4,u=r.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(t,e,n,i){return t<=15?e^n^i:t<=31?e&n|~e&i:t<=47?(e|~n)^i:t<=63?e&i|n&~i:e^(n|~i)}function f(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}i.inherits(l,u),e.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(t,e){for(var n=this.h[0],i=this.h[1],r=this.h[2],u=this.h[3],l=this.h[4],g=n,y=i,_=r,w=u,k=l,S=0;S<80;S++){var x=o(a(c(n,h(S,i,r,u),t[p[S]+e],f(S)),v[S]),l);n=l,l=u,u=a(r,10),r=i,i=x,x=o(a(c(g,h(79-S,y,_,w),t[m[S]+e],d(S)),b[S]),k),g=k,k=w,w=a(_,10),_=y,y=x}x=s(this.h[1],r,w),this.h[1]=s(this.h[2],u,k),this.h[2]=s(this.h[3],l,g),this.h[3]=s(this.h[4],n,y),this.h[4]=s(this.h[0],i,_),this.h[0]=x},l.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],v=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},u47x:function(t,e,n){"use strict";n.d(e,"a",(function(){return U})),n.d(e,"b",(function(){return S})),n.d(e,"c",(function(){return w})),n.d(e,"d",(function(){return P})),n.d(e,"e",(function(){return z})),n.d(e,"f",(function(){return A})),n.d(e,"g",(function(){return x})),n.d(e,"h",(function(){return B})),n.d(e,"i",(function(){return M})),n.d(e,"j",(function(){return V})),n.d(e,"k",(function(){return L})),n.d(e,"l",(function(){return j}));var i=n("ofXK"),r=n("fXoL"),a=n("nLfN"),o=n("XNiG"),s=n("quSY"),c=n("LRne"),u=n("FtGj"),l=n("vkgz"),h=n("Kj3r"),f=n("pLZG"),d=n("lJxs"),p=n("IzEk"),m=n("8LU1"),v=n("GU7r");function b(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var g=0,y=new Map,_=null,w=function(){var t=function(){function t(e,n){Qe(this,t),this._platform=n,this._document=e}
1return tn(t,[{key:"describe",value:function(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),y.set(e,{messageElement:e,referenceCount:0})):y.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}},{key:"removeDescription",value:function(t,e){if(e&&this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){var n=y.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e)}_&&0===_.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var t=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");_&&this._deleteMessagesContainer(),y.clear()}},{key:"_createMessageElement",value:function(t){var e=this._document.createElement("div");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),_.appendChild(e),y.set(t,{messageElement:e,referenceCount:0})}},{key:"_setMessageId",value:function(t){t.id||(t.id="cdk-describedby-message-"+g++)}},{key:"_deleteMessageElement",value:function(t){var e=y.get(t),n=e&&e.messageElement;_&&n&&_.removeChild(n),y.delete(t)}},{key:"_createMessagesContainer",value:function(){if(!_){var t=!this._platform||!this._platform.EDGE&&!this._platform.TRIDENT,e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode.removeChild(e),(_=this._document.createElement("div")).id="cdk-describedby-message-container",_.classList.add("cdk-visually-hidden"),_.setAttribute("aria-hidden",t+""),this._document.body.appendChild(_)}}},{key:"_deleteMessagesContainer",value:function(){_&&_.parentNode&&(_.parentNode.removeChild(_),_=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(t){var e=b(t,"aria-describedby").filter((function(t){return 0!=t.indexOf("cdk-describedby-message")}));t.setAttribute("aria-describedby",e.join(" "))}},{key:"_addMessageReference",value:function(t,e){var n,i,r,a,o=y.get(e);n=t,i="aria-describedby",r=o.messageElement.id,(a=b(n,i)).some((function(t){return t.trim()==r.trim()}))||(a.push(r.trim()),n.setAttribute(i,a.join(" "))),t.setAttribute("cdk-describedby-host",""),o.referenceCount++}},{key:"_removeMessageReference",value:function(t,e){var n,i,r,a,o=y.get(e);o.referenceCount--,n=t,i="aria-describedby",r=o.messageElement.id,(a=b(n,i).filter((function(t){return t!=r.trim()}))).length?n.setAttribute(i,a.join(" ")):n.removeAttribute(i),t.removeAttribute("cdk-describedby-host")}},{key:"_isElementDescribedByMessage",value:function(t,e){var n=b(t,"aria-describedby"),i=y.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}},{key:"_canBeDescribed",value:function(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;var n=null==e?"":(""+e).trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}},{key:"_isElementNode",value:function(t){return t.nodeType===this._document.ELEMENT_NODE}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(i.e),r.cc(a.a))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(i.e),Object(r.cc)(a.a))},token:t,providedIn:"root"}),t}(),k=function(){function t(e){var n=this;Qe(this,t),this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.a,this._typeaheadSubscription=s.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(t){return t.disabled},this._pressedLetters=[],this.tabOut=new o.a,this.change=new o.a,e instanceof r.F&&e.changes.subscribe((function(t){if(n._activeItem){var e=t.toArray().indexOf(n._activeItem);e>-1&&e!==n._activeItemIndex&&(n._activeItemIndex=e)}}))}
1return tn(t,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(this._items.length&&this._items.some((function(t){return"function"!=typeof t.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(l.a)((function(e){return t._pressedLetters.push(e)})),Object(h.a)(e),Object(f.a)((function(){return t._pressedLetters.length>0})),Object(d.a)((function(){return t._pressedLetters.join("")}))).subscribe((function(e){for(var n=t._getItemsArray(),i=1;i<n.length+1;i++){var r=(t._activeItemIndex+i)%n.length,a=n[r];if(!t._skipPredicateFn(a)&&0===a.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(r);break}}t._pressedLetters=[]})),this}},{key:"withHomeAndEnd",value:function(){return this._homeAndEnd=!0,this}},{key:"setActiveItem",value:function(t){var e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var e=this,n=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every((function(n){return!t[n]||e._allowedModifierKeys.indexOf(n)>-1}));switch(n){case u.o:return void this.tabOut.next();case u.d:if(this._vertical&&i){this.setNextItemActive();break}return;case u.p:if(this._vertical&&i){this.setPreviousItemActive();break}return;case u.m:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.i:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.h:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case u.e:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||Object(u.s)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=u.a&&n<=u.q||n>=u.r&&n<=u.j)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof r.F?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),t}(),S=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"setActiveItem",value:function(t){this.activeItem&&this.activeItem.setInactiveStyles(),Je(cn(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(k),x=function(t){en(n,t);var e=rn(n);function n(){var t;return Qe(this,n),(t=e.apply(this,arguments))._origin="program",t}return tn(n,[{key:"setFocusOrigin",value:function(t){return this._origin=t,this}},{key:"setActiveItem",value:function(t){Je(cn(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(k),C=function(){var t=function(){function t(e){Qe(this,t),this._platform=e}
1return tn(t,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(e){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){if(-1===E(n))return!1;if(!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),r=E(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||T(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(a.a))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(a.a))},token:t,providedIn:"root"}),t}();function T(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function E(t){if(!T(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var O=function(){function t(e,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];Qe(this,t),this._element=e,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}
1return tn(t,[{key:"destroy",value:function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.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)}},{key:"focusInitialElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], [cdkFocusRegion").concat(t,"], [cdk-focus-").concat(t,"]")),n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Object(r.X)()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!0):this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var t=this._getRegionBoundary("start");return t&&t.focus(),!!t}},{key:"focusLastTabbableElement",value:function(){var t=this._getRegionBoundary("end");return t&&t.focus(),!!t}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=0;n<e.length;n++){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_getLastTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=e.length-1;n>=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(t)}},{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}}]),t}(),M=function(){var t=function(){function t(e,n,i){Qe(this,t),this._checker=e,this._ngZone=n,this._document=i}
1return tn(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new O(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(C),r.cc(r.B),r.cc(i.e))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(C),Object(r.cc)(r.B),Object(r.cc)(i.e))},token:t,providedIn:"root"}),t}(),A=function(){var t=function(){function t(e,n,i){Qe(this,t),this._elementRef=e,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return tn(t,[{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(t){var e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}},{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=Object(m.c)(t)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(t){this._autoCapture=Object(m.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(M),r.Nb(i.e))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.zb]}),t}();"undefined"!=typeof Element&∈var I=new r.s("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),R=new r.s("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),L=function(){var t=function(){function t(e,n,i,r){Qe(this,t),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=e||this._createLiveElement()}
1return tn(t,[{key:"announce",value:function(t){for(var e,n,i,r=this,a=this._defaultOptions,o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];return 1===s.length&&"number"==typeof s[0]?i=s[0]:(n=(e=Ke(s,2))[0],i=e[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=a&&a.politeness?a.politeness:"polite"),null==i&&a&&(i=a.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular((function(){return new Promise((function(e){clearTimeout(r._previousTimeout),r._previousTimeout=setTimeout((function(){r._liveElement.textContent=t,e(),"number"==typeof i&&(r._previousTimeout=setTimeout((function(){return r.clear()}),i))}),100)}))}))}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(I,8),r.cc(r.B),r.cc(i.e),r.cc(R,8))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(I,8),Object(r.cc)(r.B),Object(r.cc)(i.e),Object(r.cc)(R,8))},token:t,providedIn:"root"}),t}(),P=function(){var t=function(){function t(e,n,i,r){Qe(this,t),this._elementRef=e,this._liveAnnouncer=n,this._contentObserver=i,this._ngZone=r,this._politeness="off"}
1return tn(t,[{key:"ngOnDestroy",value:function(){this._subscription&&this._subscription.unsubscribe()}},{key:"politeness",get:function(){return this._politeness},set:function(t){var e=this;this._politeness="polite"===t||"assertive"===t?t:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular((function(){return e._contentObserver.observe(e._elementRef).subscribe((function(){var t=e._elementRef.nativeElement.textContent;t!==e._previousAnnouncedText&&(e._liveAnnouncer.announce(t,e._politeness),e._previousAnnouncedText=t)}))})))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(L),r.Nb(v.b),r.Nb(r.B))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t}();function j(t){return 0===t.buttons}var D=new r.s("cdk-focus-monitor-default-options"),N=Object(a.f)({passive:!0,capture:!0}),B=function(){var t=function(){function t(e,n,i,r){var a=this;Qe(this,t),this._ngZone=e,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){a._lastTouchTarget=null,a._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(t){if(!a._lastTouchTarget){var e=j(t)?"keyboard":"mouse";a._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=function(t){null!=a._touchTimeoutId&&clearTimeout(a._touchTimeoutId),a._lastTouchTarget=F(t),a._touchTimeoutId=setTimeout((function(){return a._lastTouchTarget=null}),650)},this._windowFocusListener=function(){a._windowFocused=!0,a._windowFocusTimeoutId=setTimeout((function(){return a._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(t){for(var e=F(t),n="focus"===t.type?a._onFocus:a._onBlur,i=e;i;i=i.parentElement)n.call(a,t,i)},this._document=i,this._detectionMode=(null==r?void 0:r.detectionMode)||0}
1return tn(t,[{key:"monitor",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return Object(c.a)(null);var n=Object(m.e)(t),i=Object(a.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject.asObservable();var s={checkChildren:e,subject:new o.a,rootNode:i};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject.asObservable()}},{key:"stopMonitoring",value:function(t){var e=Object(m.e)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,e,n){var i=Object(m.e)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n)}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach((function(e,n){return t.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOriginForCurrentEventQueue",value:function(t){var e=this;this._ngZone.runOutsideAngular((function(){e._origin=t,0===e._detectionMode&&(e._originTimeoutId=setTimeout((function(){return e._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(t){var e=F(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===F(t))){var i=this._getFocusOrigin(t);this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run((function(){return t.next(e)}))}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,N),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,N)})),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var t=e._getDocument(),n=e._getWindow();t.addEventListener("keydown",e._documentKeydownListener,N),t.addEventListener("mousedown",e._documentMousedownListener,N),t.addEventListener("touchstart",e._documentTouchstartListener,N),n.addEventListener("focus",e._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,N),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,N),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,N),i.removeEventListener("mousedown",this._documentMousedownListener,N),i.removeEventListener("touchstart",this._documentTouchstartListener,N),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(r.B),r.cc(a.a),r.cc(i.e,8),r.cc(D,8))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(r.B),Object(r.cc)(a.a),Object(r.cc)(i.e,8),Object(r.cc)(D,8))},token:t,providedIn:"root"}),t}();function F(t){return t.composedPath?t.composedPath()[0]:t.target}var z=function(){var t=function(){function t(e,n){Qe(this,t),this._elementRef=e,this._focusMonitor=n,this.cdkFocusChange=new r.o}
1return tn(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(e){return t.cdkFocusChange.emit(e)}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(B))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t}(),V=function(){var t=function(){function t(e,n){Qe(this,t),this._platform=e,this._document=n}return tn(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");var e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.cc(a.a),r.cc(i.e))},t.\u0275prov=Object(r.Jb)({factory:function(){return new t(Object(r.cc)(a.a),Object(r.cc)(i.e))},token:t,providedIn:"root"}),t}(),U=function(){var t=function t(e){Qe(this,t),e._applyBodyHighContrastModeCssClasses()};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)(r.cc(V))},imports:[[a.b,v.c]]}),t}()},uDfV:function(t,e,n){var i=n("P7XM"),r=n("T9HO"),a=n("tnIz"),o=n("hwdV").Buffer,s=new Array(160);function c(){this.init(),this._w=s,a.call(this,128,112)}i(c,r),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var t=o.allocUnsafe(48);function e(e,n,i){t.writeInt32BE(e,i),t.writeInt32BE(n,i+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=c},uagp:function(t,e,n){"use strict";var i=n("gK+I"),r=n("aqI/"),a=n("86MQ"),o=n("DLvh"),s=n("/ayr"),c=a.assert,u=n("uzSA"),l=n("tz+M");function h(t){if(!(this instanceof h))return new h(t);"string"==typeof t&&(c(Object.prototype.hasOwnProperty.call(o,t),"Unknown curve "+t),t=o[t]),t instanceof o.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=h,h.prototype.keyPair=function(t){return new u(this,t)},h.prototype.keyFromPrivate=function(t,e){return u.fromPrivate(this,t,e)},h.prototype.keyFromPublic=function(t,e){return u.fromPublic(this,t,e)},h.prototype.genKeyPair=function(t){t||(t={});for(var e=new r({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||s(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new i(2));;){var o=new i(e.generate(n));if(!(o.cmp(a)>0))return o.iaddn(1),this.keyFromPrivate(o)}},h.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},h.prototype.sign=function(t,e,n,a){"object"==typeof n&&(a=n,n=null),a||(a={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new i(t,16));for(var o=this.n.byteLength(),s=e.getPrivate().toArray("be",o),c=t.toArray("be",o),u=new r({hash:this.hash,entropy:s,nonce:c,pers:a.pers,persEnc:a.persEnc||"utf8"}),h=this.n.sub(new i(1)),f=0;;f++){var d=a.k?a.k(f):new i(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(h)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var m=p.getX(),v=m.umod(this.n);if(0!==v.cmpn(0)){var b=d.invm(this.n).mul(v.mul(e.getPrivate()).iadd(t));if(0!==(b=b.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==m.cmp(v)?2:0);return a.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),g^=1),new l({r:v,s:b,recoveryParam:g})}}}}}},h.prototype.verify=function(t,e,n,r){t=this._truncateToN(new i(t,16)),n=this.keyFromPublic(n,r);var a=(e=new l(e,"hex")).r,o=e.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,c=o.invm(this.n),u=c.mul(t).umod(this.n),h=c.mul(a).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,n.getPublic(),h)).isInfinity()&&s.eqXToP(a):!(s=this.g.mulAdd(u,n.getPublic(),h)).isInfinity()&&0===s.getX().umod(this.n).cmp(a)},h.prototype.recoverPubKey=function(t,e,n,r){c((3&n)===n,"The recovery param is more than two bits"),e=new l(e,r);var a=this.n,o=new i(t),s=e.r,u=e.s,h=1&n,f=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");s=this.curve.pointFromX(f?s.add(this.curve.n):s,h);var d=e.r.invm(a),p=a.sub(o).mul(d).umod(a),m=u.mul(d).umod(a);return this.g.mulAdd(p,s,m)},h.prototype.getKeyRecoveryParam=function(t,e,n,i){if(null!==(e=new l(e,i)).recoveryParam)return e.recoveryParam;for(var r=0;r<4;r++){var a;try{a=this.recoverPubKey(t,e,r)}catch(t){continue}if(a.eq(n))return r}throw new Error("Unable to find valid recovery factor")}},"uki+":function(t,e,n){(function(n){var i,r;r=this,void 0===(i=(function(){return r.Chartist=function(){var t={version:"0.11.4"};return function(t,e){"use strict";
1var n=t.window,i=t.document;e.namespaces={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},e.noop=function(t){return t},e.alphaNumerate=function(t){return String.fromCharCode(97+t%26)},e.extend=function(t){var n,i,r;for(t=t||{},n=1;n<arguments.length;n++)for(var a in i=arguments[n])t[a]="object"!=typeof(r=i[a])||null===r||r instanceof Array?r:e.extend(t[a],r);return t},e.replaceAll=function(t,e,n){return t.replace(new RegExp(e,"g"),n)},e.ensureUnit=function(t,e){return"number"==typeof t&&(t+=e),t},e.quantity=function(t){if("string"==typeof t){var e=/^(\d+)\s*(.*)$/g.exec(t);return{value:+e[1],unit:e[2]||void 0}}return{value:t}},e.querySelector=function(t){return t instanceof Node?t:i.querySelector(t)},e.times=function(t){return Array.apply(null,new Array(t))},e.sum=function(t,e){return t+(e||0)},e.mapMultiply=function(t){return function(e){return e*t}},e.mapAdd=function(t){return function(e){return e+t}},e.serialMap=function(t,n){var i=[],r=Math.max.apply(null,t.map((function(t){return t.length})));return e.times(r).forEach((function(e,r){var a=t.map((function(t){return t[r]}));i[r]=n.apply(null,a)})),i},e.roundWithPrecision=function(t,n){var i=Math.pow(10,n||e.precision);return Math.round(t*i)/i},e.precision=8,e.escapingMap={"&":"&","<":"<",">":">",'"':""","'":"'"},e.serialize=function(t){return null==t?t:("number"==typeof t?t=""+t:"object"==typeof t&&(t=JSON.stringify({data:t})),Object.keys(e.escapingMap).reduce((function(t,n){return e.replaceAll(t,n,e.escapingMap[n])}),t))},e.deserialize=function(t){if("string"!=typeof t)return t;t=Object.keys(e.escapingMap).reduce((function(t,n){return e.replaceAll(t,e.escapingMap[n],n)}),t);try{t=void 0!==(t=JSON.parse(t)).data?t.data:t}catch(n){}return t},e.createSvg=function(t,n,i,r){var a;return n=n||"100%",i=i||"100%",Array.prototype.slice.call(t.querySelectorAll("svg")).filter((function(t){return t.getAttributeNS(e.namespaces.xmlns,"ct")})).forEach((function(e){t.removeChild(e)})),(a=new e.Svg("svg").attr({width:n,height:i}).addClass(r))._node.style.width=n,a._node.style.height=i,t.appendChild(a._node),a},e.normalizeData=function(t,n,i){var r,a={raw:t,normalized:{}};return a.normalized.series=e.getDataArray({series:t.series||[]},n,i),r=a.normalized.series.every((function(t){return t instanceof Array}))?Math.max.apply(null,a.normalized.series.map((function(t){return t.length}))):a.normalized.series.length,a.normalized.labels=(t.labels||[]).slice(),Array.prototype.push.apply(a.normalized.labels,e.times(Math.max(0,r-a.normalized.labels.length)).map((function(){return""}))),n&&e.reverseData(a.normalized),a},e.safeHasProperty=function(t,e){return null!==t&&"object"==typeof t&&t.hasOwnProperty(e)},e.isDataHoleValue=function(t){return null==t||"number"==typeof t&&isNaN(t)},e.reverseData=function(t){t.labels.reverse(),t.series.reverse();for(var e=0;e<t.series.length;e++)"object"==typeof t.series[e]&&void 0!==t.series[e].data?t.series[e].data.reverse():t.series[e]instanceof Array&&t.series[e].reverse()},e.getDataArray=function(t,n,i){return t.series.map((function t(n){if(e.safeHasProperty(n,"value"))return t(n.value);if(e.safeHasProperty(n,"data"))return t(n.data);if(n instanceof Array)return n.map(t);if(!e.isDataHoleValue(n)){if(i){var r={};return"string"==typeof i?r[i]=e.getNumberOrUndefined(n):r.y=e.getNumberOrUndefined(n),r.x=n.hasOwnProperty("x")?e.getNumberOrUndefined(n.x):r.x,r.y=n.hasOwnProperty("y")?e.getNumberOrUndefined(n.y):r.y,r}return e.getNumberOrUndefined(n)}}))},e.normalizePadding=function(t,e){return e=e||0,"number"==typeof t?{top:t,right:t,bottom:t,left:t}:{top:"number"==typeof t.top?t.top:e,right:"number"==typeof t.right?t.right:e,bottom:"number"==typeof t.bottom?t.bottom:e,left:"number"==typeof t.left?t.left:e}},e.getMetaData=function(t,e){var n=t.data?t.data[e]:t[e];return n?n.meta:void 0},e.orderOfMagnitude=function(t){return Math.floor(Math.log(Math.abs(t))/Math.LN10)},e.projectLength=function(t,e,n){return e/n.range*t},e.getAvailableHeight=function(t,n){return Math.max((e.quantity(n.height).value||t.height())-(n.chartPadding.top+n.chartPadding.bottom)-n.axisX.offset,0)},e.getHighLow=function(t,n,i){var r={high:void 0===(n=e.extend({},n,i?n["axis"+i.toUpperCase()]:{})).high?-Number.MAX_VALUE:+n.high,low:void 0===n.low?Number.MAX_VALUE:+n.low},a=void 0===n.high,o=void 0===n.low;return(a||o)&&function t(e){if(void 0!==e)if(e instanceof Array)for(var n=0;n<e.length;n++)t(e[n]);else{var s=i?+e[i]:+e;a&&s>r.high&&(r.high=s),o&&s<r.low&&(r.low=s)}}(t),(n.referenceValue||0===n.referenceValue)&&(r.high=Math.max(n.referenceValue,r.high),r.low=Math.min(n.referenceValue,r.low)),r.high<=r.low&&(0===r.low?r.high=1:r.low<0?r.high=0:(r.high>
10||(r.high=1),r.low=0)),r},e.isNumeric=function(t){return null!==t&&isFinite(t)},e.isFalseyButZero=function(t){return!t&&0!==t},e.getNumberOrUndefined=function(t){return e.isNumeric(t)?+t:void 0},e.isMultiValue=function(t){return"object"==typeof t&&("x"in t||"y"in t)},e.getMultiValue=function(t,n){return e.isMultiValue(t)?e.getNumberOrUndefined(t[n||"y"]):e.getNumberOrUndefined(t)},e.rho=function(t){if(1===t)return t;function e(t,n){return t%n==0?n:e(n,t%n)}function n(t){return t*t+1}var i,r=2,a=2;if(t%2==0)return 2;do{r=n(r)%t,a=n(n(a))%t,i=e(Math.abs(r-a),t)}while(1===i);return i},e.getBounds=function(t,n,i,r){var a,o,s,c=0,u={high:n.high,low:n.low};u.valueRange=u.high-u.low,u.oom=e.orderOfMagnitude(u.valueRange),u.step=Math.pow(10,u.oom),u.min=Math.floor(u.low/u.step)*u.step,u.max=Math.ceil(u.high/u.step)*u.step,u.range=u.max-u.min,u.numberOfSteps=Math.round(u.range/u.step);var l=e.projectLength(t,u.step,u)<i,h=r?e.rho(u.range):0;if(r&&e.projectLength(t,1,u)>=i)u.step=1;else if(r&&h<u.step&&e.projectLength(t,h,u)>=i)u.step=h;else for(;;){if(l&&e.projectLength(t,u.step,u)<=i)u.step*=2;else{if(l||!(e.projectLength(t,u.step/2,u)>=i))break;if(u.step/=2,r&&u.step%1!=0){u.step*=2;break}}if(c++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}function f(t,e){return t===(t+=e)&&(t*=1+(e>0?2221e-19:-2221e-19)),t}for(u.step=Math.max(u.step,2221e-19),o=u.min,s=u.max;o+u.step<=u.low;)o=f(o,u.step);for(;s-u.step>=u.high;)s=f(s,-u.step);u.min=o,u.max=s,u.range=u.max-u.min;var d=[];for(a=u.min;a<=u.max;a=f(a,u.step)){var p=e.roundWithPrecision(a);p!==d[d.length-1]&&d.push(p)}return u.values=d,u},e.polarToCartesian=function(t,e,n,i){var r=(i-90)*Math.PI/180;return{x:t+n*Math.cos(r),y:e+n*Math.sin(r)}},e.createChartRect=function(t,n,i){var r=!(!n.axisX&&!n.axisY),a=r?n.axisY.offset:0,o=r?n.axisX.offset:0,s=t.width()||e.quantity(n.width).value||0,c=t.height()||e.quantity(n.height).value||0,u=e.normalizePadding(n.chartPadding,i);s=Math.max(s,a+u.left+u.right),c=Math.max(c,o+u.top+u.bottom);var l={padding:u,width:function(){return this.x2-this.x1},height:function(){return this.y1-this.y2}};return r?("start"===n.axisX.position?(l.y2=u.top+o,l.y1=Math.max(c-u.bottom,l.y2+1)):(l.y2=u.top,l.y1=Math.max(c-u.bottom-o,l.y2+1)),"start"===n.axisY.position?(l.x1=u.left+a,l.x2=Math.max(s-u.right,l.x1+1)):(l.x1=u.left,l.x2=Math.max(s-u.right-a,l.x1+1))):(l.x1=u.left,l.x2=Math.max(s-u.right,l.x1+1),l.y2=u.top,l.y1=Math.max(c-u.bottom,l.y2+1)),l},e.createGrid=function(t,n,i,r,a,o,s,c){var u={};u[i.units.pos+"1"]=t,u[i.units.pos+"2"]=t,u[i.counterUnits.pos+"1"]=r,u[i.counterUnits.pos+"2"]=r+a;var l=o.elem("line",u,s.join(" "));c.emit("draw",e.extend({type:"grid",axis:i,index:n,group:o,element:l},u))},e.createGridBackground=function(t,e,n,i){var r=t.elem("rect",{x:e.x1,y:e.y2,width:e.width(),height:e.height()},n,!0);i.emit("draw",{type:"gridBackground",group:t,element:r})},e.createLabel=function(t,n,r,a,o,s,c,u,l,h,f){var d,p={};if(p[o.units.pos]=t+c[o.units.pos],p[o.counterUnits.pos]=c[o.counterUnits.pos],p[o.units.len]=n,p[o.counterUnits.len]=Math.max(0,s-10),h){var m=i.createElement("span");m.className=l.join(" "),m.setAttribute("xmlns",e.namespaces.xhtml),m.innerText=a[r],m.style[o.units.len]=Math.round(p[o.units.len])+"px",m.style[o.counterUnits.len]=Math.round(p[o.counterUnits.len])+"px",d=u.foreignObject(m,e.extend({style:"overflow: visible;"},p))}else d=u.elem("text",p,l.join(" ")).text(a[r]);f.emit("draw",e.extend({type:"label",axis:o,index:r,group:u,element:d,text:a[r]},p))},e.getSeriesOption=function(t,e,n){if(t.name&&e.series&&e.series[t.name]){var i=e.series[t.name];return i.hasOwnProperty(n)?i[n]:e[n]}return e[n]}
1,e.optionsProvider=function(t,i,r){var a,o,s=e.extend({},t),c=[];function u(t){var c=a;if(a=e.extend({},s),i)for(o=0;o<i.length;o++)n.matchMedia(i[o][0]).matches&&(a=e.extend(a,i[o][1]));r&&t&&r.emit("optionsChanged",{previousOptions:c,currentOptions:a})}if(!n.matchMedia)throw"window.matchMedia not found! Make sure you're using a polyfill.";if(i)for(o=0;o<i.length;o++){var l=n.matchMedia(i[o][0]);l.addListener(u),c.push(l)}return u(),{removeMediaQueryListeners:function(){c.forEach((function(t){t.removeListener(u)}))},getCurrentOptions:function(){return e.extend({},a)}}},e.splitIntoSegments=function(t,n,i){i=e.extend({},{increasingX:!1,fillHoles:!1},i);for(var r=[],a=!0,o=0;o<t.length;o+=2)void 0===e.getMultiValue(n[o/2].value)?i.fillHoles||(a=!0):(i.increasingX&&o>=2&&t[o]<=t[o-2]&&(a=!0),a&&(r.push({pathCoordinates:[],valueData:[]}),a=!1),r[r.length-1].pathCoordinates.push(t[o],t[o+1]),r[r.length-1].valueData.push(n[o/2]));return r}}(this||n,t),function(t,e){"use strict";e.Interpolation={},e.Interpolation.none=function(t){return t=e.extend({},{fillHoles:!1},t),function(n,i){for(var r=new e.Svg.Path,a=!0,o=0;o<n.length;o+=2){var s=n[o],c=n[o+1],u=i[o/2];void 0!==e.getMultiValue(u.value)?(a?r.move(s,c,!1,u):r.line(s,c,!1,u),a=!1):t.fillHoles||(a=!0)}return r}},e.Interpolation.simple=function(t){t=e.extend({},{divisor:2,fillHoles:!1},t);var n=1/Math.max(1,t.divisor);return function(i,r){for(var a,o,s,c=new e.Svg.Path,u=0;u<i.length;u+=2){var l=i[u],h=i[u+1],f=(l-a)*n,d=r[u/2];void 0!==d.value?(void 0===s?c.move(l,h,!1,d):c.curve(a+f,o,l-f,h,l,h,!1,d),a=l,o=h,s=d):t.fillHoles||(a=l=s=void 0)}return c}},e.Interpolation.cardinal=function(t){t=e.extend({},{tension:1,fillHoles:!1},t);var n=Math.min(1,Math.max(0,t.tension)),i=1-n;return function r(a,o){var s=e.splitIntoSegments(a,o,{fillHoles:t.fillHoles});if(s.length){if(s.length>1){var c=[];return s.forEach((function(t){c.push(r(t.pathCoordinates,t.valueData))})),e.Svg.Path.join(c)}if(o=s[0].valueData,(a=s[0].pathCoordinates).length<=4)return e.Interpolation.none()(a,o);for(var u=(new e.Svg.Path).move(a[0],a[1],!1,o[0]),l=0,h=a.length;h-2>l;l+=2){var f=[{x:+a[l-2],y:+a[l-1]},{x:+a[l],y:+a[l+1]},{x:+a[l+2],y:+a[l+3]},{x:+a[l+4],y:+a[l+5]}];h-4===l?f[3]=f[2]:l||(f[0]={x:+a[l],y:+a[l+1]}),u.curve(n*(6*f[1].x-f[0].x+f[2].x)/6+i*f[2].x,n*(6*f[1].y-f[0].y+f[2].y)/6+i*f[2].y,n*(f[1].x+6*f[2].x-f[3].x)/6+i*f[2].x,n*(f[1].y+6*f[2].y-f[3].y)/6+i*f[2].y,f[2].x,f[2].y,!1,o[(l+2)/2])}return u}return e.Interpolation.none()([])}},e.Interpolation.monotoneCubic=function(t){return t=e.extend({},{fillHoles:!1},t),function n(i,r){var a=e.splitIntoSegments(i,r,{fillHoles:t.fillHoles,increasingX:!0});if(a.length){if(a.length>1){var o=[];return a.forEach((function(t){o.push(n(t.pathCoordinates,t.valueData))})),e.Svg.Path.join(o)}if(r=a[0].valueData,(i=a[0].pathCoordinates).length<=4)return e.Interpolation.none()(i,r);var s,c,u=[],l=[],h=i.length/2,f=[],d=[],p=[],m=[];for(s=0;s<h;s++)u[s]=i[2*s],l[s]=i[2*s+1];for(s=0;s<h-1;s++)p[s]=l[s+1]-l[s],m[s]=u[s+1]-u[s],d[s]=p[s]/m[s];for(f[0]=d[0],f[h-1]=d[h-2],s=1;s<h-1;s++)0===d[s]||0===d[s-1]||d[s-1]>0!=d[s]>0?f[s]=0:(f[s]=3*(m[s-1]+m[s])/((2*m[s]+m[s-1])/d[s-1]+(m[s]+2*m[s-1])/d[s]),isFinite(f[s])||(f[s]=0));for(c=(new e.Svg.Path).move(u[0],l[0],!1,r[0]),s=0;s<h-1;s++)c.curve(u[s]+m[s]/3,l[s]+f[s]*m[s]/3,u[s+1]-m[s]/3,l[s+1]-f[s+1]*m[s]/3,u[s+1],l[s+1],!1,r[s+1]);return c}return e.Interpolation.none()([])}},e.Interpolation.step=function(t){return t=e.extend({},{postpone:!0,fillHoles:!1},t),function(n,i){for(var r,a,o,s=new e.Svg.Path,c=0;c<n.length;c+=2){var u=n[c],l=n[c+1],h=i[c/2];void 0!==h.value?(void 0===o?s.move(u,l,!1,h):(t.postpone?s.line(u,a,!1,o):s.line(r,l,!1,h),s.line(u,l,!1,h)),r=u,a=l,o=h):t.fillHoles||(r=a=o=void 0)}return s}}}(0,t),function(t,e){"use strict";e.EventEmitter=function(){var t=[];return{addEventHandler:function(e,n){t[e]=t[e]||[],t[e].push(n)},removeEventHandler:function(e,n){t[e]&&(n?(t[e].splice(t[e].indexOf(n),1),0===t[e].length&&delete t[e]):delete t[e])},emit:function(e,n){t[e]&&t[e].forEach((function(t){t(n)})),t["*"]&&t["*"].forEach((function(t){t(e,n)}))}}}}(0,t),function(t,e){"use strict";function n(t){var e=[];
1if(t.length)for(var n=0;n<t.length;n++)e.push(t[n]);return e}e.Class={extend:function(t,n){var i=n||this.prototype||e.Class,r=Object.create(i);e.Class.cloneDefinitions(r,t);var a=function(){var t,n=r.constructor||function(){};return t=this===e?Object.create(r):this,n.apply(t,Array.prototype.slice.call(arguments,0)),t};return a.prototype=r,a.super=i,a.extend=this.extend,a},cloneDefinitions:function(){var t=n(arguments),e=t[0];return t.splice(1,t.length-1).forEach((function(t){Object.getOwnPropertyNames(t).forEach((function(n){delete e[n],Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))})),e}}}(0,t),function(t,e){"use strict";var n=t.window;function i(){n.addEventListener("resize",this.resizeListener),this.optionsProvider=e.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.addEventHandler("optionsChanged",(function(){this.update()}).bind(this)),this.options.plugins&&this.options.plugins.forEach((function(t){t instanceof Array?t[0](this,t[1]):t(this)}).bind(this)),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=void 0}e.Base=e.Class.extend({constructor:function(t,n,r,a,o){this.container=e.querySelector(t),this.data=n||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.defaultOptions=r,this.options=a,this.responsiveOptions=o,this.eventEmitter=e.EventEmitter(),this.supportsForeignObject=e.Svg.isSupported("Extensibility"),this.supportsAnimations=e.Svg.isSupported("AnimationEventsAttribute"),this.resizeListener=(function(){this.update()}).bind(this),this.container&&(this.container.__chartist__&&this.container.__chartist__.detach(),this.container.__chartist__=this),this.initializeTimeoutId=setTimeout(i.bind(this),0)},optionsProvider:void 0,container:void 0,svg:void 0,eventEmitter:void 0,createChart:function(){throw new Error("Base chart type can't be instantiated!")},update:function(t,n,i){return t&&(this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),n&&(this.options=e.extend({},i?this.options:this.defaultOptions,n),this.initializeTimeoutId||(this.optionsProvider.removeMediaQueryListeners(),this.optionsProvider=e.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter))),this.initializeTimeoutId||this.createChart(this.optionsProvider.getCurrentOptions()),this},detach:function(){return this.initializeTimeoutId?n.clearTimeout(this.initializeTimeoutId):(n.removeEventListener("resize",this.resizeListener),this.optionsProvider.removeMediaQueryListeners()),this},on:function(t,e){return this.eventEmitter.addEventHandler(t,e),this},off:function(t,e){return this.eventEmitter.removeEventHandler(t,e),this},version:e.version,supportsForeignObject:!1})}(this||n,t),function(t,e){"use strict";var n=t.document;e.Svg=e.Class.extend({constructor:function(t,i,r,a,o){t instanceof Element?this._node=t:(this._node=n.createElementNS(e.namespaces.svg,t),"svg"===t&&this.attr({"xmlns:ct":e.namespaces.ct})),i&&this.attr(i),r&&this.addClass(r),a&&(o&&a._node.firstChild?a._node.insertBefore(this._node,a._node.firstChild):a._node.appendChild(this._node))},attr:function(t,n){return"string"==typeof t?n?this._node.getAttributeNS(n,t):this._node.getAttribute(t):(Object.keys(t).forEach((function(n){if(void 0!==t[n])if(-1!==n.indexOf(":")){var i=n.split(":");this._node.setAttributeNS(e.namespaces[i[0]],n,t[n])}else this._node.setAttribute(n,t[n])}).bind(this)),this)},elem:function(t,n,i,r){return new e.Svg(t,n,i,this,r)},parent:function(){return this._node.parentNode instanceof SVGElement?new e.Svg(this._node.parentNode):null},root:function(){for(var t=this._node;"svg"!==t.nodeName;)t=t.parentNode;return new e.Svg(t)},querySelector:function(t){var n=this._node.querySelector(t);return n?new e.Svg(n):null},querySelectorAll:function(t){var n=this._node.querySelectorAll(t);return n.length?new e.Svg.List(n):null},getNode:function(){return this._node},foreignObject:function(t,i,r,a){if("string"==typeof t){var o=n.createElement("div");o.innerHTML=t,t=o.firstChild}t.setAttribute("xmlns",e.namespaces.xmlns);var s=this.elem("foreignObject",i,r,a);return s._node.appendChild(t),s},text:function(t){return this._node.appendChild(n.createTextNode(t)),this},empty:function(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this},remove:function(){return this._node.parentNode.removeChild(this._node),this.parent()},replace:function(t){return this._node.parentNode.replaceChild(t._node,this._node),t},append:function(t,e){return e&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this},classes:function(){return this._node.getAttribute("class")?this._node.getAttribute("class").trim().split(/\s+/):[]},addClass:function(t){return this._node.setAttribute("class",this.classes(this._node).concat(t.trim().split(/\s+/)).filter((function(t,e,n){return n.indexOf(t)===e})).join(" ")),this},removeClass:function(t){var e=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes(this._node).filter((function(t){return-1===e.indexOf(t)})).join(" ")),this},removeAllClasses:function(){return this._node.setAttribute("class",""),this},height:function(){return this._node.getBoundingClientRect().height},width:function(){return this._node.getBoundingClientRect().width},animate:function(t,n,i){return void 0===n&&(n=!0),Object.keys(t).forEach((function(r){function a(t,n){var a,o,s,c={};t.easing&&(s=t.easing instanceof Array?t.easing:e.Svg.Easing[t.easing],delete t.easing),t.begin=e.ensureUnit(t.begin,"ms"),t.dur=e.ensureUnit(t.dur,"ms"),s&&(t.calcMode="spline",t.keySplines=s.join(" "),t.keyTimes="0;1"),n&&(t.fill="freeze",c[r]=t.from,this.attr(c),o=e.quantity(t.begin||0).value,t.begin="indefinite"),a=this.elem("animate",e.extend({attributeName:r},t)),n&&setTimeout((function(){try{a._node.beginElement()}catch(e){c[r]=t.to,this.attr(c),a.remove()}}).bind(this),o),i&&a._node.addEventListener("beginEvent",(function(){i.emit("animationBegin",{element:this,animate:a._node,params:t})}).bind(this)),a._node.addEventListener("endEvent",(function(){i&&i.emit("animationEnd",{element:this,animate:a._node,params:t}),n&&(c[r]=t.to,this.attr(c),a.remove())}).bind(this))}t[r]instanceof Array?t[r].forEach((function(t){a.bind(this)(t,!1)}).bind(this)):a.bind(this)(t[r],n)}).bind(this)),this}}),e.Svg.isSupported=function(t){return n.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#"+t,"1.1")},e.Svg.Easing={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]},e.Svg.List=e.Class.extend({constructor:function(t){var n=this;this.svgElements=[];for(var i=0;i<t.length;i++)this.svgElements.push(new e.Svg(t[i]));Object.keys(e.Svg.prototype).filter((function(t){return-1===["constructor","parent","querySelector","querySelectorAll","replace","append","classes","height","width"].indexOf(t)}
1)).forEach((function(t){n[t]=function(){var i=Array.prototype.slice.call(arguments,0);return n.svgElements.forEach((function(n){e.Svg.prototype[t].apply(n,i)})),n}}))}})}(this||n,t),function(t,e){"use strict";var n={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},i={accuracy:3};function r(t,n,i,r,a,o){var s=e.extend({command:a?t.toLowerCase():t.toUpperCase()},n,o?{data:o}:{});i.splice(r,0,s)}function a(t,e){t.forEach((function(i,r){n[i.command.toLowerCase()].forEach((function(n,a){e(i,n,r,a,t)}))}))}e.Svg.Path=e.Class.extend({constructor:function(t,n){this.pathElements=[],this.pos=0,this.close=t,this.options=e.extend({},i,n)},position:function(t){return void 0!==t?(this.pos=Math.max(0,Math.min(this.pathElements.length,t)),this):this.pos},remove:function(t){return this.pathElements.splice(this.pos,t),this},move:function(t,e,n,i){return r("M",{x:+t,y:+e},this.pathElements,this.pos++,n,i),this},line:function(t,e,n,i){return r("L",{x:+t,y:+e},this.pathElements,this.pos++,n,i),this},curve:function(t,e,n,i,a,o,s,c){return r("C",{x1:+t,y1:+e,x2:+n,y2:+i,x:+a,y:+o},this.pathElements,this.pos++,s,c),this},arc:function(t,e,n,i,a,o,s,c,u){return r("A",{rx:+t,ry:+e,xAr:+n,lAf:+i,sf:+a,x:+o,y:+s},this.pathElements,this.pos++,c,u),this},scale:function(t,e){return a(this.pathElements,(function(n,i){n[i]*="x"===i[0]?t:e})),this},translate:function(t,e){return a(this.pathElements,(function(n,i){n[i]+="x"===i[0]?t:e})),this},transform:function(t){return a(this.pathElements,(function(e,n,i,r,a){var o=t(e,n,i,r,a);(o||0===o)&&(e[n]=o)})),this},parse:function(t){var i=t.replace(/([A-Za-z])([0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce((function(t,e){return e.match(/[A-Za-z]/)&&t.push([]),t[t.length-1].push(e),t}),[]);"Z"===i[i.length-1][0].toUpperCase()&&i.pop();var r=i.map((function(t){var i=t.shift(),r=n[i.toLowerCase()];return e.extend({command:i},r.reduce((function(e,n,i){return e[n]=+t[i],e}),{}))})),a=[this.pos,0];return Array.prototype.push.apply(a,r),Array.prototype.splice.apply(this.pathElements,a),this.pos+=r.length,this},stringify:function(){var t=Math.pow(10,this.options.accuracy);return this.pathElements.reduce((function(e,i){var r=n[i.command.toLowerCase()].map((function(e){return this.options.accuracy?Math.round(i[e]*t)/t:i[e]}).bind(this));return e+i.command+r.join(",")}).bind(this),"")+(this.close?"Z":"")},clone:function(t){var n=new e.Svg.Path(t||this.close);return n.pos=this.pos,n.pathElements=this.pathElements.slice().map((function(t){return e.extend({},t)})),n.options=e.extend({},this.options),n},splitByCommand:function(t){var n=[new e.Svg.Path];return this.pathElements.forEach((function(i){i.command===t.toUpperCase()&&0!==n[n.length-1].pathElements.length&&n.push(new e.Svg.Path),n[n.length-1].pathElements.push(i)})),n}}),e.Svg.Path.elementDescriptions=n,e.Svg.Path.join=function(t,n,i){for(var r=new e.Svg.Path(n,i),a=0;a<t.length;a++)for(var o=t[a],s=0;s<o.pathElements.length;s++)r.pathElements.push(o.pathElements[s]);return r}}(0,t),function(t,e){"use strict";var n={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}};e.Axis=e.Class.extend({constructor:function(t,e,i,r){this.units=t,this.counterUnits=t===n.x?n.y:n.x,this.chartRect=e,this.axisLength=e[t.rectEnd]-e[t.rectStart],this.gridOffset=e[t.rectOffset],this.ticks=i,this.options=r},createGridAndLabels:function(t,n,i,r,a){var o=r["axis"+this.units.pos.toUpperCase()],s=this.ticks.map(this.projectValue.bind(this)),c=this.ticks.map(o.labelInterpolationFnc);s.forEach((function(u,l){var h,f={x:0,y:0};h=s[l+1]?s[l+1]-u:Math.max(this.axisLength-u,30),e.isFalseyButZero(c[l])&&""!==c[l]||("x"===this.units.pos?(u=this.chartRect.x1+u,f.x=r.axisX.labelOffset.x,f.y="start"===r.axisX.position?this.chartRect.padding.top+r.axisX.labelOffset.y+(i?5:20):this.chartRect.y1+r.axisX.labelOffset.y+(i?5:20)):(u=this.chartRect.y1-u,f.y=r.axisY.labelOffset.y-(i?h:0),f.x="start"===r.axisY.position?i?this.chartRect.padding.left+r.axisY.labelOffset.x:this.chartRect.x1-10:this.chartRect.x2+r.axisY.labelOffset.x+10),o.showGrid&&e.createGrid(u,l,this,this.gridOffset,this.chartRect[this.counterUnits.len](),t,[r.classNames.grid,r.classNames[this.units.dir]],a),o.showLabel&&e.createLabel(u,h,l,c,this,o.offset,f,n,[r.classNames.label,r.classNames[this.units.dir],"start"===o.position?r.classNames[o.position]:r.classNames.end],i,a))}).bind(this))}
1,projectValue:function(t,e,n){throw new Error("Base axis can't be instantiated!")}}),e.Axis.units=n}(0,t),function(t,e){"use strict";e.AutoScaleAxis=e.Axis.extend({constructor:function(t,n,i,r){var a=r.highLow||e.getHighLow(n,r,t.pos);this.bounds=e.getBounds(i[t.rectEnd]-i[t.rectStart],a,r.scaleMinSpace||20,r.onlyInteger),this.range={min:this.bounds.min,max:this.bounds.max},e.AutoScaleAxis.super.constructor.call(this,t,i,this.bounds.values,r)},projectValue:function(t){return this.axisLength*(+e.getMultiValue(t,this.units.pos)-this.bounds.min)/this.bounds.range}})}(0,t),function(t,e){"use strict";e.FixedScaleAxis=e.Axis.extend({constructor:function(t,n,i,r){var a=r.highLow||e.getHighLow(n,r,t.pos);this.divisor=r.divisor||1,this.ticks=r.ticks||e.times(this.divisor).map((function(t,e){return a.low+(a.high-a.low)/this.divisor*e}).bind(this)),this.ticks.sort((function(t,e){return t-e})),this.range={min:a.low,max:a.high},e.FixedScaleAxis.super.constructor.call(this,t,i,this.ticks,r),this.stepLength=this.axisLength/this.divisor},projectValue:function(t){return this.axisLength*(+e.getMultiValue(t,this.units.pos)-this.range.min)/(this.range.max-this.range.min)}})}(0,t),function(t,e){"use strict";e.StepAxis=e.Axis.extend({constructor:function(t,n,i,r){e.StepAxis.super.constructor.call(this,t,i,r.ticks,r);var a=Math.max(1,r.ticks.length-(r.stretch?1:0));this.stepLength=this.axisLength/a},projectValue:function(t,e){return this.stepLength*e}})}(0,t),function(t,e){"use strict";var n={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:e.noop,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:e.noop,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};e.Line=e.Base.extend({constructor:function(t,i,r,a){e.Line.super.constructor.call(this,t,i,n,e.extend({},n,r),a)},createChart:function(t){var i=e.normalizeData(this.data,t.reverseData,!0);this.svg=e.createSvg(this.container,t.width,t.height,t.classNames.chart);var r,a,o=this.svg.elem("g").addClass(t.classNames.gridGroup),s=this.svg.elem("g"),c=this.svg.elem("g").addClass(t.classNames.labelGroup),u=e.createChartRect(this.svg,t,n.padding);r=void 0===t.axisX.type?new e.StepAxis(e.Axis.units.x,i.normalized.series,u,e.extend({},t.axisX,{ticks:i.normalized.labels,stretch:t.fullWidth})):t.axisX.type.call(e,e.Axis.units.x,i.normalized.series,u,t.axisX),a=void 0===t.axisY.type?new e.AutoScaleAxis(e.Axis.units.y,i.normalized.series,u,e.extend({},t.axisY,{high:e.isNumeric(t.high)?t.high:t.axisY.high,low:e.isNumeric(t.low)?t.low:t.axisY.low})):t.axisY.type.call(e,e.Axis.units.y,i.normalized.series,u,t.axisY),r.createGridAndLabels(o,c,this.supportsForeignObject,t,this.eventEmitter),a.createGridAndLabels(o,c,this.supportsForeignObject,t,this.eventEmitter),t.showGridBackground&&e.createGridBackground(o,u,t.classNames.gridBackground,this.eventEmitter),i.raw.series.forEach((function(n,o){var c=s.elem("g");c.attr({"ct:series-name":n.name,"ct:meta":e.serialize(n.meta)}),c.addClass([t.classNames.series,n.className||t.classNames.series+"-"+e.alphaNumerate(o)].join(" "));var l=[],h=[];i.normalized.series[o].forEach((function(t,s){var c={x:u.x1+r.projectValue(t,s,i.normalized.series[o]),y:u.y1-a.project
1Value(t,s,i.normalized.series[o])};l.push(c.x,c.y),h.push({value:t,valueIndex:s,meta:e.getMetaData(n,s)})}).bind(this));var f={lineSmooth:e.getSeriesOption(n,t,"lineSmooth"),showPoint:e.getSeriesOption(n,t,"showPoint"),showLine:e.getSeriesOption(n,t,"showLine"),showArea:e.getSeriesOption(n,t,"showArea"),areaBase:e.getSeriesOption(n,t,"areaBase")},d=("function"==typeof f.lineSmooth?f.lineSmooth:f.lineSmooth?e.Interpolation.monotoneCubic():e.Interpolation.none())(l,h);if(f.showPoint&&d.pathElements.forEach((function(i){var s=c.elem("line",{x1:i.x,y1:i.y,x2:i.x+.01,y2:i.y},t.classNames.point).attr({"ct:value":[i.data.value.x,i.data.value.y].filter(e.isNumeric).join(","),"ct:meta":e.serialize(i.data.meta)});this.eventEmitter.emit("draw",{type:"point",value:i.data.value,index:i.data.valueIndex,meta:i.data.meta,series:n,seriesIndex:o,axisX:r,axisY:a,group:c,element:s,x:i.x,y:i.y})}).bind(this)),f.showLine){var p=c.elem("path",{d:d.stringify()},t.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:i.normalized.series[o],path:d.clone(),chartRect:u,index:o,series:n,seriesIndex:o,seriesMeta:n.meta,axisX:r,axisY:a,group:c,element:p})}if(f.showArea&&a.range){var m=Math.max(Math.min(f.areaBase,a.range.max),a.range.min),v=u.y1-a.project
1Value(m);d.splitByCommand("M").filter((function(t){return t.pathElements.length>1})).map((function(t){var e=t.pathElements[0],n=t.pathElements[t.pathElements.length-1];return t.clone(!0).position(0).remove(1).move(e.x,v).line(e.x,e.y).position(t.pathElements.length+1).line(n.x,v)})).forEach((function(e){var s=c.elem("path",{d:e.stringify()},t.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:i.normalized.series[o],path:e.clone(),series:n,seriesIndex:o,axisX:r,axisY:a,chartRect:u,index:o,group:c,element:s})}).bind(this))}}).bind(this)),this.eventEmitter.emit("created",{bounds:a.bounds,chartRect:u,axisX:r,axisY:a,svg:this.svg,options:t})}})}(0,t),function(t,e){"use strict";var n={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:e.noop,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:e.noop,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};e.Bar=e.Base.extend({constructor:function(t,i,r,a){e.Bar.super.constructor.call(this,t,i,n,e.extend({},n,r),a)},createChart:function(t){var i,r;t.distributeSeries?(i=e.normalizeData(this.data,t.reverseData,t.horizontalBars?"x":"y")).normalized.series=i.normalized.series.map((function(t){return[t]})):i=e.normalizeData(this.data,t.reverseData,t.horizontalBars?"x":"y"),this.svg=e.createSvg(this.container,t.width,t.height,t.classNames.chart+(t.horizontalBars?" "+t.classNames.horizontalBars:""));var a=this.svg.elem("g").addClass(t.classNames.gridGroup),o=this.svg.elem("g"),s=this.svg.elem("g").addClass(t.classNames.labelGroup);if(t.stackBars&&0!==i.normalized.series.length){var c=e.serialMap(i.normalized.series,(function(){return Array.prototype.slice.call(arguments).map((function(t){return t})).reduce((function(t,e){return{x:t.x+(e&&e.x)||0,y:t.y+(e&&e.y)||0}}),{x:0,y:0})}));r=e.getHighLow([c],t,t.horizontalBars?"x":"y")}else r=e.getHighLow(i.normalized.series,t,t.horizontalBars?"x":"y");r.high=+t.high||(0===t.high?0:r.high),r.low=+t.low||(0===t.low?0:r.low);var u,l,h,f,d,p=e.createChartRect(this.svg,t,n.padding);l=t.distributeSeries&&t.stackBars?i.normalized.labels.slice(0,1):i.normalized.labels,t.horizontalBars?(u=f=void 0===t.axisX.type?new e.AutoScaleAxis(e.Axis.units.x,i.normalized.series,p,e.extend({},t.axisX,{highLow:r,referenceValue:0})):t.axisX.type.call(e,e.Axis.units.x,i.normalized.series,p,e.extend({},t.axisX,{highLow:r,referenceValue:0})),h=d=void 0===t.axisY.type?new e.StepAxis(e.Axis.units.y,i.normalized.series,p,{ticks:l}):t.axisY.type.call(e,e.Axis.units.y,i.normalized.series,p,t.axisY)):(h=f=void 0===t.axisX.type?new e.StepAxis(e.Axis.units.x,i.normalized.series,p,{ticks:l}):t.axisX.type.call(e,e.Axis.units.x,i.normalized.series,p,t.axisX),u=d=void 0===t.axisY.type?new e.AutoScaleAxis(e.Axis.units.y,i.normalized.series,p,e.extend({},t.axisY,{highLow:r,referenceValue:0})):t.axisY.type.call(e,e.Axis.units.y,i.normalized.series,p,e.extend({},t.axisY,{highLow:r,referenceValue:0})));var m=t.horizontalBars?p.x1+u.projectValue(0):p.y1-u.projectValue(0),v=[];h.createGridAndLabels(a,s,this.supportsForeignObject,t,this.eventEmitter),u.createGridAndLabels(a,s,this.supportsForeignObject,t,this.eventEmitter),t.showGridBackground&&e.createGridBackground(a,p,t.classNames.gridBackground,this.eventEmitter),i.raw.series.forEach((function(n,r){var a,s,c=r-(i.raw.series.length-1)/2;a=t.distributeSeries&&!t.stackBars?h.axisLength/i.normalized.series.length/2:t.distributeSeries&&t.stackBars?h.axisLength/2:h.axisLength/i.normalized.series[r].length/2,(s=o.elem("g")).attr({"ct:series-name":n.name,"ct:meta":e.serialize(n.meta)}),s.addClass([t.classNames.series,n.className||t.classNames.series+"-"+e.alphaNumerate(r)].join(" ")),i.normalized.series[r].forEach((function(o,l){var b,g,y,_;if(_=t.distributeSeries&&!t.stackBars?r:t.distributeSeries&&t.stackBars?0:l,b=t.horizontalBars?{x:p.x1+u.projectValue(o&&o.x?o.x:0,l,i.normalized.series[r]),y:p.y1-h.project
1Value(o&&o.y?o.y:0,_,i.normalized.series[r])}:{x:p.x1+h.projectValue(o&&o.x?o.x:0,_,i.normalized.series[r]),y:p.y1-u.projectValue(o&&o.y?o.y:0,l,i.normalized.series[r])},h instanceof e.StepAxis&&(h.options.stretch||(b[h.units.pos]+=a*(t.horizontalBars?-1:1)),b[h.units.pos]+=t.stackBars||t.distributeSeries?0:c*t.seriesBarDistance*(t.horizontalBars?-1:1)),v[l]=(y=v[l]||m)-(m-b[h.counterUnits.pos]),void 0!==o){var w={};w[h.units.pos+"1"]=b[h.units.pos],w[h.units.pos+"2"]=b[h.units.pos],!t.stackBars||"accumulate"!==t.stackMode&&t.stackMode?(w[h.counterUnits.pos+"1"]=m,w[h.counterUnits.pos+"2"]=b[h.counterUnits.pos]):(w[h.counterUnits.pos+"1"]=y,w[h.counterUnits.pos+"2"]=v[l]),w.x1=Math.min(Math.max(w.x1,p.x1),p.x2),w.x2=Math.min(Math.max(w.x2,p.x1),p.x2),w.y1=Math.min(Math.max(w.y1,p.y2),p.y1),w.y2=Math.min(Math.max(w.y2,p.y2),p.y1);var k=e.getMetaData(n,l);g=s.elem("line",w,t.classNames.bar).attr({"ct:value":[o.x,o.y].filter(e.isNumeric).join(","),"ct:meta":e.serialize(k)}),this.eventEmitter.emit("draw",e.extend({type:"bar",value:o,index:l,meta:k,series:n,seriesIndex:r,axisX:f,axisY:d,chartRect:p,group:s,element:g},w))}}).bind(this))}).bind(this)),this.eventEmitter.emit("created",{bounds:u.bounds,chartRect:p,axisX:f,axisY:d,svg:this.svg,options:t})}})}(0,t),function(t,e){"use strict";var n={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",sliceDonutSolid:"ct-slice-donut-solid",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutSolid:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:e.noop,labelDirection:"neutral",reverseData:!1,ignoreEmptyValues:!1};function i(t,e,n){var i=e.x>t.x;return i&&"explode"===n||!i&&"implode"===n?"start":i&&"implode"===n||!i&&"explode"===n?"end":"middle"}e.Pie=e.Base.extend({constructor:function(t,i,r,a){e.Pie.super.constructor.call(this,t,i,n,e.extend({},n,r),a)},createChart:function(t){var r,a,o,s,c,u=e.normalizeData(this.data),l=[],h=t.startAngle;this.svg=e.createSvg(this.container,t.width,t.height,t.donut?t.classNames.chartDonut:t.classNames.chartPie),a=e.createChartRect(this.svg,t,n.padding),o=Math.min(a.width()/2,a.height()/2),c=t.total||u.normalized.series.reduce((function(t,e){return t+e}),0);var f=e.quantity(t.donutWidth);"%"===f.unit&&(f.value*=o/100),o-=t.donut&&!t.donutSolid?f.value/2:0,s="outside"===t.labelPosition||t.donut&&!t.donutSolid?o:"center"===t.labelPosition?0:t.donutSolid?o-f.value/2:o/2,s+=t.labelOffset;var d={x:a.x1+a.width()/2,y:a.y2+a.height()/2},p=1===u.raw.series.filter((function(t){return t.hasOwnProperty("value")?0!==t.value:0!==t})).length;u.raw.series.forEach((function(t,e){l[e]=this.svg.elem("g",null,null)}).bind(this)),t.showLabel&&(r=this.svg.elem("g",null,null)),u.raw.series.forEach((function(n,a){if(0!==u.normalized.series[a]||!t.ignoreEmptyValues){l[a].attr({"ct:series-name":n.name}),l[a].addClass([t.classNames.series,n.className||t.classNames.series+"-"+e.alphaNumerate(a)].join(" "));var m=c>0?h+u.normalized.series[a]/c*360:0,v=Math.max(0,h-(0===a||p?0:.2));m-v>=359.99&&(m=v+359.99);var b,g,y,_=e.polarToCartesian(d.x,d.y,o,v),w=e.polarToCartesian(d.x,d.y,o,m),k=new e.Svg.Path(!t.donut||t.donutSolid).move(w.x,w.y).arc(o,o,0,m-h>180,0,_.x,_.y);t.donut?t.donutSolid&&(b=e.polarToCartesian(d.x,d.y,y=o-f.value,h-(0===a||p?0:.2)),g=e.polarToCartesian(d.x,d.y,y,m),k.line(b.x,b.y),k.arc(y,y,0,m-h>180,1,g.x,g.y)):k.line(d.x,d.y);var S=t.classNames.slicePie;t.donut&&(S=t.classNames.sliceDonut,t.donutSolid&&(S=t.classNames.sliceDonutSolid));var x=l[a].elem("path",{d:k.stringify()},S);if(x.attr({"ct:value":u.normalized.series[a],"ct:meta":e.serialize(n.meta)}),t.donut&&!t.donutSolid&&(x._node.style.strokeWidth=f.value+"px"),this.eventEmitter.emit("draw",{type:"slice",value:u.normalized.series[a],totalDataSum:c,index:a,meta:n.meta,series:n,group:l[a],element:x,path:k.clone(),center:d,radius:o,startAngle:h,endAngle:m}),t.showLabel){var C,T;C=1===u.raw.series.length?{x:d.x,y:d.y}:e.polarToCartesian(d.x,d.y,s,h+(m-h)/2),T=u.normalized.labels&&!e.isFalseyButZero(u.normalized.labels[a])?u.normalized.labels[a]:u.normalized.series[a];var E=t.labelInterpolationFnc(T,a);if(E||0===E){var O=r.elem("text",{dx:C.x,dy:C.y,"text-anchor":i(d,C,t.labelDirection)},t.classNames.label).text(""+E);this.eventEmitter.emit("draw",{type:"label",index:a,group:r,element:O,text:""+E,x:C.x,y:C.y})}}h=m}}).bind(this)),this.eventEmitter.emit("created",{chartRect:a,svg:this.svg,options:t})},determineAnchorPosition:i})}(0,t),t}()}).apply(e,[]))||(t.exports=i)}).call(this,n("yLpj"))},usKN:function(t,e,n){var i={ECB:n("AUX7"),CBC:n("wRn4"),CFB:n("NQVK"),CFB8:n("YskG"),CF
1B1:n("Ujlg"),OFB:n("UWVS"),CTR:n("at63"),GCM:n("at63")},r=n("6F8h");for(var a in r)r[a].module=i[r[a].mode];t.exports=r},uzSA:function(t,e,n){"use strict";var i=n("gK+I"),r=n("86MQ").assert;function a(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=a,a.fromPublic=function(t,e,n){return e instanceof a?e:new a(t,{pub:e,pubEnc:n})},a.fromPrivate=function(t,e,n){return e instanceof a?e:new a(t,{priv:e,privEnc:n})},a.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},a.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(t,e){this.priv=new i(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?r(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||r(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},a.prototype.derive=function(t){return t.validate()||r(t.validate(),"public point not validated"),t.mul(this.priv).getX()},a.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},a.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},vZ2G:function(t,e){t.exports=function(t){for(var e,n=t.length;n--;){if(255!==(e=t.readUInt8(n))){e++,t.writeUInt8(e,n);break}t.writeUInt8(0,n)}}},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("7o/Q"),r=n("KqfI"),a=n("n6bG");function o(t,e,n){return function(i){return i.lift(new s(t,e,n))}}var s=function(){function t(e,n,i){Qe(this,t),this.nextOrObserver=e,this.error=n,this.complete=i}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),c=function(t){en(n,t);var e=rn(n);function n(t,i,o,s){var c;return Qe(this,n),(c=e.call(this,t))._tapNext=r.a,c._tapError=r.a,c._tapComplete=r.a,c._tapError=o||r.a,c._tapComplete=s||r.a,Object(a.a)(i)?(c._context=on(c),c._tapNext=i):i&&(c._context=i,c._tapNext=i.next||r.a,c._tapError=i.error||r.a,c._tapComplete=i.complete||r.a),c}return tn(n,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),n}(i.a)},vxfF:function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return g})),n.d(e,"e",(function(){return v})),n("8LU1");var i=n("fXoL"),r=n("XNiG"),a=n("LRne"),o=n("HDdC"),s=n("xgIS"),c=(n("eNwd"),n("7Hc7"),n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),u=n("pLZG"),l=n("1G5W"),h=(n("JX91"),n("Zy1z"),n("eIep"),n("UXun"),n("nLfN")),f=n("ofXK"),d=n("cH1L");n("0EQZ");var p=function(){var t=function(){function t(e,n,i){Qe(this,t),this._ngZone=e,this._platform=n,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}
1return tn(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new o.a((function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe(Object(c.a)(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):Object(a.a)()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(u.a)((function(t){return!t||n.indexOf(t)>-1})))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach((function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){var e=t._getWindow();return Object(s.a)(e.document,"scroll").subscribe((function(){return t._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(i.B),i.cc(h.a),i.cc(f.e,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.cc)(i.B),Object(i.cc)(h.a),Object(i.cc)(f.e,8))},token:t,providedIn:"root"}),t}(),m=function(){var t=function(){function t(e,n,i,a){var c=this;Qe(this,t),this.elementRef=e,this.scrollDispatcher=n,this.ngZone=i,this.dir=a,this._destroyed=new r.a,this._elementScrolled=new o.a((function(t){return c.ngZone.runOutsideAngular((function(){return Object(s.a)(c.elementRef.nativeElement,"scroll").pipe(Object(l.a)(c._destroyed)).subscribe(t)}))}))}
1return tn(t,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(h.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(h.d)()?t.left=t.right:1==Object(h.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}},{key:"_applyScrollToOptions",value:function(t){var e=this.elementRef.nativeElement;Object(h.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}},{key:"measureScrollOffset",value:function(t){var e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==Object(h.d)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Object(h.d)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(p),i.Nb(i.B),i.Nb(d.b,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t}(),v=function(){var t=function(){function t(e,n,i){var a=this;Qe(this,t),this._platform=e,this._change=new r.a,this._changeListener=function(t){a._change.next(t)},this._document=i,n.runOutsideAngular((function(){if(e.isBrowser){var t=a._getWindow();t.addEventListener("resize",a._changeListener),t.addEventListener("orientationchange",a._changeListener)}a.change().subscribe((function(){return a._updateViewportSize()}))}))}
1return tn(t,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._getDocument(),e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(Object(c.a)(t)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.cc(h.a),i.cc(i.B),i.cc(f.e,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.cc)(h.a),Object(i.cc)(i.B),Object(i.cc)(f.e,8))},token:t,providedIn:"root"}),t}(),b=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t}(),g=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[d.a,h.b,b],d.a,b]}),t}()},w1tV:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("oB13"),r=n("x+ZX"),a=n("XNiG");function o(){return new a.a}function s(){return function(t){return Object(r.a)()(Object(i.a)(o)(t))}}},w8CP:function(t,e,n){"use strict";var i=n("2j6C"),r=n("P7XM");function a(t,e){return 55296==(64512&t.charCodeAt(e))&&!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1))}function o(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=r,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),r=0;r<t.length;r+=2)n.push(parseInt(t[r]+t[r+1],16))}else for(var i=0,r=0;r<t.length;r++){var o=t.charCodeAt(r);o<128?n[i++]=o:o<2048?(n[i++]=o>>6|192,n[i++]=63&o|128):a(t,r)?(o=65536+((1023&o)<<10)+(1023&t.charCodeAt(++r)),n[i++]=o>>18|240,n[i++]=o>>12&63|128,n[i++]=o>>6&63|128,n[i++]=63&o|128):(n[i++]=o>>12|224,n[i++]=o>>6&63|128,n[i++]=63&o|128)}else for(r=0;r<t.length;r++)n[r]=0|t[r];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=s(t[n].toString(16));return e},e.htonl=o,e.toHex32=function(t,e){for(var n="",i=0;i<t.length;i++){var r=t[i];"little"===e&&(r=o(r)),n+=c(r.toString(16))}return n},e.zero2=s,e.zero8=c,e.join32=function(t,e,n,r){var a=n-e;i(a%4==0);for(var o=new Array(a/4),s=0,c=e;s<o.length;s++,c+=4)o[s]=("big"===r?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c])>>>0;return o},e.split32=function(t,e){for(var n=new Array(4*t.length),i=0,r=0;i<t.length;i++,r+=4){var a=t[i];"big"===e?(n[r]=a>>>24,n[r+1]=a>>>16&255,n[r+2]=a>>>8&255,n[r+3]=255&a):(n[r+3]=a>>>24,n[r+2]=a>>>16&255,n[r+1]=a>>>8&255,n[r]=255&a)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,i){return t+e+n+i>>>0},e.sum32_5=function(t,e,n,i,r){return t+e+n+i+r>>>0},e.sum64=function(t,e,n,i){var r=i+t[e+1]>>>0;t[e]=(r<i?1:0)+n+t[e]>>>0,t[e+1]=r},e.sum64_hi=function(t,e,n,i){return(e+i>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,i){return e+i>>>0},e.sum64_4_hi=function(t,e,n,i,r,a,o,s){var c=0,u=e;return c+=(u=u+i>>>0)<e?1:0,c+=(u=u+a>>>0)<a?1:0,t+n+r+o+(c+=(u=u+s>>>0)<s?1:0)>>>0},e.sum64_4_lo=function(t,e,n,i,r,a,o,s){return e+i+a+s>>>0},e.sum64_5_hi=function(t,e,n,i,r,a,o,s,c,u){var l=0,h=e;return l+=(h=h+i>>>0)<e?1:0,l+=(h=h+a>>>0)<a?1:0,l+=(h=h+s>>>0)<s?1:0,t+n+r+o+c+(l+=(h=h+u>>>0)<u?1:0)>>>0},e.sum64_5_lo=function(t,e,n,i,r,a,o,s,c,u){return e+i+a+s+u>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},wRn4:function(t,e,n){var i=n("jIre");e.encrypt=function(t,e){var n=i(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev},e.decrypt=function(t,e){var n=t._prev;t._prev=e;var r=t._cipher.decryptBlock(e);return i(r,n)}},wk3p:function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
107b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},wq4j:function(t,e,n){t.exports=n("43KI").PassThrough},"x+ZX":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(){return function(t){return t.lift(new a(t))}}var a=function(){function t(e){Qe(this,t),this.connectable=e}
1return tn(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new o(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).connectable=i,r}return tn(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(i.a)},xZGU:function(t,e,n){"use strict";(function(e){var i,r=n("tjlA"),a=r.Buffer,o={};for(i in r)r.hasOwnProperty(i)&&"SlowBuffer"!==i&&"Buffer"!==i&&(o[i]=r[i]);var s=o.Buffer={};for(i in a)a.hasOwnProperty(i)&&"allocUnsafe"!==i&&"allocUnsafeSlow"!==i&&(s[i]=a[i]);if(o.Buffer.prototype=a.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(t,e,n){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return a(t,e,n)}),s.alloc||(s.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var i=a(t);return e&&0!==e.length?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i}),!o.kStringMaxLength)try{o.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(c){}o.constants||(o.constants={MAX_LENGTH:o.kMaxLength},o.kStringMaxLength&&(o.constants.MAX_STRING_LENGTH=o.kStringMaxLength)),t.exports=o}).call(this,n("8oxB"))},xbPD:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new a(t))}}var a=function(){function t(e){Qe(this,t),this.defaultValue=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.defaultValue))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).defaultValue=i,r.isEmpty=!0,r}return tn(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(i.a)},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("HDdC"),r=n("DH7j"),a=n("n6bG"),o=n("lJxs");function s(t,e,n,c){return Object(a.a)(n)&&(c=n,n=void 0),c?s(t,e,n).pipe(Object(o.a)((function(t){return Object(r.a)(t)?c.apply(void 0,Xe(t)):c(t)}))):new i.a((function(i){!function t(e,n,i,r,a){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,i,a),o=function(){return s.removeEventListener(n,i,a)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var c=e;e.on(n,i),o=function(){return c.off(n,i)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,i),o=function(){return u.removeListener(n,i)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,h=e.length;l<h;l++)t(e[l],n,i,r,a)}r.add(o)}(t,e,(function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),i,n)}))}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("HDdC"),r=n("ngJS"),a=n("jZKg");function o(t,e){return e?Object(a.a)(t,e):new i.a(Object(r.a)(t))}},yLV6:function(t,e,n){var i;!function(r,a,o,s){"use strict";var c,u=["","webkit","Moz","MS","ms","o"],l=a.createElement("div"),h=Math.round,f=Math.abs,d=Date.now;function p(t,e,n){return setTimeout(w(t,n),e)}function m(t,e,n){return!!Array.isArray(t)&&(v(t,n[e],n),!0)}function v(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function b(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",a=r.console&&(r.console.warn||r.console.log);return a&&a.call(r.console,i,n),t.apply(this,arguments)}}c="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var g=b((function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&void 0===t[i[r]])&&(t[i[r]]=e[i[r]]),r++;return t}),"extend","Use `assign`."),y=b((function(t,e){return g(t,e,!0)}),"merge","Use `assign`.");function _(t,e,n){var i,r=e.prototype;(i=t.prototype=Object.create(r)).constructor=t,i._super=r,n&&c(i,n)}function w(t,e){return function(){return t.apply(e,arguments)}}function k(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function S(t,e){return void 0===t?e:t}function x(t,e,n){v(O(e),(function(e){t.addEventListener(e,n,!1)}))}function C(t,e,n){v(O(e),(function(e){t.removeEventListener(e,n,!1)}))}function T(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function E(t,e){return t.indexOf(e)>-1}function O(t){return t.trim().split(/\s+/g)}function M(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function A(t){return Array.prototype.slice.call(t,0)}function I(t,e,n){for(var i=[],r=[],a=0;a<t.length;){var o=e?t[a][e]:t[a];M(r,o)<0&&i.push(t[a]),r[a]=o,a++}return n&&(i=e?i.sort((function(t,n){return t[e]>n[e]})):i.sort()),i}function R(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),a=0;a<u.length;){if((i=(n=u[a])?n+r:e)in t)return i;a++}}var L=1;function P(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var j="ontouchstart"in r,D=void 0!==R(r,"PointerEvent"),N=j&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),B=["x","y"],F=["clientX","clientY"];function z(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){k(t.options.enable,[t])&&n.handler(e)},this.init()}function V(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,a=1&e&&i-r==0,o=12&e&&i-r==0;n.isFirst=!!a,n.isFinal=!!o,a&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=U(e)),r>1&&!n.firstMultiple?n.firstMultiple=U(e):1===r&&(n.firstMultiple=!1);var a=n.firstInput,o=n.firstMultiple,s=o?o.center:a.center,c=e.center=H(i);e.timeStamp=d(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=X(s,c),e.distance=K(s,c),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},a=t.prevInput||{};1!==e.eventType&&4!==a.eventType||(r=t.prevDelta={x:a.deltaX||0,y:a.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=W(e.deltaX,e.deltaY);var u,l,h=q(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=h.x,e.overallVelocityY=h.y,e.overallVelocity=f(h.x)>f(h.y)?h.x:h.y,e.scale=o?(u=o.pointers,K((l=i)[0],l[1],F)/K(u[0],u[1],F)):1,e.rotation=o?function(t,e){return X(e[1],e[0],F)+X(t[1],t[0],F)}(o.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,a,o=t.lastInterval||e,s=e.timeStamp-o.timeStamp;if(8!=e.eventType&&(s>25||void 0===o.velocity)){var c=e.deltaX-o.deltaX,u=e.deltaY-o.deltaY,l=q(s,
vendor: 12,739 bytes, line 1
1c,u);i=l.x,r=l.y,n=f(l.x)>f(l.y)?l.x:l.y,a=W(c,u),t.lastInterval=e}else n=o.velocity,i=o.velocityX,r=o.velocityY,a=o.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=a}(n,e);var p=t.element;T(e.srcEvent.target,p)&&(p=e.srcEvent.target),e.target=p}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function U(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:h(t.pointers[n].clientX),clientY:h(t.pointers[n].clientY)},n++;return{timeStamp:d(),pointers:e,center:H(e),deltaX:t.deltaX,deltaY:t.deltaY}}function H(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:h(n/e),y:h(i/e)}}function q(t,e,n){return{x:e/t||0,y:n/t||0}}function W(t,e){return t===e?1:f(t)>=f(e)?t<0?2:4:e<0?8:16}function K(t,e,n){n||(n=B);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function X(t,e,n){return n||(n=B),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}z.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(P(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(P(this.element),this.evWin,this.domHandler)}};var J={mousedown:1,mousemove:2,mouseup:4};function G(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,z.apply(this,arguments)}_(G,z,{handler:function(t){var e=J[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var Y={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Z={2:"touch",3:"pen",4:"mouse",5:"kinect"},Q="pointerdown",$="pointermove pointerup pointercancel";function tt(){this.evEl=Q,this.evWin=$,z.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(Q="MSPointerDown",$="MSPointerMove MSPointerUp MSPointerCancel"),_(tt,z,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=Y[i],a=Z[t.pointerType]||t.pointerType,o="touch"==a,s=M(e,t.pointerId,"pointerId");1&r&&(0===t.button||o)?s<0&&(e.push(t),s=e.length-1):12&r&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:a,srcEvent:t}),n&&e.splice(s,1))}});var et={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function nt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,z.apply(this,arguments)}function it(t,e){var n=A(t.touches),i=A(t.changedTouches);return 12&e&&(n=I(n.concat(i),"identifier",!0)),[n,i]}_(nt,z,{handler:function(t){var e=et[t.type];if(1===e&&(this.started=!0),this.started){var n=it.call(this,t,e);12&e&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var rt={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function at(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},z.apply(this,arguments)}function ot(t,e){var n=A(t.touches),i=this.targetIds;if(3&e&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,a,o=A(t.changedTouches),s=[],c=this.target;if(a=n.filter((function(t){return T(t.target,c)})),1===e)for(r=0;r<a.length;)i[a[r].identifier]=!0,r++;for(r=0;r<o.length;)i[o[r].identifier]&&s.push(o[r]),12&e&&delete i[o[r].identifier],r++;return s.length?[I(a.concat(s),"identifier",!0),s]:void 0}function st(){z.apply(this,arguments);var t=w(this.handler,this);this.touch=new at(this.manager,t),this.mouse=new G(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function ct(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,ut.call(this,e)):12&t&&ut.call(this,e)}function ut(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout((function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)}),2500)}}function lt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],a=Math.abs(e-r.x),o=Math.abs(n-r.y);if(a<=25&&o<=25)return!0}return!1}_(at,z,{handler:function(t){var e=rt[t.type],n=ot.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}),_(st,z,{handler:function(t,e,n){var i="mouse"==n.pointerType;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)ct.call(this,e,n);else if(i&<.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ht=R(l.style,"touchAction"),ft=void 0!==ht,dt=function(){if(!ft)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||r.CSS.supports("touch-action",n)})),t}();function pt(t,e){this.manager=t,this.set(e)}function mt(t){this.options=c({},this.defaults,t||{}),this.id=L++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function vt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function bt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function gt(t,e){var n=e.manager;return n?n.get(t):t}function yt(){mt.apply(this,arguments)}function _t(){yt.apply(this,arguments),this.pX=null,this.pY=null}function wt(){yt.apply(this,arguments)}function kt(){mt.apply(this,arguments),this._timer=null,this._input=null}function St(){yt.apply(this,arguments)}function xt(){yt.apply(this,arguments)}function Ct(){mt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Tt(t,e){return(e=e||{}).recognizers=S(e.recognizers,Tt.defaults.preset),new Et(t,e)}function Et(t,e){var n;this.options=c({},Tt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(D?tt:N?at:j?st:G))(n,V),this.touchAction=new pt(this,this.options.touchAction),Ot(this,!0),v(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Ot(t,e){var n,i=t.element;i.style&&(v(t.options.cssProps,(function(r,a){n=R(i.style,a),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}pt.prototype={set:function(t){"compute"==t&&(t=this.compute()),ft&&this.manager.element.style&&dt[t]&&(this.manager.element.style[ht]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,(function(e){k(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(E(t,"none"))return"none";var e=E(t,"pan-x"),n=E(t,"pan-y");return e&&n?"none":e||n?e?"pan-x":"pan-y":E(t,"manipulation")?"manipulation":"auto"}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=E(i,"none")&&!dt.none,a=E(i,"pan-y")&&!dt["pan-y"],o=E(i,"pan-x")&&!dt["pan-x"];if(r&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!o||!a)return r||a&&6&n||o&&24&n?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}},mt.prototype={defaults:{},set:function(t){return c(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(m(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=gt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return m(t,"dropRecognizeWith",this)||(t=gt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(m(t,"requireFailure",this))return this;var e=this.requireFail;return-1===M(e,t=gt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(m(t,"dropRequireFailure",this))return this;t=gt(t,this);var e=M(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+vt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+vt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=c({},t);if(!k(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},_(yt,mt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=6&e,r=this.attrTest(t);return i&&(8&n||!r)?16|e:i||r?4&n?8|e:2&e?4|e:2:32}}),_(_t,yt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push("pan-y"),24&t&&e.push("pan-x"),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,a=t.deltaX,o=t.deltaY;return r&e.direction||(6&e.direction?(r=0===a?1:a<0?2:4,n=a!=this.pX,i=Math.abs(t.deltaX)):(r=0===o?1:o<0?8:16,n=o!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return yt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=bt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),_(wt,yt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),_(kt,mt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||12&t.eventType&&!r)this.reset();else if(1&t.eventType)this.reset(),this._timer=p((function(){this.state=8,this.tryEmit()}),e.time,this);else if(4&t.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=d(),this.manager.emit(this.options.event,this._input)))}}),_(St,yt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),_(xt,yt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return _t.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return 30&n?e=t.overallVelocity:6&n?e=t.overallVelocityX:24&n&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&f(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=bt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),_(Ct,mt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&r&&n){if(4!=t.eventType)return this.failTimeout();var a=!this.pTime||t.timeStamp-this.pTime<e.interval,o=!this.pCenter||K(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,o&&a?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=p((function(){this.state=8,this.tryEmit()}
1),e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=p((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Tt.VERSION="2.0.7",Tt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[St,{enable:!1}],[wt,{enable:!1},["rotate"]],[xt,{direction:6}],[_t,{direction:6},["swipe"]],[Ct],[Ct,{event:"doubletap",taps:2},["tap"]],[kt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Et.prototype={set:function(t){return c(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&8&r.state)&&(r=e.curRecognizer=null);for(var a=0;a<i.length;)n=i[a],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&14&n.state&&(r=e.curRecognizer=n),a++}},get:function(t){if(t instanceof mt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(m(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(m(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=M(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(void 0!==t&&void 0!==e){var n=this.handlers;return v(O(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(void 0!==t){var n=this.handlers;return v(O(t),(function(t){e?n[t]&&n[t].splice(M(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=a.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&Ot(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Tt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Et,Input:z,TouchAction:pt,TouchInput:at,MouseInput:G,PointerEventInput:tt,TouchMouseInput:st,SingleTouchInput:nt,Recognizer:mt,AttrRecognizer:yt,Tap:Ct,Pan:_t,Swipe:xt,Pinch:wt,Rotate:St,Press:kt,on:x,off:C,each:v,merge:y,extend:g,assign:c,inherit:_,bindFn:w,prefixed:R}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Tt,void 0===(i=(function(){return Tt}).call(e,n,e,t))||(t.exports=i)}(window,document)},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"==typeof window&&(n=window)}t.exports=n},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return i}))},z6cu:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("HDdC");function r(t,e){return new i.a(e?function(n){return e.schedule(a,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function a(t){var e=t.error;t.subscriber.error(e)}},z71Z:function(t,e,n){"use strict";var i=n("P7XM"),r=n("AQYT"),a=n("YoN+").DecoderBuffer,o=n("g2Dh"),s=n("i3FT");function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){o.call(this,"der",t)}function l(t,e){var n=t.readUInt8(e);if(t.isError(n))return n;var i=s.tagClass[n>>6],r=0==(32&n);if(31==(31&n)){var a=n;for(n=0;128==(128&a);){if(a=t.readUInt8(e),t.isError(a))return a;n<<=7,n|=127&a}}else n&=31;return{cls:i,primitive:r,tag:n,tagStr:s.tag[n]}}function h(t,e,n){var i=t.readUInt8(n);if(t.isError(i))return i;if(!e&&128===i)return null;if(0==(128&i))return i;var r=127&i;if(r>4)return t.error("length octect is too long");i=0;for(var a=0;a<r;a++){i<<=8;var o=t.readUInt8(n);if(t.isError(o))return o;i|=o}return i}t.exports=c,c.prototype.decode=function(t,e){return a.isDecoderBuffer(t)||(t=new a(t,e)),this.tree._decode(t,e)},i(u,o),u.prototype._peekTag=function(t,e,n){if(t.isEmpty())return!1;var i=t.save(),r=l(t,'Failed to peek tag: "'+e+'"');return t.isError(r)?r:(t.restore(i),r.tag===e||r.tagStr===e||r.tagStr+"of"===e||n)},u.prototype._decodeTag=function(t,e,n){var i=l(t,'Failed to decode tag of "'+e+'"');if(t.isError(i))return i;var r=h(t,i.primitive,'Failed to get length of "'+e+'"');if(t.isError(r))return r;if(!n&&i.tag!==e&&i.tagStr!==e&&i.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(i.primitive||null!==r)return t.skip(r,'Failed to match body of: "'+e+'"');var a=t.save(),o=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(o)?o:(r=t.offset-a.offset,t.restore(a),t.skip(r,'Failed to match body of: "'+e+'"'))},u.prototype._skipUntilEnd=function(t,e){for(;;){var n=l(t,e);if(t.isError(n))return n;var i=h(t,n.primitive,e);if(t.isError(i))return i;var r;
1if(r=n.primitive||null!==i?t.skip(i):this._skipUntilEnd(t,e),t.isError(r))return r;if("end"===n.tagStr)break}},u.prototype._decodeList=function(t,e,n,i){for(var r=[];!t.isEmpty();){var a=this._peekTag(t,"end");if(t.isError(a))return a;var o=n.decode(t,"der",i);if(t.isError(o)&&a)break;r.push(o)}return r},u.prototype._decodeStr=function(t,e){if("bitstr"===e){var n=t.readUInt8();return t.isError(n)?n:{unused:n,data:t.raw()}}if("bmpstr"===e){var i=t.raw();if(i.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");for(var r="",a=0;a<i.length/2;a++)r+=String.fromCharCode(i.readUInt16BE(2*a));return r}if("numstr"===e){var o=t.raw().toString("ascii");return this._isNumstr(o)?o:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var s=t.raw().toString("ascii");return this._isPrintstr(s)?s:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},u.prototype._decodeObjid=function(t,e,n){for(var i,r=[],a=0,o=0;!t.isEmpty();)a<<=7,a|=127&(o=t.readUInt8()),0==(128&o)&&(r.push(a),a=0);if(128&o&&r.push(a),i=n?r:[r[0]/40|0,r[0]%40].concat(r.slice(1)),e){var s=e[i.join(" ")];void 0===s&&(s=e[i.join(".")]),void 0!==s&&(i=s)}return i},u.prototype._decodeTime=function(t,e){var n,i,r,a,o,s,c=t.raw().toString();if("gentime"===e)n=0|c.slice(0,4),i=0|c.slice(4,6),r=0|c.slice(6,8),a=0|c.slice(8,10),o=0|c.slice(10,12),s=0|c.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");n=0|c.slice(0,2),i=0|c.slice(2,4),r=0|c.slice(4,6),a=0|c.slice(6,8),o=0|c.slice(8,10),s=0|c.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,r,a,o,s,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},u.prototype._decodeInt=function(t,e){var n=t.raw(),i=new r(n);return e&&(i=e[i.toString(10)]||i),i},u.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},zP0r:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q");function r(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(e){Qe(this,t),this.total=e}
1return tn(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.total))}}]),t}(),o=function(t){en(n,t);var e=rn(n);function n(t,i){var r;return Qe(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return tn(n,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),n}(i.a)},zUnb:function(d,p,m){"use strict";m.r(p);var v=m("fXoL");m("yLV6");var b,g,y,_,w=m("tyNb"),k=m("ofXK"),S=m("3Pt+"),x=m("R1ws"),C=m("XGgE"),T=((b=function t(e){Qe(this,t),this.localeService=e}).\u0275fac=function(t){return new(t||b)(v.Nb(C.a))},b.\u0275cmp=v.Hb({type:b,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&v.Ob(0,"router-outlet")},directives:[w.g],styles:[""]}),b),E=m("tk/3"),O=((_=function t(){Qe(this,t)}).\u0275mod=v.Lb({type:_}),_.\u0275inj=v.Kb({factory:function(t){return new(t||_)},imports:[[w.f,k.c,E.c]]}),_),M=((y=function t(){Qe(this,t)}).\u0275mod=v.Lb({type:y}),y.\u0275inj=v.Kb({factory:function(t){return new(t||y)},imports:[[w.f,k.c,E.c]]}),y),A=((g=function t(){Qe(this,t)}).\u0275mod=v.Lb({type:g}),g.\u0275inj=v.Kb({factory:function(t){return new(t||g)},imports:[[w.f,k.c]]}),g);m("fjAU");var I,R,L,P,j=m("U/Bw"),D=m("OLhb");function N(t,e){1&t&&v.Ob(0,"div")}function B(t,e){1&t&&(v.Tb(0,"li",14),v.Tb(1,"a",17),v.Ob(2,"i",18),v.Tb(3,"p"),v.Xb(4,P),v.Sb(),v.Sb(),v.Sb())}I=$localize(f()),R=$localize(h()),L=$localize(l()),P=$localize(u());var F,z,V,U,H,q,W=function(t){return[t]};function K(t,e){if(1&t&&(v.Tb(0,"li",14),v.Tb(1,"a",19),v.Ob(2,"i",20),v.Ob(3,"span",21),v.Tb(4,"span",22),v.Lc(5),v.Sb(),v.Sb(),v.Sb()),2&t){var n=e.$implicit;v.Bb(1),v.rc("routerLink",v.vc(2,W,"/applications/"+n)),v.Bb(4),v.Mc(n)}}function X(t,e){1&t&&(v.Tb(0,"li",14),v.Tb(1,"a",23),v.Ob(2,"i",24),v.Tb(3,"p"),v.Xb(4,F),v.Sb(),v.Sb(),v.Sb())}function J(t,e){1&t&&(v.Tb(0,"li",14),v.Tb(1,"a",25),v.Ob(2,"i",26),v.Tb(3,"p"),v.Xb(4,z),v.Sb(),v.Sb(),v.Sb())}function G(t,e){1&t&&(v.Tb(0,"li",14),v.Tb(1,"a",27),v.Ob(2,"i",28),v.Tb(3,"p"),v.Xb(4,V),v.Sb(),v.Sb(),v.Sb())}function Y(t,e){1&t&&(v.Tb(0,"li"),v.Tb(1,"a",29),v.Ob(2,"i",30),v.Tb(3,"p"),v.Rb(4),v.Xb(5,U),v.Qb(),v.Ob(6,"b",11),v.Sb(),v.Sb(),v.Tb(7,"div",31),v.Tb(8,"ul",7),v.Tb(9,"li"),v.Tb(10,"a",32),v.Ob(11,"i",33),v.Rb(12),v.Xb(13,H),v.Qb(),v.Sb(),v.Sb(),v.Tb(14,"li",34),v.Tb(15,"a",35),v.Ob(16,"i",33),v.Rb(17),v.Xb(18,q),v.Qb(),v.Sb(),v.Sb(),v.Sb(),v.Sb(),v.Sb())}F=$localize(c()),z=$localize(s()),V=$localize(o()),U=$localize(a()),H=$localize(r()),q=$localize(i());var Z,Q,tt,et,nt=[{path:"/dashboard",title:"Dashboard",type:"link",icontype:"ti-panel"},{path:"/applications",title:"Applications",type:"sub",icontype:"ti-package",children:[]},{path:"/cluster",title:"Cluster",type:"link",icontype:"ti-layout-grid3"},{path:"/settings",title:"Settings",type:"link",icontype:"ti-settings"},{path:"/support",title:"Support",type:"link",icontype:"ti-support"}],it=((Z=function(){function t(e,n){Qe(this,t),this.http=e,this.restService=n,this.isClusterMode=!1}
1return tn(t,[{key:"isNotMobileMenu",value:function(){return!($(window).width()>991)}},{key:"ngOnInit",value:function(){var t=this;navigator.platform.indexOf("Win"),this.menuItems=nt.filter((function(t){return t})),navigator.platform.indexOf("Win")>-1?($(".sidebar .sidebar-wrapper, .main-panel").perfectScrollbar(),$("html").addClass("perfect-scrollbar-on")):$("html").addClass("perfect-scrollbar-off"),this.restService.setSidebar(this);var e=localStorage.getItem(D.a);if(null!=e&&""!=e){var n=JSON.parse(e);console.log(n),"system"in n&&(this.scope="system"),"system"in n?(this.initApplications(),this.restService.isInClusterMode().subscribe((function(e){t.isClusterMode=e.success}),(function(t){Object(j.g)(t)}))):(console.log("init menu application items"),this.initMenuApplicationItems(Object.keys(n)))}}},{key:"ngAfterViewInit",value:function(){}},{key:"initApplications",value:function(){var t=this;this.restService.getApplications().subscribe((function(e){t.initMenuApplicationItems(e.applications)}))}},{key:"initMenuApplicationItems",value:function(e){for(var n in t.apps=[],this.menuItems[1].children=[],e)this.menuItems[1].children.push({path:e[n],title:e[n],icontype:"ti-file"}),t.apps.push(e[n])}},{key:"getApps",get:function(){return t.apps}}]),t}()).\u0275fac=function(t){return new(t||Z)(v.Nb(E.b),v.Nb(j.e))},Z.\u0275cmp=v.Hb({type:Z,selectors:[["sidebar-cmp"]],decls:29,vars:7,consts:[[1,"logo"],["href","/",1,"simple-text","logo-mini"],[1,"logo-img"],["src","/assets/img/ant-media-min-logo.png"],["href","/",1,"simple-text","logo-normal",2,"text-transform","none","color","#DD0330","font-weight","600"],[1,"sidebar-wrapper"],[4,"ngIf"],[1,"nav"],["routerLinkActive","active",4,"ngIf"],["data-toggle","collapse","href","#Applications"],[1,"ti-package"],[1,"caret"],["id","Applications",1,"collapse","show"],["routerLinkActive","active",4,"ngFor","ngForOf"],["routerLinkActive","active"],["routerLink","/support"],[1,"ti-support"],["routerLink","/dashboard"],[1,"ti-panel"],["routerLinkActive","active",3,"routerLink"],[1,"ti-file"],[1,"sidebar-mini"],[1,"sidebar-normal"],["routerLink","/cluster"],[1,"ti-layout-grid3"],["routerLink","/serverSettings"],[1,"ti-settings"],["routerLink","/logs"],[1,"ti-write"],["data-toggle","collapse","href","#UserAccount"],[1,"ti-user"],["id","UserAccount",1,"collapse"],["routerLink","/pages/c
1hangepass","routerLinkActive","active"],[1,"ti-angle-double-right"],[1,"text-left"],["routerLink","/pages/login","routerLinkActive","active"]],template:function(t,e){1&t&&(v.Tb(0,"div",0),v.Tb(1,"a",1),v.Tb(2,"div",2),v.Ob(3,"img",3),v.Sb(),v.Sb(),v.Tb(4,"a",4),v.Xb(5,I),v.Sb(),v.Sb(),v.Tb(6,"div",5),v.Jc(7,N,1,0,"div",6),v.Tb(8,"ul",7),v.Jc(9,B,5,0,"li",8),v.Tb(10,"li"),v.Tb(11,"a",9),v.Ob(12,"i",10),v.Tb(13,"p"),v.Rb(14),v.Xb(15,R),v.Qb(),v.Ob(16,"b",11),v.Sb(),v.Sb(),v.Tb(17,"div",12),v.Tb(18,"ul",7),v.Jc(19,K,6,4,"li",13),v.Sb(),v.Sb(),v.Sb(),v.Jc(20,X,5,0,"li",8),v.Jc(21,J,5,0,"li",8),v.Jc(22,G,5,0,"li",8),v.Tb(23,"li",14),v.Tb(24,"a",15),v.Ob(25,"i",16),v.Tb(26,"p"),v.Xb(27,L),v.Sb(),v.Sb(),v.Sb(),v.Jc(28,Y,19,0,"li",6),v.Sb(),v.Sb()),2&t&&(v.Bb(7),v.rc("ngIf",e.isNotMobileMenu()),v.Bb(2),v.rc("ngIf","system"==e.scope),v.Bb(10),v.rc("ngForOf",e.getApps),v.Bb(1),v.rc("ngIf",e.isClusterMode&&"system"==e.scope),v.Bb(1),v.rc("ngIf","system"==e.scope),v.Bb(1),v.rc("ngIf","system"==e.scope),v.Bb(6),v.rc("ngIf",e.isNotMobileMenu()))},directives:[k.p,k.o,w.d,w.e],encapsulation:2}),Z),rt=["navbar-cmp"];function at(t,e){1&t&&(v.Tb(0,"div",15),v.Tb(1,"ul",16),v.Tb(2,"li",17),v.Tb(3,"a",18),v.Ob(4,"i",19),v.Ob(5,"span",20),v.Ob(6,"b",21),v.Ob(7,"p",22),v.Sb(),v.Tb(8,"ul",23),v.Tb(9,"li"),v.Tb(10,"a",24),v.Ob(11,"i",25),v.Rb(12),v.Xb(13,tt),v.Qb(),v.Sb(),v.Sb(),v.Tb(14,"li",26),v.Tb(15,"a",27),v.Ob(16,"i",25),v.Rb(17),v.Xb(18,et),v.Qb(),v.Sb(),v.Sb(),v.Sb(),v.Sb(),v.Sb(),v.Sb())}Q=$localize(n()),tt=$localize(e()),et=$localize(t());var ot,st,ct,ut,lt,ht={navbar_menu_visible:0,active_collapse:!0,disabled_collapse_init:0},ft=((st=function(){function t(e,n,i,r){Qe(this,t),this.renderer=n,this.element=i,this.router=r,this.location=e,this.nativeElement=i.nativeElement,this.sidebarVisible=!1}
1return tn(t,[{key:"ngOnInit",value:function(){this.listTitles=nt.filter((function(t){return t})),this.toggleButton=this.element.nativeElement.getElementsByClassName("navbar-toggle")[0],$("body").hasClass("sidebar-mini")&&(ht.sidebar_mini_active=!0),$("#minimizeSidebar").click((function(){$(this),1==ht.sidebar_mini_active?($("body").removeClass("sidebar-mini"),ht.sidebar_mini_active=!1):setTimeout((function(){$("body").addClass("sidebar-mini"),ht.sidebar_mini_active=!0}),300);var t=setInterval((function(){window.dispatchEvent(new Event("resize"))}),180);setTimeout((function(){clearInterval(t)}),1e3)}))}},{key:"isMobileMenu",value:function(){return!($(window).width()<991)}},{key:"sidebarOpen",value:function(){var t=this.toggleButton,e=document.getElementsByTagName("body")[0];setTimeout((function(){t.classList.add("toggled")}),500),e.classList.add("nav-open"),this.sidebarVisible=!0}},{key:"sidebarClose",value:function(){var t=document.getElementsByTagName("body")[0];this.toggleButton.classList.remove("toggled"),this.sidebarVisible=!1,t.classList.remove("nav-open")}},{key:"sidebarToggle",value:function(){0==this.sidebarVisible?this.sidebarOpen():this.sidebarClose()}},{key:"getTitle",value:function(){var t=this.location.prepareExternalUrl(this.location.path());"#"===t.charAt(0)&&(t=t.slice(2));for(var e=0;e<this.listTitles.length;e++){var n=this.listTitles[e];if(n.path===t)return n.title;if(n.children){var i=t.split("/")[0];if("dashboard"==i)return C.a.getLocaleInterface().dashboard;if("applications"==i)return t.split("/")[1];if("cluster"==i)return C.a.getLocaleInterface().cluster;if("serverSettings"==i)return"Server Settings";if("logs"==i)return"Log Settings";if("support"==i)return C.a.getLocaleInterface().support}}return"Dashboard"}},{key:"getPath",value:function(){return this.location.prepareExternalUrl(this.location.path())}},{key:"logout",value:function(){console.log("log out---"),localStorage.clear(),this.router.navigateByUrl("/pages/login")}}]),t}()).\u0275fac=function(t){return new(t||st)(v.Nb(k.l),v.Nb(v.G),v.Nb(v.l),v.Nb(w.c))},st.\u0275cmp=v.Hb({type:st,selectors:[["navbar-cmp"]],viewQuery:function(t,e){var n;1&t&&v.Qc(rt,!0),2&t&&v.xc(n=v.hc())&&(e.button=n.first)},decls:17,vars:2,consts:[[1,"navbar","navbar-default"],["navbar",""],[1,"container-fluid"],[1,"navbar-minimize"],["id","minimizeSidebar",1,"btn","btn-fill","btn-icon"],[1,"ti-more-alt"],[1,"navbar-header"],["type","button",1,"navbar-toggle",3,"click"],[1,"sr-only"],[1,"icon-bar","bar1"],[1,"icon-bar","bar2"],[1,"icon-bar","bar3"],[1,"navbar-brand"],[1,"collapse","navbar-collapse"],["class","",4,"ngIf"],[1,""],[1,"nav","navbar-nav","navbar-right"],[1,"dropdown"],["href","#notifications","data-toggle","dropdown",1,"dropdown-toggle","btn-magnify"],[1,"ti-user"],[1,"notification"],[1,"caret"],[1,"hidden-md","hidden-lg"],[1,"dropdown-menu"],["routerLink","/pages/c
1hangepass","routerLinkActive","active"],[1,"ti-angle-double-right"],[1,"text-left"],["routerLink","/pages/login","routerLinkActive","active"]],template:function(t,e){1&t&&(v.Tb(0,"nav",0,1),v.Tb(2,"div",2),v.Tb(3,"div",3),v.Tb(4,"button",4),v.Ob(5,"i",5),v.Sb(),v.Sb(),v.Tb(6,"div",6),v.Tb(7,"button",7),v.gc("click",(function(){return e.sidebarToggle()})),v.Tb(8,"span",8),v.Xb(9,Q),v.Sb(),v.Ob(10,"span",9),v.Ob(11,"span",10),v.Ob(12,"span",11),v.Sb(),v.Tb(13,"a",12),v.Lc(14),v.Sb(),v.Sb(),v.Tb(15,"div",13),v.Jc(16,at,19,0,"div",14),v.Sb(),v.Sb(),v.Sb()),2&t&&(v.Bb(14),v.Mc(e.getTitle()),v.Bb(2),v.rc("ngIf",e.isMobileMenu()))},directives:[k.p,w.e,w.d],encapsulation:2}),st),dt=((ot=function(){function t(e,n,i){Qe(this,t),this.http=n,this.restService=i,this.test=new Date,"en-US"==e?this.target_language=C.a.getLocaleInterface().turkish_language:"tr"==e&&(this.target_language=C.a.getLocaleInterface().english_language)}return tn(t,[{key:"ngOnInit",value:function(){var t=this;this.restService.getVersion().subscribe((function(e){t.versionName=e.versionName,t.versionType=e.versionType,t.buildNumber=e.buildNumber}),(function(t){Object(j.g)(t)})),this.restService.getServerTime().subscribe((function(e){t.upTime=e["up-time"],t.startTime=e["start-time"]}),(function(t){})),this.intervalId=setInterval((function(){t.upTime=t.upTime+1e3}),1e3)}},{key:"ngOnDestroy",value:function(){this.intervalId&&clearInterval(this.intervalId)}},{key:"formatUpTime",value:function(t){var e=Math.floor(t/1e3),n=e%60,i=Math.floor(e/60),r=i%60,a=Math.floor(i/60),o=a%24,s=Math.floor(a/24),c=[];return s>0&&c.push(s+"d"),o>0&&c.push(o+"h"),r>0&&c.push(r+"m"),n>0&&c.push(n+"s"),c.join(" ")}}]),t}()).\u0275fac=function(t){return new(t||ot)(v.Nb(v.w),v.Nb(E.b),v.Nb(j.e))},ot.\u0275cmp=v.Hb({type:ot,selectors:[["footer-cmp"]],decls:16,vars:8,consts:[[1,"footer"],[1,"container-fluid"],[1,"pull-left"],[2,"padding-right","0px"],[2,"padding-left","0px"],[1,"copyright","pull-right"],[1,"fa","fa-heart","heart"],["href","https://antmedia.io"]],template:function(t,e){1&t&&(v.Tb(0,"footer",0),v.Tb(1,"div",1),v.Tb(2,"nav",2),v.Tb(3,"ul"),v.Tb(4,"li",3),v.Lc(5),v.Sb(),v.Lc(6," - "),v.Tb(7,"li",4),v.Lc(8),v.Sb(),v.Sb(),v.Sb(),v.Tb(9,"div",5),v.Lc(10),v.lc(11,"date"),v.Ob(12,"i",6),v.Lc(13," by "),v.Tb(14,"a",7),v.Lc(15,"Ant Media"),v.Sb(),v.Sb(),v.Sb(),v.Sb()),2&t&&(v.Bb(5),v.Pc(" ",e.versionType," ",e.versionName," ",e.buildNumber," "),v.Bb(3),v.Nc(" Up time: ",e.formatUpTime(e.upTime)," "),v.Bb(2),v.Nc(" \xa9 ",v.nc(11,5,e.test,"yyyy")," "))},pipes:[k.f],encapsulation:2}),ot),pt=["sidebar"],mt=[{path:"",redirectTo:"applications",pathMatch:"full"},{path:"",component:(ut=function(){function t(e,n){Qe(this,t),this.router=e,this.location=n}
1return tn(t,[{key:"ngOnInit",value:function(){var t=this;this._router=this.router.events.filter((function(t){return t instanceof w.b})).subscribe((function(e){t.navbar.sidebarClose()})),navigator.platform.indexOf("Win")>-1&&$(".main-panel").perfectScrollbar()}},{key:"isMap",value:function(){return"/maps/fullscreen"==this.location.prepareExternalUrl(this.location.path())}}]),t}(),ut.\u0275fac=function(t){return new(t||ut)(v.Nb(w.c),v.Nb(k.l))},ut.\u0275cmp=v.Hb({type:ut,selectors:[["app-layout"]],viewQuery:function(t,e){var n;1&t&&(v.Qc(pt,!0),v.Qc(ft,!0)),2&t&&(v.xc(n=v.hc())&&(e.sidebar=n.first),v.xc(n=v.hc())&&(e.navbar=n.first))},decls:7,vars:0,consts:[[1,"wrapper"],["data-background-color","white","data-active-color","danger",1,"sidebar"],[1,"main-panel"]],template:function(t,e){1&t&&(v.Tb(0,"div",0),v.Tb(1,"div",1),v.Ob(2,"sidebar-cmp"),v.Sb(),v.Tb(3,"div",2),v.Ob(4,"navbar-cmp"),v.Ob(5,"router-outlet"),v.Ob(6,"footer-cmp"),v.Sb(),v.Sb())},directives:[it,ft,w.g,dt],encapsulation:2}),ut),children:[{path:"dashboard",loadChildren:"./dashboard/dashboard.module#DashboardModule",canActivate:[D.b]},{path:"serverSettings",loadChildren:"./server.settings/server.settings.module#ServerSettingsModule",canActivate:[D.b]},{path:"logs",loadChildren:"./logs/logs.module#LogsModule",canActivate:[D.b]},{path:"applications",loadChildren:"./app.page/app.page.module#AppPageModule",canActivate:[D.b]},{path:"cluster",loadChildren:"./cluster/cluster.module#ClusterModule",canActivate:[D.b]},{path:"support",loadChildren:"./support/support.module#SupportModule",canActivate:[D.b]},{path:"forms",loadChildren:"./forms/forms.module#Forms",canActivate:[D.b]},{path:"tables",loadChildren:"./tables/tables.module#TablesModule",canActivate:[D.b]},{path:"maps",loadChildren:"./maps/maps.module#MapsModule",canActivate:[D.b]},{path:"charts",loadChildren:"./charts/charts.module#ChartsModule",canActivate:[D.b]},{path:"calendar",loadChildren:"./calendar/calendar.module#CalendarModule",canActivate:[D.b]},{path:"",loadChildren:"./userpage/user.module#UserModule",canActivate:[D.b]},{path:"",loadChildren:"./timeline/timeline.module#TimelineModule",canActivate:[D.b]}]},{path:"",component:(ct=function t(){Qe(this,t)},ct.\u0275fac=function(t){return new(t||ct)}
1,ct.\u0275cmp=v.Hb({type:ct,selectors:[["app-layout"]],decls:1,vars:0,template:function(t,e){1&t&&v.Ob(0,"router-outlet")},directives:[w.g],encapsulation:2}),ct),children:[{path:"pages",loadChildren:"./pages/pages.module#PagesModule"}]}],vt=m("BWpK"),bt=m("djWg"),gt=m("Dvla"),yt=m("i+c7"),_t=m("eikZ"),wt=((lt=function t(){Qe(this,t)}).\u0275mod=v.Lb({type:lt,bootstrap:[T]}),lt.\u0275inj=v.Kb({factory:function(t){return new(t||lt)},providers:[yt.a,D.b,j.e,vt.a,bt.a,C.a,_t.a,k.f,{provide:k.m,useClass:k.h},{provide:E.a,useClass:j.a,multi:!0}],imports:[[x.b,S.f,w.f.forRoot(mt),O,A,M,gt.a]]}),lt),kt=m("jhN1");Object(v.U)(),kt.c().bootstrapModule(wt)},zZGF:function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},zZPE:function(t,e){var n,i,r=Object.prototype,a=Function.prototype.toString,o=r.hasOwnProperty,s=a.call(Object),c=r.toString,u=(n=Object.getPrototypeOf,i=Object,function(t){return n(i(t))});t.exports=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=c.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}(t))return!1;var e=u(t);if(null===e)return!0;var n=o.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&a.call(n)==s}},zkoq:function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return w})),n.d(e,"c",(function(){return l}));var i=n("fXoL"),r=n("FKr1"),a=n("8LU1"),o=n("cH1L"),s=["*"],c=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}\n",u=new i.s("MAT_GRID_LIST"),l=function(){var t=function(){function t(e,n){Qe(this,t),this._element=e,this._gridList=n,this._rowspan=1,this._colspan=1}
1return tn(t,[{key:"_setStyle",value:function(t,e){this._element.nativeElement.style[t]=e}},{key:"rowspan",get:function(){return this._rowspan},set:function(t){this._rowspan=Math.round(Object(a.f)(t))}},{key:"colspan",get:function(){return this._colspan},set:function(t){this._colspan=Math.round(Object(a.f)(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(u,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,e){2&t&&i.Cb("rowspan",e.rowspan)("colspan",e.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:s,decls:2,vars:0,consts:[[1,"mat-figure"]],template:function(t,e){1&t&&(i.qc(),i.Tb(0,"figure",0),i.pc(1),i.Sb())},styles:[c],encapsulation:2,changeDetection:0}),t}(),h=function(){function t(){Qe(this,t),this.columnIndex=0,this.rowIndex=0}return tn(t,[{key:"update",value:function(t,e){var n=this;this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map((function(t){return n._trackTile(t)}))}},{key:"_trackTile",value:function(t){var e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new f(this.rowIndex,e)}},{key:"_findMatchingGap",value:function(t){if(t>this.tracker.length)throw Error("mat-grid-list: tile with colspan ".concat(t,' is wider than grid with cols="').concat(this.tracker.length,'".'));var e=-1,n=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)):-1!=(e=this.tracker.indexOf(0,this.columnIndex))?(n=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e))}while(n-e<t||0==n);return Math.max(e,0)}},{key:"_nextRow",value:function(){this.columnIndex=0,this.rowIndex++;for(var t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)}},{key:"_findGapEndIndex",value:function(t){for(var e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length}},{key:"_markTilePosition",value:function(t,e){for(var n=0;n<e.colspan;n++)this.tracker[t+n]=e.rowspan}},{key:"rowCount",get:function(){return this.rowIndex+1}},{key:"rowspan",get:function(){var t=Math.max.apply(Math,Xe(this.tracker));return t>1?this.rowCount+t-1:this.rowCount}}]),t}(),f=function t(e,n){Qe(this,t),this.row=e,this.col=n},d=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,p=function(){function t(){Qe(this,t),this._rows=0,this._rowspan=0}
1return tn(t,[{key:"init",value:function(t,e,n,i){this._gutterSize=y(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=n,this._direction=i}},{key:"getBaseTileSize",value:function(t,e){return"(".concat(t,"% - (").concat(this._gutterSize," * ").concat(e,"))")}},{key:"getTilePosition",value:function(t,e){return 0===e?"0":g("(".concat(t," + ").concat(this._gutterSize,") * ").concat(e))}},{key:"getTileSize",value:function(t,e){return"(".concat(t," * ").concat(e,") + (").concat(e-1," * ").concat(this._gutterSize,")")}},{key:"setStyle",value:function(t,e,n){var i=100/this._cols,r=(this._cols-1)/this._cols;this.setColStyles(t,n,i,r),this.setRowStyles(t,e,i,r)}},{key:"setColStyles",value:function(t,e,n,i){var r=this.getBaseTileSize(n,i);t._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(r,e)),t._setStyle("width",g(this.getTileSize(r,t.colspan)))}},{key:"getGutterSpan",value:function(){return"".concat(this._gutterSize," * (").concat(this._rowspan," - 1)")}},{key:"getTileSpan",value:function(t){return"".concat(this._rowspan," * ").concat(this.getTileSize(t,1))}},{key:"getComputedHeight",value:function(){return null}}]),t}(),m=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this)).fixedRowHeight=t,i}return tn(n,[{key:"init",value:function(t,e,i,r){if(Je(cn(n.prototype),"init",this).call(this,t,e,i,r),this.fixedRowHeight=y(this.fixedRowHeight),!d.test(this.fixedRowHeight))throw Error('Invalid value "'.concat(this.fixedRowHeight,'" set as rowHeight.'))}},{key:"setRowStyles",value:function(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",g(this.getTileSize(this.fixedRowHeight,t.rowspan)))}},{key:"getComputedHeight",value:function(){return["height",g("".concat(this.getTileSpan(this.fixedRowHeight)," + ").concat(this.getGutterSpan()))]}},{key:"reset",value:function(t){t._setListStyle(["height",null]),t._tiles&&t._tiles.forEach((function(t){t._setStyle("top",null),t._setStyle("height",null)}))}}]),n}(p),v=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this))._parseRatio(t),i}return tn(n,[{key:"setRowStyles",value:function(t,e,n,i){this.baseTileHeight=this.getBaseTileSize(n/this.rowHeightRatio,i),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",g(this.getTileSize(this.baseTileHeight,t.rowspan)))}},{key:"getComputedHeight",value:function(){return["paddingBottom",g("".concat(this.getTileSpan(this.baseTileHeight)," + ").concat(this.getGutterSpan()))]}},{key:"reset",value:function(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach((function(t){t._setStyle("marginTop",null),t._setStyle("paddingTop",null)}))}},{key:"_parseRatio",value:function(t){var e=t.split(":");if(2!==e.length)throw Error('mat-grid-list: invalid ratio given for row-height: "'.concat(t,'"'));this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}]),n}(p),b=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"setRowStyles",value:function(t,e){var n=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle("top",this.getTilePosition(n,e)),t._setStyle("height",g(this.getTileSize(n,t.rowspan)))}},{key:"reset",value:function(t){t._tiles&&t._tiles.forEach((function(t){t._setStyle("top",null),t._setStyle("height",null)}))}}]),n}(p);function g(t){return"calc(".concat(t,")")}function y(t){return t.match(/([A-Za-z%]+)$/)?t:t+"px"}var _=function(){var t=function(){function t(e,n){Qe(this,t),this._element=e,this._dir=n,this._gutter="1px"}
1return tn(t,[{key:"ngOnInit",value:function(){this._checkCols(),this._checkRowHeight()}},{key:"ngAfterContentChecked",value:function(){this._layoutTiles()}},{key:"_checkCols",value:function(){if(!this.cols)throw Error('mat-grid-list: must pass in number of columns. Example: <mat-grid-list cols="3">')}},{key:"_checkRowHeight",value:function(){this._rowHeight||this._setTileStyler("1:1")}},{key:"_setTileStyler",value:function(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===t?new b:t&&t.indexOf(":")>-1?new v(t):new m(t)}},{key:"_layoutTiles",value:function(){var t=this;this._tileCoordinator||(this._tileCoordinator=new h);var e=this._tileCoordinator,n=this._tiles.filter((function(e){return!e._gridList||e._gridList===t})),i=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,n),this._tileStyler.init(this.gutterSize,e,this.cols,i),n.forEach((function(n,i){var r=e.positions[i];t._tileStyler.setStyle(n,r.row,r.col)})),this._setListStyle(this._tileStyler.getComputedHeight())}},{key:"_setListStyle",value:function(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}},{key:"cols",get:function(){return this._cols},set:function(t){this._cols=Math.max(1,Math.round(Object(a.f)(t)))}},{key:"gutterSize",get:function(){return this._gutter},set:function(t){this._gutter=""+(null==t?"":t)}},{key:"rowHeight",get:function(){return this._rowHeight},set:function(t){var e=""+(null==t?"":t);e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(o.b,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-grid-list"]],contentQueries:function(t,e,n){var r;1&t&&i.Gb(n,l,!0),2&t&&i.xc(r=i.hc())&&(e._tiles=r)},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,e){2&t&&i.Cb("cols",e.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[i.Ab([{provide:u,useExisting:t}])],ngContentSelectors:s,decls:2,vars:0,template:function(t,e){1&t&&(i.qc(),i.Tb(0,"div"),i.pc(1),i.Sb())},styles:[c],encapsulation:2,changeDetection:0}),t}(),w=function(){var t=function t(){Qe(this,t)};return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[r.l,r.j],r.l,r.j]}),t}()},zx2A:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return c}));var i=n("7o/Q"),r=n("HDdC"),a=n("SeVD"),o=function(t){en(n,t);var e=rn(n);function n(t){var i;return Qe(this,n),(i=e.call(this)).parent=t,i}return tn(n,[{key:"_next",value:function(t){this.parent.notifyNext(t)}},{key:"_error",value:function(t){this.parent.notifyError(t),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(i.a),s=function(t){en(n,t);var e=rn(n);function n(){return Qe(this,n),e.apply(this,arguments)}return tn(n,[{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyError",value:function(t){this.destination.error(t)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(i.a);function c(t,e){if(!e.closed)return t instanceof r.a?t.subscribe(e):Object(a.a)(t)(e)}},zzXz:function(t,e,n){"use strict";(function(e,i){var r;t.exports=C,C.ReadableState=x,n("+qE3");var a,o=function(t,e){return t.listeners(e).length},s=n("8Spv"),c=n("tjlA").Buffer,u=e.Uint8Array||function(){},l=n(3);a=l&&l.debuglog?l.debuglog("stream"):function(){};var h,f,d,p=n("Iqt3"),m=n("kBkV"),v=n("BfC4").getHighWaterMark,b=n("0ROu").codes,g=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,_=b.ERR_METHOD_NOT_IMPLEMENTED,w=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("P7XM")(C,s);var k=m.errorOrDestroy,S=["error","close","destroy","pause","resume"];function x(t,e,i){r=r||n("Xn1i"),"boolean"!=typeof i&&(i=e instanceof r),this.objectMode=!!(t=t||{}).objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=v(this,t,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=n("fXKp").StringDecoder),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function C(t){if(r=r||n("Xn1i"),!(this instanceof C))return new C(t);this._readableState=new x(t,this,this instanceof r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function T(t,e,n,i,r){a("readableAddChunk",e);var o,s=t._readableState;if(null===e)s.reading=!1,function(t,e){if(a("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?M(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,A(t)))}}(t,s);else if(r||(o=function(t,e){var n,i;return c.isBuffer(i=e)||i instanceof u||"string"==typeof e||void 0===e||t.objectMode||(n=new g("chunk",["string","Buffer","Uint8Array"],e)),n}(s,e)),o)k(t,o);else if(s.objectMode||e&&e.length>0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),i)s.endEmitted?k(t,new w):E(t,s,e,!0);else if(s.ended)k(t,new y);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?E(t,s,e,!1):I(t,s)):E(t,s,e,!1)}else i||(s.reading=!1,I(t,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function E(t,e,n,i){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,i?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&M(t)),I(t,e)}function O(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function M(t){var e=t._readableState;a("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(a("emitReadable",e.flowing),e.emittedReadable=!0,i.nextTick(A,t))}function A(t){var e=t._readableState;
vendor: 5,981 bytes, line 1
1a("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,D(t)}function I(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(R,t,e))}function R(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(a("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function L(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function P(t){a("readable nexttick read 0"),t.read(0)}function j(t,e){a("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),D(t),e.flowing&&!e.reading&&t.read(0)}function D(t){var e=t._readableState;for(a("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;a("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,i.nextTick(F,e,t))}function F(t,e){if(a("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function z(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),C.prototype.destroy=m.destroy,C.prototype._undestroy=m.undestroy,C.prototype._destroy=function(t,e){e(t)},C.prototype.push=function(t,e){var n,i=this._readableState;return i.objectMode?n=!0:"string"==typeof t&&((e=e||i.defaultEncoding)!==i.encoding&&(t=c.from(t,e),e=""),n=!0),T(this,t,e,!1,n)},C.prototype.unshift=function(t){return T(this,t,null,!0,!1)},C.prototype.isPaused=function(){return!1===this._readableState.flowing},C.prototype.setEncoding=function(t){h||(h=n("fXKp").StringDecoder);var e=new h(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var i=this._readableState.buffer.head,r="";null!==i;)r+=e.write(i.data),i=i.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this},C.prototype.read=function(t){a("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return a("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):M(this),null;if(0===(t=O(t,e))&&e.ended)return 0===e.length&&B(this),null;var i,r=e.needReadable;return a("need readable",r),(0===e.length||e.length-t<e.highWaterMark)&&a("length less than watermark",r=!0),e.ended||e.reading?a("reading or ended",r=!1):r&&(a("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=O(n,e))),null===(i=t>0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==i&&this.emit("data",i),i},C.prototype._read=function(t){k(this,new _("_read()"))},C.prototype.pipe=function(t,e){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,a("pipe count=%d opts=%j",r.pipesCount,e);var s=e&&!1===e.end||t===i.stdout||t===i.stderr?m:c;function c(){a("onend"),t.end()}r.endEmitted?i.nextTick(s):n.once("end",s),t.on("unpipe",(function e(i,o){a("onunpipe"),i===n&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,a("cleanup"),t.removeListener("close",d),t.removeListener("finish",p),t.removeListener("drain",u),t.removeListener("error",f),t.removeListener("unpipe",e),n.removeListener("end",c),n.removeListener("end",m),n.removeListener("data",h),l=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||u())}));var u=function(t){return function(){var e=t._readableState;a("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,D(t))}}(n);t.on("drain",u);var l=!1;function h(e){a("ondata");var i=t.write(e);a("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==z(r.pipes,t))&&!l&&(a("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function f(e){a("onerror",e),m(),t.removeListener("error",f),0===o(t,"error")&&k(t,e)}function d(){t.removeListener("finish",p),m()}function p(){a("onfinish"),t.removeListener("close",d),m()}function m(){a("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener("error",n);t._events&&t._events.error?Array.isArray(t._events.error)?t._events.error.unshift(n):t._events.error=[n,t._events.error]:t.on("error",n)}(t,0,f),t.once("close",d),t.once("finish",p),t.emit("pipe",n),r.flowing||(a("pipe resume"),n.resume()),t},C.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var i=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var a=0;a<r;a++)i[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=z(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},C.prototype.addListener=C.prototype.on=function(t,e){var n=s.prototype.on.call(this,t,e),r=this._readableState;return"data"===t?(r.readableListening=this.listenerCount("readable")>
vendor: 2,462 bytes, line 1
10,!1!==r.flowing&&this.resume()):"readable"===t&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,a("on readable",r.length,r.reading),r.length?M(this):r.reading||i.nextTick(P,this))),n},C.prototype.removeListener=function(t,e){var n=s.prototype.removeListener.call(this,t,e);return"readable"===t&&i.nextTick(L,this),n},C.prototype.removeAllListeners=function(t){var e=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||i.nextTick(L,this),e},C.prototype.resume=function(){var t=this._readableState;return t.flowing||(a("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(j,t,e))}(this,t)),t.paused=!1,this},C.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},C.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;for(var r in t.on("end",(function(){if(a("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(r){a("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r||(n.objectMode||r&&r.length)&&(e.push(r)||(i=!0,t.pause()))})),t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));for(var o=0;o<S.length;o++)t.on(S[o],this.emit.bind(this,S[o]));return this._read=function(e){a("wrapped _read",e),i&&(i=!1,t.resume())},this},"function"==typeof Symbol&&(C.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=n("V+K4")),f(this)}),Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(C.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(C.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),C._fromList=N,Object.defineProperty(C.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(C.from=function(t,e){return void 0===d&&(d=n("+DxB")),d(C,t,e)})}).call(this,n("yLpj"),n("8oxB"))}},[[0,0]]])}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.