mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
f3d76c6e2d
* Check for authentication obj before delete operation #1415 (#1416) Add Github Actions with Buildx for Docker publish
1 line
3.2 MiB
1 line
3.2 MiB
(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[792],{8430:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>ne,$J:()=>r,$Q:()=>D,Aw:()=>I,C2:()=>y,CK:()=>ie,Db:()=>Xt,Do:()=>N,Dq:()=>qe,ED:()=>ye,EM:()=>ce,Eb:()=>mt,Ew:()=>fe,Fd:()=>ae,GZ:()=>ke,Gy:()=>z,Gz:()=>_t,Hm:()=>de,Jx:()=>ze,Ml:()=>at,N4:()=>Me,NS:()=>x,NU:()=>ue,Qj:()=>W,Qv:()=>pt,Sn:()=>f,T4:()=>Te,Uj:()=>ge,VK:()=>Ee,We:()=>Q,XT:()=>F,Yi:()=>_,Zi:()=>ee,a5:()=>Ke,aB:()=>se,cR:()=>C,dv:()=>n,ed:()=>J,fy:()=>c,g6:()=>me,gf:()=>S,ij:()=>L,jQ:()=>Ze,kQ:()=>pe,kX:()=>T,kv:()=>V,lg:()=>l,no:()=>w,qw:()=>_e,sq:()=>$,uK:()=>v,vL:()=>m,w0:()=>h,x1:()=>d,y0:()=>be,zU:()=>k});var e=g(9640),t=g(4416);const w=(0,e.VP)(t.TC.UPDATE_API_CALL_STATUS_CLN,(0,e.xk)()),S=(0,e.VP)(t.TC.RESET_CLN_STORE),l=(0,e.VP)(t.TC.FETCH_PAGE_SETTINGS_CLN),x=(0,e.VP)(t.TC.SET_PAGE_SETTINGS_CLN,(0,e.xk)()),f=(0,e.VP)(t.TC.SAVE_PAGE_SETTINGS_CLN,(0,e.xk)()),I=(0,e.VP)(t.TC.FETCH_INFO_CLN,(0,e.xk)()),d=(0,e.VP)(t.TC.SET_INFO_CLN,(0,e.xk)()),T=(0,e.VP)(t.TC.FETCH_FEE_RATES_CLN,(0,e.xk)()),y=(0,e.VP)(t.TC.SET_FEE_RATES_CLN,(0,e.xk)()),F=(0,e.VP)(t.TC.GET_NEW_ADDRESS_CLN,(0,e.xk)()),z=((0,e.VP)(t.TC.SET_NEW_ADDRESS_CLN,(0,e.xk)()),(0,e.VP)(t.TC.FETCH_PEERS_CLN)),W=(0,e.VP)(t.TC.SET_PEERS_CLN,(0,e.xk)()),$=(0,e.VP)(t.TC.SAVE_NEW_PEER_CLN,(0,e.xk)()),Q=((0,e.VP)(t.TC.NEWLY_ADDED_PEER_CLN,(0,e.xk)()),(0,e.VP)(t.TC.ADD_PEER_CLN,(0,e.xk)())),J=(0,e.VP)(t.TC.DETACH_PEER_CLN,(0,e.xk)()),ee=(0,e.VP)(t.TC.REMOVE_PEER_CLN,(0,e.xk)()),ie=(0,e.VP)(t.TC.FETCH_PAYMENTS_CLN),ge=(0,e.VP)(t.TC.SET_PAYMENTS_CLN,(0,e.xk)()),ae=(0,e.VP)(t.TC.SEND_PAYMENT_CLN,(0,e.xk)()),Me=(0,e.VP)(t.TC.SEND_PAYMENT_STATUS_CLN,(0,e.xk)()),Te=(0,e.VP)(t.TC.GET_QUERY_ROUTES_CLN,(0,e.xk)()),de=(0,e.VP)(t.TC.SET_QUERY_ROUTES_CLN,(0,e.xk)()),D=(0,e.VP)(t.TC.FETCH_CHANNELS_CLN),n=(0,e.VP)(t.TC.SET_CHANNELS_CLN,(0,e.xk)()),c=(0,e.VP)(t.TC.UPDATE_CHANNEL_CLN,(0,e.xk)()),m=(0,e.VP)(t.TC.SAVE_NEW_CHANNEL_CLN,(0,e.xk)()),h=(0,e.VP)(t.TC.CLOSE_CHANNEL_CLN,(0,e.xk)()),C=(0,e.VP)(t.TC.REMOVE_CHANNEL_CLN,(0,e.xk)()),k=(0,e.VP)(t.TC.PEER_LOOKUP_CLN,(0,e.xk)()),L=(0,e.VP)(t.TC.CHANNEL_LOOKUP_CLN,(0,e.xk)()),_=(0,e.VP)(t.TC.INVOICE_LOOKUP_CLN,(0,e.xk)()),r=(0,e.VP)(t.TC.SET_LOOKUP_CLN,(0,e.xk)()),v=(0,e.VP)(t.TC.GET_FORWARDING_HISTORY_CLN,(0,e.xk)()),V=(0,e.VP)(t.TC.SET_FORWARDING_HISTORY_CLN,(0,e.xk)()),N=(0,e.VP)(t.TC.FETCH_INVOICES_CLN),ne=(0,e.VP)(t.TC.SET_INVOICES_CLN,(0,e.xk)()),Ee=(0,e.VP)(t.TC.SAVE_NEW_INVOICE_CLN,(0,e.xk)()),ze=(0,e.VP)(t.TC.ADD_INVOICE_CLN,(0,e.xk)()),qe=(0,e.VP)(t.TC.UPDATE_INVOICE_CLN,(0,e.xk)()),Ke=(0,e.VP)(t.TC.DELETE_EXPIRED_INVOICE_CLN,(0,e.xk)()),se=(0,e.VP)(t.TC.SET_CHANNEL_TRANSACTION_CLN,(0,e.xk)()),me=((0,e.VP)(t.TC.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.xk)()),(0,e.VP)(t.TC.FETCH_UTXO_BALANCES_CLN)),ce=(0,e.VP)(t.TC.SET_UTXO_BALANCES_CLN,(0,e.xk)()),fe=(0,e.VP)(t.TC.FETCH_OFFER_INVOICE_CLN,(0,e.xk)()),ke=(0,e.VP)(t.TC.SET_OFFER_INVOICE_CLN,(0,e.xk)()),mt=(0,e.VP)(t.TC.FETCH_OFFERS_CLN),_e=(0,e.VP)(t.TC.SET_OFFERS_CLN,(0,e.xk)()),be=(0,e.VP)(t.TC.SAVE_NEW_OFFER_CLN,(0,e.xk)()),pe=(0,e.VP)(t.TC.ADD_OFFER_CLN,(0,e.xk)()),Ze=(0,e.VP)(t.TC.DISABLE_OFFER_CLN,(0,e.xk)()),_t=(0,e.VP)(t.TC.UPDATE_OFFER_CLN,(0,e.xk)()),at=(0,e.VP)(t.TC.FETCH_OFFER_BOOKMARKS_CLN),pt=(0,e.VP)(t.TC.SET_OFFER_BOOKMARKS_CLN,(0,e.xk)()),Xt=(0,e.VP)(t.TC.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.xk)()),ye=(0,e.VP)(t.TC.DELETE_OFFER_BOOKMARK_CLN,(0,e.xk)()),ue=(0,e.VP)(t.TC.REMOVE_OFFER_BOOKMARK_CLN,(0,e.xk)())},283:(Qe,te,g)=>{"use strict";g.d(te,{i:()=>Me});var e=g(4054),t=g(1413),w=g(7673),S=g(1397),l=g(6977),x=g(6354),f=g(9437),I=g(2462),d=g(8321),T=g(4416),y=g(1771),F=g(8430),R=g(9584),z=g(2142),W=g(4438),$=g(1626),j=g(9640),Q=g(3202),J=g(2571),ee=g(8570),ie=g(1188),ge=g(7879),ae=g(177);let Me=(()=>{class Te{constructor(D,n,c,m,h,C,k,L,_){this.actions=D,this.httpClient=n,this.store=c,this.sessionService=m,this.commonService=h,this.logger=C,this.router=k,this.wsService=L,this.location=_,this.CHILD_API_URL=T.H$+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new t.B,new t.B,new t.B],this.infoFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_INFO_CLN),(0,S.Z)(r=>(this.flgInitialized=!1,this.store.dispatch((0,y.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,F.no)({payload:{action:"FetchInfo",status:T.wn.INITIATED}})),this.store.dispatch((0,y.mt)({payload:T.MZ.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+T.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,e.gp)(T.aU.SET_SELECTED_NODE))),(0,x.T)(v=>(this.logger.info(v),this.CLN_VERISON=v.version||"",v.chains&&v.chains.length&&v.chains[0]&&"object"==typeof v.chains[0]&&v.chains[0].hasOwnProperty("chain")&&v?.chains[0].chain&&v?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&v?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,F.no)({payload:{action:"FetchInfo",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.GET_NODE_INFO})),this.store.dispatch((0,y.Jh)()),setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:T.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:T.aU.LOGOUT,payload:"Sorry Not Sorry, RTL is Bitcoin Only!"}):(this.initializeRemainingData(v,r.payload.loadPage),this.store.dispatch((0,F.no)({payload:{action:"FetchInfo",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.GET_NODE_INFO})),{type:T.TC.SET_INFO_CLN,payload:v||{}}))),(0,f.W)(v=>{const V=this.commonService.extractErrorCode(v),N="ETIMEDOUT"===V?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(v);return this.router.navigate(["/login"],{state:{logoutReason:JSON.stringify(N)}}),this.handleErrorWithoutAlert("FetchInfo",T.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:V,error:N}),(0,w.of)({type:T.aU.VOID})})))))),this.fetchFeeRatesCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_FEE_RATES_CLN),(0,S.Z)(r=>(this.store.dispatch((0,F.no)({payload:{action:"FetchFeeRates"+r.payload,status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.NETWORK_API+"/feeRates",{style:r.payload}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"FetchFeeRates"+r.payload,status:T.wn.COMPLETED}})),{type:T.TC.SET_FEE_RATES_CLN,payload:v||{}})),(0,f.W)(v=>(this.handleErrorWithoutAlert("FetchFeeRates"+r.payload,T.MZ.NO_SPINNER,"Fetching Fee Rates Failed.",v),(0,w.of)({type:T.aU.VOID})))))))),this.getNewAddressCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.GET_NEW_ADDRESS_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+T.rl.ON_CHAIN_API+"/newaddr",{addresstype:r.payload.addressCode}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:T.MZ.GENERATE_NEW_ADDRESS})),{type:T.TC.SET_NEW_ADDRESS_CLN,payload:v&&v[r.payload.addressCode]?v[r.payload.addressCode]:{}})),(0,f.W)(v=>(this.handleErrorWithAlert("GenerateNewAddress",T.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+T.rl.ON_CHAIN_API,v),(0,w.of)({type:T.aU.VOID})))))))),this.setNewAddressCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SET_NEW_ADDRESS_CLN),(0,x.T)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_PEERS_CLN),(0,S.Z)(()=>(this.store.dispatch((0,F.no)({payload:{action:"FetchPeers",status:T.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+T.rl.PEERS_API).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.no)({payload:{action:"FetchPeers",status:T.wn.COMPLETED}})),{type:T.TC.SET_PEERS_CLN,payload:r||[]})),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchPeers",T.MZ.NO_SPINNER,"Fetching Peers Failed.",r),(0,w.of)({type:T.aU.VOID})))))))),this.saveNewPeerCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SAVE_NEW_PEER_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.CONNECT_PEER})),this.store.dispatch((0,F.no)({payload:{action:"SaveNewPeer",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.PEERS_API,{id:r.payload.id}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"SaveNewPeer",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.CONNECT_PEER})),this.store.dispatch((0,F.Qj)({payload:v||[]})),{type:T.TC.NEWLY_ADDED_PEER_CLN,payload:{peer:v.find(V=>0===r.payload.id.indexOf(V.id?V.id:""))}})),(0,f.W)(v=>(this.handleErrorWithoutAlert("SaveNewPeer",T.MZ.CONNECT_PEER,"Peer Connection Failed.",v),(0,w.of)({type:T.aU.VOID})))))))),this.detachPeerCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.DETACH_PEER_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+T.rl.PEERS_API+"/disconnect",{id:r.payload.id,force:r.payload.force}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:T.MZ.DISCONNECT_PEER})),this.store.dispatch((0,y.UI)({payload:"Peer Disconnected Successfully!"})),{type:T.TC.REMOVE_PEER_CLN,payload:{id:r.payload.id}})),(0,f.W)(v=>(this.handleErrorWithAlert("PeerDisconnect",T.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+T.rl.PEERS_API+"/"+r.payload.id,v),(0,w.of)({type:T.aU.VOID})))))))),this.channelsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_CHANNELS_CLN),(0,S.Z)(()=>(this.store.dispatch((0,F.no)({payload:{action:"FetchChannels",status:T.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+T.rl.CHANNELS_API+"/listPeerChannels"))),(0,x.T)(r=>{this.logger.info(r),this.store.dispatch((0,F.no)({payload:{action:"FetchChannels",status:T.wn.COMPLETED}}));const v={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return r.forEach(V=>{"CHANNELD_NORMAL"===V.state?V.peer_connected?v.activeChannels.push(V):v.inactiveChannels.push(V):v.pendingChannels.push(V)}),{type:T.TC.SET_CHANNELS_CLN,payload:v}}),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchChannels",T.MZ.NO_SPINNER,"Fetching Channels Failed.",r),(0,w.of)({type:T.aU.VOID}))))),this.openNewChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SAVE_NEW_CHANNEL_CLN),(0,S.Z)(r=>{this.store.dispatch((0,y.mt)({payload:T.MZ.OPEN_CHANNEL})),this.store.dispatch((0,F.no)({payload:{action:"SaveNewChannel",status:T.wn.INITIATED}}));const v={id:r.payload.peerId,amount:r.payload.amount,feerate:r.payload.feeRate,announce:r.payload.announce};return r.payload.minconf&&(v.minconf=r.payload.minconf),r.payload.utxos&&(v.utxos=r.payload.utxos),r.payload.requestAmount&&(v.request_amt=r.payload.requestAmount),r.payload.compactLease&&(v.compact_lease=r.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+T.rl.CHANNELS_API,v).pipe((0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,F.no)({payload:{action:"SaveNewChannel",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.OPEN_CHANNEL})),this.store.dispatch((0,y.UI)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,F.g6)()),{type:T.TC.FETCH_CHANNELS_CLN})),(0,f.W)(V=>(this.handleErrorWithoutAlert("SaveNewChannel",T.MZ.OPEN_CHANNEL,"Opening Channel Failed.",V),(0,w.of)({type:T.aU.VOID}))))}))),this.updateChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.UPDATE_CHANNEL_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+T.rl.CHANNELS_API+"/setChannelFee",r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:T.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,y.UI)("all"===r.payload.id?{payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}}:{payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:T.TC.FETCH_CHANNELS_CLN})),(0,f.W)(v=>(this.handleErrorWithAlert("UpdateChannel",T.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+T.rl.CHANNELS_API,v),(0,w.of)({type:T.aU.VOID})))))))),this.closeChannelCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.CLOSE_CHANNEL_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:r.payload.force?T.MZ.FORCE_CLOSE_CHANNEL:T.MZ.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+T.rl.CHANNELS_API+"/close",{id:r.payload.channelId,unilateraltimeout:r.payload.force?1:null}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:r.payload.force?T.MZ.FORCE_CLOSE_CHANNEL:T.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,F.$Q)()),this.store.dispatch((0,F.g6)()),this.store.dispatch((0,y.UI)({payload:"Channel Closed Successfully!"})),{type:T.TC.REMOVE_CHANNEL_CLN,payload:r.payload})),(0,f.W)(v=>(this.handleErrorWithAlert("CloseChannel",r.payload.force?T.MZ.FORCE_CLOSE_CHANNEL:T.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+T.rl.CHANNELS_API,v),(0,w.of)({type:T.aU.VOID})))))))),this.paymentsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_PAYMENTS_CLN),(0,S.Z)(()=>(this.store.dispatch((0,F.no)({payload:{action:"FetchPayments",status:T.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+T.rl.PAYMENTS_API))),(0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.no)({payload:{action:"FetchPayments",status:T.wn.COMPLETED}})),{type:T.TC.SET_PAYMENTS_CLN,payload:r||[]})),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchPayments",T.MZ.NO_SPINNER,"Fetching Payments Failed.",r),(0,w.of)({type:T.aU.VOID}))))),this.fetchOfferInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_OFFER_INVOICE_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.FETCH_INVOICE})),this.store.dispatch((0,F.no)({payload:{action:"FetchOfferInvoice",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.OFFERS_API+"/fetchOfferInvoice",r.payload).pipe((0,x.T)(v=>{this.logger.info(v),setTimeout(()=>{this.store.dispatch((0,F.no)({payload:{action:"FetchOfferInvoice",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.FETCH_INVOICE})),this.store.dispatch((0,F.GZ)({payload:v||{}}))},500)}),(0,f.W)(v=>(this.handleErrorWithoutAlert("FetchOfferInvoice",T.MZ.FETCH_INVOICE,"Offer Invoice Fetch Failed",v),(0,w.of)({type:T.aU.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SET_OFFER_INVOICE_CLN),(0,x.T)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SEND_PAYMENT_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:r.payload.uiMessage})),this.store.dispatch((0,F.no)({payload:{action:"SendPayment",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.PAYMENTS_API,r.payload).pipe((0,x.T)(v=>{this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"SendPayment",status:T.wn.COMPLETED}}));let V="Payment Sent Successfully!";v.saveToDBError&&(V="Payment Sent Successfully but Offer Saving to Database Failed."),v.saveToDBResponse&&"NA"!==v.saveToDBResponse&&(this.store.dispatch((0,F.Db)({payload:v.saveToDBResponse})),V="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,F.$Q)()),this.store.dispatch((0,F.g6)()),this.store.dispatch((0,F.CK)()),this.store.dispatch((0,y.y0)({payload:r.payload.uiMessage})),this.store.dispatch((0,y.UI)({payload:V})),this.store.dispatch((0,F.N4)({payload:v.paymentResponse}))},1e3)}),(0,f.W)(v=>(this.logger.error("Error: "+JSON.stringify(v)),r.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed.",v):this.handleErrorWithAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+T.rl.PAYMENTS_API,v),(0,w.of)({type:T.aU.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.GET_QUERY_ROUTES_CLN),(0,S.Z)(r=>(this.store.dispatch((0,F.no)({payload:{action:"GetQueryRoutes",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.NETWORK_API+"/getRoute",{id:r.payload.destPubkey,amount_msat:r.payload.amount,riskfactor:0}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"GetQueryRoutes",status:T.wn.COMPLETED}})),{type:T.TC.SET_QUERY_ROUTES_CLN,payload:v})),(0,f.W)(v=>(this.store.dispatch((0,F.Hm)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",T.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+T.rl.NETWORK_API+"/getRoute",v),(0,w.of)({type:T.aU.VOID})))))))),this.setQueryRoutesCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SET_QUERY_ROUTES_CLN),(0,x.T)(r=>r.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.PEER_LOOKUP_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.SEARCHING_NODE})),this.store.dispatch((0,F.no)({payload:{action:"Lookup",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.NETWORK_API+"/listNodes",{id:r.payload}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"Lookup",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.SEARCHING_NODE})),{type:T.TC.SET_LOOKUP_CLN,payload:v})),(0,f.W)(v=>(this.handleErrorWithAlert("Lookup",T.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+T.rl.NETWORK_API+"/listNodes/"+r.payload,v),(0,w.of)({type:T.aU.VOID})))))))),this.channelLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.CHANNEL_LOOKUP_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:r.payload.uiMessage})),this.store.dispatch((0,F.no)({payload:{action:"Lookup",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.NETWORK_API+"/listChannels",{short_channel_id:r.payload.shortChannelID}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"Lookup",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:r.payload.uiMessage})),{type:T.TC.SET_LOOKUP_CLN,payload:v})),(0,f.W)(v=>(r.payload.showError?this.handleErrorWithAlert("Lookup",r.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+T.rl.NETWORK_API+"/listChannels/"+r.payload.shortChannelID,v):this.store.dispatch((0,y.y0)({payload:r.payload.uiMessage})),this.store.dispatch((0,F.$J)({payload:[]})),(0,w.of)({type:T.aU.VOID})))))))),this.invoiceLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.INVOICE_LOOKUP_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,F.no)({payload:{action:"Lookup",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.INVOICES_API+"/lookup",{label:r.payload}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"Lookup",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.SEARCHING_INVOICE})),v.invoices&&v.invoices.length&&v.invoices.length>0&&this.store.dispatch((0,F.Dq)({payload:v.invoices[0]})),{type:T.TC.SET_LOOKUP_CLN,payload:v.invoices&&v.invoices.length&&v.invoices.length>0?v.invoices[0]:v})),(0,f.W)(v=>(this.handleErrorWithoutAlert("Lookup",T.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",v),this.store.dispatch((0,y.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,w.of)({type:T.aU.VOID})))))))),this.setLookupCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SET_LOOKUP_CLN),(0,x.T)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.GET_FORWARDING_HISTORY_CLN),(0,S.Z)(r=>{const v=r.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,F.no)({payload:{action:"FetchForwardingHistory"+v,status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.CHANNELS_API+"/listForwards",r.payload).pipe((0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,F.no)({payload:{action:"FetchForwardingHistory"+v,status:T.wn.COMPLETED}})),r.payload.status===T.xk.FAILED?this.store.dispatch((0,F.kv)({payload:{status:T.xk.FAILED,totalForwards:V.length,listForwards:V}})):r.payload.status===T.xk.LOCAL_FAILED?this.store.dispatch((0,F.kv)({payload:{status:T.xk.LOCAL_FAILED,totalForwards:V.length,listForwards:V}})):r.payload.status===T.xk.SETTLED&&this.store.dispatch((0,F.kv)({payload:{status:T.xk.SETTLED,totalForwards:V.length,listForwards:V}})),{type:T.aU.VOID})),(0,f.W)(V=>(this.handleErrorWithAlert("FetchForwardingHistory"+v,T.MZ.NO_SPINNER,"Get "+r.payload.status+" Forwarding History Failed",this.CHILD_API_URL+T.rl.CHANNELS_API+"/listForwards",V),(0,w.of)({type:T.aU.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.DELETE_EXPIRED_INVOICE_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+T.rl.INVOICES_API+"/delete",{maxexpiry:r.payload}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,y.y0)({payload:T.MZ.DELETE_INVOICE})),this.store.dispatch((0,y.UI)({payload:"Invoices Deleted Successfully!"})),{type:T.TC.FETCH_INVOICES_CLN})),(0,f.W)(v=>(this.handleErrorWithAlert("DeleteInvoices",T.MZ.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+T.rl.INVOICES_API,v),(0,w.of)({type:T.aU.VOID})))))))),this.saveNewInvoiceCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SAVE_NEW_INVOICE_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.ADD_INVOICE})),this.store.dispatch((0,F.no)({payload:{action:"SaveNewInvoice",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.INVOICES_API,r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"SaveNewInvoice",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.ADD_INVOICE})),v.amount_msat=r.payload.amount_msat,v.label=r.payload.label,v.expires_at=Math.round((new Date).getTime()/1e3+r.payload.expiry),v.description=r.payload.description,v.status="unpaid",setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{invoice:v,newlyAdded:!0,component:d.y}}}))},200),{type:T.TC.ADD_INVOICE_CLN,payload:v})),(0,f.W)(v=>(this.handleErrorWithoutAlert("SaveNewInvoice",T.MZ.ADD_INVOICE,"Add Invoice Failed.",v),(0,w.of)({type:T.aU.VOID})))))))),this.saveNewOfferCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SAVE_NEW_OFFER_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.CREATE_OFFER})),this.store.dispatch((0,F.no)({payload:{action:"SaveNewOffer",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.OFFERS_API,r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"SaveNewOffer",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{offer:v,newlyAdded:!0,component:z.f}}}))},100),{type:T.TC.ADD_OFFER_CLN,payload:v})),(0,f.W)(v=>(this.handleErrorWithoutAlert("SaveNewOffer",T.MZ.CREATE_OFFER,"Create Offer Failed.",v),(0,w.of)({type:T.aU.VOID})))))))),this.invoicesFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_INVOICES_CLN),(0,S.Z)(()=>(this.store.dispatch((0,F.no)({payload:{action:"FetchInvoices",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.INVOICES_API+"/lookup",null))),(0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.no)({payload:{action:"FetchInvoices",status:T.wn.COMPLETED}})),{type:T.TC.SET_INVOICES_CLN,payload:r})),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchInvoices",T.MZ.NO_SPINNER,"Fetching Invoices Failed.",r),(0,w.of)({type:T.aU.VOID}))))),this.offersFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_OFFERS_CLN),(0,S.Z)(r=>(this.store.dispatch((0,F.no)({payload:{action:"FetchOffers",status:T.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+T.rl.OFFERS_API).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"FetchOffers",status:T.wn.COMPLETED}})),{type:T.TC.SET_OFFERS_CLN,payload:v.offers?v.offers:[]})),(0,f.W)(v=>(this.handleErrorWithoutAlert("FetchOffers",T.MZ.NO_SPINNER,"Fetching Offers Failed.",v),(0,w.of)({type:T.aU.VOID})))))))),this.offersDisableCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.DISABLE_OFFER_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.DISABLE_OFFER})),this.store.dispatch((0,F.no)({payload:{action:"DisableOffer",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.OFFERS_API+"/disableOffer",{offer_id:r.payload.offer_id}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"DisableOffer",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.DISABLE_OFFER})),this.store.dispatch((0,y.UI)({payload:"Offer Disabled Successfully!"})),{type:T.TC.UPDATE_OFFER_CLN,payload:{offer:v}})),(0,f.W)(v=>(this.handleErrorWithoutAlert("DisableOffer",T.MZ.DISABLE_OFFER,"Disabling Offer Failed.",v),(0,w.of)({type:T.aU.VOID})))))))),this.offerBookmarksFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_OFFER_BOOKMARKS_CLN),(0,S.Z)(r=>(this.store.dispatch((0,F.no)({payload:{action:"FetchOfferBookmarks",status:T.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+T.rl.OFFERS_API+"/offerbookmarks").pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"FetchOfferBookmarks",status:T.wn.COMPLETED}})),{type:T.TC.SET_OFFER_BOOKMARKS_CLN,payload:v||[]})),(0,f.W)(v=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",T.MZ.NO_SPINNER,"Fetching Offer Bookmarks Failed.",v),(0,w.of)({type:T.aU.VOID})))))))),this.peidOffersDeleteCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.DELETE_OFFER_BOOKMARK_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,F.no)({payload:{action:"DeleteOfferBookmark",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.OFFERS_API+"/offerbookmark/delete",{offer_str:r.payload.bolt12}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"DeleteOfferBookmark",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,y.UI)({payload:"Offer Bookmark Deleted Successfully!"})),{type:T.TC.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:r.payload.bolt12}})),(0,f.W)(v=>(this.handleErrorWithAlert("DeleteOfferBookmark",T.MZ.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+T.rl.OFFERS_API+"/offerbookmark/"+r.payload.bolt12,v),(0,w.of)({type:T.aU.VOID})))))))),this.SetChannelTransactionCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SET_CHANNEL_TRANSACTION_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.SEND_FUNDS})),this.store.dispatch((0,F.no)({payload:{action:"SetChannelTransaction",status:T.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+T.rl.ON_CHAIN_API,r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"SetChannelTransaction",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.SEND_FUNDS})),this.store.dispatch((0,F.g6)()),{type:T.TC.SET_CHANNEL_TRANSACTION_RES_CLN,payload:v})),(0,f.W)(v=>(this.handleErrorWithoutAlert("SetChannelTransaction",T.MZ.SEND_FUNDS,"Sending Fund Failed.",v),(0,w.of)({type:T.aU.VOID})))))))),this.utxoBalancesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_UTXO_BALANCES_CLN),(0,S.Z)(()=>(this.store.dispatch((0,F.no)({payload:{action:"FetchUTXOBalances",status:T.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+T.rl.ON_CHAIN_API+"/utxos"))),(0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.no)({payload:{action:"FetchUTXOBalances",status:T.wn.COMPLETED}})),{type:T.TC.SET_UTXO_BALANCES_CLN,payload:r})),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchUTXOBalances",T.MZ.NO_SPINNER,"Fetching UTXO and Balances Failed.",r),(0,w.of)({type:T.aU.VOID}))))),this.pageSettingsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.FETCH_PAGE_SETTINGS_CLN),(0,S.Z)(()=>(this.store.dispatch((0,F.no)({payload:{action:"FetchPageSettings",status:T.wn.INITIATED}})),this.httpClient.get(T.rl.PAGE_SETTINGS_API).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.no)({payload:{action:"FetchPageSettings",status:T.wn.COMPLETED}})),{type:T.TC.SET_PAGE_SETTINGS_CLN,payload:r||[]})),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchPageSettings",T.MZ.NO_SPINNER,"Fetching Page Settings Failed.",r),(0,w.of)({type:T.aU.VOID})))))))),this.savePageSettingsCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(T.TC.SAVE_PAGE_SETTINGS_CLN),(0,S.Z)(r=>(this.store.dispatch((0,y.mt)({payload:T.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,F.no)({payload:{action:"SavePageSettings",status:T.wn.INITIATED}})),this.httpClient.post(T.rl.PAGE_SETTINGS_API,r.payload).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.no)({payload:{action:"SavePageSettings",status:T.wn.COMPLETED}})),this.store.dispatch((0,y.y0)({payload:T.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,y.UI)({payload:"Page Layout Updated Successfully!"})),{type:T.TC.SET_PAGE_SETTINGS_CLN,payload:v||[]})),(0,f.W)(v=>(this.handleErrorWithAlert("SavePageSettings",T.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",T.rl.PAGE_SETTINGS_API,v),(0,w.of)({type:T.aU.VOID})))))))),this.store.select(R.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(r=>{r.FetchInfo.status!==T.wn.COMPLETED&&r.FetchInfo.status!==T.wn.ERROR||r.FetchChannels.status!==T.wn.COMPLETED&&r.FetchChannels.status!==T.wn.ERROR||r.FetchUTXOBalances.status!==T.wn.COMPLETED&&r.FetchUTXOBalances.status!==T.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,y.y0)({payload:T.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.Q)(this.unSubs[1])).subscribe(r=>{this.logger.info("Received new message from the service: "+JSON.stringify(r)),r&&r.data&&r.data[T.Jr.INVOICE_PAYMENT]&&r.data[T.Jr.INVOICE_PAYMENT].label&&this.store.dispatch((0,F.Dq)({payload:r.data[T.Jr.INVOICE_PAYMENT]}))})}initializeRemainingData(D,n){this.sessionService.setItem("clnUnlocked","true");const c={identity_pubkey:D.id,alias:D.alias,testnet:"testnet"===D.network.toLowerCase(),chains:D.chains,uris:D.uris,version:D.version,api_version:D.api_version,numberOfPendingChannels:D.num_pending_channels};this.store.dispatch((0,y.mt)({payload:T.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,y.Fl)({payload:c}));let m=this.location.path();m.includes("/lnd/")?m=m?.replace("/lnd/","/cln/"):m.includes("/ecl/")&&(m=m?.replace("/ecl/","/cln/")),(m.includes("/login")||m.includes("/error")||""===m||"HOME"===n||m.includes("?access-key="))&&(m="/cln/home"),this.router.navigate([m]),this.store.dispatch((0,F.Do)()),this.store.dispatch((0,F.$Q)()),this.store.dispatch((0,F.g6)()),this.store.dispatch((0,F.kX)({payload:"perkw"})),this.store.dispatch((0,F.kX)({payload:"perkb"})),this.store.dispatch((0,F.Gy)()),this.store.dispatch((0,F.CK)())}handleErrorWithoutAlert(D,n,c,m){if(this.logger.error("ERROR IN: "+D+"\n"+JSON.stringify(m)),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.Jh)()),this.store.dispatch((0,y.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,y.y0)({payload:n}));const h=this.commonService.extractErrorMessage(m,c);this.store.dispatch((0,F.no)({payload:{action:D,status:T.wn.ERROR,statusCode:m.status.toString(),message:h}}))}}handleErrorWithAlert(D,n,c,m,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.Jh)()),this.store.dispatch((0,y.ri)({payload:"Authentication Failed: "+JSON.stringify(h.error)})),this.store.dispatch((0,y.UI)({payload:"Authentication Failed: "+h.error}));else{this.store.dispatch((0,y.y0)({payload:n}));const C=this.commonService.extractErrorMessage(h);this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:c,message:{code:h.status,message:C,URL:m},component:I.f}}})),this.store.dispatch((0,F.no)({payload:{action:D,status:T.wn.ERROR,statusCode:h.status.toString(),message:C,URL:m}}))}}ngOnDestroy(){this.unSubs.forEach(D=>{D.next(null),D.complete()})}static#e=this.\u0275fac=function(n){return new(n||Te)(W.KVO(e.En),W.KVO($.Qq),W.KVO(j.il),W.KVO(Q.Q),W.KVO(J.h),W.KVO(ee.gP),W.KVO(ie.Ix),W.KVO(ge.I),W.KVO(ae.aZ))};static#t=this.\u0275prov=W.jDH({token:Te,factory:Te.\u0275fac})}return Te})()},9584:(Qe,te,g)=>{"use strict";g.d(te,{Al:()=>F,BM:()=>R,Dv:()=>W,GX:()=>j,Ie:()=>z,KT:()=>f,O5:()=>ee,Pj:()=>y,RB:()=>T,RQ:()=>J,aJ:()=>$,av:()=>w,ip:()=>ie,kQ:()=>Q,kr:()=>d,mH:()=>S,os:()=>I,ru:()=>x});var e=g(9640);const t=(0,e.UX)("cln"),w=(0,e.Mz)(t,ae=>({pageSettings:ae.pageSettings,apiCallStatus:ae.apisCallStatus.FetchPageSettings})),S=(0,e.Mz)(t,ae=>ae.information),x=((0,e.Mz)(t,ae=>ae.apisCallStatus.FetchInfo),(0,e.Mz)(t,ae=>ae.apisCallStatus)),f=(0,e.Mz)(t,ae=>({payments:ae.payments,apiCallStatus:ae.apisCallStatus.FetchPayments})),I=(0,e.Mz)(t,ae=>({peers:ae.peers,apiCallStatus:ae.apisCallStatus.FetchPeers})),d=(0,e.Mz)(t,ae=>({feeRatesPerKB:ae.feeRatesPerKB,apiCallStatus:ae.apisCallStatus.FetchFeeRatesperkb})),T=(0,e.Mz)(t,ae=>({feeRatesPerKW:ae.feeRatesPerKW,apiCallStatus:ae.apisCallStatus.FetchFeeRatesperkw})),y=(0,e.Mz)(t,ae=>({listInvoices:ae.invoices,apiCallStatus:ae.apisCallStatus.FetchInvoices})),F=(0,e.Mz)(t,ae=>({utxos:ae.utxos,balance:ae.balance,localRemoteBalance:ae.localRemoteBalance,apiCallStatus:ae.apisCallStatus.FetchUTXOBalances})),R=(0,e.Mz)(t,ae=>({activeChannels:ae.activeChannels,pendingChannels:ae.pendingChannels,inactiveChannels:ae.inactiveChannels,apiCallStatus:ae.apisCallStatus.FetchChannels})),z=(0,e.Mz)(t,ae=>({forwardingHistory:ae.forwardingHistory,apiCallStatus:ae.apisCallStatus.FetchForwardingHistoryS})),W=(0,e.Mz)(t,ae=>({failedForwardingHistory:ae.failedForwardingHistory,apiCallStatus:ae.apisCallStatus.FetchForwardingHistoryF})),$=(0,e.Mz)(t,ae=>({localFailedForwardingHistory:ae.localFailedForwardingHistory,apiCallStatus:ae.apisCallStatus.FetchForwardingHistoryL})),j=(0,e.Mz)(t,ae=>({information:ae.information,balance:ae.balance,numPeers:ae.peers.length})),Q=(0,e.Mz)(t,ae=>({information:ae.information,balance:ae.balance})),J=(0,e.Mz)(t,ae=>({information:ae.information,fees:ae.fees,apisCallStatus:[ae.apisCallStatus.FetchInfo,ae.apisCallStatus.FetchForwardingHistoryS]})),ee=(0,e.Mz)(t,ae=>({offers:ae.offers,apiCallStatus:ae.apisCallStatus.FetchOffers})),ie=(0,e.Mz)(t,ae=>({offersBookmarks:ae.offersBookmarks,apiCallStatus:ae.apisCallStatus.FetchOfferBookmarks}))},8321:(Qe,te,g)=>{"use strict";g.d(te,{y:()=>mt});var e=g(5351),t=g(5383),w=g(1413),S=g(6977),l=g(4416),x=g(9584),f=g(4438),I=g(8570),d=g(2571),T=g(5416),y=g(9640),F=g(177),R=g(60),z=g(2920),W=g(6038),$=g(8834),j=g(5596),Q=g(1997),J=g(9183),ee=g(4823),ie=g(8288),ge=g(9157),ae=g(9587);const Me=_e=>({"display-none":_e}),Te=_e=>({"xs-scroll-y":_e}),de=(_e,be)=>({"mt-2":_e,"mt-1":be}),D=_e=>({"mr-0":_e}),n=()=>[];function c(_e,be){if(1&_e&&f.nrm(0,"qr-code",33),2&_e){const pe=f.XpG();f.Y8G("value",(null==pe.invoice?null:pe.invoice.bolt11)||(null==pe.invoice?null:pe.invoice.bolt12))("size",pe.qrWidth)("errorCorrectionLevel","L")}}function m(_e,be){1&_e&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function h(_e,be){if(1&_e&&f.nrm(0,"span",35),2&_e){const pe=f.XpG();f.Y8G("ngClass",f.eq3(1,D,pe.screenSize===pe.screenSizeEnum.XS))}}function C(_e,be){if(1&_e&&f.nrm(0,"span",36),2&_e){const pe=f.XpG();f.Y8G("ngClass",f.eq3(1,D,pe.screenSize===pe.screenSizeEnum.XS))}}function k(_e,be){if(1&_e&&f.nrm(0,"span",37),2&_e){const pe=f.XpG();f.Y8G("ngClass",f.eq3(1,D,pe.screenSize===pe.screenSizeEnum.XS))}}function L(_e,be){if(1&_e&&f.nrm(0,"qr-code",33),2&_e){const pe=f.XpG();f.Y8G("value",(null==pe.invoice?null:pe.invoice.bolt11)||(null==pe.invoice?null:pe.invoice.bolt12))("size",pe.qrWidth)("errorCorrectionLevel","L")}}function _(_e,be){1&_e&&(f.j41(0,"span",38),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function r(_e,be){1&_e&&f.nrm(0,"mat-divider",39)}function v(_e,be){if(1&_e&&(f.j41(0,"div",20)(1,"div",40),f.nrm(2,"fa-icon",41),f.j41(3,"span"),f.EFF(4),f.k0s()()()),2&_e){const pe=f.XpG();f.R7$(2),f.Y8G("icon",pe.faExclamationTriangle),f.R7$(2),f.JRh(null==pe.invoice?null:pe.invoice.warning_capacity)}}function V(_e,be){1&_e&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function N(_e,be){1&_e&&f.nrm(0,"span",47)}function ne(_e,be){if(1&_e&&(f.j41(0,"div",43)(1,"div",44)(2,"span",45),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,N,1,0,"span",46),f.k0s()()),2&_e){const pe=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,(null==pe.invoice?null:pe.invoice.amount_received_msat)/1e3)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,n).constructor(35))}}function Ee(_e,be){if(1&_e&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&_e){const pe=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,(null==pe.invoice?null:pe.invoice.amount_received_msat)/1e3)," Sats")}}function ze(_e,be){if(1&_e&&(f.qex(0),f.DNE(1,ne,6,5,"div",42)(2,Ee,3,3,"div",24),f.bVm()),2&_e){const pe=f.XpG();f.R7$(),f.Y8G("ngIf",pe.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!pe.flgInvoicePaid)}}function qe(_e,be){1&_e&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function Ke(_e,be){1&_e&&f.nrm(0,"mat-spinner",49),2&_e&&f.Y8G("diameter",20)}function se(_e,be){if(1&_e&&(f.qex(0),f.DNE(1,qe,2,0,"span",24)(2,Ke,1,1,"mat-spinner",48),f.bVm()),2&_e){const pe=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==pe.invoice?null:pe.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==pe.invoice?null:pe.invoice.status))}}function X(_e,be){if(1&_e&&(f.j41(0,"div"),f.nrm(1,"mat-divider",26),f.j41(2,"div",20)(3,"div",27)(4,"h4",22),f.EFF(5,"Payment Hash"),f.k0s(),f.j41(6,"span",25),f.EFF(7),f.k0s()()(),f.nrm(8,"mat-divider",26),f.j41(9,"div",20)(10,"div",27)(11,"h4",22),f.EFF(12,"Label"),f.k0s(),f.j41(13,"span",25),f.EFF(14),f.k0s()()(),f.nrm(15,"mat-divider",26),f.k0s()),2&_e){const pe=f.XpG();f.R7$(7),f.JRh(null==pe.invoice?null:pe.invoice.payment_hash),f.R7$(7),f.JRh(null==pe.invoice?null:pe.invoice.label)}}function me(_e,be){1&_e&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function ce(_e,be){1&_e&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function fe(_e,be){if(1&_e){const pe=f.RV6();f.j41(0,"button",50),f.bIt("copied",function(_t){f.eBV(pe);const at=f.XpG();return f.Njj(at.onCopyPayment(_t))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&_e){const pe=f.XpG();f.Y8G("payload",(null==pe.invoice?null:pe.invoice.bolt11)||(null==pe.invoice?null:pe.invoice.bolt12))}}function ke(_e,be){if(1&_e){const pe=f.RV6();f.j41(0,"button",51),f.bIt("click",function(){f.eBV(pe);const _t=f.XpG();return f.Njj(_t.onClose())}),f.EFF(1,"OK"),f.k0s()}}let mt=(()=>{class _e{constructor(pe,Ze,_t,at,pt,Xt){this.dialogRef=pe,this.data=Ze,this.logger=_t,this.commonService=at,this.snackBar=pt,this.store=Xt,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgInvoicePaid=!1,this.unSubs=[new w.B,new w.B,new w.B,new w.B,new w.B]}ngOnInit(){this.invoice=this.data.invoice,this.invoiceStatus=this.invoice.status,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.f7.XS&&(this.qrWidth=220),this.store.select(x.Pj).pipe((0,S.Q)(this.unSubs[1])).subscribe(pe=>{const _t=(pe.listInvoices.invoices||[])?.find(at=>at.payment_hash===this.invoice.payment_hash)||null;_t&&(this.invoice=_t),this.invoiceStatus!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(this.invoice),this.logger.info(this.invoiceStatus),this.logger.info(_t),this.logger.info(pe)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(pe){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+pe)}ngOnDestroy(){this.unSubs.forEach(pe=>{pe.next(null),pe.complete()})}static#e=this.\u0275fac=function(Ze){return new(Ze||_e)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(I.gP),f.rXU(d.h),f.rXU(T.UG),f.rXU(y.il))};static#t=this.\u0275cmp=f.VBU({type:_e,selectors:[["rtl-cln-invoice-information"]],decls:72,vars:49,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","dot green ml-1","matTooltip","Paid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow ml-1","matTooltip","Unpaid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red ml-1","matTooltip","Expired","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],["matTooltip","Paid","matTooltipPosition","right",1,"dot","green","ml-1",3,"ngClass"],["matTooltip","Unpaid","matTooltipPosition","right",1,"dot","yellow","ml-1",3,"ngClass"],["matTooltip","Expired","matTooltipPosition","right",1,"dot","red","ml-1",3,"ngClass"],[1,"font-size-120"],[1,"my-1"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Ze,_t){if(1&Ze){const at=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,c,1,3,"qr-code",3)(3,m,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.DNE(10,h,1,3,"span",10)(11,C,1,3,"span",11)(12,k,1,3,"span",12),f.k0s()(),f.j41(13,"button",13),f.bIt("click",function(){return f.eBV(at),f.Njj(_t.onClose())}),f.EFF(14,"X"),f.k0s()(),f.j41(15,"mat-card-content",14)(16,"div",15)(17,"div",16),f.DNE(18,L,1,3,"qr-code",3)(19,_,2,0,"span",17),f.k0s(),f.DNE(20,r,1,0,"mat-divider",18)(21,v,5,2,"div",19),f.j41(22,"div",20)(23,"div",21)(24,"h4",22),f.EFF(25),f.k0s(),f.j41(26,"span",23),f.EFF(27),f.nI1(28,"number"),f.DNE(29,V,2,0,"ng-container",24),f.k0s()(),f.j41(30,"div",21)(31,"h4",22),f.EFF(32,"Amount Received"),f.k0s(),f.j41(33,"span",25),f.DNE(34,ze,3,2,"ng-container",24)(35,se,3,2,"ng-container",24),f.k0s()()(),f.nrm(36,"mat-divider",26),f.j41(37,"div",20)(38,"div",21)(39,"h4",22),f.EFF(40,"Date Expiry"),f.k0s(),f.j41(41,"span",23),f.EFF(42),f.nI1(43,"date"),f.k0s()(),f.j41(44,"div",21)(45,"h4",22),f.EFF(46,"Date Settled"),f.k0s(),f.j41(47,"span",23),f.EFF(48),f.nI1(49,"date"),f.k0s()()(),f.nrm(50,"mat-divider",26),f.j41(51,"div",20)(52,"div",27)(53,"h4",22),f.EFF(54,"Description"),f.k0s(),f.j41(55,"span",23),f.EFF(56),f.k0s()()(),f.nrm(57,"mat-divider",26),f.j41(58,"div",20)(59,"div",27)(60,"h4",22),f.EFF(61),f.k0s(),f.j41(62,"span",25),f.EFF(63),f.k0s()()(),f.DNE(64,X,16,2,"div",24),f.j41(65,"div",28)(66,"button",29),f.bIt("click",function(){return f.eBV(at),f.Njj(_t.onShowAdvanced())}),f.DNE(67,me,2,0,"p",30)(68,ce,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(70,fe,2,1,"button",31)(71,ke,2,0,"button",32),f.k0s()()()()()}if(2&Ze){const at=f.sdS(69);f.R7$(),f.Y8G("fxLayoutAlign",null!=_t.invoice&&_t.invoice.bolt11&&""!==(null==_t.invoice?null:_t.invoice.bolt11)||null!=_t.invoice&&_t.invoice.bolt12&&""!==(null==_t.invoice?null:_t.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(40,Me,_t.screenSize===_t.screenSizeEnum.XS||_t.screenSize===_t.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==_t.invoice?null:_t.invoice.bolt11)&&""!==(null==_t.invoice?null:_t.invoice.bolt11)||(null==_t.invoice?null:_t.invoice.bolt12)&&""!==(null==_t.invoice?null:_t.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=_t.invoice&&_t.invoice.bolt11||null!=_t.invoice&&_t.invoice.bolt12)),f.R7$(4),f.Y8G("icon",_t.faReceipt),f.R7$(2),f.SpI(" ",_t.screenSize===_t.screenSizeEnum.XS?_t.newlyAdded?"Created":"Invoice":_t.newlyAdded?"Invoice Created":"Invoice Information"," "),f.R7$(),f.Y8G("ngIf","paid"===(null==_t.invoice?null:_t.invoice.status)),f.R7$(),f.Y8G("ngIf","unpaid"===(null==_t.invoice?null:_t.invoice.status)),f.R7$(),f.Y8G("ngIf","expired"===(null==_t.invoice?null:_t.invoice.status)),f.R7$(3),f.Y8G("ngClass",f.eq3(42,Te,_t.screenSize===_t.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=_t.invoice&&_t.invoice.bolt11&&""!==(null==_t.invoice?null:_t.invoice.bolt11)||null!=_t.invoice&&_t.invoice.bolt12&&""!==(null==_t.invoice?null:_t.invoice.bolt12)?"center start":"center center")("ngClass",f.eq3(44,Me,_t.screenSize!==_t.screenSizeEnum.XS&&_t.screenSize!==_t.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==_t.invoice?null:_t.invoice.bolt11)&&""!==(null==_t.invoice?null:_t.invoice.bolt11)||(null==_t.invoice?null:_t.invoice.bolt12)&&""!==(null==_t.invoice?null:_t.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=_t.invoice&&_t.invoice.bolt11||null!=_t.invoice&&_t.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",_t.screenSize===_t.screenSizeEnum.XS||_t.screenSize===_t.screenSizeEnum.SM),f.R7$(),f.Y8G("ngIf",null==_t.invoice?null:_t.invoice.warning_capacity),f.R7$(4),f.JRh(_t.screenSize===_t.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI(" ",f.bMT(28,32,(null==_t.invoice?null:_t.invoice.amount_msat)/1e3||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=_t.invoice&&_t.invoice.amount_msat)||"0"===(null==_t.invoice?null:_t.invoice.amount_msat)||"any"===(null==_t.invoice?null:_t.invoice.amount_msat)),f.R7$(5),f.Y8G("ngIf","paid"===(null==_t.invoice?null:_t.invoice.status)),f.R7$(),f.Y8G("ngIf","paid"!==(null==_t.invoice?null:_t.invoice.status)),f.R7$(7),f.JRh(f.i5U(43,34,1e3*(null==_t.invoice?null:_t.invoice.expires_at),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(49,37,1e3*(null==_t.invoice?null:_t.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),f.R7$(8),f.JRh((null==_t.invoice?null:_t.invoice.description)||"-"),f.R7$(5),f.SpI("",null!=_t.invoice&&_t.invoice.bolt12?"Bolt12":null!=_t.invoice&&_t.invoice.bolt11&&!_t.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),f.R7$(2),f.JRh((null==_t.invoice?null:_t.invoice.bolt11)||(null==_t.invoice?null:_t.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",_t.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(46,de,!_t.showAdvanced,_t.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!_t.showAdvanced)("ngIfElse",at),f.R7$(3),f.Y8G("ngIf",(null==_t.invoice?null:_t.invoice.bolt11)&&""!==(null==_t.invoice?null:_t.invoice.bolt11)||(null==_t.invoice?null:_t.invoice.bolt12)&&""!==(null==_t.invoice?null:_t.invoice.bolt12)),f.R7$(),f.Y8G("ngIf",!(null!=_t.invoice&&_t.invoice.bolt11||null!=_t.invoice&&_t.invoice.bolt12))}},dependencies:[F.YU,F.Sq,F.bT,R.aY,z.DJ,z.sA,z.UI,W.PW,$.$z,j.m2,j.MM,Q.q,J.LG,ee.oV,ie.Um,ge.U,ae.N,F.QX,F.vh]})}return _e})()},2142:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>ne});var e=g(5351),t=g(5383),w=g(1413),S=g(6977),l=g(4416),x=g(4438),f=g(8570),I=g(2571),d=g(5416),T=g(1534),y=g(177),F=g(60),R=g(2920),z=g(6038),W=g(8834),$=g(5596),j=g(1997),Q=g(8288),J=g(9157),ee=g(9587);const ie=Ee=>({"display-none":Ee}),ge=Ee=>({"xs-scroll-y":Ee}),ae=(Ee,ze)=>({"mt-2":Ee,"mt-1":ze});function Me(Ee,ze){if(1&Ee&&x.nrm(0,"qr-code",28),2&Ee){const qe=x.XpG();x.Y8G("value",null==qe.offer?null:qe.offer.bolt12)("size",qe.qrWidth)("errorCorrectionLevel","L")}}function Te(Ee,ze){1&Ee&&(x.j41(0,"span",29),x.EFF(1,"N/A"),x.k0s())}function de(Ee,ze){if(1&Ee&&x.nrm(0,"qr-code",28),2&Ee){const qe=x.XpG();x.Y8G("value",null==qe.offer?null:qe.offer.bolt12)("size",qe.qrWidth)("errorCorrectionLevel","L")}}function D(Ee,ze){1&Ee&&(x.j41(0,"span",30),x.EFF(1,"QR Code Not Applicable"),x.k0s())}function n(Ee,ze){1&Ee&&x.nrm(0,"mat-divider",31),2&Ee&&x.Y8G("inset",!0)}function c(Ee,ze){1&Ee&&x.nrm(0,"mat-divider",20)}function m(Ee,ze){if(1&Ee&&(x.j41(0,"div",16)(1,"div",17)(2,"h4",18),x.EFF(3,"Used"),x.k0s(),x.j41(4,"span",19),x.EFF(5),x.k0s()(),x.j41(6,"div",17)(7,"h4",18),x.EFF(8,"Single Use"),x.k0s(),x.j41(9,"span",19),x.EFF(10),x.k0s()()()),2&Ee){const qe=x.XpG(2);x.R7$(5),x.SpI(" ",null!=qe.offer&&qe.offer.used?null!=qe.offer&&qe.offer.used?"Yes":"No":"N/K"," "),x.R7$(5),x.SpI(" ",null!=qe.offer&&qe.offer.single_use?null!=qe.offer&&qe.offer.single_use?"Yes":"No":"N/K"," ")}}function h(Ee,ze){1&Ee&&x.nrm(0,"mat-divider",20)}function C(Ee,ze){if(1&Ee&&(x.j41(0,"div",16)(1,"div",21)(2,"h4",18),x.EFF(3,"Issuer"),x.k0s(),x.j41(4,"span",34),x.EFF(5),x.k0s()()()),2&Ee){const qe=x.XpG(2);x.R7$(5),x.JRh(null==qe.offerDecoded?null:qe.offerDecoded.offer_issuer)}}function k(Ee,ze){1&Ee&&x.nrm(0,"mat-divider",20)}function L(Ee,ze){if(1&Ee&&(x.j41(0,"div",16)(1,"div",21)(2,"h4",18),x.EFF(3,"Label"),x.k0s(),x.j41(4,"span",19),x.EFF(5),x.k0s()()()),2&Ee){const qe=x.XpG(2);x.R7$(5),x.JRh(qe.offer.label)}}function _(Ee,ze){if(1&Ee&&(x.j41(0,"div"),x.DNE(1,c,1,0,"mat-divider",32)(2,m,11,2,"div",33)(3,h,1,0,"mat-divider",32)(4,C,6,1,"div",33)(5,k,1,0,"mat-divider",32)(6,L,6,1,"div",33),x.nrm(7,"mat-divider",20),x.j41(8,"div",16)(9,"div",21)(10,"h4",18),x.EFF(11,"Offer ID"),x.k0s(),x.j41(12,"span",19),x.EFF(13),x.k0s()()(),x.nrm(14,"mat-divider",20),x.j41(15,"div",16)(16,"div",21)(17,"h4",18),x.EFF(18,"Offer Node ID"),x.k0s(),x.j41(19,"span",19),x.EFF(20),x.k0s()()(),x.nrm(21,"mat-divider",20),x.k0s()),2&Ee){const qe=x.XpG();x.R7$(),x.Y8G("ngIf",(null==qe.offer?null:qe.offer.used)||(null==qe.offer?null:qe.offer.single_use)),x.R7$(),x.Y8G("ngIf",(null==qe.offer?null:qe.offer.used)||(null==qe.offer?null:qe.offer.single_use)),x.R7$(),x.Y8G("ngIf",null==qe.offerDecoded?null:qe.offerDecoded.issuer),x.R7$(),x.Y8G("ngIf",null==qe.offerDecoded?null:qe.offerDecoded.issuer),x.R7$(),x.Y8G("ngIf",qe.offer.label),x.R7$(),x.Y8G("ngIf",qe.offer.label),x.R7$(7),x.JRh(qe.offerDecoded.offer_id),x.R7$(7),x.JRh(null==qe.offerDecoded?null:qe.offerDecoded.offer_node_id)}}function r(Ee,ze){1&Ee&&(x.j41(0,"p"),x.EFF(1,"Show Advanced"),x.k0s())}function v(Ee,ze){1&Ee&&(x.j41(0,"p"),x.EFF(1,"Hide Advanced"),x.k0s())}function V(Ee,ze){if(1&Ee){const qe=x.RV6();x.j41(0,"button",35),x.bIt("copied",function(se){x.eBV(qe);const X=x.XpG();return x.Njj(X.onCopyOffer(se))}),x.EFF(1,"Copy Offer"),x.k0s()}if(2&Ee){const qe=x.XpG();x.Y8G("payload",null==qe.offer?null:qe.offer.bolt12)}}function N(Ee,ze){if(1&Ee){const qe=x.RV6();x.j41(0,"button",36),x.bIt("click",function(){x.eBV(qe);const se=x.XpG();return x.Njj(se.onClose())}),x.EFF(1,"OK"),x.k0s()}}let ne=(()=>{class Ee{constructor(qe,Ke,se,X,me,ce){this.dialogRef=qe,this.data=Ke,this.logger=se,this.commonService=X,this.snackBar=me,this.dataService=ce,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgOfferPaid=!1,this.unSubs=[new w.B,new w.B,new w.B,new w.B,new w.B]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.f7.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,S.Q)(this.unSubs[1])).subscribe(qe=>{this.offerDecoded=qe,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat&&(this.offerDecoded.offer_amount_msat=0)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(qe){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+qe)}ngOnDestroy(){this.unSubs.forEach(qe=>{qe.next(null),qe.complete()})}static#e=this.\u0275fac=function(Ke){return new(Ke||Ee)(x.rXU(e.CP),x.rXU(e.Vh),x.rXU(f.gP),x.rXU(I.h),x.rXU(d.UG),x.rXU(T.u))};static#t=this.\u0275cmp=x.VBU({type:Ee,selectors:[["rtl-cln-offer-information"]],decls:52,vars:33,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Ke,se){if(1&Ke){const X=x.RV6();x.j41(0,"div",1)(1,"div",2),x.DNE(2,Me,1,3,"qr-code",3)(3,Te,2,0,"span",4),x.k0s(),x.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),x.nrm(7,"fa-icon",8),x.j41(8,"span",9),x.EFF(9),x.k0s()(),x.j41(10,"button",10),x.bIt("click",function(){return x.eBV(X),x.Njj(se.onClose())}),x.EFF(11,"X"),x.k0s()(),x.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),x.DNE(15,de,1,3,"qr-code",3)(16,D,2,0,"span",14),x.k0s(),x.DNE(17,n,1,1,"mat-divider",15),x.j41(18,"div",16)(19,"div",17)(20,"h4",18),x.EFF(21,"Amount Requested (Sats)"),x.k0s(),x.j41(22,"span",19),x.EFF(23),x.nI1(24,"number"),x.k0s()(),x.j41(25,"div",17)(26,"h4",18),x.EFF(27,"Valid"),x.k0s(),x.j41(28,"span",19),x.EFF(29),x.k0s()()(),x.nrm(30,"mat-divider",20),x.j41(31,"div",16)(32,"div",21)(33,"h4",18),x.EFF(34,"Description"),x.k0s(),x.j41(35,"span",19),x.EFF(36),x.k0s()()(),x.nrm(37,"mat-divider",20),x.j41(38,"div",16)(39,"div",21)(40,"h4",18),x.EFF(41,"Offer"),x.k0s(),x.j41(42,"span",19),x.EFF(43),x.k0s()()(),x.DNE(44,_,22,8,"div",22),x.j41(45,"div",23)(46,"button",24),x.bIt("click",function(){return x.eBV(X),x.Njj(se.onShowAdvanced())}),x.DNE(47,r,2,0,"p",25)(48,v,2,0,"ng-template",null,0,x.C5r),x.k0s(),x.DNE(50,V,2,1,"button",26)(51,N,2,0,"button",27),x.k0s()()()()()}if(2&Ke){const X=x.sdS(49);x.R7$(),x.Y8G("fxLayoutAlign",null!=se.offer&&se.offer.bolt12&&""!==(null==se.offer?null:se.offer.bolt12)?"center start":"center center")("ngClass",x.eq3(24,ie,se.screenSize===se.screenSizeEnum.XS||se.screenSize===se.screenSizeEnum.SM)),x.R7$(),x.Y8G("ngIf",(null==se.offer?null:se.offer.bolt12)&&""!==(null==se.offer?null:se.offer.bolt12)),x.R7$(),x.Y8G("ngIf",!(null!=se.offer&&se.offer.bolt12)||""===(null==se.offer?null:se.offer.bolt12)),x.R7$(4),x.Y8G("icon",se.faReceipt),x.R7$(2),x.JRh(se.screenSize===se.screenSizeEnum.XS?se.newlyAdded?"Created":"Offer":se.newlyAdded?"Offer Created":"Offer Information"),x.R7$(3),x.Y8G("ngClass",x.eq3(26,ge,se.screenSize===se.screenSizeEnum.XS)),x.R7$(2),x.Y8G("fxLayoutAlign",null!=se.offer&&se.offer.bolt12&&""!==(null==se.offer?null:se.offer.bolt12)?"center start":"center center")("ngClass",x.eq3(28,ie,se.screenSize!==se.screenSizeEnum.XS&&se.screenSize!==se.screenSizeEnum.SM)),x.R7$(),x.Y8G("ngIf",(null==se.offer?null:se.offer.bolt12)&&""!==(null==se.offer?null:se.offer.bolt12)),x.R7$(),x.Y8G("ngIf",!(null!=se.offer&&se.offer.bolt12)||""===(null==se.offer?null:se.offer.bolt12)),x.R7$(),x.Y8G("ngIf",se.screenSize===se.screenSizeEnum.XS||se.screenSize===se.screenSizeEnum.SM),x.R7$(6),x.SpI(" ",null!=se.offerDecoded&&se.offerDecoded.offer_amount_msat&&0!==(null==se.offerDecoded?null:se.offerDecoded.offer_amount_msat)?x.bMT(24,22,(null==se.offerDecoded?null:se.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),x.R7$(6),x.SpI(" ",null!=se.offerDecoded&&se.offerDecoded.valid?null!=se.offerDecoded&&se.offerDecoded.valid?"Yes":"No":"N/K"," "),x.R7$(7),x.SpI(" ",null==se.offerDecoded?null:se.offerDecoded.offer_description," "),x.R7$(7),x.JRh(null==se.offer?null:se.offer.bolt12),x.R7$(),x.Y8G("ngIf",se.showAdvanced),x.R7$(),x.Y8G("ngClass",x.l_i(30,ae,!se.showAdvanced,se.showAdvanced)),x.R7$(2),x.Y8G("ngIf",!se.showAdvanced)("ngIfElse",X),x.R7$(3),x.Y8G("ngIf",(null==se.offer?null:se.offer.bolt12)&&""!==(null==se.offer?null:se.offer.bolt12)),x.R7$(),x.Y8G("ngIf",!(null!=se.offer&&se.offer.bolt12)||""===(null==se.offer?null:se.offer.bolt12))}},dependencies:[y.YU,y.bT,F.aY,R.DJ,R.sA,R.UI,z.PW,W.$z,$.m2,$.MM,j.q,Q.Um,J.U,ee.N,y.QX]})}return Ee})()},5428:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>Ke,$Q:()=>F,As:()=>ne,CK:()=>k,Do:()=>qe,Dq:()=>me,Fd:()=>v,Gy:()=>ee,Hh:()=>S,Hm:()=>r,I6:()=>W,Jx:()=>X,Lc:()=>Te,Lz:()=>Ee,N4:()=>V,N8:()=>Q,NS:()=>x,Qj:()=>ie,Sn:()=>f,T4:()=>_,Tp:()=>R,Uj:()=>L,Uo:()=>y,XT:()=>D,Xx:()=>j,Yi:()=>fe,ZE:()=>J,Zi:()=>de,cR:()=>C,cU:()=>z,fy:()=>m,gZ:()=>mt,iO:()=>se,jJ:()=>$,lg:()=>l,mh:()=>N,sq:()=>ge,uL:()=>w,vL:()=>c,w0:()=>h,x1:()=>d,yn:()=>_e,yp:()=>T,zR:()=>I,zU:()=>ce});var e=g(9640),t=g(4416);const w=(0,e.VP)(t.Uu.UPDATE_API_CALL_STATUS_ECL,(0,e.xk)()),S=(0,e.VP)(t.Uu.RESET_ECL_STORE),l=(0,e.VP)(t.Uu.FETCH_PAGE_SETTINGS_ECL),x=(0,e.VP)(t.Uu.SET_PAGE_SETTINGS_ECL,(0,e.xk)()),f=(0,e.VP)(t.Uu.SAVE_PAGE_SETTINGS_ECL,(0,e.xk)()),I=(0,e.VP)(t.Uu.FETCH_INFO_ECL,(0,e.xk)()),d=(0,e.VP)(t.Uu.SET_INFO_ECL,(0,e.xk)()),T=(0,e.VP)(t.Uu.FETCH_FEES_ECL),y=(0,e.VP)(t.Uu.SET_FEES_ECL,(0,e.xk)()),F=(0,e.VP)(t.Uu.FETCH_CHANNELS_ECL),R=(0,e.VP)(t.Uu.SET_ACTIVE_CHANNELS_ECL,(0,e.xk)()),z=(0,e.VP)(t.Uu.SET_PENDING_CHANNELS_ECL,(0,e.xk)()),W=(0,e.VP)(t.Uu.SET_INACTIVE_CHANNELS_ECL,(0,e.xk)()),$=(0,e.VP)(t.Uu.FETCH_ONCHAIN_BALANCE_ECL),j=(0,e.VP)(t.Uu.SET_ONCHAIN_BALANCE_ECL,(0,e.xk)()),Q=(0,e.VP)(t.Uu.SET_LIGHTNING_BALANCE_ECL,(0,e.xk)()),J=(0,e.VP)(t.Uu.SET_CHANNELS_STATUS_ECL,(0,e.xk)()),ee=(0,e.VP)(t.Uu.FETCH_PEERS_ECL),ie=(0,e.VP)(t.Uu.SET_PEERS_ECL,(0,e.xk)()),ge=(0,e.VP)(t.Uu.SAVE_NEW_PEER_ECL,(0,e.xk)()),Te=((0,e.VP)(t.Uu.NEWLY_ADDED_PEER_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.ADD_PEER_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.DETACH_PEER_ECL,(0,e.xk)())),de=(0,e.VP)(t.Uu.REMOVE_PEER_ECL,(0,e.xk)()),D=(0,e.VP)(t.Uu.GET_NEW_ADDRESS_ECL),c=((0,e.VP)(t.Uu.SET_NEW_ADDRESS_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.SAVE_NEW_CHANNEL_ECL,(0,e.xk)())),m=(0,e.VP)(t.Uu.UPDATE_CHANNEL_ECL,(0,e.xk)()),h=(0,e.VP)(t.Uu.CLOSE_CHANNEL_ECL,(0,e.xk)()),C=(0,e.VP)(t.Uu.REMOVE_CHANNEL_ECL,(0,e.xk)()),k=(0,e.VP)(t.Uu.FETCH_PAYMENTS_ECL,(0,e.xk)()),L=(0,e.VP)(t.Uu.SET_PAYMENTS_ECL,(0,e.xk)()),_=(0,e.VP)(t.Uu.GET_QUERY_ROUTES_ECL,(0,e.xk)()),r=(0,e.VP)(t.Uu.SET_QUERY_ROUTES_ECL,(0,e.xk)()),v=(0,e.VP)(t.Uu.SEND_PAYMENT_ECL,(0,e.xk)()),V=(0,e.VP)(t.Uu.SEND_PAYMENT_STATUS_ECL,(0,e.xk)()),N=(0,e.VP)(t.Uu.FETCH_TRANSACTIONS_ECL,(0,e.xk)()),ne=(0,e.VP)(t.Uu.SET_TRANSACTIONS_ECL,(0,e.xk)()),Ee=(0,e.VP)(t.Uu.SEND_ONCHAIN_FUNDS_ECL,(0,e.xk)()),qe=((0,e.VP)(t.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.FETCH_INVOICES_ECL,(0,e.xk)())),Ke=(0,e.VP)(t.Uu.SET_INVOICES_ECL,(0,e.xk)()),se=(0,e.VP)(t.Uu.CREATE_INVOICE_ECL,(0,e.xk)()),X=(0,e.VP)(t.Uu.ADD_INVOICE_ECL,(0,e.xk)()),me=(0,e.VP)(t.Uu.UPDATE_INVOICE_ECL,(0,e.xk)()),ce=(0,e.VP)(t.Uu.PEER_LOOKUP_ECL,(0,e.xk)()),fe=(0,e.VP)(t.Uu.INVOICE_LOOKUP_ECL,(0,e.xk)()),mt=((0,e.VP)(t.Uu.SET_LOOKUP_ECL,(0,e.xk)()),(0,e.VP)(t.Uu.UPDATE_CHANNEL_STATE_ECL,(0,e.xk)())),_e=(0,e.VP)(t.Uu.UPDATE_RELAYED_PAYMENT_ECL,(0,e.xk)())},3017:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>ae});var e=g(4054),t=g(1413),w=g(7673),S=g(1397),l=g(6977),x=g(6354),f=g(9437),I=g(2462),d=g(4416),T=g(1771),y=g(6439),F=g(5428),R=g(2730),z=g(4438),W=g(1626),$=g(9640),j=g(3202),Q=g(2571),J=g(8570),ee=g(1188),ie=g(7879),ge=g(177);let ae=(()=>{class Me{constructor(de,D,n,c,m,h,C,k,L){this.actions=de,this.httpClient=D,this.store=n,this.sessionService=c,this.commonService=m,this.logger=h,this.router=C,this.wsService=k,this.location=L,this.CHILD_API_URL=d.H$+"/ecl",this.invoicesPageSettings=d.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"invoices"===_.tableId),this.paymentsPageSettings=d.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"payments"===_.tableId),this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new t.B,new t.B,new t.B],this.infoFetchECL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_INFO_ECL),(0,S.Z)(_=>(this.flgInitialized=!1,this.store.dispatch((0,T.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,T.mt)({payload:d.MZ.GET_NODE_INFO})),this.store.dispatch((0,F.uL)({payload:{action:"FetchInfo",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,e.gp)(d.aU.SET_SELECTED_NODE))),(0,x.T)(r=>(this.logger.info(r),this.initializeRemainingData(r,_.payload.loadPage),this.store.dispatch((0,F.uL)({payload:{action:"FetchInfo",status:d.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:d.MZ.GET_NODE_INFO})),{type:d.Uu.SET_INFO_ECL,payload:r||{}})),(0,f.W)(r=>{const v=this.commonService.extractErrorCode(r),V=503===v?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(r);return this.router.navigate(["/error"],{state:{errorCode:v,errorMessage:V}}),this.handleErrorWithoutAlert("FetchInfo",d.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:v,error:V}),(0,w.of)({type:d.aU.VOID})})))))),this.fetchFees=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_FEES_ECL),(0,S.Z)(()=>(this.store.dispatch((0,F.uL)({payload:{action:"FetchFees",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.FEES_API+"/fees").pipe((0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,F.uL)({payload:{action:"FetchFees",status:d.wn.COMPLETED}})),{type:d.Uu.SET_FEES_ECL,payload:_||{}})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchFees",d.MZ.NO_SPINNER,"Fetching Fees Failed.",_),(0,w.of)({type:d.aU.VOID})))))))),this.fetchPayments=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_PAYMENTS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,F.uL)({payload:{action:"FetchPayments",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.FEES_API+"/payments?count="+_.payload.count+"&skip="+_.payload.skip).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.uL)({payload:{action:"FetchPayments",status:d.wn.COMPLETED}})),{type:d.Uu.SET_PAYMENTS_ECL,payload:r||{}})),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchPayments",d.MZ.NO_SPINNER,"Fetching Payments Failed.",r),(0,w.of)({type:d.aU.VOID})))))))),this.channelsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_CHANNELS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,F.uL)({payload:{action:"FetchChannels",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.CHANNELS_API).pipe((0,x.T)(r=>(this.logger.info(r),this.rawChannelsList=r,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,F.uL)({payload:{action:"FetchChannels",status:d.wn.COMPLETED}})),{type:d.aU.VOID})),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchChannels",d.MZ.NO_SPINNER,"Fetching Channels Failed.",r),(0,w.of)({type:d.aU.VOID})))))))),this.fetchOnchainBalance=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_ONCHAIN_BALANCE_ECL),(0,S.Z)(()=>(this.store.dispatch((0,F.uL)({payload:{action:"FetchOnchainBalance",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API+"/balance"))),(0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,F.uL)({payload:{action:"FetchOnchainBalance",status:d.wn.COMPLETED}})),{type:d.Uu.SET_ONCHAIN_BALANCE_ECL,payload:_||{}})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.MZ.NO_SPINNER,"Fetching Onchain Balances Failed.",_),(0,w.of)({type:d.aU.VOID}))))),this.peersFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_PEERS_ECL),(0,S.Z)(()=>(this.store.dispatch((0,F.uL)({payload:{action:"FetchPeers",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.PEERS_API).pipe((0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,F.uL)({payload:{action:"FetchPeers",status:d.wn.COMPLETED}})),{type:d.Uu.SET_PEERS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchPeers",d.MZ.NO_SPINNER,"Fetching Peers Failed.",_),(0,w.of)({type:d.aU.VOID})))))))),this.getNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.GET_NEW_ADDRESS_ECL),(0,S.Z)(()=>(this.store.dispatch((0,T.mt)({payload:d.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API).pipe((0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,T.y0)({payload:d.MZ.GENERATE_NEW_ADDRESS})),{type:d.Uu.SET_NEW_ADDRESS_ECL,payload:_})),(0,f.W)(_=>(this.handleErrorWithAlert("GetNewAddress",d.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.rl.ON_CHAIN_API,_),(0,w.of)({type:d.aU.VOID})))))))),this.setNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.SET_NEW_ADDRESS_ECL),(0,x.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.SAVE_NEW_PEER_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.mt)({payload:d.MZ.CONNECT_PEER})),this.store.dispatch((0,F.uL)({payload:{action:"SaveNewPeer",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.PEERS_API+(_.payload.id.includes("@")?"?uri=":"?nodeId=")+_.payload.id,{}).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.uL)({payload:{action:"SaveNewPeer",status:d.wn.COMPLETED}})),r=r||[],this.store.dispatch((0,T.y0)({payload:d.MZ.CONNECT_PEER})),this.store.dispatch((0,F.Qj)({payload:r})),{type:d.Uu.NEWLY_ADDED_PEER_ECL,payload:{peer:r.find(v=>v.nodeId===(_.payload.id.includes("@")?_.payload.id.substring(0,_.payload.id.indexOf("@")):_.payload.id))}})),(0,f.W)(r=>(this.handleErrorWithoutAlert("SaveNewPeer",d.MZ.CONNECT_PEER,"Peer Connection Failed.",r),(0,w.of)({type:d.aU.VOID})))))))),this.detachPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.DETACH_PEER_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.mt)({payload:d.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.rl.PEERS_API+"/"+_.payload.nodeId).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,T.y0)({payload:d.MZ.DISCONNECT_PEER})),this.store.dispatch((0,T.UI)({payload:"Disconnecting Peer!"})),{type:d.Uu.REMOVE_PEER_ECL,payload:{nodeId:_.payload.nodeId}})),(0,f.W)(r=>(this.handleErrorWithAlert("DisconnectPeer",d.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.rl.PEERS_API+"/"+_.payload.nodeId,r),(0,w.of)({type:d.aU.VOID})))))))),this.openNewChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.SAVE_NEW_CHANNEL_ECL),(0,S.Z)(_=>{this.store.dispatch((0,T.mt)({payload:d.MZ.OPEN_CHANNEL})),this.store.dispatch((0,F.uL)({payload:{action:"SaveNewChannel",status:d.wn.INITIATED}}));const r={nodeId:_.payload.nodeId,fundingSatoshis:_.payload.amount,announceChannel:!_.payload.private};return _.payload.feeRate&&_.payload.feeRate>0&&(r.fundingFeerateSatByte=_.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.rl.CHANNELS_API,r).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,F.uL)({payload:{action:"SaveNewChannel",status:d.wn.COMPLETED}})),this.store.dispatch((0,F.Gy)()),this.store.dispatch((0,F.jJ)()),this.store.dispatch((0,T.y0)({payload:d.MZ.OPEN_CHANNEL})),this.store.dispatch((0,T.UI)({payload:"Channel Added Successfully!"})),{type:d.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,f.W)(v=>(this.handleErrorWithoutAlert("SaveNewChannel",d.MZ.OPEN_CHANNEL,"Opening Channel Failed.",v),(0,w.of)({type:d.aU.VOID}))))}))),this.updateChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.UPDATE_CHANNEL_ECL),(0,S.Z)(_=>{this.store.dispatch((0,T.mt)({payload:d.MZ.UPDATE_CHAN_POLICY}));let r="?feeBaseMsat="+_.payload.baseFeeMsat+"&feeProportionalMillionths="+_.payload.feeRate;return r=_.payload.nodeIds?r+"&nodeIds="+_.payload.nodeIds:_.payload.nodeId?r+"&nodeId="+_.payload.nodeId:_.payload.channelIds?r+"&channelIds="+_.payload.channelIds:r+"&channelId="+_.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.rl.CHANNELS_API+"/updateRelayFee"+r,{}).pipe((0,x.T)(v=>(this.logger.info(v),this.store.dispatch((0,T.y0)({payload:d.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,T.UI)(_.payload.nodeIds||_.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,f.W)(v=>(this.handleErrorWithAlert("UpdateChannels",d.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.rl.CHANNELS_API,v),(0,w.of)({type:d.aU.VOID}))))}))),this.closeChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.CLOSE_CHANNEL_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.mt)({payload:_.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.rl.CHANNELS_API+"?channelId="+_.payload.channelId+"&force="+_.payload.force).pipe((0,x.T)(r=>(this.logger.info(r),setTimeout(()=>{this.store.dispatch((0,T.y0)({payload:_.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,T.UI)({payload:_.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.aU.VOID})),(0,f.W)(r=>(this.handleErrorWithAlert("CloseChannel",_.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.rl.CHANNELS_API,r),(0,w.of)({type:d.aU.VOID})))))))),this.queryRoutesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.GET_QUERY_ROUTES_ECL),(0,S.Z)(_=>this.httpClient.get(this.CHILD_API_URL+d.rl.PAYMENTS_API+"/route?nodeId="+_.payload.nodeId+"&amountMsat="+_.payload.amount).pipe((0,x.T)(r=>(this.logger.info(r),{type:d.Uu.SET_QUERY_ROUTES_ECL,payload:r})),(0,f.W)(r=>(this.store.dispatch((0,F.Hm)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.rl.PAYMENTS_API+"/route?nodeId="+_.payload.nodeId+"&amountMsat="+_.payload.amount,r),(0,w.of)({type:d.aU.VOID}))))))),this.setQueryRoutes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.SET_QUERY_ROUTES_ECL),(0,x.T)(_=>_.payload)),{dispatch:!1}),this.sendPayment=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.SEND_PAYMENT_ECL),(0,S.Z)(_=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,T.mt)({payload:d.MZ.SEND_PAYMENT})),this.store.dispatch((0,F.uL)({payload:{action:"SendPayment",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.PAYMENTS_API,_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.latestPaymentRes=r,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.aU.VOID})),(0,f.W)(r=>(this.logger.error("Error: "+JSON.stringify(r)),_.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.MZ.SEND_PAYMENT,"Send Payment Failed.",r):this.handleErrorWithAlert("SendPayment",d.MZ.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.rl.PAYMENTS_API,r),(0,w.of)({type:d.aU.VOID})))))))),this.transactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_TRANSACTIONS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,F.uL)({payload:{action:"FetchTransactions",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API+"/transactions?count="+_.payload.count+"&skip="+_.payload.skip))),(0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,F.uL)({payload:{action:"FetchTransactions",status:d.wn.COMPLETED}})),{type:d.Uu.SET_TRANSACTIONS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchTransactions",d.MZ.NO_SPINNER,"Fetching Transactions Failed.",_),(0,w.of)({type:d.aU.VOID}))))),this.SendOnchainFunds=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.SEND_ONCHAIN_FUNDS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.mt)({payload:d.MZ.SEND_FUNDS})),this.store.dispatch((0,F.uL)({payload:{action:"SendOnchainFunds",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.ON_CHAIN_API,_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.uL)({payload:{action:"SendOnchainFunds",status:d.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:d.MZ.SEND_FUNDS})),this.store.dispatch((0,F.jJ)()),{type:d.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,payload:r})),(0,f.W)(r=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.MZ.SEND_FUNDS,"Sending Fund Failed.",r),(0,w.of)({type:d.aU.VOID})))))))),this.createInvoice=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.CREATE_INVOICE_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.mt)({payload:d.MZ.CREATE_INVOICE})),this.store.dispatch((0,F.uL)({payload:{action:"CreateInvoice",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.INVOICES_API,_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.uL)({payload:{action:"CreateInvoice",status:d.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:d.MZ.CREATE_INVOICE})),r.timestamp=Math.round((new Date).getTime()/1e3),r.expiresAt=Math.round(r.timestamp+_.payload.expireIn),r.description=_.payload.description,r.status="unpaid",setTimeout(()=>{this.store.dispatch((0,T.xO)({payload:{data:{invoice:r,newlyAdded:!0,component:y.Z}}}))},200),{type:d.Uu.ADD_INVOICE_ECL,payload:r})),(0,f.W)(r=>(this.handleErrorWithoutAlert("CreateInvoice",d.MZ.CREATE_INVOICE,"Create Invoice Failed.",r),(0,w.of)({type:d.aU.VOID})))))))),this.invoicesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_INVOICES_ECL),(0,S.Z)(_=>(this.store.dispatch((0,F.uL)({payload:{action:"FetchInvoices",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.INVOICES_API+"?count="+_.payload.count+"&skip="+_.payload.skip).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.uL)({payload:{action:"FetchInvoices",status:d.wn.COMPLETED}})),{type:d.Uu.SET_INVOICES_ECL,payload:r})),(0,f.W)(r=>(this.handleErrorWithoutAlert("FetchInvoices",d.MZ.NO_SPINNER,"Fetching Invoices Failed.",r),(0,w.of)({type:d.aU.VOID})))))))),this.peerLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.PEER_LOOKUP_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.mt)({payload:d.MZ.SEARCHING_NODE})),this.store.dispatch((0,F.uL)({payload:{action:"Lookup",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.NETWORK_API+"/nodes/"+_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.uL)({payload:{action:"Lookup",status:d.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:d.MZ.SEARCHING_NODE})),{type:d.Uu.SET_LOOKUP_ECL,payload:r})),(0,f.W)(r=>(this.handleErrorWithAlert("Lookup",d.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.rl.NETWORK_API+"/nodes/"+_.payload,r),(0,w.of)({type:d.aU.VOID})))))))),this.invoiceLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.INVOICE_LOOKUP_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.mt)({payload:d.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,F.uL)({payload:{action:"Lookup",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.INVOICES_API+"/"+_.payload).pipe((0,x.T)(r=>(this.logger.info(r),this.store.dispatch((0,F.uL)({payload:{action:"Lookup",status:d.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:d.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,F.Dq)({payload:r})),{type:d.Uu.SET_LOOKUP_ECL,payload:r})),(0,f.W)(r=>(this.handleErrorWithoutAlert("Lookup",d.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",r),this.store.dispatch((0,T.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,w.of)({type:d.aU.VOID})))))))),this.setLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.SET_LOOKUP_ECL),(0,x.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.FETCH_PAGE_SETTINGS_ECL),(0,S.Z)(()=>(this.store.dispatch((0,F.uL)({payload:{action:"FetchPageSettings",status:d.wn.INITIATED}})),this.httpClient.get(d.rl.PAGE_SETTINGS_API).pipe((0,x.T)(_=>(this.logger.info(_),this.store.dispatch((0,F.uL)({payload:{action:"FetchPageSettings",status:d.wn.COMPLETED}})),this.invoicesPageSettings=_&&Object.keys(_).length>0?_.find(r=>"transactions"===r.pageId)?.tables.find(r=>"invoices"===r.tableId):d.X8.find(r=>"transactions"===r.pageId)?.tables.find(r=>"invoices"===r.tableId),this.paymentsPageSettings=_&&Object.keys(_).length>0?_.find(r=>"transactions"===r.pageId)?.tables.find(r=>"payments"===r.tableId):d.X8.find(r=>"transactions"===r.pageId)?.tables.find(r=>"payments"===r.tableId),{type:d.Uu.SET_PAGE_SETTINGS_ECL,payload:_||[]})),(0,f.W)(_=>(this.handleErrorWithoutAlert("FetchPageSettings",d.MZ.NO_SPINNER,"Fetching Page Settings Failed.",_),(0,w.of)({type:d.aU.VOID})))))))),this.savePageSettingsCL=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(d.Uu.SAVE_PAGE_SETTINGS_ECL),(0,S.Z)(_=>(this.store.dispatch((0,T.mt)({payload:d.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,F.uL)({payload:{action:"SavePageSettings",status:d.wn.INITIATED}})),this.httpClient.post(d.rl.PAGE_SETTINGS_API,_.payload).pipe((0,x.T)(r=>{this.logger.info(r),this.store.dispatch((0,F.uL)({payload:{action:"SavePageSettings",status:d.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:d.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,T.UI)({payload:"Page Layout Updated Successfully!"}));const v=(r.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId)||d.X8.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId))?.recordsPerPage,V=(r.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId)||d.X8.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId))?.recordsPerPage;return this.invoicesPageSettings&&v!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=v),this.paymentsPageSettings&&V!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=V),{type:d.Uu.SET_PAGE_SETTINGS_ECL,payload:r||[]}}),(0,f.W)(r=>(this.handleErrorWithAlert("SavePageSettings",d.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.rl.PAGE_SETTINGS_API,r),(0,w.of)({type:d.aU.VOID})))))))),this.handleSendPaymentStatus=_=>{this.store.dispatch((0,F.uL)({payload:{action:"SendPayment",status:d.wn.COMPLETED}})),this.store.dispatch((0,T.y0)({payload:d.MZ.SEND_PAYMENT})),this.store.dispatch((0,F.N4)({payload:this.latestPaymentRes})),this.store.dispatch((0,T.UI)({payload:_}))},this.store.select(R.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(_=>{_.FetchInfo.status!==d.wn.COMPLETED&&_.FetchInfo.status!==d.wn.ERROR||_.FetchFees.status!==d.wn.COMPLETED&&_.FetchFees.status!==d.wn.ERROR||_.FetchOnchainBalance.status!==d.wn.COMPLETED&&_.FetchOnchainBalance.status!==d.wn.ERROR||_.FetchChannels.status!==d.wn.COMPLETED&&_.FetchChannels.status!==d.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,T.y0)({payload:d.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,l.Q)(this.unSubs[1])).subscribe(_=>{this.logger.info("Received new message from the service: "+JSON.stringify(_));let r="";if(_)switch(_.type){case d.ck.PAYMENT_SENT:_&&_.id&&this.latestPaymentRes===_.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Sent: "+(_.paymentHash?"with payment hash "+_.paymentHash:JSON.stringify(_)),this.handleSendPaymentStatus(r));break;case d.ck.PAYMENT_FAILED:_&&_.id&&this.latestPaymentRes===_.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Failed: "+(_.failures&&_.failures.length&&_.failures.length>0&&_.failures[0].t?_.failures[0].t:_.failures&&_.failures.length&&_.failures.length>0&&_.failures[0].e&&_.failures[0].e.failureMessage?_.failures[0].e.failureMessage:JSON.stringify(_)),this.handleSendPaymentStatus(r));break;case d.ck.PAYMENT_RECEIVED:this.store.dispatch((0,F.Dq)({payload:_}));break;case d.ck.PAYMENT_RELAYED:delete _.source,_.amountIn=Math.round((_.amountIn||0)/1e3),_.amountOut=Math.round((_.amountOut||0)/1e3),_.timestamp.unix&&(_.timestamp=1e3*_.timestamp.unix),this.store.dispatch((0,F.yn)({payload:_}));break;case d.ck.CHANNEL_STATE_CHANGED:"NORMAL"===_.currentState||"CLOSED"===_.currentState?(this.rawChannelsList=this.rawChannelsList?.map(v=>(v.channelId===_.channelId&&v.nodeId===_.remoteNodeId&&(v.state=_.currentState),v)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,F.gZ)({payload:_}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(_))}})}setChannelsAndStatusAndBalances(){let de=0,D=0,n=0,c={localBalance:0,remoteBalance:0},m=[];const h=[],C=[],k={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((L,_)=>{L&&("NORMAL"===L.state?(de=(L.toLocal||0)+(L.toRemote||0),D+=L.toLocal||0,n+=L.toRemote||0,L.balancedness=0===de?1:+(1-Math.abs(((L.toLocal||0)-(L.toRemote||0))/de)).toFixed(3),m.push(L),k.active.channels=k.active.channels+1,k.active.capacity=k.active.capacity+(L.toLocal||0)):L.state?.includes("WAIT")||L.state?.includes("CLOSING")||L.state?.includes("SYNCING")?(L.state=L.state?.replace(/_/g," "),h.push(L),k.pending.channels=k.pending.channels+1,k.pending.capacity=k.pending.capacity+(L.toLocal||0)):(L.state=L.state?.replace(/_/g," "),C.push(L),k.inactive.channels=k.inactive.channels+1,k.inactive.capacity=k.inactive.capacity+(L.toLocal||0)))}),c={localBalance:D,remoteBalance:n},m=this.commonService.sortDescByKey(m,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(m)),this.logger.info("Pending Channels: "+JSON.stringify(h)),this.logger.info("Inactive Channels: "+JSON.stringify(C)),this.logger.info("Lightning Balances: "+JSON.stringify(c)),this.logger.info("Channels Status: "+JSON.stringify(k)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:m,pending:h,inactive:C,balances:c,status:k})),this.store.dispatch((0,F.Tp)({payload:m})),this.store.dispatch((0,F.cU)({payload:h})),this.store.dispatch((0,F.I6)({payload:C})),this.store.dispatch((0,F.N8)({payload:c})),this.store.dispatch((0,F.ZE)({payload:k}))}initializeRemainingData(de,D){this.sessionService.setItem("eclUnlocked","true");const n={identity_pubkey:de.nodeId,alias:de.alias,testnet:"testnet"===de.network,chains:de.publicAddresses,uris:de.uris,version:de.version,numberOfPendingChannels:0};this.store.dispatch((0,T.mt)({payload:d.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,T.Fl)({payload:n}));let c=this.location.path();c.includes("/lnd/")?c=c?.replace("/lnd/","/ecl/"):c.includes("/cln/")&&(c=c?.replace("/cln/","/ecl/")),(c.includes("/login")||c.includes("/error")||""===c||"HOME"===D||c.includes("?access-key="))&&(c="/ecl/home"),this.router.navigate([c]),this.store.dispatch((0,F.$Q)()),this.store.dispatch((0,F.yp)()),this.store.dispatch((0,F.jJ)()),this.store.dispatch((0,F.Gy)())}handleErrorWithoutAlert(de,D,n,c){this.logger.error("ERROR IN: "+de+"\n"+JSON.stringify(c)),401===c.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,T.Jh)()),this.store.dispatch((0,T.ri)({payload:"Authentication Failed: "+JSON.stringify(c.error)}))):(this.store.dispatch((0,T.y0)({payload:D})),this.store.dispatch((0,F.uL)({payload:{action:de,status:d.wn.ERROR,statusCode:c.status.toString(),message:this.commonService.extractErrorMessage(c,n)}})))}handleErrorWithAlert(de,D,n,c,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,T.Jh)()),this.store.dispatch((0,T.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,T.y0)({payload:D}));const h=this.commonService.extractErrorMessage(m);this.store.dispatch((0,T.xO)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:m.status,message:h,URL:c},component:I.f}}})),this.store.dispatch((0,F.uL)({payload:{action:de,status:d.wn.ERROR,statusCode:m.status.toString(),message:h,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(de=>{de.next(null),de.complete()})}static#e=this.\u0275fac=function(D){return new(D||Me)(z.KVO(e.En),z.KVO(W.Qq),z.KVO($.il),z.KVO(j.Q),z.KVO(Q.h),z.KVO(J.gP),z.KVO(ee.Ix),z.KVO(ie.I),z.KVO(ge.aZ))};static#t=this.\u0275prov=z.jDH({token:Me,factory:Me.\u0275fac})}return Me})()},2730:(Qe,te,g)=>{"use strict";g.d(te,{DW:()=>j,KT:()=>I,Ou:()=>R,b_:()=>l,gN:()=>z,jZ:()=>w,oR:()=>d,os:()=>$,p3:()=>S,rN:()=>W,ru:()=>f});var e=g(9640);const t=(0,e.UX)("ecl"),w=(0,e.Mz)(t,Q=>({pageSettings:Q.pageSettings,apiCallStatus:Q.apisCallStatus.FetchPageSettings})),S=(0,e.Mz)(t,Q=>Q.information),l=(0,e.Mz)(t,Q=>({information:Q.information,apiCallStatus:Q.apisCallStatus.FetchInfo})),f=((0,e.Mz)(t,Q=>Q.apisCallStatus.FetchInfo),(0,e.Mz)(t,Q=>Q.apisCallStatus)),I=(0,e.Mz)(t,Q=>({payments:Q.payments,apiCallStatus:Q.apisCallStatus.FetchPayments})),d=(0,e.Mz)(t,Q=>({fees:Q.fees,apiCallStatus:Q.apisCallStatus.FetchFees})),R=((0,e.Mz)(t,Q=>({activeChannels:Q.activeChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({pendingChannels:Q.pendingChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({inactiveChannels:Q.inactiveChannels,apiCallStatus:Q.apisCallStatus.FetchChannels})),(0,e.Mz)(t,Q=>({activeChannels:Q.activeChannels,pendingChannels:Q.pendingChannels,inactiveChannels:Q.inactiveChannels,lightningBalance:Q.lightningBalance,channelsStatus:Q.channelsStatus,apiCallStatus:Q.apisCallStatus.FetchChannels}))),z=(0,e.Mz)(t,Q=>({transactions:Q.transactions,apiCallStatus:Q.apisCallStatus.FetchTransactions})),W=(0,e.Mz)(t,Q=>({invoices:Q.invoices,apiCallStatus:Q.apisCallStatus.FetchInvoices})),$=(0,e.Mz)(t,Q=>({peers:Q.peers,apiCallStatus:Q.apisCallStatus.FetchPeers})),j=(0,e.Mz)(t,Q=>({onchainBalance:Q.onchainBalance,apiCallStatus:Q.apisCallStatus.FetchOnchainBalance}))},6439:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>se});var e=g(5351),t=g(5383),w=g(1413),S=g(6977),l=g(4416),x=g(2730),f=g(4438),I=g(8570),d=g(2571),T=g(5416),y=g(9640),F=g(177),R=g(60),z=g(2920),W=g(6038),$=g(8834),j=g(5596),Q=g(1997),J=g(9183),ee=g(8288),ie=g(9157),ge=g(9587);const ae=X=>({"display-none":X}),Me=X=>({"xs-scroll-y":X}),Te=(X,me)=>({"mt-2":X,"mt-1":me}),de=()=>[];function D(X,me){if(1&X&&f.nrm(0,"qr-code",29),2&X){const ce=f.XpG();f.Y8G("value",null==ce.invoice?null:ce.invoice.serialized)("size",ce.qrWidth)("errorCorrectionLevel","L")}}function n(X,me){1&X&&(f.j41(0,"span",30),f.EFF(1,"N/A"),f.k0s())}function c(X,me){if(1&X&&f.nrm(0,"qr-code",29),2&X){const ce=f.XpG();f.Y8G("value",null==ce.invoice?null:ce.invoice.serialized)("size",ce.qrWidth)("errorCorrectionLevel","L")}}function m(X,me){1&X&&(f.j41(0,"span",31),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function h(X,me){1&X&&f.nrm(0,"mat-divider",32),2&X&&f.Y8G("inset",!0)}function C(X,me){1&X&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function k(X,me){1&X&&f.nrm(0,"span",38)}function L(X,me){if(1&X&&(f.j41(0,"div",34)(1,"div",35)(2,"span",36),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,k,1,0,"span",37),f.k0s()()),2&X){const ce=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==ce.invoice?null:ce.invoice.amountSettled)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,de).constructor(35))}}function _(X,me){if(1&X&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&X){const ce=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==ce.invoice?null:ce.invoice.amountSettled)," Sats")}}function r(X,me){if(1&X&&(f.qex(0),f.DNE(1,L,6,5,"div",33)(2,_,3,3,"div",20),f.bVm()),2&X){const ce=f.XpG();f.R7$(),f.Y8G("ngIf",ce.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!ce.flgInvoicePaid)}}function v(X,me){1&X&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function V(X,me){1&X&&f.nrm(0,"mat-spinner",40),2&X&&f.Y8G("diameter",20)}function N(X,me){if(1&X&&(f.qex(0),f.DNE(1,v,2,0,"span",20)(2,V,1,1,"mat-spinner",39),f.bVm()),2&X){const ce=f.XpG();f.R7$(),f.Y8G("ngIf","unpaid"!==(null==ce.invoice?null:ce.invoice.status)||!ce.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","unpaid"===(null==ce.invoice?null:ce.invoice.status)&&ce.flgVersionCompatible)}}function ne(X,me){if(1&X&&(f.j41(0,"div"),f.nrm(1,"mat-divider",21),f.j41(2,"div",16)(3,"div",41)(4,"h4",18),f.EFF(5,"Date Expiry"),f.k0s(),f.j41(6,"span",19),f.EFF(7),f.nI1(8,"date"),f.k0s()(),f.j41(9,"div",42)(10,"h4",18),f.EFF(11,"Date Settled"),f.k0s(),f.j41(12,"span",22),f.EFF(13),f.nI1(14,"date"),f.k0s()()(),f.nrm(15,"mat-divider",21),f.j41(16,"div",16)(17,"div",23)(18,"h4",18),f.EFF(19,"Payment Hash"),f.k0s(),f.j41(20,"span",22),f.EFF(21),f.k0s()()(),f.nrm(22,"mat-divider",21),f.j41(23,"div",16)(24,"div",23)(25,"h4",18),f.EFF(26,"Node ID"),f.k0s(),f.j41(27,"span",22),f.EFF(28),f.k0s()()(),f.nrm(29,"mat-divider",21),f.k0s()),2&X){const ce=f.XpG();f.R7$(7),f.JRh(f.i5U(8,4,1e3*(null==ce.invoice?null:ce.invoice.expiresAt),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.i5U(14,7,1e3*(null==ce.invoice?null:ce.invoice.receivedAt),"dd/MMM/y HH:mm")),f.R7$(8),f.JRh(null==ce.invoice?null:ce.invoice.paymentHash),f.R7$(7),f.JRh(null==ce.invoice?null:ce.invoice.nodeId)}}function Ee(X,me){1&X&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function ze(X,me){1&X&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function qe(X,me){if(1&X){const ce=f.RV6();f.j41(0,"button",43),f.bIt("copied",function(ke){f.eBV(ce);const mt=f.XpG();return f.Njj(mt.onCopyPayment(ke))}),f.EFF(1,"Copy Invoice"),f.k0s()}if(2&X){const ce=f.XpG();f.Y8G("payload",null==ce.invoice?null:ce.invoice.serialized)}}function Ke(X,me){if(1&X){const ce=f.RV6();f.j41(0,"button",44),f.bIt("click",function(){f.eBV(ce);const ke=f.XpG();return f.Njj(ke.onClose())}),f.EFF(1,"OK"),f.k0s()}}let se=(()=>{class X{constructor(ce,fe,ke,mt,_e,be){this.dialogRef=ce,this.data=fe,this.logger=ke,this.commonService=mt,this.snackBar=_e,this.store=be,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new w.B,new w.B,new w.B,new w.B,new w.B]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.f7.XS&&(this.qrWidth=220),this.store.select(x.p3).pipe((0,S.Q)(this.unSubs[0])).subscribe(ce=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(ce.version,"0.5.0")}),this.store.select(x.rN).pipe((0,S.Q)(this.unSubs[1])).subscribe(ce=>{const fe=this.invoice.status,mt=(ce.invoices&&ce.invoices.length>0?ce.invoices:[])?.find(_e=>_e.paymentHash===this.invoice.paymentHash)||null;mt&&(this.invoice=mt),fe!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ce)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ce){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ce)}ngOnDestroy(){this.unSubs.forEach(ce=>{ce.next(null),ce.complete()})}static#e=this.\u0275fac=function(fe){return new(fe||X)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(I.gP),f.rXU(d.h),f.rXU(T.UG),f.rXU(y.il))};static#t=this.\u0275cmp=f.VBU({type:X,selectors:[["rtl-ecl-invoice-information"]],decls:68,vars:42,consts:[["hideAdvancedText",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"w-100","my-1"],[1,"overflow-wrap","foreground-secondary-text"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["fxFlex","40"],["fxFlex","60"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(fe,ke){if(1&fe){const mt=f.RV6();f.j41(0,"div",1)(1,"div",2),f.DNE(2,D,1,3,"qr-code",3)(3,n,2,0,"span",4),f.k0s(),f.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),f.nrm(7,"fa-icon",8),f.j41(8,"span",9),f.EFF(9),f.k0s()(),f.j41(10,"button",10),f.bIt("click",function(){return f.eBV(mt),f.Njj(ke.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),f.DNE(15,c,1,3,"qr-code",3)(16,m,2,0,"span",14),f.k0s(),f.DNE(17,h,1,1,"mat-divider",15),f.j41(18,"div",16)(19,"div",17)(20,"h4",18),f.EFF(21,"Amount Requested"),f.k0s(),f.j41(22,"span",19),f.EFF(23),f.nI1(24,"number"),f.DNE(25,C,2,0,"ng-container",20),f.k0s()(),f.j41(26,"div",17)(27,"h4",18),f.EFF(28,"Amount Settled"),f.k0s(),f.j41(29,"span",19),f.DNE(30,r,3,2,"ng-container",20)(31,N,3,2,"ng-container",20),f.k0s()()(),f.nrm(32,"mat-divider",21),f.j41(33,"div",16)(34,"div",17)(35,"h4",18),f.EFF(36,"Date Created"),f.k0s(),f.j41(37,"span",22),f.EFF(38),f.nI1(39,"date"),f.k0s()(),f.j41(40,"div",17)(41,"h4",18),f.EFF(42,"Status"),f.k0s(),f.j41(43,"span",22),f.EFF(44),f.nI1(45,"titlecase"),f.k0s()()(),f.nrm(46,"mat-divider",21),f.j41(47,"div",16)(48,"div",23)(49,"h4",18),f.EFF(50,"Description"),f.k0s(),f.j41(51,"span",19),f.EFF(52),f.k0s()()(),f.nrm(53,"mat-divider",21),f.j41(54,"div",16)(55,"div",23)(56,"h4",18),f.EFF(57,"Invoice"),f.k0s(),f.j41(58,"span",22),f.EFF(59),f.k0s()()(),f.DNE(60,ne,30,10,"div",20),f.j41(61,"div",24)(62,"button",25),f.bIt("click",function(){return f.eBV(mt),f.Njj(ke.onShowAdvanced())}),f.DNE(63,Ee,2,0,"p",26)(64,ze,2,0,"ng-template",null,0,f.C5r),f.k0s(),f.DNE(66,qe,2,1,"button",27)(67,Ke,2,0,"button",28),f.k0s()()()()()}if(2&fe){const mt=f.sdS(65);f.R7$(),f.Y8G("fxLayoutAlign",null!=ke.invoice&&ke.invoice.serialized&&""!==(null==ke.invoice?null:ke.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(33,ae,ke.screenSize===ke.screenSizeEnum.XS||ke.screenSize===ke.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==ke.invoice?null:ke.invoice.serialized)&&""!==(null==ke.invoice?null:ke.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=ke.invoice&&ke.invoice.serialized)||""===(null==ke.invoice?null:ke.invoice.serialized)),f.R7$(4),f.Y8G("icon",ke.faReceipt),f.R7$(2),f.JRh(ke.screenSize===ke.screenSizeEnum.XS?ke.newlyAdded?"Created":"Invoice":ke.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(35,Me,ke.screenSize===ke.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=ke.invoice&&ke.invoice.serialized&&""!==(null==ke.invoice?null:ke.invoice.serialized)?"center start":"center center")("ngClass",f.eq3(37,ae,ke.screenSize!==ke.screenSizeEnum.XS&&ke.screenSize!==ke.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==ke.invoice?null:ke.invoice.serialized)&&""!==(null==ke.invoice?null:ke.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=ke.invoice&&ke.invoice.serialized)||""===(null==ke.invoice?null:ke.invoice.serialized)),f.R7$(),f.Y8G("ngIf",ke.screenSize===ke.screenSizeEnum.XS||ke.screenSize===ke.screenSizeEnum.SM),f.R7$(6),f.SpI("",f.bMT(24,26,(null==ke.invoice?null:ke.invoice.amount)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=ke.invoice&&ke.invoice.amount)||"0"===(null==ke.invoice?null:ke.invoice.amount)),f.R7$(5),f.Y8G("ngIf",null==ke.invoice?null:ke.invoice.amountSettled),f.R7$(),f.Y8G("ngIf",!(null!=ke.invoice&&ke.invoice.amountSettled)),f.R7$(7),f.JRh(f.i5U(39,28,1e3*(null==ke.invoice?null:ke.invoice.timestamp),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(f.bMT(45,31,null==ke.invoice?null:ke.invoice.status)),f.R7$(8),f.JRh((null==ke.invoice?null:ke.invoice.description)||"-"),f.R7$(7),f.JRh((null==ke.invoice?null:ke.invoice.serialized)||"N/A"),f.R7$(),f.Y8G("ngIf",ke.showAdvanced),f.R7$(),f.Y8G("ngClass",f.l_i(39,Te,!ke.showAdvanced,ke.showAdvanced)),f.R7$(2),f.Y8G("ngIf",!ke.showAdvanced)("ngIfElse",mt),f.R7$(3),f.Y8G("ngIf",(null==ke.invoice?null:ke.invoice.serialized)&&""!==(null==ke.invoice?null:ke.invoice.serialized)),f.R7$(),f.Y8G("ngIf",!(null!=ke.invoice&&ke.invoice.serialized)||""===(null==ke.invoice?null:ke.invoice.serialized))}},dependencies:[F.YU,F.Sq,F.bT,R.aY,z.DJ,z.sA,z.UI,W.PW,$.$z,j.m2,j.MM,Q.q,J.LG,ee.Um,ie.U,ge.N,F.QX,F.PV,F.vh]})}return X})()},190:(Qe,te,g)=>{"use strict";g.d(te,{$6:()=>se,$J:()=>ne,$Q:()=>de,As:()=>fe,Br:()=>d,CK:()=>_e,DI:()=>ae,DY:()=>ge,Do:()=>Ke,Dq:()=>X,Fd:()=>pe,GZ:()=>Xe,Gy:()=>y,H2:()=>r,Hm:()=>zt,J9:()=>Te,Jx:()=>J,L:()=>v,Lf:()=>ze,NS:()=>f,O8:()=>mt,Qj:()=>F,SM:()=>ke,Sn:()=>I,T4:()=>$t,Uj:()=>be,Uo:()=>ie,VK:()=>j,WE:()=>Ye,X9:()=>x,XT:()=>pt,Yi:()=>Nt,Zi:()=>$,_$:()=>me,aB:()=>ye,ar:()=>n,b1:()=>St,cR:()=>_,cU:()=>c,dv:()=>D,e8:()=>w,ed:()=>W,fy:()=>C,ij:()=>Yt,jk:()=>Et,kv:()=>tt,lg:()=>l,mh:()=>ce,oX:()=>Ie,p1:()=>S,pL:()=>m,sq:()=>R,t0:()=>_t,t5:()=>Ee,tG:()=>Jt,tf:()=>Me,uK:()=>oe,vL:()=>k,w0:()=>L,x1:()=>T,yp:()=>ee,z2:()=>h,zU:()=>rt});var e=g(9640),t=g(4416);const w=(0,e.VP)(t.QP.UPDATE_API_CALL_STATUS_LND,(0,e.xk)()),S=(0,e.VP)(t.QP.RESET_LND_STORE),l=(0,e.VP)(t.QP.FETCH_PAGE_SETTINGS_LND),x=(0,e.VP)(t.QP.UPDATE_SELECTED_NODE_OPTIONS),f=(0,e.VP)(t.QP.SET_PAGE_SETTINGS_LND,(0,e.xk)()),I=(0,e.VP)(t.QP.SAVE_PAGE_SETTINGS_LND,(0,e.xk)()),d=(0,e.VP)(t.QP.FETCH_INFO_LND,(0,e.xk)()),T=(0,e.VP)(t.QP.SET_INFO_LND,(0,e.xk)()),y=(0,e.VP)(t.QP.FETCH_PEERS_LND),F=(0,e.VP)(t.QP.SET_PEERS_LND,(0,e.xk)()),R=(0,e.VP)(t.QP.SAVE_NEW_PEER_LND,(0,e.xk)()),W=((0,e.VP)(t.QP.NEWLY_ADDED_PEER_LND,(0,e.xk)()),(0,e.VP)(t.QP.DETACH_PEER_LND,(0,e.xk)())),$=(0,e.VP)(t.QP.REMOVE_PEER_LND,(0,e.xk)()),j=(0,e.VP)(t.QP.SAVE_NEW_INVOICE_LND,(0,e.xk)()),J=((0,e.VP)(t.QP.NEWLY_SAVED_INVOICE_LND,(0,e.xk)()),(0,e.VP)(t.QP.ADD_INVOICE_LND,(0,e.xk)())),ee=(0,e.VP)(t.QP.FETCH_FEES_LND),ie=(0,e.VP)(t.QP.SET_FEES_LND,(0,e.xk)()),ge=(0,e.VP)(t.QP.FETCH_BLOCKCHAIN_BALANCE_LND),ae=(0,e.VP)(t.QP.SET_BLOCKCHAIN_BALANCE_LND,(0,e.xk)()),Me=(0,e.VP)(t.QP.FETCH_NETWORK_LND),Te=(0,e.VP)(t.QP.SET_NETWORK_LND,(0,e.xk)()),de=(0,e.VP)(t.QP.FETCH_CHANNELS_LND),D=(0,e.VP)(t.QP.SET_CHANNELS_LND,(0,e.xk)()),n=(0,e.VP)(t.QP.FETCH_PENDING_CHANNELS_LND),c=(0,e.VP)(t.QP.SET_PENDING_CHANNELS_LND,(0,e.xk)()),m=(0,e.VP)(t.QP.FETCH_CLOSED_CHANNELS_LND),h=(0,e.VP)(t.QP.SET_CLOSED_CHANNELS_LND,(0,e.xk)()),C=(0,e.VP)(t.QP.UPDATE_CHANNEL_LND,(0,e.xk)()),k=(0,e.VP)(t.QP.SAVE_NEW_CHANNEL_LND,(0,e.xk)()),L=(0,e.VP)(t.QP.CLOSE_CHANNEL_LND,(0,e.xk)()),_=(0,e.VP)(t.QP.REMOVE_CHANNEL_LND,(0,e.xk)()),r=(0,e.VP)(t.QP.BACKUP_CHANNELS_LND,(0,e.xk)()),v=(0,e.VP)(t.QP.VERIFY_CHANNEL_LND,(0,e.xk)()),ne=((0,e.VP)(t.QP.BACKUP_CHANNELS_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.VERIFY_CHANNEL_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.RESTORE_CHANNELS_LIST_LND)),Ee=(0,e.VP)(t.QP.SET_RESTORE_CHANNELS_LIST_LND,(0,e.xk)()),ze=(0,e.VP)(t.QP.RESTORE_CHANNELS_LND,(0,e.xk)()),Ke=((0,e.VP)(t.QP.RESTORE_CHANNELS_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.FETCH_INVOICES_LND,(0,e.xk)())),se=(0,e.VP)(t.QP.SET_INVOICES_LND,(0,e.xk)()),X=(0,e.VP)(t.QP.UPDATE_INVOICE_LND,(0,e.xk)()),me=(0,e.VP)(t.QP.UPDATE_PAYMENT_LND,(0,e.xk)()),ce=(0,e.VP)(t.QP.FETCH_TRANSACTIONS_LND),fe=(0,e.VP)(t.QP.SET_TRANSACTIONS_LND,(0,e.xk)()),ke=(0,e.VP)(t.QP.FETCH_UTXOS_LND),mt=(0,e.VP)(t.QP.SET_UTXOS_LND,(0,e.xk)()),_e=(0,e.VP)(t.QP.FETCH_PAYMENTS_LND,(0,e.xk)()),be=(0,e.VP)(t.QP.SET_PAYMENTS_LND,(0,e.xk)()),pe=(0,e.VP)(t.QP.SEND_PAYMENT_LND,(0,e.xk)()),_t=((0,e.VP)(t.QP.SEND_PAYMENT_STATUS_LND,(0,e.xk)()),(0,e.VP)(t.QP.FETCH_GRAPH_NODE_LND,(0,e.xk)())),pt=((0,e.VP)(t.QP.SET_GRAPH_NODE_LND,(0,e.xk)()),(0,e.VP)(t.QP.GET_NEW_ADDRESS_LND,(0,e.xk)())),ye=((0,e.VP)(t.QP.SET_NEW_ADDRESS_LND,(0,e.xk)()),(0,e.VP)(t.QP.SET_CHANNEL_TRANSACTION_LND,(0,e.xk)())),Ie=((0,e.VP)(t.QP.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.xk)()),(0,e.VP)(t.QP.GEN_SEED_LND,(0,e.xk)())),Xe=((0,e.VP)(t.QP.GEN_SEED_RESPONSE_LND,(0,e.xk)()),(0,e.VP)(t.QP.INIT_WALLET_LND,(0,e.xk)())),Ye=((0,e.VP)(t.QP.INIT_WALLET_RESPONSE_LND,(0,e.xk)()),(0,e.VP)(t.QP.UNLOCK_WALLET_LND,(0,e.xk)())),rt=(0,e.VP)(t.QP.PEER_LOOKUP_LND,(0,e.xk)()),Yt=(0,e.VP)(t.QP.CHANNEL_LOOKUP_LND,(0,e.xk)()),Nt=(0,e.VP)(t.QP.INVOICE_LOOKUP_LND,(0,e.xk)()),Et=(0,e.VP)(t.QP.PAYMENT_LOOKUP_LND,(0,e.xk)()),oe=((0,e.VP)(t.QP.SET_LOOKUP_LND,(0,e.xk)()),(0,e.VP)(t.QP.GET_FORWARDING_HISTORY_LND,(0,e.xk)())),tt=(0,e.VP)(t.QP.SET_FORWARDING_HISTORY_LND,(0,e.xk)()),$t=(0,e.VP)(t.QP.GET_QUERY_ROUTES_LND,(0,e.xk)()),zt=(0,e.VP)(t.QP.SET_QUERY_ROUTES_LND,(0,e.xk)()),Jt=(0,e.VP)(t.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),St=(0,e.VP)(t.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.xk)())},9579:(Qe,te,g)=>{"use strict";g.d(te,{L:()=>Te});var e=g(4054),t=g(1413),w=g(7673),S=g(1397),l=g(6977),x=g(6354),f=g(9437),I=g(3993),d=g(6391),T=g(2462),y=g(4416),F=g(1771),R=g(190),z=g(3536),W=g(4438),$=g(1626),j=g(9640),Q=g(8570),J=g(2571),ee=g(3202),ie=g(5351),ge=g(1188),ae=g(7879),Me=g(177);let Te=(()=>{class de{constructor(n,c,m,h,C,k,L,_,r,v){this.actions=n,this.httpClient=c,this.store=m,this.logger=h,this.commonService=C,this.sessionService=k,this.dialog=L,this.router=_,this.wsService=r,this.location=v,this.CHILD_API_URL=y.H$+"/lnd",this.invoicesPageSettings=y.ZC.find(V=>"transactions"===V.pageId)?.tables.find(V=>"invoices"===V.tableId),this.paymentsPageSettings=y.ZC.find(V=>"transactions"===V.pageId)?.tables.find(V=>"payments"===V.tableId),this.flgInitialized=!1,this.unSubs=[new t.B,new t.B],this.infoFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_INFO_LND),(0,S.Z)(V=>(this.flgInitialized=!1,this.store.dispatch((0,F.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,F.Jh)()),this.store.dispatch((0,F.mt)({payload:y.MZ.GET_NODE_INFO})),this.store.dispatch((0,R.e8)({payload:{action:"FetchInfo",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.GETINFO_API).pipe((0,l.Q)(this.actions.pipe((0,e.gp)(y.aU.SET_SELECTED_NODE))),(0,x.T)(N=>(this.logger.info(N),N.chains&&N.chains.length&&N.chains[0]&&("string"==typeof N.chains[0]&&N.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof N.chains[0]&&N.chains[0].hasOwnProperty("chain")&&N.chains[0].chain&&N.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,R.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.Jh)()),this.store.dispatch((0,F.xO)({payload:{data:{type:y.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:y.aU.LOGOUT}):N.identity_pubkey?(N.lnImplementation="LND",this.initializeRemainingData(N,V.payload.loadPage),this.store.dispatch((0,R.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.Jh)()),{type:y.QP.SET_INFO_LND,payload:N||{}}):(this.store.dispatch((0,R.e8)({payload:{action:"FetchInfo",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.Jh)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:y.QP.SET_INFO_LND,payload:{}}))),(0,f.W)(N=>{if("string"==typeof N.error.error&&N.error.error.includes("Not Found")||"string"==typeof N.error.error&&N.error.error.includes("wallet locked")||502===N.status&&!N.error.message.includes("Bad or Missing Macaroon"))this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),this.handleErrorWithoutAlert("FetchInfo",y.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",N);else if("string"==typeof N.error.error&&N.error.error.includes("starting up")&&500===N.status)setTimeout(()=>{this.store.dispatch((0,R.Br)({payload:{loadPage:"HOME"}}))},2e3);else{const ne=this.commonService.extractErrorCode(N),Ee=503===ne?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(N);this.router.navigate(["/error"],{state:{errorCode:ne,errorMessage:Ee}}),this.handleErrorWithoutAlert("FetchInfo",y.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:ne,error:Ee})}return(0,w.of)({type:y.aU.VOID})})))))),this.peersFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PEERS_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchPeers",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PEERS_API).pipe((0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchPeers",status:y.wn.COMPLETED}})),{type:y.QP.SET_PEERS_LND,payload:V||[]})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchPeers",y.MZ.NO_SPINNER,"Fetching Peers Failed.",V),(0,w.of)({type:y.aU.VOID})))))))),this.saveNewPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_PEER_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.CONNECT_PEER})),this.store.dispatch((0,R.e8)({payload:{action:"SaveNewPeer",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.PEERS_API,{pubkey:V.payload.pubkey,host:V.payload.host,perm:V.payload.perm}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,R.e8)({payload:{action:"SaveNewPeer",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.y0)({payload:y.MZ.CONNECT_PEER})),this.store.dispatch((0,R.Qj)({payload:N||[]})),{type:y.QP.NEWLY_ADDED_PEER_LND,payload:{peer:N[0]}})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewPeer",y.MZ.CONNECT_PEER,"Peer Connection Failed.",N),(0,w.of)({type:y.aU.VOID})))))))),this.detachPeer=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.DETACH_PEER_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+y.rl.PEERS_API+"/"+V.payload.pubkey).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,F.y0)({payload:y.MZ.DISCONNECT_PEER})),this.store.dispatch((0,F.UI)({payload:"Peer Disconnected Successfully."})),{type:y.QP.REMOVE_PEER_LND,payload:{pubkey:V.payload.pubkey}})),(0,f.W)(N=>(this.handleErrorWithAlert("DetachPeer",y.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+y.rl.PEERS_API+"/"+V.payload.pubkey,N),(0,w.of)({type:y.aU.VOID})))))))),this.saveNewInvoice=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_INVOICE_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:V.payload.uiMessage})),this.store.dispatch((0,R.e8)({payload:{action:"SaveNewInvoice",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.INVOICES_API,{memo:V.payload.memo,value:V.payload.value,private:V.payload.private,expiry:V.payload.expiry,is_amp:V.payload.is_amp}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,R.e8)({payload:{action:"SaveNewInvoice",status:y.wn.COMPLETED}})),this.store.dispatch((0,R.Do)({payload:{num_max_invoices:V.payload.pageSize,reversed:!0}})),V.payload.openModal?(N.memo=V.payload.memo,N.value=V.payload.value,N.expiry=V.payload.expiry,N.private=V.payload.private,N.is_amp=V.payload.is_amp,N.cltv_expiry="144",N.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,F.xO)({payload:{data:{invoice:N,newlyAdded:!0,component:d.H}}}))},200),{type:y.aU.CLOSE_SPINNER,payload:V.payload.uiMessage}):{type:y.QP.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:N.payment_request}})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewInvoice",V.payload.uiMessage,"Add Invoice Failed.",N),(0,w.of)({type:y.aU.VOID})))))))),this.openNewChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_NEW_CHANNEL_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.OPEN_CHANNEL})),this.store.dispatch((0,R.e8)({payload:{action:"SaveNewChannel",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_API,{node_pubkey:V.payload.selectedPeerPubkey,local_funding_amount:V.payload.fundingAmount,private:V.payload.private,trans_type:V.payload.transType,trans_type_value:V.payload.transTypeValue,spend_unconfirmed:V.payload.spendUnconfirmed,commitment_type:V.payload.commitmentType}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,R.e8)({payload:{action:"SaveNewChannel",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.y0)({payload:y.MZ.OPEN_CHANNEL})),this.store.dispatch((0,R.DY)()),this.store.dispatch((0,R.$Q)()),this.store.dispatch((0,R.H2)({payload:{uiMessage:y.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:y.QP.FETCH_PENDING_CHANNELS_LND})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SaveNewChannel",y.MZ.OPEN_CHANNEL,"Opening Channel Failed.",N),(0,w.of)({type:y.aU.VOID})))))))),this.updateChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UPDATE_CHANNEL_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_API+"/chanPolicy",{baseFeeMsat:V.payload.baseFeeMsat,feeRate:V.payload.feeRate,timeLockDelta:V.payload.timeLockDelta,max_htlc_msat:V.payload.maxHtlcMsat,min_htlc_msat:V.payload.minHtlcMsat,chanPoint:V.payload.chanPoint}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,F.y0)({payload:y.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,F.UI)("all"===V.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:y.QP.FETCH_CHANNELS_LND})),(0,f.W)(N=>(this.handleErrorWithAlert("UpdateChannels",y.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/chanPolicy",N),(0,w.of)({type:y.aU.VOID})))))))),this.closeChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.CLOSE_CHANNEL_LND),(0,S.Z)(V=>{this.store.dispatch((0,F.mt)({payload:V.payload.forcibly?y.MZ.FORCE_CLOSE_CHANNEL:y.MZ.CLOSE_CHANNEL}));let N=this.CHILD_API_URL+y.rl.CHANNELS_API+"/"+V.payload.channelPoint+"?force="+V.payload.forcibly;return V.payload.targetConf&&(N=N+"&target_conf="+V.payload.targetConf),V.payload.satPerByte&&(N=N+"&sat_per_byte="+V.payload.satPerByte),this.httpClient.delete(N).pipe((0,x.T)(ne=>(this.logger.info(ne),this.store.dispatch((0,F.y0)({payload:V.payload.forcibly?y.MZ.FORCE_CLOSE_CHANNEL:y.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,R.$Q)()),this.store.dispatch((0,R.ar)()),this.store.dispatch((0,R.H2)({payload:{uiMessage:y.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:ne.message}})),{type:y.aU.VOID})),(0,f.W)(ne=>(this.handleErrorWithAlert("CloseChannel",V.payload.forcibly?y.MZ.FORCE_CLOSE_CHANNEL:y.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+y.rl.CHANNELS_API+"/"+V.payload.channelPoint+"?force="+V.payload.forcibly,ne),(0,w.of)({type:y.aU.VOID}))))}))),this.backupChannels=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.BACKUP_CHANNELS_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:V.payload.uiMessage})),this.store.dispatch((0,R.e8)({payload:{action:"BackupChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/"+V.payload.channelPoint).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,R.e8)({payload:{action:"BackupChannels",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.y0)({payload:V.payload.uiMessage})),this.store.dispatch((0,F.UI)({payload:V.payload.showMessage+" "+N.message})),{type:y.QP.BACKUP_CHANNELS_RES_LND,payload:N.message})),(0,f.W)(N=>(this.handleErrorWithAlert("BackupChannels",V.payload.uiMessage,V.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/"+V.payload.channelPoint,N),(0,w.of)({type:y.aU.VOID})))))))),this.verifyChannel=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.VERIFY_CHANNEL_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,R.e8)({payload:{action:"VerifyChannel",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/verify/"+V.payload.channelPoint,{}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,R.e8)({payload:{action:"VerifyChannel",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.y0)({payload:y.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,F.UI)({payload:N.message})),{type:y.QP.VERIFY_CHANNEL_RES_LND,payload:N.message})),(0,f.W)(N=>(this.handleErrorWithAlert("VerifyChannel",y.MZ.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/verify/"+V.payload.channelPoint,N),(0,w.of)({type:y.aU.VOID})))))))),this.restoreChannels=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.RESTORE_CHANNELS_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,R.e8)({payload:{action:"RestoreChannels",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/restore/"+V.payload.channelPoint,{}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,R.e8)({payload:{action:"RestoreChannels",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.y0)({payload:y.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,F.UI)({payload:N.message})),this.store.dispatch((0,R.t5)({payload:N.list})),{type:y.QP.RESTORE_CHANNELS_RES_LND,payload:N.message})),(0,f.W)(N=>(this.handleErrorWithAlert("RestoreChannels",y.MZ.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/restore/"+V.payload.channelPoint,N),(0,w.of)({type:y.aU.VOID})))))))),this.fetchFees=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_FEES_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchFees",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.FEES_API))),(0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchFees",status:y.wn.COMPLETED}})),V.forwarding_events_history&&(this.store.dispatch((0,R.kv)({payload:V.forwarding_events_history})),delete V.forwarding_events_history),{type:y.QP.SET_FEES_LND,payload:V||{}})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchFees",y.MZ.NO_SPINNER,"Fetching Fees Failed.",V),(0,w.of)({type:y.aU.VOID}))))),this.balanceBlockchainFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_BLOCKCHAIN_BALANCE_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchBalance",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.BALANCE_API))),(0,x.T)(V=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchBalance",status:y.wn.COMPLETED}})),this.logger.info(V),{type:y.QP.SET_BLOCKCHAIN_BALANCE_LND,payload:V||{total_balance:""}})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchBalance",y.MZ.NO_SPINNER,"Fetching Blockchain Balance Failed.",V),(0,w.of)({type:y.aU.VOID}))))),this.networkInfoFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_NETWORK_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchNetwork",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/info"))),(0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchNetwork",status:y.wn.COMPLETED}})),{type:y.QP.SET_NETWORK_LND,payload:V||{}})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchNetwork",y.MZ.NO_SPINNER,"Fetching Network Failed.",V),(0,w.of)({type:y.aU.VOID}))))),this.channelsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_CHANNELS_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API).pipe((0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchChannels",status:y.wn.COMPLETED}})),{type:y.QP.SET_CHANNELS_LND,payload:V.channels||[]})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchChannels",y.MZ.NO_SPINNER,"Fetching Channels Failed.",V),(0,w.of)({type:y.aU.VOID})))))))),this.channelsPendingFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PENDING_CHANNELS_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchPendingChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API+"/pending").pipe((0,x.T)(V=>{this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchPendingChannels",status:y.wn.COMPLETED}}));const N={open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0};return V&&(N.total_limbo_balance=V.total_limbo_balance,V.pending_closing_channels&&(N.closing.num_channels=V.pending_closing_channels.length,N.total_channels=N.total_channels+V.pending_closing_channels.length,V.pending_closing_channels.forEach(ne=>{N.closing.limbo_balance=+N.closing.limbo_balance+(ne.channel.local_balance?+ne.channel.local_balance:0)})),V.pending_force_closing_channels&&(N.force_closing.num_channels=V.pending_force_closing_channels.length,N.total_channels=N.total_channels+V.pending_force_closing_channels.length,V.pending_force_closing_channels.forEach(ne=>{N.force_closing.limbo_balance=+N.force_closing.limbo_balance+(ne.channel.local_balance?+ne.channel.local_balance:0)})),V.pending_open_channels&&(N.open.num_channels=V.pending_open_channels.length,N.total_channels=N.total_channels+V.pending_open_channels.length,V.pending_open_channels.forEach(ne=>{N.open.limbo_balance=+N.open.limbo_balance+(ne.channel.local_balance?+ne.channel.local_balance:0)})),V.waiting_close_channels&&(N.waiting_close.num_channels=V.waiting_close_channels.length,N.total_channels=N.total_channels+V.waiting_close_channels.length,V.waiting_close_channels.forEach(ne=>{N.waiting_close.limbo_balance=+N.waiting_close.limbo_balance+(ne.channel.local_balance?+ne.channel.local_balance:0)}))),{type:y.QP.SET_PENDING_CHANNELS_LND,payload:V?{pendingChannels:V,pendingChannelsSummary:N}:{pendingChannels:{},pendingChannelsSummary:N}}}),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchPendingChannels",y.MZ.NO_SPINNER,"Fetching Pending Channels Failed.",V),(0,w.of)({type:y.aU.VOID})))))))),this.channelsClosedFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_CLOSED_CHANNELS_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchClosedChannels",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_API+"/closed").pipe((0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchClosedChannels",status:y.wn.COMPLETED}})),{type:y.QP.SET_CLOSED_CHANNELS_LND,payload:V.channels||[]})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchClosedChannels",y.MZ.NO_SPINNER,"Fetching Closed Channels Failed.",V),(0,w.of)({type:y.aU.VOID})))))))),this.invoicesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_INVOICES_LND),(0,S.Z)(V=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchInvoices",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.INVOICES_API+"?num_max_invoices="+(V.payload.num_max_invoices?V.payload.num_max_invoices:100)+"&index_offset="+(V.payload.index_offset?V.payload.index_offset:0)+"&reversed="+(!!V.payload.reversed&&V.payload.reversed)).pipe((0,x.T)(ze=>(this.logger.info(ze),this.store.dispatch((0,R.e8)({payload:{action:"FetchInvoices",status:y.wn.COMPLETED}})),V.payload.reversed&&!V.payload.index_offset&&(ze.total_invoices=+(ze.last_index_offset||0)),{type:y.QP.SET_INVOICES_LND,payload:ze})),(0,f.W)(ze=>(this.handleErrorWithoutAlert("FetchInvoices",y.MZ.NO_SPINNER,"Fetching Invoices Failed.",ze),(0,w.of)({type:y.aU.VOID})))))))),this.transactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_TRANSACTIONS_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchTransactions",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.TRANSACTIONS_API))),(0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchTransactions",status:y.wn.COMPLETED}})),{type:y.QP.SET_TRANSACTIONS_LND,payload:V||[]})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchTransactions",y.MZ.NO_SPINNER,"Fetching Transactions Failed.",V),(0,w.of)({type:y.aU.VOID}))))),this.utxosFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_UTXOS_LND),(0,I.E)(this.store.select(z.pI)),(0,S.Z)(([V,N])=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchUTXOs",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/getUTXOs?max_confs="+(N&&N.block_height?N.block_height:1e9)))),(0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchUTXOs",status:y.wn.COMPLETED}})),{type:y.QP.SET_UTXOS_LND,payload:V||[]})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchUTXOs",y.MZ.NO_SPINNER,"Fetching UTXOs Failed.",V),(0,w.of)({type:y.aU.VOID}))))),this.paymentsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PAYMENTS_LND),(0,S.Z)(V=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchPayments",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"?max_payments="+(V.payload.max_payments?V.payload.max_payments:100)+"&index_offset="+(V.payload.index_offset?V.payload.index_offset:0)+"&reversed="+(!!V.payload.reversed&&V.payload.reversed)).pipe((0,x.T)(ze=>(this.logger.info(ze),this.store.dispatch((0,R.e8)({payload:{action:"FetchPayments",status:y.wn.COMPLETED}})),this.commonService.sortByKey(ze.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:y.QP.SET_PAYMENTS_LND,payload:ze})),(0,f.W)(ze=>(this.handleErrorWithoutAlert("FetchPayments",y.MZ.NO_SPINNER,"Fetching Payments Failed.",ze),(0,w.of)({type:y.QP.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SEND_PAYMENT_LND),(0,S.Z)(V=>{this.store.dispatch((0,F.mt)({payload:V.payload.uiMessage})),this.store.dispatch((0,R.e8)({payload:{action:"SendPayment",status:y.wn.INITIATED}}));const N={};return N.paymentReq=V.payload.paymentReq,V.payload.paymentAmount&&(N.paymentAmount=V.payload.paymentAmount),V.payload.outgoingChannel&&(N.outgoingChannel=V.payload.outgoingChannel.chan_id),V.payload.allowSelfPayment&&(N.allowSelfPayment=V.payload.allowSelfPayment),V.payload.lastHopPubkey&&(N.lastHopPubkey=V.payload.lastHopPubkey),V.payload.feeLimitType&&V.payload.feeLimitType!==y.nv[0].id&&(N.feeLimit={},N.feeLimit[V.payload.feeLimitType]=V.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",N).pipe((0,x.T)(ne=>{if(this.logger.info(ne),this.store.dispatch((0,F.y0)({payload:V.payload.uiMessage})),this.store.dispatch((0,R.e8)({payload:{action:"SendPayment",status:y.wn.COMPLETED}})),ne.payment_error)return V.payload.allowSelfPayment?(this.store.dispatch((0,R.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:y.QP.SEND_PAYMENT_STATUS_LND,payload:ne}):(V.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",ne.payment_error):this.handleErrorWithAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",ne.payment_error),{type:y.aU.VOID});if(this.store.dispatch((0,F.y0)({payload:V.payload.uiMessage})),this.store.dispatch((0,R.e8)({payload:{action:"SendPayment",status:y.wn.COMPLETED}})),this.store.dispatch((0,R.$Q)()),this.store.dispatch((0,R.CK)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),V.payload.allowSelfPayment)this.store.dispatch((0,R.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let Ee="Payment Sent Successfully.";ne.payment_route&&ne.payment_route.total_fees_msat&&(Ee="Payment sent successfully with the total fee "+ne.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,F.UI)({payload:Ee}))}return{type:y.QP.SEND_PAYMENT_STATUS_LND,payload:ne}}),(0,f.W)(ne=>(this.logger.error("Error: "+JSON.stringify(ne)),V.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",ne),this.store.dispatch((0,R.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,w.of)({type:y.QP.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(ne)}})):(V.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",ne):this.handleErrorWithAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+y.rl.CHANNELS_API+"/transactions",ne),(0,w.of)({type:y.aU.VOID})))))}))),this.graphNodeFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_GRAPH_NODE_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,R.e8)({payload:{action:"FetchGraphNode",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/node/"+V.payload.pubkey).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,F.y0)({payload:y.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,R.e8)({payload:{action:"FetchGraphNode",status:y.wn.COMPLETED}})),{type:y.QP.SET_GRAPH_NODE_LND,payload:N&&N.node?{node:N.node}:{node:null}})),(0,f.W)(N=>(this.handleErrorWithoutAlert("FetchGraphNode",y.MZ.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",N),(0,w.of)({type:y.aU.VOID})))))))),this.setGraphNode=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_GRAPH_NODE_LND),(0,x.T)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.getNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_NEW_ADDRESS_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+y.rl.NEW_ADDRESS_API+"?type="+V.payload.addressId).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,F.y0)({payload:y.MZ.GENERATE_NEW_ADDRESS})),{type:y.QP.SET_NEW_ADDRESS_LND,payload:N&&N.address?N.address:{}})),(0,f.W)(N=>(this.handleErrorWithAlert("GetNewAddress",y.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+y.rl.NEW_ADDRESS_API+"?type="+V.payload.addressId,N),(0,w.of)({type:y.aU.VOID})))))))),this.setNewAddress=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_NEW_ADDRESS_LND),(0,x.T)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_CHANNEL_TRANSACTION_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.SEND_FUNDS})),this.store.dispatch((0,R.e8)({payload:{action:"SetChannelTransaction",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.TRANSACTIONS_API,{amount:V.payload.amount,address:V.payload.address,sendAll:V.payload.sendAll,fees:V.payload.fees,blocks:V.payload.blocks}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,R.e8)({payload:{action:"SetChannelTransaction",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.y0)({payload:y.MZ.SEND_FUNDS})),this.store.dispatch((0,R.mh)()),this.store.dispatch((0,R.DY)()),this.store.dispatch((0,R.$Q)()),{type:y.QP.SET_CHANNEL_TRANSACTION_RES_LND,payload:N})),(0,f.W)(N=>(this.handleErrorWithoutAlert("SetChannelTransaction",y.MZ.SEND_FUNDS,"Sending Fund Failed.",N),(0,w.of)({type:y.aU.VOID})))))))),this.fetchForwardingHistory=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_FORWARDING_HISTORY_LND),(0,S.Z)(V=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchForwardingHistory",status:y.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+y.rl.SWITCH_API,{num_max_events:V.payload.num_max_events,index_offset:V.payload.index_offset,end_time:V.payload.end_time,start_time:V.payload.start_time}).pipe((0,x.T)(ne=>(this.logger.info(ne),this.store.dispatch((0,R.e8)({payload:{action:"FetchForwardingHistory",status:y.wn.COMPLETED}})),{type:y.QP.SET_FORWARDING_HISTORY_LND,payload:ne})),(0,f.W)(ne=>(this.handleErrorWithAlert("FetchForwardingHistory",y.MZ.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+y.rl.SWITCH_API,ne),(0,w.of)({type:y.aU.VOID})))))))),this.queryRoutesFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_QUERY_ROUTES_LND),(0,S.Z)(V=>{let N=this.CHILD_API_URL+y.rl.NETWORK_API+"/routes/"+V.payload.destPubkey+"/"+V.payload.amount;return V.payload.outgoingChanId&&(N=N+"?outgoing_chan_id="+V.payload.outgoingChanId),this.httpClient.get(N).pipe((0,x.T)(ne=>(this.logger.info(ne),{type:y.QP.SET_QUERY_ROUTES_LND,payload:ne})),(0,f.W)(ne=>(this.store.dispatch((0,R.Hm)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",y.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+y.rl.NETWORK_API,ne),(0,w.of)({type:y.aU.VOID}))))}))),this.setQueryRoutes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_QUERY_ROUTES_LND),(0,x.T)(V=>V.payload)),{dispatch:!1}),this.genSeed=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GEN_SEED_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/genseed/"+V.payload).pipe((0,x.T)(N=>(this.logger.info("Generated GenSeed!"),this.logger.info(N),this.store.dispatch((0,F.y0)({payload:y.MZ.GEN_SEED})),{type:y.QP.GEN_SEED_RESPONSE_LND,payload:N.cipher_seed_mnemonic})),(0,f.W)(N=>(this.handleErrorWithAlert("GenSeed",y.MZ.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/genseed/"+V.payload,N),(0,w.of)({type:y.aU.VOID})))))))),this.updateSelNodeOptions=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UPDATE_SELECTED_NODE_OPTIONS),(0,S.Z)(()=>this.httpClient.get(this.CHILD_API_URL+y.rl.WALLET_API+"/updateSelNodeOptions").pipe((0,x.T)(V=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(V),{type:y.aU.VOID})),(0,f.W)(V=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",y.MZ.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",V),(0,w.of)({type:y.aU.VOID}))))))),this.genSeedResponse=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GEN_SEED_RESPONSE_LND),(0,x.T)(V=>V.payload)),{dispatch:!1}),this.initWalletRes=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INIT_WALLET_RESPONSE_LND),(0,x.T)(V=>V.payload)),{dispatch:!1}),this.initWallet=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INIT_WALLET_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+y.rl.WALLET_API+"/wallet/initwallet",{wallet_password:V.payload.pwd,cipher_seed_mnemonic:V.payload.cipher?V.payload.cipher:"",aezeed_passphrase:V.payload.passphrase?V.payload.passphrase:""}).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,F.y0)({payload:y.MZ.INITIALIZE_WALLET})),{type:y.QP.INIT_WALLET_RESPONSE_LND,payload:N})),(0,f.W)(N=>(this.handleErrorWithAlert("InitWallet",y.MZ.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/initwallet",N),(0,w.of)({type:y.aU.VOID})))))))),this.unlockWallet=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.UNLOCK_WALLET_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+y.rl.WALLET_API+"/wallet/unlockwallet",{wallet_password:V.payload.pwd}).pipe((0,x.T)(N=>(this.logger.info(N),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,F.y0)({payload:y.MZ.UNLOCK_WALLET})),this.store.dispatch((0,F.mt)({payload:y.MZ.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,F.y0)({payload:y.MZ.WAIT_SYNC_NODE})),this.store.dispatch((0,R.Br)({payload:{loadPage:"HOME"}}))},5e3),{type:y.aU.VOID})),(0,f.W)(N=>(this.handleErrorWithAlert("UnlockWallet",y.MZ.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+y.rl.WALLET_API+"/unlockwallet",N),(0,w.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.PEER_LOOKUP_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.SEARCHING_NODE})),this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/node/"+V.payload).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,F.y0)({payload:y.MZ.SEARCHING_NODE})),this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.W)(N=>(this.handleErrorWithAlert("Lookup",y.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+y.rl.NETWORK_API+"/node/"+V.payload,N),(0,w.of)({type:y.aU.VOID})))))))),this.channelLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.CHANNEL_LOOKUP_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:V.payload.uiMessage})),this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.NETWORK_API+"/edge/"+V.payload.channelID).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,F.y0)({payload:V.payload.uiMessage})),this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.W)(N=>(this.handleErrorWithAlert("Lookup",V.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+y.rl.NETWORK_API+"/edge/"+V.payload.channelID,N),(0,w.of)({type:y.aU.VOID})))))))),this.invoiceLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.INVOICE_LOOKUP_LND),(0,S.Z)(V=>{this.store.dispatch((0,F.mt)({payload:y.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}}));let N=this.CHILD_API_URL+y.rl.INVOICES_API+"/lookup";return N=V.payload.paymentAddress&&""!==V.payload.paymentAddress?N+"?payment_addr="+V.payload.paymentAddress:N+"?payment_hash="+V.payload.paymentHash,this.httpClient.get(N).pipe((0,x.T)(ne=>(this.logger.info(ne),this.store.dispatch((0,F.y0)({payload:y.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),this.store.dispatch((0,R.Dq)({payload:ne})),{type:y.QP.SET_LOOKUP_LND,payload:ne})),(0,f.W)(ne=>(this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",y.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",ne),V.payload.openSnackBar&&this.store.dispatch((0,F.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,w.of)({type:y.QP.SET_LOOKUP_LND,payload:{error:ne}}))))}))),this.paymentLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.PAYMENT_LOOKUP_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/lookup/"+V.payload).pipe((0,x.T)(N=>(this.logger.info(N),this.store.dispatch((0,F.y0)({payload:y.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.COMPLETED}})),this.store.dispatch((0,R._$)({payload:N})),{type:y.QP.SET_LOOKUP_LND,payload:N})),(0,f.W)(N=>(this.store.dispatch((0,R.e8)({payload:{action:"Lookup",status:y.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",y.MZ.SEARCHING_PAYMENT,"Payment Lookup Failed",N),(0,w.of)({type:y.QP.SET_LOOKUP_LND,payload:{error:N}})))))))),this.setLookup=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_LOOKUP_LND),(0,x.T)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.RESTORE_CHANNELS_LIST_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"RestoreChannelsList",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API+"/restore/list").pipe((0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"RestoreChannelsList",status:y.wn.COMPLETED}})),{type:y.QP.SET_RESTORE_CHANNELS_LIST_LND,payload:V||{all_restore_exists:!1,files:[]}})),(0,f.W)(V=>(this.handleErrorWithAlert("RestoreChannelsList",y.MZ.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+y.rl.CHANNELS_BACKUP_API,V),(0,w.of)({type:y.aU.VOID})))))))),this.setRestoreChannelList=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SET_RESTORE_CHANNELS_LIST_LND),(0,x.T)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchLightningTransactions",status:y.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+y.rl.PAYMENTS_API+"/alltransactions").pipe((0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchLightningTransactions",status:y.wn.COMPLETED}})),{type:y.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:V})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchLightningTransactions",y.MZ.NO_SPINNER,"Fetching All Lightning Transaction Failed.",V),(0,w.of)({type:y.aU.VOID})))))))),this.pageSettingsFetch=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.FETCH_PAGE_SETTINGS_LND),(0,S.Z)(()=>(this.store.dispatch((0,R.e8)({payload:{action:"FetchPageSettings",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.PAGE_SETTINGS_API).pipe((0,x.T)(V=>(this.logger.info(V),this.store.dispatch((0,R.e8)({payload:{action:"FetchPageSettings",status:y.wn.COMPLETED}})),this.invoicesPageSettings=V&&Object.keys(V).length>0?V.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId):y.ZC.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId),this.paymentsPageSettings=V&&Object.keys(V).length>0?V.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId):y.ZC.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId),{type:y.QP.SET_PAGE_SETTINGS_LND,payload:V||[]})),(0,f.W)(V=>(this.handleErrorWithoutAlert("FetchPageSettings",y.MZ.NO_SPINNER,"Fetching Page Settings Failed.",V),(0,w.of)({type:y.aU.VOID})))))))),this.savePageSettings=(0,e.EH)(()=>this.actions.pipe((0,e.gp)(y.QP.SAVE_PAGE_SETTINGS_LND),(0,S.Z)(V=>(this.store.dispatch((0,F.mt)({payload:y.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,R.e8)({payload:{action:"SavePageSettings",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.PAGE_SETTINGS_API,V.payload).pipe((0,x.T)(N=>{this.logger.info(N),this.store.dispatch((0,R.e8)({payload:{action:"SavePageSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,F.y0)({payload:y.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,F.UI)({payload:"Page Layout Updated Successfully!"}));const ne=(N.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"invoices"===ze.tableId)||y.ZC.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"invoices"===ze.tableId)).recordsPerPage,Ee=(N.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"payments"===ze.tableId)||y.ZC.find(ze=>"transactions"===ze.pageId)?.tables.find(ze=>"payments"===ze.tableId)).recordsPerPage;return this.invoicesPageSettings&&ne!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=ne,this.store.dispatch((0,R.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&Ee!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=Ee),{type:y.QP.SET_PAGE_SETTINGS_LND,payload:N||[]}}),(0,f.W)(N=>(this.handleErrorWithAlert("SavePageSettings",y.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",y.rl.PAGE_SETTINGS_API,N),(0,w.of)({type:y.aU.VOID})))))))),this.store.select(z.ru).pipe((0,l.Q)(this.unSubs[0])).subscribe(V=>{V.FetchInfo.status!==y.wn.COMPLETED&&V.FetchInfo.status!==y.wn.ERROR||V.FetchFees.status!==y.wn.COMPLETED&&V.FetchFees.status!==y.wn.ERROR||V.FetchBalanceBlockchain.status!==y.wn.COMPLETED&&V.FetchBalanceBlockchain.status!==y.wn.ERROR||V.FetchAllChannels.status!==y.wn.COMPLETED&&V.FetchAllChannels.status!==y.wn.ERROR||V.FetchPendingChannels.status!==y.wn.COMPLETED&&V.FetchPendingChannels.status!==y.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,F.y0)({payload:y.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,l.Q)(this.unSubs[1])).subscribe(V=>{this.logger.info("Received new message from the service: "+JSON.stringify(V)),V&&(V.type===y.o1.INVOICE?(this.logger.info(V),V&&V.result&&V.result.payment_request&&this.store.dispatch((0,R.Dq)({payload:V.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(V)))})}initializeRemainingData(n,c){this.sessionService.setItem("lndUnlocked","true");const m={identity_pubkey:n.identity_pubkey,alias:n.alias,testnet:n.testnet,chains:n.chains,uris:n.uris,version:n.version?n.version.split(" ")[0]:""};this.store.dispatch((0,F.mt)({payload:y.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,F.Fl)({payload:m}));let h=this.location.path();h.includes("/cln/")?h=h?.replace("/cln/","/lnd/"):h.includes("/ecl/")&&(h=h?.replace("/ecl/","/lnd/")),(h.includes("/unlock")||h.includes("/login")||h.includes("/error")||""===h||"HOME"===c||h.includes("?access-key="))&&(h="/lnd/home"),this.router.navigate([h]),this.store.dispatch((0,R.DY)()),this.store.dispatch((0,R.$Q)()),this.store.dispatch((0,R.ar)()),this.store.dispatch((0,R.pL)()),this.store.dispatch((0,R.Gy)()),this.store.dispatch((0,R.tf)()),this.store.dispatch((0,R.yp)()),this.store.dispatch((0,R.CK)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,R.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(n,c,m,h){this.logger.error("ERROR IN: "+n+"\n"+JSON.stringify(h)),401===h.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,F.Jh)()),this.store.dispatch((0,F.ri)({payload:"Authentication Failed: "+JSON.stringify(h.error)}))):(this.store.dispatch((0,F.y0)({payload:c})),this.store.dispatch((0,R.e8)({payload:{action:n,status:y.wn.ERROR,statusCode:h.status.toString(),message:this.commonService.extractErrorMessage(h,m)}})))}handleErrorWithAlert(n,c,m,h,C){if(this.logger.error(C),401===C.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,F.Jh)()),this.store.dispatch((0,F.ri)({payload:"Authentication Failed: "+JSON.stringify(C.error)}));else{this.store.dispatch((0,F.y0)({payload:c}));const k=this.commonService.extractErrorMessage(C);this.store.dispatch((0,F.xO)({payload:{data:{type:"ERROR",alertTitle:m,message:{code:C.status,message:k,URL:h},component:T.f}}})),this.store.dispatch((0,R.e8)({payload:{action:n,status:y.wn.ERROR,statusCode:C.status.toString(),message:k,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(n=>{n.next(null),n.complete()})}static#e=this.\u0275fac=function(c){return new(c||de)(W.KVO(e.En),W.KVO($.Qq),W.KVO(j.il),W.KVO(Q.gP),W.KVO(J.h),W.KVO(ee.Q),W.KVO(ie.bZ),W.KVO(ge.Ix),W.KVO(ae.I),W.KVO(Me.aZ))};static#t=this.\u0275prov=W.jDH({token:de,factory:de.\u0275fac})}return de})()},3536:(Qe,te,g)=>{"use strict";g.d(te,{$7:()=>j,$G:()=>w,BM:()=>R,Bw:()=>$,Ie:()=>f,KT:()=>I,Uv:()=>W,ah:()=>J,eO:()=>ge,gN:()=>y,gj:()=>ae,n_:()=>ie,oR:()=>d,os:()=>T,pI:()=>S,rN:()=>F,ru:()=>x,tA:()=>ee});var e=g(9640);const t=(0,e.UX)("lnd"),w=(0,e.Mz)(t,Me=>({pageSettings:Me.pageSettings,apiCallStatus:Me.apisCallStatus.FetchPageSettings})),S=(0,e.Mz)(t,Me=>Me.information),x=((0,e.Mz)(t,Me=>({information:Me.information,apiCallStatus:Me.apisCallStatus.FetchInfo})),(0,e.Mz)(t,Me=>Me.apisCallStatus)),f=(0,e.Mz)(t,Me=>({forwardingHistory:Me.forwardingHistory,apiCallStatus:Me.apisCallStatus.FetchForwardingHistory})),I=(0,e.Mz)(t,Me=>({listPayments:Me.listPayments,apiCallStatus:Me.apisCallStatus.FetchPayments})),d=(0,e.Mz)(t,Me=>({fees:Me.fees,apiCallStatus:Me.apisCallStatus.FetchFees})),T=(0,e.Mz)(t,Me=>({peers:Me.peers,apiCallStatus:Me.apisCallStatus.FetchPeers})),y=(0,e.Mz)(t,Me=>({transactions:Me.transactions,apiCallStatus:Me.apisCallStatus.FetchTransactions})),F=(0,e.Mz)(t,Me=>({listInvoices:Me.listInvoices,apiCallStatus:Me.apisCallStatus.FetchInvoices})),R=(0,e.Mz)(t,Me=>({channels:Me.channels,channelsSummary:Me.channelsSummary,lightningBalance:Me.lightningBalance,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),W=((0,e.Mz)(t,Me=>({channelsSummary:Me.channelsSummary,pendingChannels:Me.pendingChannels,closedChannels:Me.closedChannels,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),(0,e.Mz)(t,Me=>({pendingChannels:Me.pendingChannels,pendingChannelsSummary:Me.pendingChannelsSummary,apiCallStatus:Me.apisCallStatus.FetchPendingChannels}))),$=(0,e.Mz)(t,Me=>({closedChannels:Me.closedChannels,apiCallStatus:Me.apisCallStatus.FetchClosedChannels})),j=(0,e.Mz)(t,Me=>({blockchainBalance:Me.blockchainBalance,apiCallStatus:Me.apisCallStatus.FetchBalanceBlockchain})),J=((0,e.Mz)(t,Me=>({lightningBalance:Me.lightningBalance,apiCallStatus:Me.apisCallStatus.FetchAllChannels})),(0,e.Mz)(t,Me=>({utxos:Me.utxos,apiCallStatus:Me.apisCallStatus.FetchUTXOs}))),ee=(0,e.Mz)(t,Me=>({networkInfo:Me.networkInfo,apiCallStatus:Me.apisCallStatus.FetchNetwork})),ie=(0,e.Mz)(t,Me=>({allLightningTransactions:Me.allLightningTransactions,apiCallStatus:Me.apisCallStatus.FetchLightningTransactions})),ge=(0,e.Mz)(t,Me=>({channels:Me.channels,pendingChannels:Me.pendingChannels,closedChannels:Me.closedChannels})),ae=(0,e.Mz)(t,Me=>({information:Me.information,apiCallStatus:Me.apisCallStatus.FetchInfo}))},6391:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>Xt});var e=g(5351),t=g(5383),w=g(1413),S=g(6977),l=g(4416),x=g(3536),f=g(4438),I=g(8570),d=g(2571),T=g(5416),y=g(9640),F=g(177),R=g(60),z=g(2920),W=g(6038),$=g(8834),j=g(5596),Q=g(9454),J=g(9213),ee=g(1997),ie=g(9183),ge=g(4823),ae=g(8288),Me=g(9157),Te=g(9587);const de=["scrollContainer"],D=ye=>({"display-none":ye}),n=ye=>({"xs-scroll-y":ye}),c=ye=>({"h-50":ye}),m=()=>[],h=ye=>({"mr-0":ye});function C(ye,ue){if(1&ye&&f.nrm(0,"qr-code",33),2&ye){const Ie=f.XpG();f.Y8G("value",null==Ie.invoice?null:Ie.invoice.payment_request)("size",Ie.qrWidth)("errorCorrectionLevel","L")}}function k(ye,ue){1&ye&&(f.j41(0,"span",34),f.EFF(1,"N/A"),f.k0s())}function L(ye,ue){if(1&ye&&f.nrm(0,"qr-code",33),2&ye){const Ie=f.XpG();f.Y8G("value",null==Ie.invoice?null:Ie.invoice.payment_request)("size",Ie.qrWidth)("errorCorrectionLevel","L")}}function _(ye,ue){1&ye&&(f.j41(0,"span",35),f.EFF(1,"QR Code Not Applicable"),f.k0s())}function r(ye,ue){1&ye&&f.nrm(0,"mat-divider",24),2&ye&&f.Y8G("inset",!0)}function v(ye,ue){1&ye&&(f.qex(0),f.EFF(1," (zero amount) "),f.bVm())}function V(ye,ue){1&ye&&f.nrm(0,"span",41)}function N(ye,ue){if(1&ye&&(f.j41(0,"div",37)(1,"div",38)(2,"span",39),f.EFF(3),f.nI1(4,"number"),f.k0s(),f.DNE(5,V,1,0,"span",40),f.k0s()()),2&ye){const Ie=f.XpG(2);f.R7$(3),f.SpI("",f.bMT(4,2,null==Ie.invoice?null:Ie.invoice.amt_paid_sat)," Sats"),f.R7$(2),f.Y8G("ngForOf",f.lJ4(4,m).constructor(35))}}function ne(ye,ue){if(1&ye&&(f.j41(0,"div"),f.EFF(1),f.nI1(2,"number"),f.k0s()),2&ye){const Ie=f.XpG(2);f.R7$(),f.SpI("",f.bMT(2,1,null==Ie.invoice?null:Ie.invoice.amt_paid_sat)," Sats")}}function Ee(ye,ue){if(1&ye&&(f.qex(0),f.DNE(1,N,6,5,"div",36)(2,ne,3,3,"div",23),f.bVm()),2&ye){const Ie=f.XpG();f.R7$(),f.Y8G("ngIf",Ie.flgInvoicePaid),f.R7$(),f.Y8G("ngIf",!Ie.flgInvoicePaid)}}function ze(ye,ue){1&ye&&(f.j41(0,"span"),f.EFF(1,"-"),f.k0s())}function qe(ye,ue){1&ye&&f.nrm(0,"mat-spinner",43),2&ye&&f.Y8G("diameter",20)}function Ke(ye,ue){if(1&ye&&(f.qex(0),f.DNE(1,ze,2,0,"span",23)(2,qe,1,1,"mat-spinner",42),f.bVm()),2&ye){const Ie=f.XpG();f.R7$(),f.Y8G("ngIf","OPEN"!==(null==Ie.invoice?null:Ie.invoice.state)||!Ie.flgVersionCompatible),f.R7$(),f.Y8G("ngIf","OPEN"===(null==Ie.invoice?null:Ie.invoice.state)&&Ie.flgVersionCompatible)}}function se(ye,ue){1&ye&&f.eu8(0)}function X(ye,ue){if(1&ye&&(f.j41(0,"div"),f.DNE(1,se,1,0,"ng-container",44),f.k0s()),2&ye){f.XpG();const Ie=f.sdS(79);f.R7$(),f.Y8G("ngTemplateOutlet",Ie)}}function me(ye,ue){if(1&ye){const Ie=f.RV6();f.j41(0,"div",45)(1,"button",46),f.bIt("click",function(){f.eBV(Ie);const Xe=f.XpG();return f.Njj(Xe.onScrollDown())}),f.j41(2,"mat-icon",47),f.EFF(3,"arrow_downward"),f.k0s()()()}}function ce(ye,ue){1&ye&&(f.j41(0,"p"),f.EFF(1,"Show Advanced"),f.k0s())}function fe(ye,ue){1&ye&&(f.j41(0,"p"),f.EFF(1,"Hide Advanced"),f.k0s())}function ke(ye,ue){if(1&ye){const Ie=f.RV6();f.j41(0,"button",48),f.bIt("copied",function(Xe){f.eBV(Ie);const yt=f.XpG();return f.Njj(yt.onCopyPayment(Xe))}),f.EFF(1),f.k0s()}if(2&ye){const Ie=f.XpG();f.Y8G("payload",null==Ie.invoice?null:Ie.invoice.payment_request),f.R7$(),f.JRh(Ie.screenSize===Ie.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function mt(ye,ue){if(1&ye){const Ie=f.RV6();f.j41(0,"button",49),f.bIt("click",function(){f.eBV(Ie);const Xe=f.XpG();return f.Njj(Xe.onClose())}),f.EFF(1,"OK"),f.k0s()}}function _e(ye,ue){if(1&ye&&f.nrm(0,"span",64),2&ye){const Ie=f.XpG(4);f.Y8G("ngClass",f.eq3(1,h,Ie.screenSize===Ie.screenSizeEnum.XS))}}function be(ye,ue){if(1&ye&&f.nrm(0,"span",65),2&ye){const Ie=f.XpG(4);f.Y8G("ngClass",f.eq3(1,h,Ie.screenSize===Ie.screenSizeEnum.XS))}}function pe(ye,ue){if(1&ye&&f.nrm(0,"span",66),2&ye){const Ie=f.XpG(4);f.Y8G("ngClass",f.eq3(1,h,Ie.screenSize===Ie.screenSizeEnum.XS))}}function Ze(ye,ue){if(1&ye&&(f.j41(0,"div",53)(1,"div",58)(2,"span",59),f.DNE(3,_e,1,3,"span",60)(4,be,1,3,"span",61)(5,pe,1,3,"span",62),f.EFF(6),f.k0s(),f.j41(7,"span",63),f.EFF(8),f.nI1(9,"number"),f.k0s()(),f.nrm(10,"mat-divider",24),f.k0s()),2&ye){const Ie=ue.$implicit,He=f.XpG(3);f.R7$(3),f.Y8G("ngIf","SETTLED"===Ie.state),f.R7$(),f.Y8G("ngIf","ACCEPTED"===Ie.state),f.R7$(),f.Y8G("ngIf","CANCELED"===Ie.state),f.R7$(),f.SpI(" ",Ie.chan_id," "),f.R7$(2),f.JRh(f.i5U(9,6,+Ie.amt_msat/1e3||0,He.getDecimalFormat(Ie))),f.R7$(2),f.Y8G("inset",!0)}}function _t(ye,ue){if(1&ye){const Ie=f.RV6();f.j41(0,"div",19)(1,"mat-expansion-panel",51),f.bIt("opened",function(){f.eBV(Ie);const Xe=f.XpG(2);return f.Njj(Xe.flgOpened=!0)})("closed",function(){f.eBV(Ie);const Xe=f.XpG(2);return f.Njj(Xe.onExpansionClosed())}),f.j41(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),f.EFF(5,"HTLCs"),f.k0s()()(),f.j41(6,"div",53)(7,"div",54)(8,"span",55),f.EFF(9,"Channel ID"),f.k0s(),f.j41(10,"span",56),f.EFF(11,"Amount (Sats)"),f.k0s()(),f.nrm(12,"mat-divider",24),f.DNE(13,Ze,11,9,"div",57),f.k0s()()()}if(2&ye){const Ie=f.XpG(2);f.R7$(12),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngForOf",null==Ie.invoice?null:Ie.invoice.htlcs)}}function at(ye,ue){1&ye&&f.nrm(0,"mat-divider",24),2&ye&&f.Y8G("inset",!0)}function pt(ye,ue){if(1&ye&&(f.nrm(0,"mat-divider",24),f.j41(1,"div",19)(2,"div",25)(3,"h4",21),f.EFF(4,"Preimage"),f.k0s(),f.j41(5,"span",26),f.EFF(6),f.k0s()()(),f.nrm(7,"mat-divider",24),f.j41(8,"div",19)(9,"div",20)(10,"h4",21),f.EFF(11,"State"),f.k0s(),f.j41(12,"span",26),f.EFF(13),f.k0s()(),f.j41(14,"div",20)(15,"h4",21),f.EFF(16,"Expiry"),f.k0s(),f.j41(17,"span",26),f.EFF(18),f.nI1(19,"date"),f.k0s()()(),f.nrm(20,"mat-divider",24),f.j41(21,"div",19)(22,"div",20)(23,"h4",21),f.EFF(24,"Private Routing Hints"),f.k0s(),f.j41(25,"span",26),f.EFF(26),f.k0s()(),f.j41(27,"div",20)(28,"h4",21),f.EFF(29,"AMP Invoice"),f.k0s(),f.j41(30,"span",26),f.EFF(31),f.k0s()()(),f.nrm(32,"mat-divider",24),f.DNE(33,_t,14,2,"div",50)(34,at,1,1,"mat-divider",17)),2&ye){const Ie=f.XpG();f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Ie.invoice?null:Ie.invoice.r_preimage)||"-"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==Ie.invoice?null:Ie.invoice.state),f.R7$(5),f.JRh(f.i5U(19,11,1e3*(+(null==Ie.invoice?null:Ie.invoice.creation_date)+ +(null==Ie.invoice?null:Ie.invoice.expiry)),"dd/MMM/y HH:mm")),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null!=Ie.invoice&&Ie.invoice.private?"Yes":"No"),f.R7$(5),f.JRh(null!=Ie.invoice&&Ie.invoice.is_amp?"Yes":"No"),f.R7$(),f.Y8G("inset",!0),f.R7$(),f.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.htlcs)&&(null==Ie.invoice?null:Ie.invoice.htlcs.length)>0),f.R7$(),f.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.htlcs)&&(null==Ie.invoice?null:Ie.invoice.htlcs.length)>0)}}let Xt=(()=>{class ye{set container(Ie){Ie&&(this.scrollContainer=Ie)}constructor(Ie,He,Xe,yt,Ye,rt){this.dialogRef=Ie,this.data=He,this.logger=Xe,this.commonService=yt,this.snackBar=Ye,this.store=rt,this.faReceipt=t.Mf0,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.f7,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new w.B,new w.B,new w.B,new w.B,new w.B]}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.f7.XS&&(this.qrWidth=220),this.store.select(x.pI).pipe((0,S.Q)(this.unSubs[0])).subscribe(He=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(He.version,"0.11.0")});const Ie=JSON.parse(JSON.stringify(this.invoice));this.store.select(x.rN).pipe((0,S.Q)(this.unSubs[1])).subscribe(He=>{const Xe=this.invoice?.state,Ye=(He.listInvoices.invoices||[]).find(rt=>rt.r_hash===Ie.r_hash)||null;Ye&&(this.invoice=Ye),Xe!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(He)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced,this.flgOpened=!1}onScrollDown(){this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+60}onExpansionClosed(){this.flgOpened=!1,this.scrollContainer.nativeElement.scrollTop=0}onCopyPayment(Ie){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+Ie)}getDecimalFormat(Ie){return Ie.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(Ie=>{Ie.next(null),Ie.complete()})}static#e=this.\u0275fac=function(He){return new(He||ye)(f.rXU(e.CP),f.rXU(e.Vh),f.rXU(I.gP),f.rXU(d.h),f.rXU(T.UG),f.rXU(y.il))};static#t=this.\u0275cmp=f.VBU({type:ye,selectors:[["rtl-invoice-information"]],viewQuery:function(He,Xe){if(1&He&&f.GBs(de,5),2&He){let yt;f.mGM(yt=f.lsd())&&(Xe.container=yt.first)}},decls:80,vars:49,consts:[["scrollContainer",""],["hideAdvancedText",""],["advancedBlock",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign.gt-sm","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxLayout","column","fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],[3,"ngClass"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"my-1",3,"inset"],["fxFlex","100"],[1,"overflow-wrap","foreground-secondary-text"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center","fxFlex","100",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],[4,"ngTemplateOutlet"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll Down","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"],["fxLayout","row",4,"ngIf"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",1,"flat-expansion-panel",3,"opened","closed"],["fxLayoutAlign","start center","fxFlex","100",1,"font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100",1,"mt-minus-1"],["fxFlex","60",1,"foreground-secondary-text","font-bold-500"],["fxFlex","40",1,"foreground-secondary-text","font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100"],["fxFlex","60",1,"foreground-secondary-text"],["class","dot green","matTooltip","Settled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow","matTooltip","Accepted","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red","matTooltip","Cancelled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["fxFlex","40",1,"foreground-secondary-text"],["matTooltip","Settled","matTooltipPosition","right",1,"dot","green",3,"ngClass"],["matTooltip","Accepted","matTooltipPosition","right",1,"dot","yellow",3,"ngClass"],["matTooltip","Cancelled","matTooltipPosition","right",1,"dot","red",3,"ngClass"]],template:function(He,Xe){if(1&He){const yt=f.RV6();f.j41(0,"div",3)(1,"div",4),f.DNE(2,C,1,3,"qr-code",5)(3,k,2,0,"span",6),f.k0s(),f.j41(4,"div",7)(5,"mat-card-header",8)(6,"div",9),f.nrm(7,"fa-icon",10),f.j41(8,"span",11),f.EFF(9),f.k0s()(),f.j41(10,"button",12),f.bIt("click",function(){return f.eBV(yt),f.Njj(Xe.onClose())}),f.EFF(11,"X"),f.k0s()(),f.j41(12,"mat-card-content",13)(13,"div",14)(14,"div",15),f.DNE(15,L,1,3,"qr-code",5)(16,_,2,0,"span",16),f.k0s(),f.DNE(17,r,1,1,"mat-divider",17),f.j41(18,"div",18,0)(20,"div",19)(21,"div",20)(22,"h4",21),f.EFF(23),f.k0s(),f.j41(24,"span",22),f.EFF(25),f.nI1(26,"number"),f.DNE(27,v,2,0,"ng-container",23),f.k0s()(),f.j41(28,"div",20)(29,"h4",21),f.EFF(30,"Amount Settled"),f.k0s(),f.j41(31,"span",22),f.DNE(32,Ee,3,2,"ng-container",23)(33,Ke,3,2,"ng-container",23),f.k0s()()(),f.nrm(34,"mat-divider",24),f.j41(35,"div",19)(36,"div",20)(37,"h4",21),f.EFF(38,"Date Created"),f.k0s(),f.j41(39,"span",22),f.EFF(40),f.nI1(41,"date"),f.k0s()(),f.j41(42,"div",20)(43,"h4",21),f.EFF(44,"Date Settled"),f.k0s(),f.j41(45,"span",22),f.EFF(46),f.nI1(47,"date"),f.k0s()()(),f.nrm(48,"mat-divider",24),f.j41(49,"div",19)(50,"div",25)(51,"h4",21),f.EFF(52,"Memo"),f.k0s(),f.j41(53,"span",22),f.EFF(54),f.k0s()()(),f.nrm(55,"mat-divider",24),f.j41(56,"div",19)(57,"div",25)(58,"h4",21),f.EFF(59,"Payment Request"),f.k0s(),f.j41(60,"span",26),f.EFF(61),f.k0s()()(),f.nrm(62,"mat-divider",24),f.j41(63,"div",19)(64,"div",25)(65,"h4",21),f.EFF(66,"Payment Hash"),f.k0s(),f.j41(67,"span",26),f.EFF(68),f.k0s()()(),f.DNE(69,X,2,1,"div",23),f.k0s()()(),f.DNE(70,me,4,0,"div",27),f.j41(71,"div",28)(72,"button",29),f.bIt("click",function(){return f.eBV(yt),f.Njj(Xe.onShowAdvanced())}),f.DNE(73,ce,2,0,"p",30)(74,fe,2,0,"ng-template",null,1,f.C5r),f.k0s(),f.DNE(76,ke,2,2,"button",31)(77,mt,2,0,"button",32),f.k0s()()(),f.DNE(78,pt,35,14,"ng-template",null,2,f.C5r)}if(2&He){const yt=f.sdS(75);f.R7$(),f.Y8G("fxLayoutAlign",null!=Xe.invoice&&Xe.invoice.payment_request&&""!==(null==Xe.invoice?null:Xe.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(41,D,Xe.screenSize===Xe.screenSizeEnum.XS||Xe.screenSize===Xe.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Xe.invoice?null:Xe.invoice.payment_request)&&""!==(null==Xe.invoice?null:Xe.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Xe.invoice&&Xe.invoice.payment_request)||""===(null==Xe.invoice?null:Xe.invoice.payment_request)),f.R7$(4),f.Y8G("icon",Xe.faReceipt),f.R7$(2),f.JRh(Xe.screenSize===Xe.screenSizeEnum.XS?Xe.newlyAdded?"Created":"Invoice":Xe.newlyAdded?"Invoice Created":"Invoice Information"),f.R7$(3),f.Y8G("ngClass",f.eq3(43,n,Xe.screenSize===Xe.screenSizeEnum.XS)),f.R7$(2),f.Y8G("fxLayoutAlign",null!=Xe.invoice&&Xe.invoice.payment_request&&""!==(null==Xe.invoice?null:Xe.invoice.payment_request)?"center start":"center center")("ngClass",f.eq3(45,D,Xe.screenSize!==Xe.screenSizeEnum.XS&&Xe.screenSize!==Xe.screenSizeEnum.SM)),f.R7$(),f.Y8G("ngIf",(null==Xe.invoice?null:Xe.invoice.payment_request)&&""!==(null==Xe.invoice?null:Xe.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Xe.invoice&&Xe.invoice.payment_request)||""===(null==Xe.invoice?null:Xe.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",Xe.screenSize===Xe.screenSizeEnum.XS||Xe.screenSize===Xe.screenSizeEnum.SM),f.R7$(),f.Y8G("ngClass",f.eq3(47,c,(null==Xe.invoice?null:Xe.invoice.htlcs)&&(null==Xe.invoice?null:Xe.invoice.htlcs.length)>0&&Xe.showAdvanced)),f.R7$(5),f.JRh(Xe.screenSize===Xe.screenSizeEnum.XS?"Amount":"Amount Requested"),f.R7$(2),f.SpI("",f.bMT(26,33,(null==Xe.invoice?null:Xe.invoice.value)||0)," Sats"),f.R7$(2),f.Y8G("ngIf",!(null!=Xe.invoice&&Xe.invoice.value)||"0"===(null==Xe.invoice?null:Xe.invoice.value)),f.R7$(5),f.Y8G("ngIf",(null==Xe.invoice?null:Xe.invoice.amt_paid_sat)&&"OPEN"!==(null==Xe.invoice?null:Xe.invoice.state)),f.R7$(),f.Y8G("ngIf",!(null!=Xe.invoice&&Xe.invoice.amt_paid_sat)||"0"===(null==Xe.invoice?null:Xe.invoice.amt_paid_sat)),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh(f.i5U(41,35,1e3*(null==Xe.invoice?null:Xe.invoice.creation_date),"dd/MMM/y HH:mm")),f.R7$(6),f.JRh(0!=+(null==Xe.invoice?null:Xe.invoice.settle_date)?f.i5U(47,38,1e3*+(null==Xe.invoice?null:Xe.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),f.R7$(2),f.Y8G("inset",!0),f.R7$(6),f.JRh(null==Xe.invoice?null:Xe.invoice.memo),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Xe.invoice?null:Xe.invoice.payment_request)||"N/A"),f.R7$(),f.Y8G("inset",!0),f.R7$(6),f.JRh((null==Xe.invoice?null:Xe.invoice.r_hash)||""),f.R7$(),f.Y8G("ngIf",Xe.showAdvanced),f.R7$(),f.Y8G("ngIf",(null==Xe.invoice?null:Xe.invoice.htlcs)&&(null==Xe.invoice?null:Xe.invoice.htlcs.length)>0&&Xe.showAdvanced&&Xe.flgOpened),f.R7$(3),f.Y8G("ngIf",!Xe.showAdvanced)("ngIfElse",yt),f.R7$(3),f.Y8G("ngIf",(null==Xe.invoice?null:Xe.invoice.payment_request)&&""!==(null==Xe.invoice?null:Xe.invoice.payment_request)),f.R7$(),f.Y8G("ngIf",!(null!=Xe.invoice&&Xe.invoice.payment_request)||""===(null==Xe.invoice?null:Xe.invoice.payment_request))}},dependencies:[F.YU,F.Sq,F.bT,F.T3,R.aY,z.DJ,z.sA,z.UI,W.PW,$.$z,$.$0,j.m2,j.MM,Q.GK,Q.Z2,Q.WN,J.An,ee.q,ie.LG,ge.oV,ae.Um,Me.U,Te.N,F.QX,F.vh]})}return ye})()},1001:(Qe,te,g)=>{"use strict";g.d(te,{C:()=>t,q:()=>w});var e=g(9969);const t=[(0,e.hZ)("opacityAnimation",[(0,e.kY)(":enter",[(0,e.iF)({opacity:0}),(0,e.i0)("1000ms ease-in",(0,e.iF)({opacity:1}))]),(0,e.kY)(":leave",[(0,e.i0)("0ms",(0,e.iF)({opacity:0}))])])],w=[(0,e.hZ)("fadeIn",[(0,e.kY)("void => *",[]),(0,e.kY)("* => void",[]),(0,e.kY)("* => *",[(0,e.i0)(800,(0,e.i7)([(0,e.iF)({opacity:0,transform:"translateY(100%)"}),(0,e.iF)({opacity:1,transform:"translateY(0%)"})]))])])]},9881:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>t});var e=g(9969);const t=(0,e.hZ)("routeAnimation",[(0,e.kY)("* => *",[(0,e.P)(":enter, :leave",(0,e.iF)({position:"fixed",width:"100%"}),{optional:!0}),(0,e.Os)([(0,e.P)(":enter",[(0,e.iF)({transform:"translateX(100%)"}),(0,e.i0)("1000ms ease-in-out",(0,e.iF)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.P)(":leave",[(0,e.iF)({transform:"translateX(0%)"}),(0,e.i0)("1000ms ease-in-out",(0,e.iF)({transform:"translateX(-100%)"}))],{optional:!0})])])])},6949:(Qe,te,g)=>{"use strict";g.d(te,{k:()=>t});var e=g(9969);const t=[(0,e.hZ)("sliderAnimation",[(0,e.wk)("*",(0,e.iF)({transform:"translateX(0)"})),(0,e.kY)("void => backward",[(0,e.iF)({transform:"translateX(-100%"}),(0,e.i0)("800ms")]),(0,e.kY)("backward => void",[(0,e.i0)("0ms",(0,e.iF)({transform:"translateX(100%)"}))]),(0,e.kY)("void => forward",[(0,e.iF)({transform:"translateX(100%"}),(0,e.i0)("800ms")]),(0,e.kY)("forward => void",[(0,e.i0)("0ms",(0,e.iF)({transform:"translateX(-100%)"}))])])]},2462:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>y});var e=g(5351),t=g(4438),w=g(8570),S=g(177),l=g(2920),x=g(8834),f=g(5596),I=g(1997),d=g(9587);function T(F,R){if(1&F&&(t.j41(0,"p",14),t.EFF(1),t.k0s()),2&F){const z=t.XpG();t.R7$(),t.JRh(z.data.titleMessage)}}let y=(()=>{class F{constructor(z,W,$){this.dialogRef=z,this.data=W,this.logger=$,this.errorMessage=""}ngOnInit(){this.errorMessage=this.data.message&&this.data.message.message&&"object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message&&this.data.message.message?this.data.message.message:"",!this.data.message&&!this.data.titleMessage&&!this.data.message&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}static#e=this.\u0275fac=function(W){return new(W||F)(t.rXU(e.CP),t.rXU(e.Vh),t.rXU(w.gP))};static#t=this.\u0275cmp=t.VBU({type:F,selectors:[["rtl-error-message"]],decls:29,vars:6,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large","error-alert-block"],["fxLayout","column"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],[1,"word-break"],["fxLayout","row","fxLayoutAlign","end center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","start center",1,"pb-1"]],template:function(W,$){1&W&&(t.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t.EFF(5),t.k0s()(),t.j41(6,"button",5),t.bIt("click",function(){return $.onClose()}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",6)(9,"div",7),t.DNE(10,T,2,1,"p",8),t.j41(11,"h4",9),t.EFF(12,"Error Code"),t.k0s(),t.j41(13,"span"),t.EFF(14),t.k0s(),t.nrm(15,"mat-divider",10),t.j41(16,"h4",9),t.EFF(17,"Error Message"),t.k0s(),t.j41(18,"span",11),t.EFF(19),t.k0s(),t.nrm(20,"mat-divider",10),t.j41(21,"h4",9),t.EFF(22,"API URL"),t.k0s(),t.j41(23,"span",11),t.EFF(24),t.k0s(),t.nrm(25,"mat-divider",10),t.j41(26,"div",12)(27,"button",13),t.EFF(28,"OK"),t.k0s()()()()()()),2&W&&(t.R7$(5),t.JRh($.data.alertTitle||"ERROR"),t.R7$(5),t.Y8G("ngIf",$.data.titleMessage),t.R7$(4),t.JRh($.data.message.code),t.R7$(5),t.JRh($.errorMessage),t.R7$(5),t.JRh($.data.message.URL),t.R7$(3),t.Y8G("mat-dialog-close",!1))},dependencies:[S.bT,l.DJ,l.sA,l.UI,e.tx,x.$z,f.m2,f.MM,I.q,d.N],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return F})()},8711:(Qe,te,g)=>{"use strict";g.d(te,{D:()=>Zi});var e=g(9417),t=g(1413),w=g(6977),S=g(5351),l=g(5383),x=g(1001),f=g(4416),I=g(3536),d=g(4438),T=g(9640),y=g(4104),F=g(177),R=g(8570),z=g(1188),W=g(2571),$=g(2920),j=g(6038),Q=g(8834),J=g(5596),ee=g(9454),ie=g(9213),ge=g(9631),ae=g(6467),Me=g(7575),Te=g(5951),de=g(450),D=g(4823),n=g(6013),c=g(9587),m=g(1997);const h=Qt=>({"h-5":Qt});function C(Qt,Mt){1&Qt&&d.eu8(0)}function k(Qt,Mt){1&Qt&&d.eu8(0)}function L(Qt,Mt){if(1&Qt&&(d.j41(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),d.EFF(4),d.nI1(5,"number"),d.k0s()()(),d.DNE(6,k,1,0,"ng-container",2),d.k0s()),2&Qt){const it=d.XpG(),ct=d.sdS(4);d.Y8G("expanded",it.panelExpanded)("ngClass",d.eq3(7,h,!it.flgShowPanel)),d.R7$(4),d.Lme("Quote for ",it.termCaption," amount (",d.bMT(5,5,it.quote.amount)," Sats)"),d.R7$(2),d.Y8G("ngTemplateOutlet",ct)}}function _(Qt,Mt){if(1&Qt&&(d.j41(0,"div",19)(1,"h4",8),d.EFF(2," Prepay Amount (Sats) "),d.j41(3,"mat-icon",20),d.EFF(4,"info_outline"),d.k0s()(),d.j41(5,"span",10),d.EFF(6),d.nI1(7,"number"),d.k0s()()),2&Qt){const it=d.XpG(2);d.R7$(6),d.JRh(d.bMT(7,1,null==it.quote?null:it.quote.prepay_amt_sat))}}function r(Qt,Mt){1&Qt&&d.nrm(0,"mat-divider",13)}function v(Qt,Mt){if(1&Qt&&(d.j41(0,"div",6)(1,"div",21)(2,"h4",8),d.EFF(3," Swap Server Node Pubkey "),d.j41(4,"mat-icon",22),d.EFF(5,"info_outline"),d.k0s()(),d.j41(6,"span",10),d.EFF(7),d.k0s()()()),2&Qt){const it=d.XpG(2);d.R7$(7),d.JRh(null==it.quote?null:it.quote.swap_payment_dest)}}function V(Qt,Mt){if(1&Qt&&(d.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),d.EFF(4," Swap Fee (Sats) "),d.j41(5,"mat-icon",9),d.EFF(6,"info_outline"),d.k0s()(),d.j41(7,"span",10),d.EFF(8),d.nI1(9,"number"),d.k0s()(),d.j41(10,"div",7)(11,"h4",8),d.EFF(12),d.j41(13,"mat-icon",11),d.EFF(14,"info_outline"),d.k0s()(),d.j41(15,"span",10),d.EFF(16),d.nI1(17,"number"),d.k0s()(),d.DNE(18,_,8,3,"div",12),d.k0s(),d.nrm(19,"mat-divider",13),d.j41(20,"div",6)(21,"div",14)(22,"h4",8),d.EFF(23," Max Off-chain Swap Routing Fee (Sats) "),d.j41(24,"mat-icon",15),d.EFF(25,"info_outline"),d.k0s()(),d.j41(26,"span",10),d.EFF(27),d.nI1(28,"number"),d.k0s()(),d.j41(29,"div",14)(30,"h4",8),d.EFF(31," Max Off-chain Prepay Routing Fee (Sats) "),d.j41(32,"mat-icon",16),d.EFF(33,"info_outline"),d.k0s()(),d.j41(34,"span",10),d.EFF(35,"36"),d.k0s()()(),d.DNE(36,r,1,0,"mat-divider",17)(37,v,8,1,"div",18),d.k0s()),2&Qt){const it=d.XpG();d.R7$(2),d.Y8G("fxFlex",null!=it.quote&&it.quote.prepay_amt_sat?"30":"50"),d.R7$(6),d.JRh(d.bMT(9,9,null==it.quote?null:it.quote.swap_fee_sat)),d.R7$(2),d.Y8G("fxFlex",null!=it.quote&&it.quote.prepay_amt_sat?"35":"50"),d.R7$(2),d.SpI(" ",null!=it.quote&&it.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=it.quote&&it.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.R7$(4),d.JRh(d.bMT(17,11,null!=it.quote&&it.quote.htlc_sweep_fee_sat?it.quote.htlc_sweep_fee_sat:null!=it.quote&&it.quote.htlc_publish_fee_sat?it.quote.htlc_publish_fee_sat:0)),d.R7$(2),d.Y8G("ngIf",null==it.quote?null:it.quote.prepay_amt_sat),d.R7$(9),d.JRh(d.bMT(28,13,(null==it.quote?null:it.quote.amount)*((null!=it.quote&&it.quote.off_chain_swap_routing_fee_percentage?null==it.quote?null:it.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.R7$(9),d.Y8G("ngIf",""!==(null==it.quote?null:it.quote.swap_payment_dest)),d.R7$(),d.Y8G("ngIf",""!==(null==it.quote?null:it.quote.swap_payment_dest))}}let N=(()=>{class Qt{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static#e=this.\u0275fac=function(ct){return new(ct||Qt)};static#t=this.\u0275cmp=d.VBU({type:Qt,selectors:[["rtl-loop-quote"]],inputs:{quote:"quote",termCaption:"termCaption",showPanel:"showPanel",panelExpanded:"panelExpanded"},decls:5,vars:1,consts:[["informationBlock",""],["quoteDetailsBlock",""],[4,"ngTemplateOutlet"],["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded","ngClass"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],[3,"fxFlex"],["fxLayoutAlign","start center",1,"font-bold-500"],["matTooltip","Estimated fee charged by the loop server for the swap",1,"info-icon","info-icon-text"],[1,"foreground-secondary-text"],["matTooltip","An estimate of the on-chain fee that needs to be paid to sweep the HTLC",1,"info-icon","info-icon-text"],["fxFlex","35",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","50"],["matTooltip","Maximum off-chain fee that may be paid for routing the payment amount to the server",1,"info-icon","info-icon-text"],["matTooltip","Maximum off-chain fee that may be paid for routing the pre-payment amount to the server","matTooltipPosition","before",1,"info-icon","info-icon-text"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxFlex","35"],["matTooltip","The part of the swap fee that is requested as a prepayment","matTooltipPosition","before",1,"info-icon","info-icon-text"],["fxFlex","100"],["matTooltip","The node pubkey, where the swap payments will be sent",1,"info-icon","info-icon-text"]],template:function(ct,wt){if(1&ct&&d.DNE(0,C,1,0,"ng-container",2)(1,L,7,9,"ng-template",null,0,d.C5r)(3,V,38,15,"ng-template",null,1,d.C5r),2&ct){const Ut=d.sdS(2),xi=d.sdS(4);d.Y8G("ngTemplateOutlet",wt.showPanel?Ut:xi)}},dependencies:[F.YU,F.bT,F.T3,$.DJ,$.sA,$.UI,j.PW,ee.GK,ee.Z2,ee.WN,ie.An,m.q,D.oV,F.QX]})}return Qt})();function ne(Qt,Mt){1&Qt&&d.eu8(0)}function Ee(Qt,Mt){if(1&Qt&&(d.j41(0,"div",3)(1,"span",4),d.EFF(2),d.k0s()()),2&Qt){const it=d.XpG();d.R7$(2),d.JRh(null!=it.loopStatus&&it.loopStatus.error?null==it.loopStatus?null:it.loopStatus.error:"Unknown Error.")}}function ze(Qt,Mt){if(1&Qt&&(d.j41(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),d.EFF(4,"ID"),d.k0s(),d.j41(5,"span",4),d.EFF(6),d.k0s()()(),d.nrm(7,"mat-divider",8),d.j41(8,"div",5)(9,"div",6)(10,"h4",7),d.EFF(11,"HTLC Address"),d.k0s(),d.j41(12,"span",4),d.EFF(13),d.k0s()()()()),2&Qt){const it=d.XpG();d.R7$(6),d.JRh(null==it.loopStatus?null:it.loopStatus.id_bytes),d.R7$(7),d.JRh(null==it.loopStatus?null:it.loopStatus.htlc_address)}}let qe=(()=>{class Qt{constructor(){}static#e=this.\u0275fac=function(ct){return new(ct||Qt)};static#t=this.\u0275cmp=d.VBU({type:Qt,selectors:[["rtl-loop-status"]],inputs:{loopStatus:"loopStatus"},decls:5,vars:1,consts:[["loopFailedBlock",""],["loopSuccessfulBlock",""],[4,"ngTemplateOutlet"],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"]],template:function(ct,wt){if(1&ct&&d.DNE(0,ne,1,0,"ng-container",2)(1,Ee,3,1,"ng-template",null,0,d.C5r)(3,ze,14,2,"ng-template",null,1,d.C5r),2&ct){const Ut=d.sdS(2),xi=d.sdS(4);d.Y8G("ngTemplateOutlet",null!=wt.loopStatus&&wt.loopStatus.error?Ut:xi)}},dependencies:[F.T3,$.DJ,$.sA,$.UI,m.q]})}return Qt})();var Ke=g(6949);const se=(Qt,Mt)=>({"small-svg":Qt,"large-svg":Mt});function X(Qt,Mt){1&Qt&&d.eu8(0)}function me(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",7)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d.nrm(8,"circle",12)(9,"path",13),d.k0s(),d.j41(10,"g",14),d.nrm(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.k0s()()()()(),d.joV(),d.j41(26,"div",30)(27,"mat-card-title"),d.EFF(28,"Loop In explained."),d.k0s()(),d.j41(29,"div",31)(30,"mat-card-subtitle",32),d.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,se,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}function ce(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",33)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),d.nrm(13,"rect",41)(14,"rect",42)(15,"rect",43)(16,"circle",44)(17,"rect",45)(18,"rect",46)(19,"circle",47)(20,"rect",48)(21,"rect",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"circle",53)(26,"circle",54)(27,"circle",55),d.k0s(),d.j41(28,"g",56)(29,"g",57)(30,"g",58),d.nrm(31,"path",59)(32,"rect",60)(33,"polygon",61),d.j41(34,"g",62),d.nrm(35,"path",63),d.k0s(),d.nrm(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"rect",69)(42,"rect",70)(43,"path",71)(44,"path",72),d.k0s(),d.j41(45,"g",73),d.nrm(46,"path",74)(47,"path",75)(48,"path",76)(49,"path",77)(50,"path",78)(51,"path",79)(52,"path",80)(53,"path",81)(54,"path",82)(55,"path",83)(56,"path",84)(57,"circle",85)(58,"circle",86),d.k0s(),d.nrm(59,"path",87),d.k0s()()()()()(),d.joV(),d.j41(60,"div",30)(61,"mat-card-title"),d.EFF(62,"Step 1: Deciding to Loop In"),d.k0s()(),d.j41(63,"div",31)(64,"mat-card-subtitle",32),d.EFF(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,se,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}function fe(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",88)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",89),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),d.nrm(14,"circle",95)(15,"path",96),d.j41(16,"g",97),d.nrm(17,"polygon",98)(18,"polygon",99)(19,"path",100),d.k0s(),d.j41(20,"g",101),d.nrm(21,"polygon",102)(22,"path",103)(23,"rect",104)(24,"path",105)(25,"rect",106)(26,"rect",107)(27,"rect",108)(28,"rect",109)(29,"circle",110)(30,"path",111),d.j41(31,"g",112)(32,"g",113),d.nrm(33,"g",114),d.k0s(),d.nrm(34,"g",115),d.k0s()()(),d.j41(35,"g",116)(36,"g",40),d.nrm(37,"rect",117)(38,"rect",42)(39,"rect",43)(40,"circle",118)(41,"rect",45)(42,"rect",46)(43,"circle",119)(44,"rect",48)(45,"rect",49)(46,"rect",50)(47,"rect",51)(48,"rect",52)(49,"circle",120)(50,"circle",54)(51,"circle",55)(52,"circle",121),d.k0s(),d.j41(53,"g",56)(54,"g",57)(55,"g",58),d.nrm(56,"path",59)(57,"rect",60)(58,"polygon",61),d.j41(59,"g",122),d.nrm(60,"path",63),d.k0s(),d.nrm(61,"rect",123)(62,"rect",124)(63,"rect",125)(64,"rect",126)(65,"rect",127)(66,"rect",128)(67,"rect",129)(68,"path",130)(69,"path",72),d.k0s(),d.j41(70,"g",73),d.nrm(71,"path",131)(72,"path",132)(73,"path",133)(74,"path",134)(75,"path",135)(76,"path",136)(77,"path",80)(78,"path",81)(79,"path",137)(80,"path",83)(81,"path",138)(82,"circle",85)(83,"circle",86),d.k0s(),d.nrm(84,"path",139),d.k0s()()()(),d.nrm(85,"path",140)(86,"path",141),d.k0s()()()(),d.joV(),d.j41(87,"div",30)(88,"mat-card-title"),d.EFF(89,"Step 2: Send payment out"),d.k0s()(),d.j41(90,"div",31)(91,"mat-card-subtitle",32),d.EFF(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,se,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}function ke(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",142)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),d.nrm(10,"circle",12)(11,"path",147),d.k0s(),d.j41(12,"g",14),d.nrm(13,"ellipse",148)(14,"ellipse",16)(15,"rect",17)(16,"rect",18)(17,"rect",19)(18,"rect",20)(19,"rect",21)(20,"rect",22)(21,"rect",23)(22,"rect",24)(23,"rect",25)(24,"rect",26)(25,"rect",27)(26,"rect",28)(27,"rect",29),d.k0s()(),d.j41(28,"g",149),d.nrm(29,"polygon",150)(30,"polygon",99)(31,"path",151),d.k0s(),d.j41(32,"g",152),d.nrm(33,"polygon",102)(34,"path",103)(35,"rect",104)(36,"path",105)(37,"rect",106)(38,"rect",107)(39,"rect",108)(40,"rect",109)(41,"circle",110)(42,"path",111),d.j41(43,"g",112)(44,"g",113),d.nrm(45,"g",114),d.k0s(),d.nrm(46,"g",115),d.k0s()()(),d.nrm(47,"path",153),d.k0s()()()(),d.joV(),d.j41(48,"div",30)(49,"mat-card-title"),d.EFF(50,"Step 3: Recieve Funds Off-chain"),d.k0s()(),d.j41(51,"div",31)(52,"mat-card-subtitle",32),d.EFF(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,se,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}function mt(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",154)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),d.nrm(15,"rect",159)(16,"rect",160)(17,"rect",161)(18,"circle",162)(19,"rect",163)(20,"rect",164)(21,"circle",165)(22,"rect",166)(23,"rect",167)(24,"rect",168)(25,"rect",169)(26,"circle",170)(27,"circle",171),d.k0s(),d.j41(28,"g",172),d.nrm(29,"path",173)(30,"rect",174)(31,"polygon",175)(32,"circle",176)(33,"path",177)(34,"rect",178)(35,"rect",179)(36,"rect",180)(37,"rect",181)(38,"rect",182)(39,"rect",183)(40,"rect",184)(41,"path",185)(42,"path",186),d.k0s(),d.nrm(43,"path",187),d.k0s()(),d.nrm(44,"circle",188),d.k0s()()()(),d.joV(),d.j41(45,"div",30)(46,"mat-card-title"),d.EFF(47,"Done!"),d.k0s()(),d.j41(48,"div",31)(49,"mat-card-subtitle",32),d.EFF(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,se,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}let _e=(()=>{class Qt{constructor(it){this.commonService=it,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.bkB,this.screenSize="",this.screenSizeEnum=f.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(it){2===it.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===it.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(ct){return new(ct||Qt)(d.rXU(W.h))};static#t=this.\u0275cmp=d.VBU({type:Qt,selectors:[["rtl-loop-in-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopIn_Step02","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(542.000000, 210.000000)"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"],["fxFlex","30","viewBox","0 0 364 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","Loopv0.3","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step03","transform","translate(-1127.000000, -164.000000)"],["id","LoopIn_Step03","transform","translate(1127.000000, 164.000000)"],["id","Group-21"],["id","Group-35","transform","translate(107.000000, 10.000000)"],["id","Oval","fill-rule","nonzero","cx","214.487742","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M232.082742,28.5000036 C236.446821,28.5000036 239.999928,25.1343958 239.999928,21.0000215 C239.999928,16.8656472 236.446821,13.5000393 232.082742,13.5000393 C228.98433,13.5000393 226.560889,15.4359631 224.999964,17.1843872 C223.43904,15.4359631 221.015599,13.5000393 217.917187,13.5000393 C213.553107,13.5000393 210,16.8656472 210,21.0000215 C210,25.1343958 213.553107,28.5000036 217.917187,28.5000036 C221.015599,28.5000036 223.43904,26.5640798 224.999964,24.8156557 C226.560889,26.5640798 228.98433,28.5000036 232.082742,28.5000036 Z M217.917187,24.0000143 C216.032807,24.0000143 214.499989,22.6546959 214.499989,21.0000286 C214.499989,19.3453471 216.032807,18.0000286 217.917187,18.0000286 C219.707771,18.0000286 221.357776,19.6921938 222.323426,21.0000286 C221.36716,22.2937501 219.703102,24.0000143 217.917187,24.0000143 Z M232.082742,24.0000143 C230.292157,24.0000143 228.642152,22.3078492 227.676502,21.0000286 C228.632768,19.7062929 230.296827,18.0000286 232.082742,18.0000286 C233.967121,18.0000286 235.499939,19.3453471 235.499939,21.0000286 C235.499939,22.6546959 233.967121,24.0000143 232.082742,24.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(0.000000, 64.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-20"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-20"],["id","Group-43","transform","translate(152.000000, 35.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["id","LoopIn_Step03","fill-rule","nonzero"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-10"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","15.8607624","r","7.93434243"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.35996418",1,"fill-color-31"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-4"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-20"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-20"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-16"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-9"],["d","M93.2292414,91.9116485 L93.2292414,89.7922708 C93.647506,89.8022089 94.0558324,89.8022089 94.4442517,89.8022089 L94.4442517,91.9116485 L95.9779294,91.9116485 L95.9779294,89.7623948 C98.5473303,89.6229527 100.264986,88.975618 100.494057,86.5555973 C100.673282,84.6136241 99.757032,83.7471573 98.3030443,83.3986138 C99.1794183,82.9504733 99.7371558,82.1537275 99.6076827,80.8291821 C99.4383337,79.0166511 97.9497787,78.4091306 95.9778985,78.2398742 L95.9778985,75.7301945 L94.4442208,75.7301945 L94.4442208,78.1701531 C94.0458325,78.1701531 93.6375061,78.1800912 93.2292106,78.1900602 L93.2292106,75.7301945 L91.695502,75.7301945 L91.695502,78.2398742 C91.1316227,78.2569109 90.4748746,78.2485777 88.6181777,78.2398742 L88.6181777,79.8731181 C89.8290831,79.8516987 90.4644118,79.7738914 90.6099957,80.5502979 L90.6099957,87.4220333 C90.517559,88.0380413 90.0245427,87.9493391 88.926907,87.9299259 L88.6181777,89.7524258 L89.5798445,89.7528809 C91.4824304,89.7548325 91.6955329,89.7623948 91.6955329,89.7623948 L91.6955329,91.9116485 L93.2292414,91.9116485 Z M93.2591175,83.0400705 L93.2591175,79.9826533 C94.1255534,79.9826533 96.8343964,79.7137998 96.8343964,81.5163618 C96.8343964,83.2392647 94.1255843,83.0400705 93.2591175,83.0400705 Z M93.2591175,87.9398948 L93.2591175,84.5737791 C94.2948407,84.5737791 97.4665153,84.2849568 97.4665153,86.2568678 C97.4665153,88.1589961 94.2948407,87.9398948 93.2591175,87.9398948 Z","id","b","fill-rule","nonzero","transform","translate(94.567271, 83.820921) rotate(14.000000) translate(-94.567271, -83.820921) ",1,"fill-color-9"],["d","M305.611064,96.181454 L305.611064,94.0620763 C306.029328,94.0720144 306.437655,94.0720144 306.826074,94.0720144 L306.826074,96.181454 L308.359752,96.181454 L308.359752,94.0322003 C310.929153,93.8927582 312.646809,93.2454235 312.875879,90.8254028 C313.055104,88.8834296 312.138854,88.0169628 310.684867,87.6684193 C311.561241,87.2202788 312.118978,86.423533 311.989505,85.0989876 C311.820156,83.2864566 310.331601,82.678936 308.359721,82.5096797 L308.359721,80 L306.826043,80 L306.826043,82.4399586 C306.427655,82.4399586 306.019328,82.4498967 305.611033,82.4598657 L305.611033,80 L304.077324,80 L304.077324,82.5096797 C303.513445,82.5267164 302.856697,82.5183832 301,82.5096797 L301,84.1429236 C302.210905,84.1215042 302.846234,84.0436969 302.991818,84.8201034 L302.991818,91.6918387 C302.899381,92.3078468 302.406365,92.2191446 301.308729,92.1997314 L301,94.0222313 L301.961667,94.0226864 C303.864253,94.024638 304.077355,94.0322003 304.077355,94.0322003 L304.077355,96.181454 L305.611064,96.181454 Z M305.64094,87.309876 L305.64094,84.2524587 C306.507376,84.2524587 309.216219,83.9836053 309.216219,85.7861673 C309.216219,87.5090702 306.507407,87.309876 305.64094,87.309876 Z M305.64094,92.2097003 L305.64094,88.8435846 C306.676663,88.8435846 309.848338,88.5547623 309.848338,90.5266733 C309.848338,92.4288016 306.676663,92.2097003 305.64094,92.2097003 Z","id","b","fill-rule","nonzero","transform","translate(306.949093, 88.090727) rotate(14.000000) translate(-306.949093, -88.090727) ",1,"fill-color-26"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step04","transform","translate(-1799.000000, -756.000000)"],["id","LoopIn_Step04","transform","translate(1799.000000, 756.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["d","M225.805162,92.2474279 C226.071703,92.2474279 226.325569,92.1077892 226.465207,91.8666288 L232.050261,82.2197185 C232.345374,81.7151473 231.980441,81.0773212 231.393376,81.0773212 L227.731346,81.0773212 L229.083201,76.9583506 C229.210134,76.4759989 228.845202,76 228.346983,76 L223.777394,76 C223.396595,76 223.07291,76.2824384 223.022149,76.6600456 L222.006685,84.2760274 C221.946379,84.7329987 222.301798,85.1391782 222.76193,85.1391782 L226.528674,85.1391782 L225.065752,91.3112968 C224.951525,91.7936485 225.319618,92.2474279 225.805162,92.2474279 Z","id","b","fill-rule","nonzero","transform","translate(227.077378, 84.123714) rotate(14.000000) translate(-227.077378, -84.123714) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step05","transform","translate(-2386.000000, -764.000000)","fill-rule","nonzero"],["id","LoopIn_Step05","transform","translate(2386.000000, 764.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"]],template:function(ct,wt){if(1&ct&&d.DNE(0,X,1,0,"ng-container",5)(1,me,32,5,"ng-template",null,0,d.C5r)(3,ce,66,5,"ng-template",null,1,d.C5r)(5,fe,93,5,"ng-template",null,2,d.C5r)(7,ke,54,5,"ng-template",null,3,d.C5r)(9,mt,51,5,"ng-template",null,4,d.C5r),2&ct){const Ut=d.sdS(2),xi=d.sdS(4),Si=d.sdS(6),zi=d.sdS(8),en=d.sdS(10);d.Y8G("ngTemplateOutlet",1===wt.stepNumber?Ut:2===wt.stepNumber?xi:3===wt.stepNumber?Si:4===wt.stepNumber?zi:en)}},dependencies:[F.YU,F.T3,$.DJ,$.sA,$.UI,j.PW,J.Lc,J.dh],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Ke.k]}})}return Qt})();const be=(Qt,Mt)=>({"small-svg":Qt,"large-svg":Mt});function pe(Qt,Mt){1&Qt&&d.eu8(0)}function Ze(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",7)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d.nrm(8,"circle",12)(9,"path",13),d.k0s(),d.j41(10,"g",14),d.nrm(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.k0s()()()()(),d.joV(),d.j41(26,"div",30)(27,"mat-card-title"),d.EFF(28,"Loop Out explained."),d.k0s()(),d.j41(29,"div",31)(30,"mat-card-subtitle",32),d.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,be,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}function _t(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",33)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),d.nrm(15,"rect",43)(16,"rect",44)(17,"rect",45)(18,"circle",46)(19,"rect",47)(20,"rect",48)(21,"circle",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"rect",53)(26,"circle",54)(27,"circle",55),d.k0s(),d.j41(28,"g",56),d.nrm(29,"path",57)(30,"rect",58)(31,"polygon",59)(32,"circle",60)(33,"path",61)(34,"rect",62)(35,"rect",63)(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"path",69)(42,"path",70),d.k0s(),d.nrm(43,"path",71),d.k0s()(),d.nrm(44,"circle",72),d.k0s()()()(),d.joV(),d.j41(45,"div",30)(46,"mat-card-title"),d.EFF(47,"Step 1: Deciding to Loop Out"),d.k0s()(),d.j41(48,"div",31)(49,"mat-card-subtitle",32),d.EFF(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,be,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}function at(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",73)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",74),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",75)(11,"g",76),d.nrm(12,"circle",77)(13,"path",78),d.j41(14,"g",79),d.nrm(15,"polygon",80)(16,"polygon",81)(17,"path",82),d.k0s(),d.j41(18,"g",83),d.nrm(19,"polygon",84)(20,"path",85)(21,"rect",86)(22,"path",87)(23,"rect",88)(24,"rect",89)(25,"rect",90)(26,"rect",91)(27,"circle",92)(28,"path",93),d.j41(29,"g",94)(30,"g",95),d.nrm(31,"g",96),d.k0s(),d.nrm(32,"g",97),d.k0s(),d.nrm(33,"path",98),d.k0s(),d.j41(34,"g",99)(35,"g",41)(36,"g",42),d.nrm(37,"rect",43)(38,"rect",44)(39,"rect",45)(40,"circle",46)(41,"rect",47)(42,"rect",48)(43,"circle",49)(44,"rect",50)(45,"rect",51)(46,"rect",52)(47,"rect",53)(48,"circle",100)(49,"circle",54)(50,"circle",55)(51,"circle",101),d.k0s(),d.j41(52,"g",56),d.nrm(53,"path",57)(54,"rect",102)(55,"polygon",103)(56,"circle",104)(57,"path",61)(58,"rect",105)(59,"rect",106)(60,"rect",107)(61,"rect",108)(62,"rect",109)(63,"rect",110)(64,"rect",68)(65,"path",69)(66,"path",70),d.k0s(),d.nrm(67,"path",111),d.k0s()()()()()(),d.joV(),d.j41(68,"div",30)(69,"mat-card-title"),d.EFF(70,"Step 2: Send lightning payment"),d.k0s()(),d.j41(71,"div",31)(72,"mat-card-subtitle",32),d.EFF(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,be,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}function pt(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",112)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),d.nrm(9,"circle",12)(10,"path",117),d.k0s(),d.j41(11,"g",14),d.nrm(12,"ellipse",118)(13,"ellipse",16)(14,"rect",17)(15,"rect",18)(16,"rect",19)(17,"rect",20)(18,"rect",21)(19,"rect",22)(20,"rect",23)(21,"rect",24)(22,"rect",25)(23,"rect",26)(24,"rect",27)(25,"rect",28)(26,"rect",29),d.k0s()(),d.j41(27,"g",119),d.nrm(28,"polygon",80)(29,"polygon",120)(30,"path",82),d.k0s(),d.j41(31,"g",121),d.nrm(32,"polygon",84)(33,"path",85)(34,"rect",86)(35,"path",87)(36,"rect",88)(37,"rect",89)(38,"rect",90)(39,"rect",91)(40,"circle",122)(41,"path",93),d.j41(42,"g",94)(43,"g",95),d.nrm(44,"g",96),d.k0s(),d.nrm(45,"g",97),d.k0s(),d.nrm(46,"path",123),d.k0s()()()()(),d.joV(),d.j41(47,"div",30)(48,"mat-card-title"),d.EFF(49,"Step 3: Receive funds back"),d.k0s()(),d.j41(50,"div",31)(51,"mat-card-subtitle",32),d.EFF(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,be,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}function Xt(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.onSwipe(wt))}),d.qSk(),d.j41(1,"svg",124)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),d.nrm(13,"rect",127)(14,"rect",128)(15,"rect",129)(16,"circle",130)(17,"rect",131)(18,"rect",132)(19,"circle",133)(20,"rect",134)(21,"rect",135)(22,"rect",136)(23,"rect",137)(24,"rect",138)(25,"circle",139)(26,"circle",140)(27,"circle",141),d.k0s(),d.j41(28,"g",142)(29,"g",143)(30,"g",144),d.nrm(31,"path",145)(32,"rect",146)(33,"polygon",147),d.j41(34,"g",148),d.nrm(35,"path",149),d.k0s(),d.nrm(36,"rect",150)(37,"rect",151)(38,"rect",152)(39,"rect",153)(40,"rect",154)(41,"rect",155)(42,"rect",156)(43,"path",157)(44,"path",158),d.k0s(),d.j41(45,"g",159),d.nrm(46,"path",160)(47,"path",161)(48,"path",162)(49,"path",163)(50,"path",164)(51,"path",165)(52,"path",166)(53,"path",167)(54,"path",168)(55,"path",169)(56,"path",170)(57,"circle",171)(58,"circle",172),d.k0s(),d.nrm(59,"path",173),d.k0s()()()()()(),d.joV(),d.j41(60,"div",30)(61,"mat-card-title"),d.EFF(62,"Done!"),d.k0s()(),d.j41(63,"div",31)(64,"mat-card-subtitle",32),d.EFF(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@sliderAnimation",it.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,be,it.screenSize===it.screenSizeEnum.XS,it.screenSize!==it.screenSizeEnum.XS))}}let ye=(()=>{class Qt{constructor(it){this.commonService=it,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.bkB,this.screenSize="",this.screenSizeEnum=f.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(it){2===it.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===it.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(ct){return new(ct||Qt)(d.rXU(W.h))};static#t=this.\u0275cmp=d.VBU({type:Qt,selectors:[["rtl-loop-out-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopOut_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopOut_Step02","transform","translate(-540.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(540.000000, 210.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["fxFlex","30","viewBox","0 0 373 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","LoopOut_Step03","transform","translate(-460.000000, -210.000000)"],["id","Loop_Step03","transform","translate(460.000000, 210.000000)"],["id","Oval","fill-rule","nonzero","cx","330.487742","cy","57.4877419","r","42.4877419",1,"fill-color-2"],["d","M345.082742,43.5000036 C349.446821,43.5000036 352.999928,40.1343958 352.999928,36.0000215 C352.999928,31.8656472 349.446821,28.5000393 345.082742,28.5000393 C341.98433,28.5000393 339.560889,30.4359631 337.999964,32.1843872 C336.43904,30.4359631 334.015599,28.5000393 330.917187,28.5000393 C326.553107,28.5000393 323,31.8656472 323,36.0000215 C323,40.1343958 326.553107,43.5000036 330.917187,43.5000036 C334.015599,43.5000036 336.43904,41.5640798 337.999964,39.8156557 C339.560889,41.5640798 341.98433,43.5000036 345.082742,43.5000036 Z M330.917187,39.0000143 C329.032807,39.0000143 327.499989,37.6546959 327.499989,36.0000286 C327.499989,34.3453471 329.032807,33.0000286 330.917187,33.0000286 C332.707771,33.0000286 334.357776,34.6921938 335.323426,36.0000286 C334.36716,37.2937501 332.703102,39.0000143 330.917187,39.0000143 Z M345.082742,39.0000143 C343.292157,39.0000143 341.642152,37.3078492 340.676502,36.0000286 C341.632768,34.7062929 343.296827,33.0000286 345.082742,33.0000286 C346.967121,33.0000286 348.499939,34.3453471 348.499939,36.0000286 C348.499939,37.6546959 346.967121,39.0000143 345.082742,39.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(113.000000, 79.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-22"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(265.000000, 50.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-3"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["d","M46.60483,51.432122 C46.8713708,51.432122 47.1252368,51.2924832 47.2648756,51.0513229 L52.8499289,41.4044125 C53.145042,40.8998413 52.7801095,40.2620153 52.1930443,40.2620153 L48.5310139,40.2620153 L49.8828693,36.1430446 C50.0098023,35.6606929 49.6448699,35.184694 49.1466515,35.184694 L44.5770624,35.184694 C44.1962633,35.184694 43.8725779,35.4671324 43.8218171,35.8447396 L42.8063528,43.4607214 C42.7460473,43.9176927 43.1014659,44.3238722 43.5615982,44.3238722 L47.3283421,44.3238722 L45.8654203,50.4959909 C45.751193,50.9783426 46.1192864,51.432122 46.60483,51.432122 Z","id","b","fill-rule","nonzero","transform","translate(47.877046, 43.308408) rotate(14.000000) translate(-47.877046, -43.308408) ",1,"fill-color-12"],["id","Group-34","fill-rule","nonzero"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","17.5648113","r","8.78679245"],["id","Oval","cx","76.317438","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-8"],["id","Path","opacity","0.222721354","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-18"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-8"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-14"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step04","transform","translate(-503.000000, -212.000000)"],["id","Loop_Step04","transform","translate(503.000000, 212.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M46.519593,50.6740439 L46.519593,48.5460252 C46.9395628,48.5560039 47.349554,48.5560039 47.739557,48.5560039 L47.739557,50.6740439 L49.2794877,50.6740439 L49.2794877,48.5160274 C51.8593644,48.3760168 53.5840235,47.7260428 53.8140277,45.2961554 C53.9939838,43.3462645 53.0739982,42.476265 51.6140824,42.1263004 C52.4940295,41.6763328 53.054041,40.8763386 52.92404,39.5463928 C52.7540005,37.7264719 51.2593765,37.1164744 49.2794567,36.9465279 L49.2794567,34.4266159 L47.739526,34.4266159 L47.739526,36.8765226 C47.3395134,36.8765226 46.9295222,36.8865012 46.519562,36.8965108 L46.519562,34.4266159 L44.9796003,34.4266159 L44.9796003,36.9465279 C44.413422,36.9636341 43.7539962,36.9552669 41.8897293,36.9465279 L41.8897293,38.5864308 C43.1055717,38.564924 43.7434908,38.4867995 43.8896683,39.2663716 L43.8896683,46.1661239 C43.7968547,46.7846435 43.3018283,46.6955796 42.1997174,46.6760872 L41.8897293,48.5060178 C44.6975648,48.5060178 44.9796313,48.5160274 44.9796313,48.5160274 L44.9796313,50.6740439 L46.519593,50.6740439 Z M46.5495908,41.7662953 L46.5495908,38.6964125 C47.4195593,38.6964125 50.1394466,38.4264629 50.1394466,40.2363742 C50.1394466,41.9663016 47.4195903,41.7662953 46.5495908,41.7662953 Z M46.5495908,46.6860969 L46.5495908,43.306257 C47.5895368,43.306257 50.7741427,43.0162572 50.7741427,44.9962079 C50.7741427,46.9060914 47.5895368,46.6860969 46.5495908,46.6860969 Z","id","B","fill-rule","nonzero","transform","translate(47.863077, 42.550330) rotate(14.000000) translate(-47.863077, -42.550330) ",1,"fill-color-29"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step05","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step05","transform","translate(542.000000, 210.000000)"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"]],template:function(ct,wt){if(1&ct&&d.DNE(0,pe,1,0,"ng-container",5)(1,Ze,32,5,"ng-template",null,0,d.C5r)(3,_t,51,5,"ng-template",null,1,d.C5r)(5,at,74,5,"ng-template",null,2,d.C5r)(7,pt,53,5,"ng-template",null,3,d.C5r)(9,Xt,66,5,"ng-template",null,4,d.C5r),2&ct){const Ut=d.sdS(2),xi=d.sdS(4),Si=d.sdS(6),zi=d.sdS(8),en=d.sdS(10);d.Y8G("ngTemplateOutlet",1===wt.stepNumber?Ut:2===wt.stepNumber?xi:3===wt.stepNumber?Si:4===wt.stepNumber?zi:en)}},dependencies:[F.YU,F.T3,$.DJ,$.sA,$.UI,j.PW,J.Lc,J.dh],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Ke.k]}})}return Qt})();const ue=["stepper"],Ie=()=>[1,2,3,4,5],He=(Qt,Mt)=>({"dot-primary":Qt,"dot-primary-lighter":Mt});function Xe(Qt,Mt){if(1&Qt&&(d.j41(0,"div",48)(1,"p",49)(2,"strong"),d.EFF(3,"Channel Peer:\xa0"),d.k0s(),d.EFF(4),d.nI1(5,"titlecase"),d.k0s(),d.j41(6,"p",50)(7,"strong"),d.EFF(8,"Channel ID:\xa0"),d.k0s(),d.EFF(9),d.k0s(),d.nrm(10,"p",50),d.k0s()),2&Qt){const it=d.XpG(2);d.R7$(4),d.JRh(d.bMT(5,2,it.channel.remote_alias)),d.R7$(5),d.JRh(it.channel.chan_id)}}function yt(Qt,Mt){if(1&Qt&&d.EFF(0),2&Qt){const it=d.XpG(2);d.JRh(it.inputFormLabel)}}function Ye(Qt,Mt){1&Qt&&(d.j41(0,"mat-error"),d.EFF(1,"Amount is required."),d.k0s())}function rt(Qt,Mt){if(1&Qt&&(d.j41(0,"mat-error"),d.EFF(1),d.nI1(2,"number"),d.k0s()),2&Qt){const it=d.XpG(2);d.R7$(),d.SpI("Amount must be greater than or equal to ",d.bMT(2,1,it.minQuote.amount),".")}}function Yt(Qt,Mt){if(1&Qt&&(d.j41(0,"mat-error"),d.EFF(1),d.nI1(2,"number"),d.k0s()),2&Qt){const it=d.XpG(2);d.R7$(),d.SpI("Amount must be less than or equal to ",d.bMT(2,1,it.maxQuote.amount),".")}}function Nt(Qt,Mt){1&Qt&&(d.j41(0,"mat-error"),d.EFF(1,"Confirmation target is required."),d.k0s())}function Et(Qt,Mt){1&Qt&&(d.j41(0,"mat-error"),d.EFF(1,"Confirmation target must be a positive number."),d.k0s())}function Vt(Qt,Mt){1&Qt&&(d.j41(0,"mat-error"),d.EFF(1,"Percentage is required."),d.k0s())}function oe(Qt,Mt){1&Qt&&(d.j41(0,"mat-error"),d.EFF(1,"Percentage must be a positive number."),d.k0s())}function tt(Qt,Mt){if(1&Qt&&(d.j41(0,"mat-form-field",50)(1,"mat-label"),d.EFF(2,"Max Off-chain Routing Fee (%)"),d.k0s(),d.nrm(3,"input",51),d.DNE(4,Vt,2,0,"mat-error",25)(5,oe,2,0,"mat-error",25),d.k0s()),2&Qt){const it=d.XpG(2);d.R7$(3),d.Y8G("step",1),d.R7$(),d.Y8G("ngIf",null==it.inputFormGroup.controls.routingFeePercent.errors?null:it.inputFormGroup.controls.routingFeePercent.errors.required),d.R7$(),d.Y8G("ngIf",null==it.inputFormGroup.controls.routingFeePercent.errors?null:it.inputFormGroup.controls.routingFeePercent.errors.min)}}function $t(Qt,Mt){1&Qt&&(d.j41(0,"div",52)(1,"mat-slide-toggle",53),d.EFF(2,"Fast"),d.k0s(),d.j41(3,"mat-icon",54),d.EFF(4,"info_outline"),d.k0s()())}function zt(Qt,Mt){if(1&Qt&&d.EFF(0),2&Qt){const it=d.XpG(2);d.JRh(it.quoteFormLabel)}}function Jt(Qt,Mt){1&Qt&&(d.j41(0,"p",55)(1,"mat-icon",56),d.EFF(2,"close"),d.k0s(),d.EFF(3,"Local balance amount is insufficient for swap."),d.k0s())}function St(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",57),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.onValidateAmount())}),d.EFF(1,"Next"),d.k0s()}}function dt(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",58),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.onLoop())}),d.EFF(1),d.k0s()}if(2&Qt){const it=d.XpG(2);d.R7$(),d.SpI("Initiate ",it.loopDirectionCaption,"")}}function Ae(Qt,Mt){if(1&Qt&&d.EFF(0),2&Qt){const it=d.XpG(3);d.JRh(it.addressFormLabel)}}function we(Qt,Mt){1&Qt&&(d.j41(0,"mat-error"),d.EFF(1,"Address is required."),d.k0s())}function he(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"mat-step",16)(1,"form",17),d.DNE(2,Ae,1,1,"ng-template",18),d.j41(3,"div",59)(4,"mat-radio-group",60),d.bIt("change",function(wt){d.eBV(it);const Ut=d.XpG(2);return d.Njj(Ut.onAddressTypeChange(wt))}),d.j41(5,"mat-radio-button",61),d.EFF(6,"Node Local Address"),d.k0s(),d.j41(7,"mat-radio-button",62),d.EFF(8,"External Address"),d.k0s()(),d.j41(9,"mat-form-field",63)(10,"mat-label"),d.EFF(11,"Address"),d.k0s(),d.nrm(12,"input",64),d.DNE(13,we,2,0,"mat-error",25),d.k0s()(),d.j41(14,"div",29)(15,"button",65),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.onLoop())}),d.EFF(16),d.k0s()()()()}if(2&Qt){const it=d.XpG(2);d.Y8G("stepControl",it.addressFormGroup)("editable",it.flgEditable),d.R7$(),d.Y8G("formGroup",it.addressFormGroup),d.R7$(11),d.Y8G("required","external"===it.addressFormGroup.controls.addressType.value),d.R7$(),d.Y8G("ngIf",null==it.addressFormGroup.controls.address.errors?null:it.addressFormGroup.controls.address.errors.required),d.R7$(3),d.SpI("Initiate ",it.loopDirectionCaption,"")}}function q(Qt,Mt){if(1&Qt&&d.EFF(0),2&Qt){const it=d.XpG(2);d.SpI("",it.loopDirectionCaption," Status")}}function Re(Qt,Mt){if(1&Qt&&(d.j41(0,"mat-icon",66),d.EFF(1),d.k0s()),2&Qt){const it=d.XpG(2);d.R7$(),d.JRh(it.loopStatus&&null!=it.loopStatus&&it.loopStatus.id_bytes?"check":"close")}}function Ne(Qt,Mt){1&Qt&&d.nrm(0,"div")}function gt(Qt,Mt){1&Qt&&d.nrm(0,"mat-progress-bar",67)}function $e(Qt,Mt){if(1&Qt&&(d.j41(0,"h4",68),d.EFF(1),d.k0s()),2&Qt){const it=d.XpG(2);d.R7$(),d.JRh(it.loopStatus&&it.loopStatus.error?it.loopDirectionCaption+" failed.":it.loopStatus&&it.loopStatus.id_bytes&&it.channel?it.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":it.loopDirectionCaption+" request placed successfully.")}}function Fe(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",69),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.goToLoop())}),d.EFF(1,"Check Status"),d.k0s()}}function Ge(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",70),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.onRestart())}),d.EFF(1,"Start Again"),d.k0s()}}function et(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),d.EFF(5),d.k0s()(),d.j41(6,"div",9)(7,"button",10),d.bIt("click",function(){d.eBV(it);const wt=d.XpG();return d.Njj(wt.showInfo())}),d.EFF(8,"?"),d.k0s(),d.j41(9,"button",11),d.bIt("click",function(){d.eBV(it);const wt=d.XpG();return d.Njj(wt.onClose())}),d.EFF(10,"X"),d.k0s()()(),d.j41(11,"mat-card-content",12)(12,"div",13),d.DNE(13,Xe,11,4,"div",14),d.j41(14,"mat-vertical-stepper",15,1),d.bIt("selectionChange",function(wt){d.eBV(it);const Ut=d.XpG();return d.Njj(Ut.stepSelectionChanged(wt))}),d.j41(16,"mat-step",16)(17,"form",17),d.DNE(18,yt,1,1,"ng-template",18),d.j41(19,"div",19),d.nrm(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),d.k0s(),d.j41(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),d.EFF(25,"Amount"),d.k0s(),d.nrm(26,"input",23),d.j41(27,"mat-hint"),d.EFF(28),d.nI1(29,"number"),d.nI1(30,"number"),d.k0s(),d.j41(31,"span",24),d.EFF(32,"Sats"),d.k0s(),d.DNE(33,Ye,2,0,"mat-error",25)(34,rt,3,3,"mat-error",25)(35,Yt,3,3,"mat-error",25),d.k0s(),d.j41(36,"mat-form-field",22)(37,"mat-label"),d.EFF(38,"Sweep Confirmation Target"),d.k0s(),d.nrm(39,"input",26),d.DNE(40,Nt,2,0,"mat-error",25)(41,Et,2,0,"mat-error",25),d.k0s(),d.DNE(42,tt,6,3,"mat-form-field",27),d.k0s(),d.DNE(43,$t,5,0,"div",28),d.j41(44,"div",29)(45,"button",30),d.bIt("click",function(){d.eBV(it);const wt=d.XpG();return d.Njj(wt.onEstimateQuote())}),d.EFF(46,"Estimate Quote"),d.k0s()()()(),d.j41(47,"mat-step",16)(48,"form",17),d.DNE(49,zt,1,1,"ng-template",18),d.nrm(50,"rtl-loop-quote",31),d.DNE(51,Jt,4,0,"p",32),d.j41(52,"div",29),d.DNE(53,St,2,0,"button",33)(54,dt,2,1,"button",34),d.k0s()()(),d.DNE(55,he,17,6,"mat-step",35),d.j41(56,"mat-step",36)(57,"form",17),d.DNE(58,q,1,1,"ng-template",18),d.j41(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),d.EFF(64),d.DNE(65,Re,2,1,"mat-icon",40),d.k0s()()(),d.DNE(66,Ne,1,0,"div",41),d.k0s(),d.DNE(67,gt,1,0,"mat-progress-bar",42),d.k0s(),d.DNE(68,$e,2,1,"h4",43),d.j41(69,"div",29),d.DNE(70,Fe,2,0,"button",44)(71,Ge,2,0,"button",45),d.k0s()()()(),d.j41(72,"div",46)(73,"button",47),d.EFF(74,"Close"),d.k0s()()()()()()}if(2&Qt){const it=d.XpG(),ct=d.sdS(2);d.Y8G("@opacityAnimation",void 0),d.R7$(3),d.Y8G("fxFlex",it.screenSize===it.screenSizeEnum.XS||it.screenSize===it.screenSizeEnum.SM?"83":"91"),d.R7$(2),d.JRh(it.channel?"Channel "+it.loopDirectionCaption:it.loopDirectionCaption),d.R7$(),d.Y8G("fxFlex",it.screenSize===it.screenSizeEnum.XS||it.screenSize===it.screenSizeEnum.SM?"17":"9"),d.R7$(7),d.Y8G("ngIf",it.channel),d.R7$(),d.Y8G("linear",!0),d.R7$(2),d.Y8G("stepControl",it.inputFormGroup)("editable",it.flgEditable),d.R7$(),d.Y8G("formGroup",it.inputFormGroup),d.R7$(3),d.Y8G("quote",it.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.R7$(),d.Y8G("quote",it.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.R7$(2),d.Y8G("fxFlex",it.direction===it.LoopTypeEnum.LOOP_OUT?"35":"48"),d.R7$(3),d.Y8G("step",1e3),d.R7$(2),d.Lme("Range: ",d.bMT(29,51,it.minQuote.amount),"-",d.bMT(30,53,it.maxQuote.amount),""),d.R7$(5),d.Y8G("ngIf",null==it.inputFormGroup.controls.amount.errors?null:it.inputFormGroup.controls.amount.errors.required),d.R7$(),d.Y8G("ngIf",null==it.inputFormGroup.controls.amount.errors?null:it.inputFormGroup.controls.amount.errors.min),d.R7$(),d.Y8G("ngIf",null==it.inputFormGroup.controls.amount.errors?null:it.inputFormGroup.controls.amount.errors.max),d.R7$(),d.Y8G("fxFlex",it.direction===it.LoopTypeEnum.LOOP_OUT?"30":"48"),d.R7$(3),d.Y8G("step",1),d.R7$(),d.Y8G("ngIf",null==it.inputFormGroup.controls.sweepConfTarget.errors?null:it.inputFormGroup.controls.sweepConfTarget.errors.required),d.R7$(),d.Y8G("ngIf",null==it.inputFormGroup.controls.sweepConfTarget.errors?null:it.inputFormGroup.controls.sweepConfTarget.errors.min),d.R7$(),d.Y8G("ngIf",it.direction===it.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",it.direction===it.LoopTypeEnum.LOOP_OUT),d.R7$(4),d.Y8G("stepControl",it.quoteFormGroup)("editable",it.flgEditable),d.R7$(),d.Y8G("formGroup",it.quoteFormGroup),d.R7$(2),d.Y8G("quote",it.quote)("showPanel",!1),d.R7$(),d.Y8G("ngIf",it.inputFormGroup.controls.amount.value>it.localBalanceToCompare),d.R7$(2),d.Y8G("ngIf",it.direction===it.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",it.direction===it.LoopTypeEnum.LOOP_IN),d.R7$(),d.Y8G("ngIf",it.direction===it.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("stepControl",it.statusFormGroup),d.R7$(),d.Y8G("formGroup",it.statusFormGroup),d.R7$(3),d.Y8G("expanded",!!it.loopStatus),d.R7$(4),d.JRh(it.loopStatus?it.loopStatus.id_bytes?it.loopDirectionCaption+" request details":it.loopDirectionCaption+" error details":"Waiting for "+it.loopDirectionCaption+" request..."),d.R7$(),d.Y8G("ngIf",it.loopStatus),d.R7$(),d.Y8G("ngIf",!it.loopStatus)("ngIfElse",ct),d.R7$(),d.Y8G("ngIf",!it.loopStatus),d.R7$(),d.Y8G("ngIf",it.loopStatus),d.R7$(2),d.Y8G("ngIf",it.loopStatus&&it.loopStatus.id_bytes&&it.channel),d.R7$(),d.Y8G("ngIf",it.loopStatus&&(it.loopStatus.error||!it.loopStatus.id_bytes)),d.R7$(2),d.Y8G("mat-dialog-close",!1)}}function st(Qt,Mt){if(1&Qt&&d.nrm(0,"rtl-loop-status",71),2&Qt){const it=d.XpG();d.Y8G("loopStatus",it.loopStatus)}}function Tt(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"rtl-loop-out-info-graphics",87),d.mxI("stepNumberChange",function(wt){d.eBV(it);const Ut=d.XpG(2);return d.DH7(Ut.stepNumber,wt)||(Ut.stepNumber=wt),d.Njj(wt)}),d.k0s()}if(2&Qt){const it=d.XpG(2);d.Y8G("animationDirection",it.animationDirection),d.R50("stepNumber",it.stepNumber)}}function mi(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"rtl-loop-in-info-graphics",87),d.mxI("stepNumberChange",function(wt){d.eBV(it);const Ut=d.XpG(2);return d.DH7(Ut.stepNumber,wt)||(Ut.stepNumber=wt),d.Njj(wt)}),d.k0s()}if(2&Qt){const it=d.XpG(2);d.Y8G("animationDirection",it.animationDirection),d.R50("stepNumber",it.stepNumber)}}function Kt(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"span",88),d.bIt("click",function(){const wt=d.eBV(it).$implicit,Ut=d.XpG(2);return d.Njj(Ut.onStepChanged(wt))}),d.nrm(1,"p",89),d.k0s()}if(2&Qt){const it=Mt.$implicit,ct=d.XpG(2);d.R7$(),d.Y8G("ngClass",d.l_i(1,He,ct.stepNumber===it,ct.stepNumber!==it))}}function Pt(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",90),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.onReadMore())}),d.EFF(1,"Read More"),d.k0s()}}function Xi(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",91),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.onStepChanged(4))}),d.EFF(1,"Back"),d.k0s()}}function di(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",92),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return wt.flgShowInfo=!1,d.Njj(wt.stepNumber=1)}),d.EFF(1,"Close"),d.k0s()}}function fi(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",93),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return wt.flgShowInfo=!1,d.Njj(wt.stepNumber=1)}),d.EFF(1,"Close"),d.k0s()}}function vn(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",94),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.onStepChanged(wt.stepNumber-1))}),d.EFF(1,"Back"),d.k0s()}}function Qi(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"button",95),d.bIt("click",function(){d.eBV(it);const wt=d.XpG(2);return d.Njj(wt.onStepChanged(wt.stepNumber+1))}),d.EFF(1,"Next"),d.k0s()}}function Li(Qt,Mt){if(1&Qt){const it=d.RV6();d.j41(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),d.nrm(4,"span",8),d.k0s(),d.j41(5,"div",75)(6,"button",11),d.bIt("click",function(){d.eBV(it);const wt=d.XpG();return wt.flgShowInfo=!1,d.Njj(wt.stepNumber=1)}),d.EFF(7,"X"),d.k0s()()(),d.j41(8,"mat-card-content",76),d.DNE(9,Tt,1,2,"rtl-loop-out-info-graphics",77)(10,mi,1,2,"rtl-loop-in-info-graphics",77),d.k0s(),d.j41(11,"div",78),d.DNE(12,Kt,2,4,"span",79),d.k0s(),d.j41(13,"div",80),d.DNE(14,Pt,2,0,"button",81)(15,Xi,2,0,"button",82)(16,di,2,0,"button",83)(17,fi,2,0,"button",84)(18,vn,2,0,"button",85)(19,Qi,2,0,"button",86),d.k0s()()()}if(2&Qt){const it=d.XpG();d.Y8G("@opacityAnimation",void 0),d.R7$(9),d.Y8G("ngIf",it.direction===it.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",it.direction===it.LoopTypeEnum.LOOP_IN),d.R7$(2),d.Y8G("ngForOf",d.lJ4(10,Ie)),d.R7$(2),d.Y8G("ngIf",5===it.stepNumber),d.R7$(),d.Y8G("ngIf",5===it.stepNumber),d.R7$(),d.Y8G("ngIf",5===it.stepNumber),d.R7$(),d.Y8G("ngIf",it.stepNumber<5),d.R7$(),d.Y8G("ngIf",it.stepNumber>1&&it.stepNumber<5),d.R7$(),d.Y8G("ngIf",it.stepNumber<5)}}let Zi=(()=>{class Qt{constructor(it,ct,wt,Ut,xi,Si,zi,en,Ni){this.dialogRef=it,this.data=ct,this.store=wt,this.loopService=Ut,this.formBuilder=xi,this.decimalPipe=Si,this.logger=zi,this.router=en,this.commonService=Ni,this.faInfoCircle=l.iW_,this.LoopTypeEnum=f.C7,this.direction=f.C7.LOOP_OUT,this.loopDirectionCaption="Loop out",this.loopStatus=null,this.inputFormLabel="Amount to loop out",this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address",this.prepayRoutingFee=36,this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=f.f7,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.channel=this.data.channel,this.minQuote=this.data.minQuote?this.data.minQuote:{},this.maxQuote=this.data.maxQuote?this.data.maxQuote:{},this.direction=this.data.direction||f.C7.LOOP_OUT,this.loopDirectionCaption=this.direction===f.C7.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[e.k0.required,e.k0.min(this.minQuote.amount||0),e.k0.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[e.k0.required,e.k0.min(1)]],routingFeePercent:[2,[e.k0.required,e.k0.min(0)]],fast:[!1,[e.k0.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[e.k0.required]],address:[{value:"",disabled:!0}]}),this.direction===f.C7.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(I.BM).pipe((0,w.Q)(this.unSubs[6])).subscribe(it=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:it.lightningBalance&&it.lightningBalance.local?+it.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,w.Q)(this.unSubs[4])).subscribe(it=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===f.C7.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,w.Q)(this.unSubs[5])).subscribe(it=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(it){"external"===it.value?(this.addressFormGroup.controls.address.setValidators([e.k0.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onValidateAmount(){this.localBalanceToCompare&&this.inputFormGroup.controls.amount.value<=this.localBalanceToCompare&&this.stepper.next()}onLoop(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.maxQuote.amount&&this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===f.C7.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===f.C7.LOOP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===f.C7.LOOP_IN)this.loopService.loopIn(this.inputFormGroup.controls.amount.value,+(this.quote.swap_fee_sat||0),+(this.quote.htlc_publish_fee_sat||0),"",!0).pipe((0,w.Q)(this.unSubs[0])).subscribe({next:it=>{this.loopStatus=it,this.loopService.listSwaps(),this.flgEditable=!0},error:it=>{this.loopStatus={error:it},this.flgEditable=!0,this.logger.error(it)}});else{const it=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),ct="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",wt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,it,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),wt,ct).pipe((0,w.Q)(this.unSubs[1])).subscribe({next:Ut=>{this.loopStatus=Ut,this.loopService.listSwaps(),this.flgEditable=!0},error:Ut=>{this.loopStatus={error:Ut},this.flgEditable=!0,this.logger.error(Ut)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.maxQuote.amount&&this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const it=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===f.C7.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,it).pipe((0,w.Q)(this.unSubs[2])).subscribe(ct=>{this.quote=ct,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}):this.loopService.getLoopOutQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,it).pipe((0,w.Q)(this.unSubs[3])).subscribe(ct=>{this.quote=ct,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected?.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(it){switch(it.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===f.C7.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Percentage: "+(this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:"2")+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===f.C7.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel=this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?"Quote confirmed | Estimated Fees: "+this.decimalPipe.transform(+this.quote.swap_fee_sat+ +(this.quote.htlc_sweep_fee_sat?this.quote.htlc_sweep_fee_sat:this.quote.htlc_publish_fee_sat?this.quote.htlc_publish_fee_sat:0))+" Sats":"Quote confirmed",this.addressFormLabel=this.addressFormGroup.controls.addressType.value?"Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:"Withdrawal Address"}(this.direction===f.C7.LOOP_OUT&&1!==it.selectedIndex&&it.selectedIndex<it.previouslySelectedIndex||this.direction===f.C7.LOOP_IN&&it.selectedIndex<it.previouslySelectedIndex)&&it.selectedStep.stepControl.setErrors({Invalid:!0})}goToLoop(){this.dialogRef.close(!0),this.router.navigateByUrl("/services/loop")}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===f.C7.LOOP_IN?window.open("https://blog.lightning.engineering/announcement/2019/06/25/loop-in.html","_blank"):window.open("https://blog.lightning.engineering/technical/posts/2019/04/15/loop-out-in-depth.html","_blank"),this.onClose()}onStepChanged(it){this.animationDirection=it<this.stepNumber?"backward":"forward",this.stepNumber=it}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.minQuote.amount,sweepConfTarget:6,routingFeePercent:2,fast:!1}),this.quoteFormGroup.reset(),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable()}ngOnDestroy(){this.unSubs.forEach(it=>{it.next(null),it.complete()})}static#e=this.\u0275fac=function(ct){return new(ct||Qt)(d.rXU(S.CP),d.rXU(S.Vh),d.rXU(T.il),d.rXU(y.Q),d.rXU(e.ze),d.rXU(F.QX),d.rXU(R.gP),d.rXU(z.Ix),d.rXU(W.h))};static#t=this.\u0275cmp=d.VBU({type:Qt,selectors:[["rtl-loop-modal"]],viewQuery:function(ct,wt){if(1&ct&&d.GBs(ue,5),2&ct){let Ut;d.mGM(Ut=d.lsd())&&(wt.stepper=Ut.first)}},decls:4,vars:2,consts:[["loopStatusBlock",""],["stepper",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["class","padding-gap-large","fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngIf"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"quote","termCaption","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"fxFlex"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","type","number","tabindex","2","formControlName","sweepConfTarget","required","",3,"step"],["fxFlex","30",4,"ngIf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","class","mt-1",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","5","type","button",3,"click"],[3,"quote","showPanel"],["fxFlex","100","class","color-warn mt-2","fxLayoutAlign","start center",4,"ngIf"],["mat-button","","color","primary","tabindex","6","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","7","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","12","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxFlex","40"],["fxFlex","30"],["matInput","","type","number","tabindex","3","formControlName","routingFeePercent","required","",3,"step"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center",1,"mt-1"],["tabindex","4","color","primary","formControlName","fast","fxFlex","none"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","matTooltipPosition","above","fxFlex","none",1,"info-icon"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","mt-2"],[1,"mr-1","icon-small"],["mat-button","","color","primary","tabindex","6","type","button",3,"click"],["mat-button","","color","primary","tabindex","7","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumberChange","animationDirection","stepNumber"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(ct,wt){1&ct&&d.DNE(0,et,75,55,"div",2)(1,st,1,1,"ng-template",null,0,d.C5r)(3,Li,20,11,"div",3),2&ct&&(d.Y8G("ngIf",!wt.flgShowInfo),d.R7$(3),d.Y8G("ngIf",wt.flgShowInfo))},dependencies:[F.YU,F.Sq,F.bT,e.qT,e.me,e.Q0,e.BC,e.cb,e.YS,e.j4,e.JD,$.DJ,$.sA,$.UI,j.PW,S.tx,Q.$z,J.m2,J.MM,ee.GK,ee.Z2,ee.WN,ie.An,ge.fg,ae.rl,ae.nJ,ae.MV,ae.TL,ae.yw,Me.HM,Te.VT,Te._g,de.sG,D.oV,n.V5,n.Ti,n.M6,c.N,N,qe,_e,ye,F.QX,F.PV],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[x.C]}})}return Qt})()},13:(Qe,te,g)=>{"use strict";g.d(te,{X:()=>I});var e=g(5383),t=g(4438),w=g(1188),S=g(60),l=g(2920),x=g(8834),f=g(5596);let I=(()=>{class d{constructor(y){this.router=y,this.faTimes=e.GRI}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(F){return new(F||d)(t.rXU(w.Ix))};static#t=this.\u0275cmp=t.VBU({type:d,selectors:[["rtl-not-found"]],decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(F,R){1&F&&(t.j41(0,"div",0),t.nrm(1,"fa-icon",1),t.j41(2,"span",2),t.EFF(3,"Page Not Found"),t.k0s()(),t.j41(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),t.EFF(9,"This page does not exist!"),t.k0s(),t.j41(10,"span",7)(11,"button",8),t.bIt("click",function(){return R.goToHelp()}),t.EFF(12,"Go To Help"),t.k0s()()()()()()),2&F&&(t.R7$(),t.Y8G("icon",R.faTimes))},dependencies:[S.aY,l.DJ,l.sA,l.UI,x.$z,f.RN,f.m2],encapsulation:2})}return d})()},9587:(Qe,te,g)=>{"use strict";g.d(te,{N:()=>t});var e=g(4438);let t=(()=>{class w{constructor(l){this.el=l}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=this.\u0275fac=function(x){return new(x||w)(e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:w,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}return w})()},9157:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>t});var e=g(4438);let t=(()=>{class w{constructor(){this.copied=new e.bkB}onClick(l){l.preventDefault(),this.payload&&(navigator.clipboard?this.copyUsingClipboardAPI():this.copyUsingFallbackMethod())}copyUsingFallbackMethod(){const l=document.createElement("textarea");l.value=this.payload,document.body.appendChild(l),l.select();try{document.execCommand("copy")?this.copied.emit(this.payload.toString()):this.copied.emit("Error could not copy text.")}finally{document.body.removeChild(l)}}copyUsingClipboardAPI(){navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())}).catch(l=>{this.copied.emit("Error could not copy text: "+JSON.stringify(l))})}static#e=this.\u0275fac=function(x){return new(x||w)};static#t=this.\u0275dir=e.FsC({type:w,selectors:[["","rtlClipboard",""]],hostBindings:function(x,f){1&x&&e.bIt("click",function(d){return f.onClick(d)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}return w})()},92:(Qe,te,g)=>{"use strict";g.d(te,{z:()=>w});var e=g(9417),t=g(4438);let w=(()=>{class S{validate(x){return this.max?e.k0.max(+this.max)(x):null}static#e=this.\u0275fac=function(f){return new(f||S)};static#t=this.\u0275dir=t.FsC({type:S,selectors:[["input","max",""]],inputs:{max:"max"},features:[t.Jv_([{provide:e.cz,useExisting:S,multi:!0}])]})}return S})()},6114:(Qe,te,g)=>{"use strict";g.d(te,{V:()=>w});var e=g(9417),t=g(4438);let w=(()=>{class S{validate(x){return this.min?e.k0.min(+this.min)(x):null}static#e=this.\u0275fac=function(f){return new(f||S)};static#t=this.\u0275dir=t.FsC({type:S,selectors:[["input","min",""]],inputs:{min:"min"},features:[t.Jv_([{provide:e.cz,useExisting:S,multi:!0}])]})}return S})()},2929:(Qe,te,g)=>{"use strict";g.d(te,{Qu:()=>S,VD:()=>l,ZE:()=>w,gZ:()=>t});var e=g(4438);let t=(()=>{class x{transform(I,d){return I?.replace(/^[0]+/g,"")}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275pipe=e.EJ8({name:"removeleadingzeros",type:x,pure:!0})}return x})(),w=(()=>{class x{transform(I,d){return I?.replace(/(?:^\w|[A-Z]|\b\w)/g,(T,y)=>T.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275pipe=e.EJ8({name:"camelcase",type:x,pure:!0})}return x})(),S=(()=>{class x{transform(I,d,T){return I.replace(/(?:^\w|[A-Z]|\b\w)/g,(y,F)=>" "+y.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275pipe=e.EJ8({name:"camelCaseWithSpaces",type:x,pure:!0})}return x})(),l=(()=>{class x{transform(I,d,T){return I=I?I.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",d&&(I=I.replace(new RegExp(d,"g")," ")),T&&(I=I.replace(new RegExp(T,"g")," ")),I.replace(/(?:^\w|[A-Z]|\b\w)/g,(y,F)=>y.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275pipe=e.EJ8({name:"camelcaseWithReplace",type:x,pure:!0})}return x})()},7186:(Qe,te,g)=>{"use strict";g.d(te,{Wz:()=>f,fe:()=>I,jn:()=>x,q_:()=>l});var e=g(4438),t=g(1188),w=g(3202),S=g(6354);function l(){return()=>{const d=(0,e.WQX)(t.Ix),T=(0,e.WQX)(t.nX),y=(0,e.WQX)(w.Q);return!(!y.getItem("token")||T.snapshot.url&&T.snapshot.url.length&&"settings"!==T.snapshot.url[0].path&&"auth"!==T.snapshot.url[0].path&&"true"===y.getItem("defaultPassword")&&(d.navigate(["/settings/auth"]),1))}}function x(){return()=>!!(0,e.WQX)(w.Q).watchSession().pipe((0,S.T)(T=>T.lndUnlocked))}function f(){return()=>!!(0,e.WQX)(w.Q).watchSession().pipe((0,S.T)(T=>T.clnUnlocked))}function I(){return()=>!!(0,e.WQX)(w.Q).watchSession().pipe((0,S.T)(T=>T.eclUnlocked))}},2571:(Qe,te,g)=>{"use strict";g.d(te,{h:()=>z});var e=g(4412),t=g(1413),w=g(7673),S=g(8810),l=g(6977),x=g(5558),f=g(9437),I=g(4416),d=g(4438),T=g(1534),y=g(8570),F=g(177),R=g(345);let z=(()=>{class W{constructor(j,Q,J,ee){this.dataService=j,this.logger=Q,this.datePipe=J,this.sanitizer=ee,this.currencyUnits=[],this.CurrencyUnitEnum=I.BQ,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=I.wn.UN_INITIATED,this.screenSize=I.f7.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new e.t(this.containerSize),this.unSubs=[new t.B,new t.B,new t.B]}getScreenSize(){return this.screenSize}setScreenSize(j){this.screenSize=j}getContainerSize(){return this.containerSize}setContainerSize(j,Q){this.containerSize={width:j,height:Q},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(j,Q,J,ee="asc"){return j.sort("number"===J?"desc"===ee?(ie,ge)=>+ie[Q]>+ge[Q]?-1:1:(ie,ge)=>+ie[Q]>+ge[Q]?1:-1:"desc"===ee?(ie,ge)=>ie[Q]>ge[Q]?-1:1:(ie,ge)=>ie[Q]>ge[Q]?1:-1)}sortDescByKey(j,Q){return j.sort((J,ee)=>{const ie=+J[Q],ge=+ee[Q];return ie>ge?-1:ie<ge?1:0})}sortAscByKey(j,Q){return j.sort((J,ee)=>{const ie=+J[Q],ge=+ee[Q];return ie<ge?-1:ie>ge?1:0})}camelCase(j){return j?.replace(/(?:^\w|[A-Z]|\b\w)/g,(Q,J)=>Q.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(j,Q,J){return Q&&J&&""!==Q&&""!==J&&(j=j?.replace(new RegExp(Q,"g"),J)),j.indexOf("!\n")>0||j.indexOf(".\n")>0?j.split("\n")?.reduce((ee,ie)=>ee+ie.charAt(0).toUpperCase()+ie.substring(1).toLowerCase()+"\n",""):j.indexOf(" ")>0?j.split(" ")?.reduce((ee,ie)=>ee+ie.charAt(0).toUpperCase()+ie.substring(1).toLowerCase()+" ",""):j.charAt(0).toUpperCase()+j.substring(1).toLowerCase()}convertCurrency(j,Q,J,ee,ie){const ge=(new Date).valueOf();try{return ie&&ee&&(Q===I.BQ.OTHER||J===I.BQ.OTHER)?this.ratesAPIStatus!==I.wn.INITIATED?this.conversionData.data&&this.conversionData.last_fetched&&ge<this.conversionData.last_fetched+3e5?(0,w.of)(this.convertWithFiat(j,Q,ee)):(this.ratesAPIStatus=I.wn.INITIATED,this.dataService.getFiatRates().pipe((0,l.Q)(this.unSubs[0]),(0,x.n)(ae=>(this.ratesAPIStatus=I.wn.COMPLETED,this.conversionData.data=ae&&"object"==typeof ae?ae:ae&&"string"==typeof ae?JSON.parse(ae):{},this.conversionData.last_fetched=ge,(0,w.of)(this.convertWithFiat(j,Q,ee)))),(0,f.W)(ae=>(this.ratesAPIStatus=I.wn.ERROR,(0,S.$)(()=>"Currency Conversion Error."))))):(0,w.of)(this.conversionData.data&&this.conversionData.last_fetched&&ge<this.conversionData.last_fetched+3e5?this.convertWithFiat(j,Q,ee):this.convertWithoutFiat(j,Q)):(0,w.of)(this.convertWithoutFiat(j,Q))}catch{return(0,S.$)(()=>"Currency Conversion Error.")}}convertWithoutFiat(j,Q){const J={};switch(J[I.BQ.SATS]=0,J[I.BQ.BTC]=0,Q){case I.BQ.SATS:J[I.BQ.SATS]=j,J[I.BQ.BTC]=1e-8*j;break;case I.BQ.BTC:J[I.BQ.SATS]=1e8*j,J[I.BQ.BTC]=j}return J}convertWithFiat(j,Q,J){const ee={unit:J,iconType:"FA",symbol:null};if(J){const ie=(0,I.Zo)(this.conversionData.data[J].symbol);ee.iconType=ie.iconType,ee.symbol=ie&&"SVG"===ie.iconType&&ie.symbol&&"string"==typeof ie.symbol?this.sanitizer.bypassSecurityTrustHtml(ie.symbol):ie.symbol}switch(ee[I.BQ.SATS]=0,ee[I.BQ.BTC]=0,ee[I.BQ.OTHER]=0,Q){case I.BQ.SATS:ee[I.BQ.SATS]=j,ee[I.BQ.BTC]=1e-8*j,ee[I.BQ.OTHER]=1e-8*j*this.conversionData.data[J].last;break;case I.BQ.BTC:ee[I.BQ.SATS]=1e8*j,ee[I.BQ.BTC]=j,ee[I.BQ.OTHER]=j*this.conversionData.data[J].last;break;case I.BQ.OTHER:ee[I.BQ.SATS]=j/this.conversionData.data[J].last*1e8,ee[I.BQ.BTC]=j/this.conversionData.data[J].last,ee[I.BQ.OTHER]=j}return ee}convertTime(j,Q,J){switch(Q){case I.F7.SECS:switch(J){case I.F7.MINS:j/=60;break;case I.F7.HOURS:j/=I.bz;break;case I.F7.DAYS:j/=24*I.bz}break;case I.F7.MINS:switch(J){case I.F7.SECS:j*=60;break;case I.F7.HOURS:j/=60;break;case I.F7.DAYS:j/=1440}break;case I.F7.HOURS:switch(J){case I.F7.SECS:j*=I.bz;break;case I.F7.MINS:j*=60;break;case I.F7.DAYS:j/=24}break;case I.F7.DAYS:switch(J){case I.F7.SECS:j=j*I.bz*24;break;case I.F7.MINS:j=60*j*24;break;case I.F7.HOURS:j*=24}}return j}downloadFile(j,Q,J=".json",ee=".csv"){let ie=new Blob;ie=".json"===J?new Blob(["\ufeff"+this.convertToCSV(j)],{type:"text/csv;charset=utf-8;"}):new Blob([j.toString()],{type:"text/plain;charset=utf-8"});const ge=document.createElement("a"),ae=URL.createObjectURL(ie);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&ge.setAttribute("target","_blank"),ge.setAttribute("href",ae),ge.setAttribute("download",Q+ee),ge.style.visibility="hidden",document.body.appendChild(ge),ge.click(),document.body.removeChild(ge)}convertToCSV(j){const Q=[];let J="",ee="",ie="";return"object"!=typeof j&&(j=JSON.parse(j)),j.forEach((ae,Me)=>{for(const Te in ae)Q.findIndex(de=>de===Te)<0&&Q.push(Te)}),ie=Q.join(",")+"\r\n",j.forEach(ae=>{J="",Q.forEach(Me=>{if(ae.hasOwnProperty(Me))if(Array.isArray(ae[Me]))ee="",ae[Me].forEach((Te,de)=>{ee+="object"==typeof Te?"("+JSON.stringify(Te)?.replace(/\,/g,";")+")":"("+Te+")"}),J+=ee+",";else if("object"==typeof ae[Me])J+=JSON.stringify(ae[Me])?.replace(/\,/g,";")+",";else if(Me.includes("timestamp")||Me.includes("date"))try{switch(ae[Me].toString().length){case 10:J+=this.datePipe.transform(new Date(1e3*ae[Me]),"dd/MMM/y HH:mm")+",";break;case 13:J+=this.datePipe.transform(new Date(ae[Me]),"dd/MMM/y HH:mm")+",";break;default:J+=ae[Me]+","}}catch{J+=ae[Me]+","}else J+=ae[Me]+",";else J+=","}),ie+=J.slice(0,-1)+"\r\n"}),ie}isVersionCompatible(j,Q){if(j){const J=j.match(/v?(?<version>\d+(?:\.\d+)*)/);if(J&&J.groups&&J.groups.version){this.logger.info("Current Version: "+J.groups.version),this.logger.info("Checking Compatiblility with Version: "+Q);const ee=J.groups.version.split(".")||[],ie=Q.split(".");return+ee[0]>+ie[0]||+ee[0]==+ie[0]&&+ee[1]>+ie[1]||+ee[0]==+ie[0]&&+ee[1]==+ie[1]&&+ee[2]>=+ie[2]}return this.logger.error("Invalid Version String: "+j),!1}return!1}extractErrorMessage(j,Q="Unknown Error."){const J=this.titleCase(j.error&&j.error.text&&"string"==typeof j.error.text&&j.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&j.error.error.error.error.error&&"string"==typeof j.error.error.error.error.error?j.error.error.error.error.error:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&"string"==typeof j.error.error.error.error?j.error.error.error.error:j.error&&j.error.error&&j.error.error.error&&"string"==typeof j.error.error.error?j.error.error.error:j.error&&j.error.error&&"string"==typeof j.error.error?j.error.error:j.error&&"string"==typeof j.error?j.error:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.error&&j.error.error.error.error.message&&"string"==typeof j.error.error.error.error.message?j.error.error.error.error.message:j.error&&j.error.error&&j.error.error.error&&j.error.error.error.message&&"string"==typeof j.error.error.error.message?j.error.error.error.message:j.error&&j.error.error&&j.error.error.message&&"string"==typeof j.error.error.message?j.error.error.message:j.error&&j.error.message&&"string"==typeof j.error.message?j.error.message:j.message&&"string"==typeof j.message?j.message:Q);return this.logger.info("Error Message: "+J),J}extractErrorCode(j,Q=500){const J=j.error&&j.error.error&&j.error.error.message&&j.error.error.message.code?j.error.error.message.code:j.error&&j.error.error&&j.error.error.code?j.error.error.code:j.error&&j.error.code?j.error.code:j.code?j.code:j.status?j.status:Q;return this.logger.info("Error Code: "+J),J}extractErrorNumber(j,Q=500){const J=j.error&&j.error.error&&j.error.error.errno?j.error.error.errno:j.error&&j.error.errno?j.error.errno:j.errno?j.errno:j.status?j.status:Q;return this.logger.info("Error Number: "+J),J}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=this.\u0275fac=function(Q){return new(Q||W)(d.KVO(T.u),d.KVO(y.gP),d.KVO(F.vh),d.KVO(R.up))};static#t=this.\u0275prov=d.jDH({token:W,factory:W.\u0275fac})}return W})()},4416:(Qe,te,g)=>{"use strict";g.d(te,{A$:()=>Te,A0:()=>T,Ah:()=>qe,BQ:()=>c,Bd:()=>V,Bv:()=>ee,C7:()=>v,F7:()=>D,G:()=>J,H$:()=>I,HW:()=>Me,Hx:()=>r,It:()=>x,Jd:()=>Xe,Jr:()=>ge,KR:()=>ne,Ld:()=>$,MZ:()=>se,QP:()=>fe,SY:()=>F,TC:()=>ke,TH:()=>_e,U1:()=>de,UN:()=>m,Uq:()=>be,Uu:()=>mt,WW:()=>Yt,X8:()=>rt,XG:()=>j,Y0:()=>X,ZC:()=>yt,Zb:()=>_,Zi:()=>Et,Zo:()=>Vt,_1:()=>Ye,_U:()=>pe,aG:()=>k,aR:()=>me,aU:()=>ce,bz:()=>l,ck:()=>ie,f7:()=>h,iI:()=>L,jG:()=>Ie,k:()=>y,md:()=>z,mu:()=>He,nv:()=>Q,o1:()=>ae,oi:()=>ue,on:()=>S,q9:()=>N,rl:()=>d,rs:()=>Ee,tj:()=>C,ul:()=>Ze,wn:()=>Ke,xk:()=>_t,xp:()=>W,xv:()=>f});var e=g(4438),t=g(6695),w=g(5383);function S(oe){const tt=new t.xX;return tt.itemsPerPageLabel=oe+" per page:",tt}const l=3600,x=24*l*7,f="0.15.2-beta",I=(0,e.naY)()?"http://localhost:3000/rtl/api":"./api",d={AUTHENTICATE_API:I+"/authenticate",CONF_API:I+"/conf",PAGE_SETTINGS_API:I+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},T=["Sats","BTC"],y={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},F=["SECS","MINS","HOURS","DAYS"],z=10,W=[5,10,25,100],$=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],j=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],Q=[{id:"none",name:"No Fee Limit",placeholder:"No Limit"},{id:"fixed",name:"Fixed Limit (Sats)",placeholder:"Fixed Limit in Sats"},{id:"percent",name:"Percentage of Payment Amount",placeholder:"Percentage Limit"}],J=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom"}],ee={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var ie=function(oe){return oe.PAYMENT_RECEIVED="payment-received",oe.PAYMENT_RELAYED="payment-relayed",oe.PAYMENT_SENT="payment-sent",oe.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",oe.PAYMENT_FAILED="payment-failed",oe.CHANNEL_OPENED="channel-opened",oe.CHANNEL_STATE_CHANGED="channel-state-changed",oe.CHANNEL_CLOSED="channel-closed",oe}(ie||{}),ge=function(oe){return oe.CONNECT="connect",oe.DISCONNECT="disconnect",oe.WARNING="warning",oe.INVOICE_PAYMENT="invoice_payment",oe.INVOICE_CREATION="invoice_creation",oe.CHANNEL_OPENED="channel_opened",oe.CHANNEL_STATE_CHANGED="channel_state_changed",oe.SENDPAY_SUCCESS="sendpay_success",oe.SENDPAY_FAILURE="sendpay_failure",oe.COIN_MOVEMENT="coin_movement",oe.BALANCE_SNAPSHOT="balance_snapshot",oe.BLOCK_ADDED="block_added",oe.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",oe.CHANNEL_OPEN_FAILED="channel_open_failed",oe}(ge||{}),ae=function(oe){return oe.INVOICE="invoice",oe}(ae||{}),Me=function(oe){return oe.OPERATOR="OPERATOR",oe.MERCHANT="MERCHANT",oe.ALL="ALL",oe}(Me||{}),Te=function(oe){return oe.INFORMATION="Information",oe.WARNING="Warning",oe.ERROR="Error",oe.SUCCESS="Success",oe.CONFIRM="Confirm",oe}(Te||{}),de=function(oe){return oe.JWT="JWT",oe.PASSWORD="PASSWORD",oe}(de||{}),D=function(oe){return oe.SECS="SECS",oe.MINS="MINS",oe.HOURS="HOURS",oe.DAYS="DAYS",oe}(D||{}),c=function(oe){return oe.SATS="Sats",oe.BTC="BTC",oe.OTHER="OTHER",oe}(c||{}),m=function(oe){return oe.ARRAY="ARRAY",oe.NUMBER="NUMBER",oe.STRING="STRING",oe.BOOLEAN="BOOLEAN",oe.PASSWORD="PASSWORD",oe.DATE="DATE",oe.DATE_TIME="DATE_TIME",oe}(m||{}),h=function(oe){return oe.XS="XS",oe.SM="SM",oe.MD="MD",oe.LG="LG",oe.XL="XL",oe}(h||{});const C={COOPERATIVE_CLOSE:{name:"Co-operative Close",tooltip:"Channel closed cooperatively"},LOCAL_FORCE_CLOSE:{name:"Local Force Close",tooltip:"Channel force-closed by the local node"},REMOTE_FORCE_CLOSE:{name:"Remote Force Close",tooltip:"Channel force-closed by the remote node"},BREACH_CLOSE:{name:"Breach Close",tooltip:"Remote node attempted to broadcast a prior revoked channel state"},FUNDING_CANCELED:{name:"Funding Canceled",tooltip:"Channel never fully opened"},ABANDONED:{name:"Abandoned",tooltip:"Channel abandoned by the local node"}},k={WITNESS_PUBKEY_HASH:{name:"Witness Pubkey Hash",tooltip:""},NESTED_PUBKEY_HASH:{name:"Nested Pubkey Hash",tooltip:""},UNUSED_WITNESS_PUBKEY_HASH:{name:"Unused Witness Pubkey Hash",tooltip:""},UNUSED_NESTED_PUBKEY_HASH:{name:"Unused Nested Pubkey Hash",tooltip:""},TAPROOT_PUBKEY:{name:"Taproot Pubkey Hash",tooltip:""}};var L=function(oe){return oe.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",oe.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",oe.WIRE_INVALID_ONION_KEY="Invalid Onion Key",oe.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",oe.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",oe.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",oe.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",oe.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",oe.WIRE_FEE_INSUFFICIENT="Insufficient Fee",oe.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",oe.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",oe.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",oe.WIRE_CHANNEL_DISABLED="Channel Disabled",oe.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",oe.WIRE_INVALID_REALM="Invalid Realm",oe.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",oe.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",oe.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",oe.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",oe.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",oe.WIRE_MPP_TIMEOUT="MPP Timeout",oe.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",oe.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",oe}(L||{}),_=function(oe){return oe.CHANNELD_NORMAL="Active",oe.OPENINGD="Opening",oe.CHANNELD_AWAITING_LOCKIN="Pending Open",oe.CHANNELD_SHUTTING_DOWN="Shutting Down",oe.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",oe.CLOSINGD_COMPLETE="Closed",oe.AWAITING_UNILATERAL="Awaiting Unilateral Close",oe.FUNDING_SPEND_SEEN="Funding Spend Seen",oe.ONCHAIN="Onchain",oe.DUALOPEND_OPEN_INIT="Dual Open Initialized",oe.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",oe}(_||{}),r=function(oe){return oe.INITIATED="Initiated",oe.PREIMAGE_REVEALED="Preimage Revealed",oe.HTLC_PUBLISHED="HTLC Published",oe.SUCCESS="Successful",oe.FAILED="Failed",oe.INVOICE_SETTLED="Invoice Settled",oe}(r||{}),v=function(oe){return oe.LOOP_OUT="LOOP_OUT",oe.LOOP_IN="LOOP_IN",oe}(v||{}),V=function(oe){return oe.SWAP_OUT="SWAP_OUT",oe.SWAP_IN="SWAP_IN",oe}(V||{}),N=function(oe){return oe["swap.created"]="Swap Created",oe["swap.expired"]="Swap Expired",oe["invoice.set"]="Invoice Set",oe["invoice.paid"]="Invoice Paid",oe["invoice.pending"]="Invoice Pending",oe["invoice.settled"]="Invoice Settled",oe["invoice.failedToPay"]="Invoice Failed To Pay",oe["channel.created"]="Channel Created",oe["transaction.failed"]="Transaction Failed",oe["transaction.mempool"]="Transaction Mempool",oe["transaction.claimed"]="Transaction Claimed",oe["transaction.refunded"]="Transaction Refunded",oe["transaction.confirmed"]="Transaction Confirmed",oe["transaction.lockupFailed"]="Lockup Transaction Failed",oe["swap.refunded"]="Swap Refunded",oe["swap.abandoned"]="Swap Abandoned",oe}(N||{});const ne=[{name:"Jan",days:31},{name:"Feb",days:28},{name:"Mar",days:31},{name:"Apr",days:30},{name:"May",days:31},{name:"Jun",days:30},{name:"Jul",days:31},{name:"Aug",days:31},{name:"Sep",days:30},{name:"Oct",days:31},{name:"Nov",days:30},{name:"Dec",days:31}],Ee=["MONTHLY","YEARLY"],qe=["password","changeme","moneyprintergobrrr"];var Ke=function(oe){return oe.UN_INITIATED="UN_INITIATED",oe.INITIATED="INITIATED",oe.COMPLETED="COMPLETED",oe.ERROR="ERROR",oe}(Ke||{});const se={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_APPLICATION_SETTINGS:"Updating Application Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_BOLTZ_INFO:"Getting Boltz Info...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_INFO:"Getting Loop Info...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var X=function(oe){return oe.INVOICE="INVOICE",oe.OFFER="OFFER",oe.KEYSEND="KEYSEND",oe}(X||{}),me=function(oe){return oe.FEES="FEES",oe.EVENTS="EVENTS",oe}(me||{}),ce=function(oe){return oe.VOID="VOID",oe.SET_API_URL_ECL="SET_API_URL_ECL",oe.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",oe.RESET_ROOT_STORE="RESET_ROOT_STORE",oe.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",oe.OPEN_SNACK_BAR="OPEN_SNACKBAR",oe.OPEN_SPINNER="OPEN_SPINNER",oe.CLOSE_SPINNER="CLOSE_SPINNER",oe.OPEN_ALERT="OPEN_ALERT",oe.CLOSE_ALERT="CLOSE_ALERT",oe.OPEN_CONFIRMATION="OPEN_CONFIRMATION",oe.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",oe.SHOW_PUBKEY="SHOW_PUBKEY",oe.FETCH_CONFIG="FETCH_CONFIG",oe.SHOW_CONFIG="SHOW_CONFIG",oe.FETCH_STORE="FETCH_STORE",oe.SET_STORE="SET_STORE",oe.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",oe.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",oe.SAVE_SETTINGS="SAVE_SETTINGS",oe.SET_SELECTED_NODE="SET_SELECTED_NODE",oe.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",oe.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",oe.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",oe.SET_SELECTED_NODE_SETTINGS="SET_SELECTED_NODE_SETTINGS",oe.SET_NODE_DATA="SET_NODE_DATA",oe.IS_AUTHORIZED="IS_AUTHORIZED",oe.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",oe.LOGIN="LOGIN",oe.VERIFY_TWO_FA="VERIFY_TWO_FA",oe.LOGOUT="LOGOUT",oe.RESET_PASSWORD="RESET_PASSWORD",oe.RESET_PASSWORD_RES="RESET_PASSWORD_RES",oe.FETCH_FILE="FETCH_FILE",oe.SHOW_FILE="SHOW_FILE",oe}(ce||{}),fe=function(oe){return oe.RESET_LND_STORE="RESET_LND_STORE",oe.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",oe.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",oe.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",oe.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",oe.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",oe.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",oe.FETCH_INFO_LND="FETCH_INFO_LND",oe.SET_INFO_LND="SET_INFO_LND",oe.FETCH_PEERS_LND="FETCH_PEERS_LND",oe.SET_PEERS_LND="SET_PEERS_LND",oe.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",oe.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",oe.DETACH_PEER_LND="DETACH_PEER_LND",oe.REMOVE_PEER_LND="REMOVE_PEER_LND",oe.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",oe.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",oe.ADD_INVOICE_LND="ADD_INVOICE_LND",oe.FETCH_FEES_LND="FETCH_FEES_LND",oe.SET_FEES_LND="SET_FEES_LND",oe.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",oe.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",oe.FETCH_NETWORK_LND="FETCH_NETWORK_LND",oe.SET_NETWORK_LND="SET_NETWORK_LND",oe.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",oe.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",oe.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",oe.SET_CHANNELS_LND="SET_CHANNELS_LND",oe.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",oe.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",oe.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",oe.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",oe.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",oe.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",oe.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",oe.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",oe.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",oe.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",oe.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",oe.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",oe.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",oe.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",oe.FETCH_INVOICES_LND="FETCH_INVOICES_LND",oe.SET_INVOICES_LND="SET_INVOICES_LND",oe.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",oe.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",oe.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",oe.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",oe.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",oe.FETCH_UTXOS_LND="FETCH_UTXOS_LND",oe.SET_UTXOS_LND="SET_UTXOS_LND",oe.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",oe.SET_PAYMENTS_LND="SET_PAYMENTS_LND",oe.SEND_PAYMENT_LND="SEND_PAYMENT_LND",oe.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",oe.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",oe.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",oe.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",oe.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",oe.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",oe.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",oe.GEN_SEED_LND="GEN_SEED_LND",oe.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",oe.INIT_WALLET_LND="INIT_WALLET_LND",oe.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",oe.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",oe.PEER_LOOKUP_LND="PEER_LOOKUP_LND",oe.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",oe.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",oe.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",oe.SET_LOOKUP_LND="SET_LOOKUP_LND",oe.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",oe.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",oe.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",oe.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",oe.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",oe.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",oe}(fe||{}),ke=function(oe){return oe.RESET_CLN_STORE="RESET_CLN_STORE",oe.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",oe.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",oe.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",oe.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",oe.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",oe.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",oe.SET_INFO_CLN="SET_INFO_CLN",oe.FETCH_FEES_CLN="FETCH_FEES_CLN",oe.SET_FEES_CLN="SET_FEES_CLN",oe.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",oe.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",oe.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",oe.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",oe.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",oe.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",oe.FETCH_PEERS_CLN="FETCH_PEERS_CLN",oe.SET_PEERS_CLN="SET_PEERS_CLN",oe.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",oe.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",oe.ADD_PEER_CLN="ADD_PEER_CLN",oe.DETACH_PEER_CLN="DETACH_PEER_CLN",oe.REMOVE_PEER_CLN="REMOVE_PEER_CLN",oe.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",oe.SET_CHANNELS_CLN="SET_CHANNELS_CLN",oe.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",oe.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",oe.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",oe.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",oe.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",oe.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",oe.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",oe.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",oe.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",oe.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",oe.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",oe.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",oe.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",oe.SET_LOOKUP_CLN="SET_LOOKUP_CLN",oe.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",oe.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",oe.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",oe.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",oe.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",oe.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",oe.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",oe.SET_INVOICES_CLN="SET_INVOICES_CLN",oe.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",oe.ADD_INVOICE_CLN="ADD_INVOICE_CLN",oe.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",oe.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",oe.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",oe.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",oe.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",oe.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",oe.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",oe.SET_OFFERS_CLN="SET_OFFERS_CLN",oe.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",oe.ADD_OFFER_CLN="ADD_OFFER_CLN",oe.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",oe.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",oe.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",oe.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",oe.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",oe.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",oe.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",oe}(ke||{}),mt=function(oe){return oe.RESET_ECL_STORE="RESET_ECL_STORE",oe.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",oe.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",oe.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",oe.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",oe.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",oe.FETCH_INFO_ECL="FETCH_INFO_ECL",oe.SET_INFO_ECL="SET_INFO_ECL",oe.FETCH_FEES_ECL="FETCH_FEES_ECL",oe.SET_FEES_ECL="SET_FEES_ECL",oe.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",oe.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",oe.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",oe.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",oe.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",oe.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",oe.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",oe.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",oe.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",oe.FETCH_PEERS_ECL="FETCH_PEERS_ECL",oe.SET_PEERS_ECL="SET_PEERS_ECL",oe.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",oe.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",oe.ADD_PEER_ECL="ADD_PEER_ECL",oe.DETACH_PEER_ECL="DETACH_PEER_ECL",oe.REMOVE_PEER_ECL="REMOVE_PEER_ECL",oe.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",oe.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",oe.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",oe.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",oe.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",oe.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",oe.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",oe.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",oe.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",oe.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",oe.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",oe.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",oe.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",oe.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",oe.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",oe.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",oe.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",oe.SET_INVOICES_ECL="SET_INVOICES_ECL",oe.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",oe.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",oe.ADD_INVOICE_ECL="ADD_INVOICE_ECL",oe.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",oe.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",oe.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",oe.SET_LOOKUP_ECL="SET_LOOKUP_ECL",oe.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",oe.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",oe}(mt||{});const _e=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var be=function(oe){return oe.gossip_queries_ex="Gossip queries including additional information",oe.option_anchor_outputs="Anchor outputs",oe.option_data_loss_protect="Extra channel re-establish fields",oe.var_onion_optin="Variable-length routing onion payloads",oe.option_static_remotekey="Static key for remote output",oe.option_support_large_channel="Create large channels",oe.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",oe.payment_secret="Payment secret field",oe.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",oe.basic_mpp="Basic multi-part payments",oe.gossip_queries="More sophisticated gossip control",oe.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",oe.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",oe.amp="AMP",oe}(be||{}),pe=function(oe){return oe["data-loss-protect"]="Extra channel re-establish fields",oe["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",oe["gossip-queries"]="More sophisticated gossip control",oe["tlv-onion"]="Variable-length routing onion payloads",oe["ext-gossip-queries"]="Gossip queries can include additional information",oe["static-remote-key"]="Static key for remote output",oe["payment-addr"]="Payment secret field",oe["multi-path-payments"]="Basic multi-part payments",oe["wumbo-channels"]="Wumbo Channels",oe.anchors="Anchor outputs",oe["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",oe.amp="AMP",oe}(pe||{});const Ze=[{id:"match",placeholder:"Policy Match (%age)",min:0,max:200},{id:"available",placeholder:"Policy Available (%age)",min:0,max:100},{id:"fixed",placeholder:"Fixed Policy (Sats)",min:0,max:100}];var _t=function(oe){return oe.OFFERED="offered",oe.SETTLED="settled",oe.FAILED="failed",oe.LOCAL_FAILED="local_failed",oe}(_t||{}),ue=function(oe){return oe.ASCENDING="asc",oe.DESCENDING="desc",oe}(ue||{});const Ie=["asc","desc"],He=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:z,sortBy:"blockheight",sortOrder:ue.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:z,sortBy:"blockheight",sortOrder:ue.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:z,sortBy:"msatoshi_to_us",sortOrder:ue.DESCENDING,columnSelectionSM:["alias","msatoshi_to_us","msatoshi_to_them"],columnSelection:["short_channel_id","alias","msatoshi_to_us","msatoshi_to_them","balancedness"]},{tableId:"pending_inactive_channels",recordsPerPage:z,sortBy:"state",sortOrder:ue.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:z,sortBy:"alias",sortOrder:ue.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:z,sortBy:"expiry",sortOrder:ue.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:z,sortBy:"channel_opening_fee",sortOrder:ue.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:z,sortBy:"created_at",sortOrder:ue.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:z,sortBy:"expires_at",sortOrder:ue.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:z,sortBy:"offer_id",sortOrder:ue.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:z,sortBy:"lastUpdatedAt",sortOrder:ue.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:z,sortBy:"received_time",sortOrder:ue.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"routing_peers",recordsPerPage:z,sortBy:"total_fee",sortOrder:ue.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:z,sortBy:"received_time",sortOrder:ue.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"local_failed",recordsPerPage:z,sortBy:"received_time",sortOrder:ue.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","in_channel_alias","in_msatoshi","style","failreason"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:z,sortBy:"received_time",sortOrder:ue.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"transactions",recordsPerPage:z,sortBy:"date",sortOrder:ue.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:z,sortBy:"msatoshi",sortOrder:ue.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],Xe={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount_msat",label:"Amount (Sats)"},{column:"direction"},{column:"id",label:"HTLC ID"},{column:"state"},{column:"expiry"},{column:"payment_hash"},{column:"local_trimmed"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"issuer"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}}},yt=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:z,sortBy:"tx_id",sortOrder:ue.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:z,sortBy:"time_stamp",sortOrder:ue.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:z,sortBy:"tx_id",sortOrder:ue.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:z,sortBy:"balancedness",sortOrder:ue.DESCENDING,columnSelectionSM:["remote_alias","local_balance"],columnSelection:["remote_alias","uptime_str","total_satoshis_sent","total_satoshis_received","local_balance","remote_balance","balancedness"]},{tableId:"pending_open",sortBy:"capacity",sortOrder:ue.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:ue.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:ue.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:ue.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:z,sortBy:"close_type",sortOrder:ue.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:z,sortBy:"incoming",sortOrder:ue.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:z,sortBy:"alias",sortOrder:ue.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:z,sortBy:"creation_date",sortOrder:ue.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:z,sortBy:"creation_date",sortOrder:ue.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:z,sortBy:"timestamp",sortOrder:ue.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:z,sortBy:"total_amount",sortOrder:ue.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:z,sortBy:"remote_alias",sortOrder:ue.DESCENDING,columnSelectionSM:["remote_alias","local_balance","remote_balance"],columnSelection:["chan_id","remote_alias","total_satoshis_received","total_satoshis_sent","local_balance","remote_balance"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:z,sortBy:"timestamp",sortOrder:ue.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:z,sortBy:"date",sortOrder:ue.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:z,sortBy:"hop_sequence",sortOrder:ue.ASCENDING,columnSelectionSM:["hop_sequence","pubkey_alias","fee_msat"],columnSelection:["hop_sequence","pubkey_alias","chan_capacity","amt_to_forward_msat","fee_msat"]}]},{pageId:"loop",tables:[{tableId:"loop",recordsPerPage:z,sortBy:"initiation_time",sortOrder:ue.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:z,sortBy:"status",sortOrder:ue.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:z,sortBy:"status",sortOrder:ue.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],Ye={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat",label:"Amount"},{column:"confirmations"}]},transactions:{maxColumns:7,allowedColumns:[{column:"time_stamp",label:"Date/Time"},{column:"label"},{column:"block_hash"},{column:"tx_hash",label:"Transaction Hash"},{column:"amount"},{column:"total_fees",label:"Fees"},{column:"block_height"},{column:"num_confirmations",label:"Confirmations"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat"},{column:"confirmations"}]}},peers_channels:{open:{maxColumns:8,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"initiator"},{column:"static_remote_key"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"},{column:"balancedness",label:"Balance Score"}]},pending_open:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"confirmation_height"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_force_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"maturity_height"},{column:"blocks_til_maturity",label:"Blocks till Maturity"},{column:"recovered_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_waiting_close:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},closed:{maxColumns:7,allowedColumns:[{column:"close_type"},{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"closing_tx_hash",label:"Closing Tx Hash"},{column:"chain_hash"},{column:"open_initiator"},{column:"close_initiator"},{column:"time_locked_balance",label:"Timelocked Balance"},{column:"capacity"},{column:"close_height"},{column:"settled_balance"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount"},{column:"incoming"},{column:"forwarding_channel"},{column:"htlc_index"},{column:"forwarding_htlc_index"},{column:"expiration_height"},{column:"hash_lock"}]},peers:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"pub_key",label:"Public Key"},{column:"address"},{column:"sync_type"},{column:"inbound"},{column:"bytes_sent"},{column:"bytes_recv",label:"Bytes Received"},{column:"sat_sent",label:"Sats Sent"},{column:"sat_recv",label:"Sats Received"},{column:"ping_time"}]}},transactions:{payments:{maxColumns:8,allowedColumns:[{column:"creation_date"},{column:"payment_hash"},{column:"payment_request"},{column:"payment_preimage"},{column:"description"},{column:"description_hash"},{column:"failure_reason"},{column:"payment_index"},{column:"fee"},{column:"value"},{column:"hops"}]},invoices:{maxColumns:9,allowedColumns:[{column:"private"},{column:"is_keysend",label:"Keysend"},{column:"is_amp",label:"AMP"},{column:"creation_date",label:"Date Created"},{column:"settle_date",label:"Date Settled"},{column:"memo"},{column:"r_preimage",label:"Preimage"},{column:"r_hash",label:"Preimage Hash"},{column:"payment_addr",label:"Payment Address"},{column:"payment_request"},{column:"description_hash"},{column:"expiry"},{column:"cltv_expiry"},{column:"add_index"},{column:"settle_index"},{column:"value",label:"Amount"},{column:"amt_paid_sat",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},routing_peers:{maxColumns:4,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount"}]},non_routing_peers:{maxColumns:8,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"remote_alias",label:"Peer Alias"},{column:"remote_pubkey",label:"Peer Pubkey"},{column:"channel_point"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"}]}},reports:{routing:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:8,disablePageSize:!0,allowedColumns:[{column:"hop_sequence",label:"Hop"},{column:"pubkey_alias",label:"Peer"},{column:"pub_key",label:"Peer Pubkey"},{column:"chan_id",label:"Channel ID"},{column:"tlv_payload"},{column:"expiry"},{column:"chan_capacity",label:"Capacity"},{column:"amt_to_forward_msat",label:"Amount To Fwd"},{column:"fee_msat",label:"Fee"}]}},loop:{loop:{maxColumns:8,allowedColumns:[{column:"state"},{column:"initiation_time"},{column:"last_update_time"},{column:"amt",label:"Amount"},{column:"cost_server"},{column:"cost_offchain"},{column:"cost_onchain"},{column:"htlc_address"},{column:"id"},{column:"id_bytes",label:"ID (Bytes)"}]}},boltz:{swap_out:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"claimAddress",label:"Claim Address"},{column:"onchainAmount",label:"Onchain Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"claimTransactionId",label:"Claim Tx ID"}]},swap_in:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"lockupAddress",label:"Lockup Address"},{column:"expectedAmount",label:"Expected Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"refundTransactionId",label:"Refund Tx ID"}]}}},rt=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:z,sortBy:"timestamp",sortOrder:ue.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:z,sortBy:"alias",sortOrder:ue.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:z,sortBy:"alias",sortOrder:ue.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:z,sortBy:"alias",sortOrder:ue.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:z,sortBy:"alias",sortOrder:ue.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:z,sortBy:"firstPartTimestamp",sortOrder:ue.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:z,sortBy:"receivedAt",sortOrder:ue.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:z,sortBy:"timestamp",sortOrder:ue.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:z,sortBy:"totalFee",sortOrder:ue.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:z,sortBy:"timestamp",sortOrder:ue.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:z,sortBy:"date",sortOrder:ue.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],Yt={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},peers:{maxColumns:4,allowedColumns:[{column:"alias"},{column:"nodeId"},{column:"address",label:"Netwrok Address"},{column:"channels"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"firstPartTimestamp",label:"Date/Time"},{column:"id"},{column:"recipientNodeId",label:"Destination Node ID"},{column:"recipientNodeAlias",label:"Destination"},{column:"description"},{column:"paymentHash"},{column:"paymentPreimage",label:"Preimage"},{column:"recipientAmount",label:"Amount"}]},invoices:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date Created"},{column:"expiresAt",label:"Date Expiry"},{column:"receivedAt",label:"Date Settled"},{column:"nodeId",label:"Node ID"},{column:"description"},{column:"paymentHash"},{column:"amount"},{column:"amountSettled",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channelId"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"totalAmount",label:"Amount"},{column:"totalFee",label:"Fee"}]}},reports:{routing:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}}},Nt_DKK="\n <svg class=\"currency-icon\" xmlns='http://www.w3.org/2000/svg' width=\"300px\" height=\"300px\" viewBox='0 0 100 74.18'>\n <path d='M58.58 72.85H41.05L22 42.15l-6.53 4.68v26H0V0H15.44V33.33l6.09-8.57L41.24 0H58.38L33 32.24 58.58 72.85ZM95 16.12a25.27 25.27 0 0 1 5.14.44L99 30.81a18.05 18.05 0 0 0-4.49-.49q-7.28 0-11.32 3.74T79.09 44.52V72.85H63.91V17.14H75.42l2.22 9.39h.75a21.26 21.26 0 0 1 7-7.55A17.15 17.15 0 0 1 95 16.12Zm10.48 49.59q0-4.18Z' />\n </svg>\n ",Et=[{id:"USD",name:"United States Dollar",iconType:"FA",symbol:w.Vpi},{id:"ARS",name:"Argentina Peso",iconType:"FA",symbol:w.Vpi},{id:"AUD",name:"Australia Dollar",iconType:"FA",symbol:w.Vpi},{id:"BRL",name:"Brazil Real",iconType:"FA",symbol:w.Tq9},{id:"CAD",name:"Canada Dollar",iconType:"FA",symbol:w.Vpi},{id:"CHF",name:"Switzerland Franc",iconType:"FA",symbol:w.zjW},{id:"CLP",name:"Chile Peso",iconType:"FA",symbol:w.Vpi},{id:"CNY",name:"China Yuan Renminbi",iconType:"FA",symbol:w.zPk},{id:"CZK",name:"Czech Republic Koruna",iconType:"SVG",symbol:"\n <svg class=\"currency-icon\" version='1.0' xmlns='http://www.w3.org/2000/svg' width=\"300px\" height=\"300px\" viewBox='0 0 137.000000 118.000000' preserveAspectRatio='xMidYMid meet'>\n <g transform='translate(0.000000,118.000000) scale(0.100000,-0.100000)' stroke='none'>\n <path d='M80 600 l0 -410 50 0 50 0 0 138 0 138 69 68 69 69 46 -64 c25 -35\n 91 -128 146 -206 l101 -143 71 0 70 0 -24 33 c-99 130 -328 446 -328 451 0 4\n 75 81 168 171 l167 164 -70 1 -70 0 -200 -200 c-110 -110 -203 -200 -207 -200\n -5 0 -8 90 -8 200 l0 200 -50 0 -50 0 0 -410z'/>\n <path d='M946 935 l56 -75 57 0 57 0 57 70 c31 38 57 72 57 75 0 3 -24 5 -52\n 5 -52 0 -54 -1 -82 -46 l-30 -47 -23 29 c-13 16 -26 37 -29 47 -4 14 -17 17\n -65 17 l-59 0 56 -75z'/>\n <path d='M939 762 c-99 -51 -148 -164 -136 -315 12 -168 114 -267 274 -267 60\n 0 139 36 175 78 32 39 64 120 52 132 -5 4 -26 10 -47 12 -37 3 -40 1 -52 -35\n -55 -160 -254 -136 -295 34 -29 121 10 258 84 293 78 37 173 9 197 -58 12 -32\n 17 -36 49 -36 54 0 65 11 51 51 -32 93 -106 139 -223 139 -63 0 -84 -5 -129\n -28z'/>\n </g>\n </svg>\n ",class:"currency-icon-x-large"},{id:"DKK",name:"Denmark Krone",iconType:"SVG",symbol:Nt_DKK,class:"currency-icon-medium"},{id:"EUR",name:"Euro Member Countries",iconType:"FA",symbol:w.s5m},{id:"GBP",name:"United Kingdom Pound",iconType:"FA",symbol:w.vfE},{id:"HKD",name:"Hong Kong Dollar",iconType:"FA",symbol:w.Vpi},{id:"HRK",name:"Croatia Kuna",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/15766/croatia-kuna-currency-symbol --\x3e\n <svg class="currency-icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 75.045 75.045" style="enable-background:new 0 0 75.045 75.045;"\n xml:space="preserve">\n <g>\n <path d="M75.045,42.207v25.959c0,0.301-0.243,0.545-0.544,0.545h-6.817c-0.3,0-0.543-0.244-0.543-0.545V43.105\n c0-8.162-3.111-12.302-9.244-12.302c-4.526,0-8.375,3.021-9.809,7.7c-0.331,0.912-0.516,2.187-0.516,3.522v26.14\n c0,0.301-0.243,0.543-0.543,0.543h-8.448c-0.3,0-0.544-0.242-0.544-0.543l-0.033-43.474c0-0.145,0.059-0.283,0.159-0.385\n c0.103-0.103,0.239-0.159,0.385-0.159h7.17c0.146,0,0.283,0.058,0.386,0.16c0.103,0.103,0.158,0.241,0.157,0.387l-0.03,5.434\n c1.951-3.095,5.375-6.426,12.367-6.426C62.457,23.704,75.045,25.039,75.045,42.207z M14.096,46.926L31.08,25.684\n c0.244-0.306,0.283-0.726,0.102-1.065c-0.176-0.331-0.519-0.535-0.897-0.535H23.02c-0.312,0-0.61,0.145-0.799,0.385L7.874,42.679\n V7.293c0-0.546-0.453-0.989-1.011-0.989H1.012C0.454,6.305,0,6.748,0,7.293V67.75c0,0.547,0.454,0.989,1.012,0.989h5.851\n c0.558,0,1.011-0.442,1.011-0.989V52.449l0.854-0.015l15.355,15.996c0.189,0.196,0.458,0.31,0.734,0.31h6.928\n c0.385,0,0.743-0.219,0.913-0.562c0.175-0.358,0.114-0.783-0.159-1.086L14.096,46.926z"/>\n </g>\n </svg>\n ',class:"currency-icon-medium"},{id:"HUF",name:"Hungary Forint",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/183602/forint-business-and-finance --\x3e\n <svg class="currency-icon" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\n <g>\n <path d="M265.485,0.03L151.71,0.015c-0.364-0.036-0.62,0.004-0.929,0.015H37.932\n c-15.708,0-28.444,12.735-28.444,28.444v455.082C9.489,499.264,22.224,512,37.932,512s28.444-12.735,28.444-28.444V287.128h142.408\n c15.708,0,28.444-12.735,28.444-28.444c0-15.708-12.735-28.444-28.444-28.444H66.376V56.917h199.105\n c15.708,0,28.442-12.733,28.444-28.442C293.927,12.769,281.193,0.032,265.485,0.03z"/>\n <path d="M474.067,455.114c-36.596,0-66.368-29.773-66.368-66.368V170.692h28.444\n c15.708,0,28.444-12.735,28.444-28.444s-12.735-28.444-28.444-28.444h-28.444V28.474c0-15.708-12.735-28.444-28.444-28.444\n c-15.708,0-28.444,12.735-28.444,28.444v85.331h-28.444c-15.708,0-28.444,12.735-28.444,28.444s12.735,28.444,28.444,28.444h28.444\n v218.052c0,67.963,55.292,123.256,123.256,123.256c15.708,0,28.444-12.735,28.444-28.444\n C502.511,467.848,489.776,455.114,474.067,455.114z"/>\n </g>\n </svg>\n ',class:"currency-icon-small"},{id:"INR",name:"India Rupee",iconType:"FA",symbol:w.FYJ},{id:"ISK",name:"Iceland Krona",iconType:"SVG",symbol:Nt_DKK,class:"currency-icon-medium"},{id:"JPY",name:"Japan Yen",iconType:"FA",symbol:w.zPk},{id:"KRW",name:"Korea (South) Won",iconType:"FA",symbol:w.JKM},{id:"NZD",name:"New Zealand Dollar",iconType:"FA",symbol:w.Vpi},{id:"PLN",name:"Poland Zloty",iconType:"SVG",symbol:"\n <svg class=\"currency-icon\" version='1.0' xmlns='http://www.w3.org/2000/svg' \n width=\"300px\" height=\"300px\" viewBox='0 0 154.000000 169.000000' preserveAspectRatio='xMidYMid meet'>\n <g transform='translate(0.000000,169.000000) scale(0.100000,-0.100000)' stroke='none'>\n <path d='M1070 1225 l0 -324 -122 -93 c-68 -50 -126 -96 -130 -102 -13 -18 -9\n -54 8 -70 27 -28 59 -17 147 49 48 36 89 65 92 65 3 0 5 -135 5 -300 l0 -300\n 100 0 100 0 0 379 0 379 116 86 c63 48 118 94 121 103 3 8 2 27 -3 42 -7 20\n -17 27 -41 29 -26 3 -46 -8 -106 -52 -41 -31 -77 -56 -80 -56 -4 0 -7 110 -7\n 245 l0 245 -100 0 -100 0 0 -325z'/>\n <path d='M114 1107 c-3 -8 -4 -47 -2 -88 l3 -74 233 -3 c127 -1 232 -5 232 -8\n 0 -3 -20 -29 -44 -57 -24 -29 -139 -176 -255 -327 l-211 -275 0 -62 0 -63 395\n 0 395 0 0 85 0 85 -256 0 c-141 0 -254 3 -252 8 2 4 33 45 70 92 37 47 150\n 193 252 325 l185 240 1 55 c0 31 -5 61 -12 68 -19 19 -727 17 -734 -1z'/>\n </g>\n </svg>\n ",class:"currency-icon-large"},{id:"RON",name:"Romania Leu",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/64526/romania-lei-currency --\x3e\n <svg class="currency-icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 74.19 74.19" style="enable-background:new 0 0 74.19 74.19;" xml:space="preserve"\n >\n <g>\n <path d="M10.052,6.186v60.96c0,0.688-0.559,1.248-1.249,1.248H1.248C0.559,68.394,0,67.834,0,67.146V6.186\n c0-0.689,0.559-1.248,1.248-1.248h7.555C9.493,4.938,10.052,5.496,10.052,6.186z M56.245,44.135c0,1.643-0.093,2.9-0.282,3.852\n c-0.117,0.582-0.629,1.004-1.224,1.004c-0.001,0-0.002,0-0.004,0l-27.798-0.08c0.792,10.729,9.185,11.923,12.862,11.923\n c5.455,0,8.639-0.995,11.035-1.97c0.334-0.137,0.711-0.119,1.032,0.041c0.321,0.164,0.558,0.455,0.647,0.804l1.373,5.323\n c0.151,0.588-0.142,1.199-0.695,1.451c-2.799,1.264-7.574,2.771-14.422,2.771c-13.172,0-21.684-8.714-21.684-22.197\n c0-13.98,8.563-23.744,20.824-23.744C51.443,23.311,56.245,34.529,56.245,44.135z M27.176,40.996h19.242\n c-0.128-1.918-0.689-5.17-2.908-7.429c-1.531-1.56-3.617-2.351-6.201-2.351C31.211,31.217,28.124,36.212,27.176,40.996z\n M67.963,19.197h0.086c3.5,0,6.142-2.64,6.142-6.144c0-3.452-2.603-6.054-6.058-6.054c-3.5,0-6.142,2.602-6.142,6.054\n C61.991,16.557,64.559,19.197,67.963,19.197z M71.911,24.341h-7.555c-0.689,0-1.249,0.56-1.249,1.248v41.557\n c0,0.688,0.559,1.248,1.249,1.248h7.555c0.69,0,1.249-0.56,1.249-1.248V25.589C73.159,24.901,72.602,24.341,71.911,24.341z"/>\n </g>\n </svg>\n ',class:"currency-icon-medium"},{id:"RUB",name:"Russia Ruble",iconType:"FA",symbol:w.f6_},{id:"SEK",name:"Sweden Krona",iconType:"SVG",symbol:Nt_DKK,class:"currency-icon-medium"},{id:"SGD",name:"Singapore Dollar",iconType:"FA",symbol:w.Vpi},{id:"THB",name:"Thailand Baht",iconType:"FA",symbol:w.Kcb},{id:"TRY",name:"Turkey Lira",iconType:"FA",symbol:w.hb3},{id:"TWD",name:"Taiwan New Dollar",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/142061/new-taiwan-dollar --\x3e\n <svg class="currency-icon" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 300 300" style="enable-background:new 0 0 300 300;" xml:space="preserve">\n <g id="XMLID_7_">\n <path id="XMLID_8_" d="M265,90c8.284,0,15-6.716,15-15s-6.716-15-15-15H35c-8.284,0-15,6.716-15,15s6.716,15,15,15h65v115\n c0,35.841-29.159,65-65,65c-8.284,0-15,6.716-15,15s6.716,15,15,15c52.383,0,95-42.617,95-95V90h70v145c0,35.841,29.159,65,65,65\n c8.284,0,15-6.716,15-15s-6.716-15-15-15c-19.299,0-35-15.701-35-35V90H265z"/>\n <path id="XMLID_9_" d="M35,30h230c8.284,0,15-6.716,15-15s-6.716-15-15-15H35c-8.284,0-15,6.716-15,15S26.716,30,35,30z"/>\n </g>\n </svg>\n ',class:"currency-icon-small"}];function Vt(oe){const tt=Et.find($t=>$t.id===oe);return"SVG"===tt.iconType&&"string"==typeof tt.symbol&&(tt.symbol=tt.symbol.replace('<svg class="currency-icon"','<svg class= "currency-icon '+tt.class+'"')),tt}},1534:(Qe,te,g)=>{"use strict";g.d(te,{u:()=>ae});var e=g(1626),t=g(4412),w=g(1413),S=g(8810),l=g(7673),x=g(1594),f=g(1397),I=g(6977),d=g(6354),T=g(9437),y=g(3993),F=g(4416),R=g(2462),z=g(1771),W=g(190),$=g(3536),j=g(9584),Q=g(4438),J=g(9640),ee=g(8570),ie=g(5416),ge=g(177);let ae=(()=>{class Me{constructor(de,D,n,c,m){this.httpClient=de,this.store=D,this.logger=n,this.snackBar=c,this.titleCasePipe=m,this.APIUrl=F.H$,this.lnImplementation="",this.lnImplementationUpdated=new t.t(null),this.unSubs=[new w.B,new w.B,new w.B,new w.B,new w.B,new w.B,new w.B,new w.B,new w.B,new w.B,new w.B,new w.B,new w.B],this.mapAliases=(h,C)=>(h&&h.length>0?h.forEach((k,L)=>{if(C&&C.length>0)for(let _=0;_<C.length;_++){if(C[_].short_channel_id&&C[_].short_channel_id===k.in_channel&&(k.in_channel_alias=C[_].alias?C[_].alias:k.in_channel,k.out_channel_alias)||C[_].short_channel_id&&C[_].short_channel_id?.toString()===k.out_channel&&(k.out_channel_alias=C[_].alias?C[_].alias:k.out_channel,k.in_channel_alias))return;_===C.length-1&&(k.in_channel_alias||(k.in_channel_alias=k.in_channel?k.in_channel:"-"),k.out_channel_alias||(k.out_channel_alias=k.out_channel?k.out_channel:"-"))}else k.in_channel_alias=k.in_channel?k.in_channel:"-",k.out_channel_alias=k.out_channel?k.out_channel:"-"}):h=[],h)}setLnImplementation(de){this.lnImplementation=de.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getRecommendedFeeRates(){return this.httpClient.get(F.rl.CONF_API+"/explorerFeesRecommended")}getBlockExplorerTransaction(de){return this.httpClient.get(F.rl.CONF_API+"/explorerTransaction/"+de)}getFiatRates(){return this.httpClient.get(F.rl.CONF_API+"/rates")}decodePayment(de,D){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(n=>{let c=this.APIUrl+"/"+n+F.rl.PAYMENTS_API+"/decode/"+de,m="GET",h=null;return"cln"===n&&(c=this.APIUrl+"/"+n+F.rl.UTILITY_API+"/decode",h={string:de},m="POST"),this.store.dispatch((0,z.mt)({payload:F.MZ.DECODE_PAYMENT})),this.httpClient.request(m,c,{body:JSON.stringify(h),headers:{"Content-Type":"application/json"}}).pipe((0,I.Q)(this.unSubs[0]),(0,d.T)(C=>(this.store.dispatch((0,z.y0)({payload:F.MZ.DECODE_PAYMENT})),C)),(0,T.W)(C=>(D?this.handleErrorWithoutAlert("Decode Payment",F.MZ.DECODE_PAYMENT,C):this.handleErrorWithAlert("decodePaymentData",F.MZ.DECODE_PAYMENT,"Decode Payment Failed",c,C),(0,S.$)(()=>new Error(this.extractErrorMessage(C))))))}))}decodePayments(de){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(D=>{let n="",c="",m=null;return"ecl"===D?(n=this.APIUrl+"/"+D+F.rl.PAYMENTS_API+"/getsentinfos",m={payments:de},c=F.MZ.GET_SENT_PAYMENTS):"cln"===D?(n=this.APIUrl+"/"+D+F.rl.UTILITY_API+"/decode",m={string:de},c=F.MZ.DECODE_PAYMENTS):(n=this.APIUrl+"/"+D+F.rl.PAYMENTS_API,m={payments:de},c=F.MZ.DECODE_PAYMENTS),this.store.dispatch((0,z.mt)({payload:c})),this.httpClient.post(n,m).pipe((0,I.Q)(this.unSubs[1]),(0,d.T)(h=>(this.store.dispatch((0,z.y0)({payload:c})),h)),(0,T.W)(h=>(this.handleErrorWithAlert("decodePaymentsData",c,c+" Failed",n,h),(0,S.$)(()=>new Error(this.extractErrorMessage(h))))))}))}getAliasesFromPubkeys(de,D){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(n=>{if(D){const c=(new e.Nl).set("pubkeys",de);return this.httpClient.get(this.APIUrl+"/"+n+F.rl.NETWORK_API+"/nodes",{params:c})}return this.httpClient.get(this.APIUrl+"/"+n+F.rl.NETWORK_API+"/node/"+de)}))}signMessage(de){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(D=>{let n=this.APIUrl+"/"+D+F.rl.MESSAGE_API+"/sign";return"cln"===D&&(n=this.APIUrl+"/"+D+F.rl.UTILITY_API+"/sign"),this.store.dispatch((0,z.mt)({payload:F.MZ.SIGN_MESSAGE})),this.httpClient.post(n,{message:de}).pipe((0,I.Q)(this.unSubs[2]),(0,d.T)(c=>(this.store.dispatch((0,z.y0)({payload:F.MZ.SIGN_MESSAGE})),c)),(0,T.W)(c=>(this.handleErrorWithAlert("signMessageData",F.MZ.SIGN_MESSAGE,"Sign Message Failed",n,c),(0,S.$)(()=>new Error(this.extractErrorMessage(c))))))}))}verifyMessage(de,D){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(n=>{let c="",m=null;return"cln"===n?(c=this.APIUrl+"/"+n+F.rl.UTILITY_API+"/verify",m={message:de,zbase:D}):(c=this.APIUrl+"/"+n+F.rl.MESSAGE_API+"/verify",m={message:de,signature:D}),this.store.dispatch((0,z.mt)({payload:F.MZ.VERIFY_MESSAGE})),this.httpClient.post(c,m).pipe((0,I.Q)(this.unSubs[3]),(0,d.T)(h=>(this.store.dispatch((0,z.y0)({payload:F.MZ.VERIFY_MESSAGE})),h)),(0,T.W)(h=>(this.handleErrorWithAlert("verifyMessageData",F.MZ.VERIFY_MESSAGE,"Verify Message Failed",c,h),(0,S.$)(()=>new Error(this.extractErrorMessage(h))))))}))}bumpFee(de,D,n,c){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(m=>{const h={txid:de,outputIndex:D};return n&&(h.targetConf=n),c&&(h.satPerByte=c),this.store.dispatch((0,z.mt)({payload:F.MZ.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+m+F.rl.WALLET_API+"/bumpfee",h).pipe((0,I.Q)(this.unSubs[4]),(0,d.T)(C=>(this.store.dispatch((0,z.y0)({payload:F.MZ.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),C)),(0,T.W)(C=>(this.handleErrorWithoutAlert("Bump Fee",F.MZ.BUMP_FEE,C),(0,S.$)(()=>new Error(this.extractErrorMessage(C))))))}))}labelUTXO(de,D,n=!0){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(c=>{const m={txid:de,label:D,overwrite:n};return this.store.dispatch((0,z.mt)({payload:F.MZ.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+c+F.rl.WALLET_API+"/label",m).pipe((0,I.Q)(this.unSubs[5]),(0,d.T)(h=>(this.store.dispatch((0,z.y0)({payload:F.MZ.LABEL_UTXO})),h)),(0,T.W)(h=>(this.handleErrorWithoutAlert("Label UTXO",F.MZ.LABEL_UTXO,h),(0,S.$)(()=>new Error(this.extractErrorMessage(h))))))}))}leaseUTXO(de,D){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(n=>{const c={txid:de,outputIndex:D};return this.store.dispatch((0,z.mt)({payload:F.MZ.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+n+F.rl.WALLET_API+"/lease",c).pipe((0,I.Q)(this.unSubs[6]),(0,d.T)(m=>{this.store.dispatch((0,z.y0)({payload:F.MZ.LEASE_UTXO})),this.store.dispatch((0,W.mh)()),this.store.dispatch((0,W.SM)());const h=new Date(1e3*m.expiration);return Math.round(h.getTime())-60*h.getTimezoneOffset()}),(0,T.W)(m=>(this.handleErrorWithoutAlert("Lease UTXO",F.MZ.LEASE_UTXO,m),(0,S.$)(()=>new Error(this.extractErrorMessage(m))))))}))}getForwardingHistory(de,D,n,c){if("LND"===de){const m={end_time:n,start_time:D};return this.store.dispatch((0,z.mt)({payload:F.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+F.rl.SWITCH_API,m).pipe((0,I.Q)(this.unSubs[7]),(0,y.E)(this.store.select($.eO)),(0,f.Z)(([h,C])=>{if(h.forwarding_events){const k=[...C.channels,...C.closedChannels];h.forwarding_events.forEach(L=>{if(k&&k.length>0)for(let _=0;_<k.length;_++){if(k[_].chan_id?.toString()===L.chan_id_in&&(L.alias_in=k[_].remote_alias?k[_].remote_alias:L.chan_id_in,L.alias_out)||k[_].chan_id?.toString()===L.chan_id_out&&(L.alias_out=k[_].remote_alias?k[_].remote_alias:L.chan_id_out,L.alias_in))return;_===k.length-1&&(L.alias_in||(L.alias_in=L.chan_id_in),L.alias_out||(L.alias_out=L.chan_id_out))}else L.alias_in=L.chan_id_in,L.alias_out=L.chan_id_out})}else h={};return this.store.dispatch((0,z.y0)({payload:F.MZ.GET_FORWARDING_HISTORY})),(0,l.of)(h)}),(0,T.W)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",F.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+F.rl.SWITCH_API,h),(0,S.$)(()=>new Error(this.extractErrorMessage(h))))))}return"CLN"===de?(this.store.dispatch((0,z.mt)({payload:F.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+F.rl.CHANNELS_API+"/listForwards",{status:c||"settled"}).pipe((0,I.Q)(this.unSubs[8]),(0,y.E)(this.store.select(j.BM)),(0,f.Z)(([m,h])=>{const C=this.mapAliases(m,[...h.activeChannels,...h.pendingChannels,...h.inactiveChannels]);return this.store.dispatch((0,z.y0)({payload:F.MZ.GET_FORWARDING_HISTORY})),(0,l.of)(C)}),(0,T.W)(m=>(this.handleErrorWithAlert("getForwardingHistoryData",F.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+F.rl.CHANNELS_API+"/listForwards",m),(0,S.$)(()=>new Error(this.extractErrorMessage(m))))))):(0,l.of)({})}listNetworkNodes(de){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(D=>(this.store.dispatch((0,z.mt)({payload:F.MZ.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+D+F.rl.NETWORK_API+"/listNodes",de).pipe((0,I.Q)(this.unSubs[9]),(0,f.Z)(n=>(this.store.dispatch((0,z.y0)({payload:F.MZ.LIST_NETWORK_NODES})),(0,l.of)(n))),(0,T.W)(n=>(this.handleErrorWithoutAlert("List Network Nodes",F.MZ.LIST_NETWORK_NODES,n),(0,S.$)(()=>this.extractErrorMessage(n))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(de=>(this.store.dispatch((0,z.mt)({payload:F.MZ.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+de+F.rl.UTILITY_API+"/listConfigs").pipe((0,I.Q)(this.unSubs[10]),(0,f.Z)(D=>(this.store.dispatch((0,z.y0)({payload:F.MZ.GET_LIST_CONFIGS})),(0,l.of)(D))),(0,T.W)(D=>(this.handleErrorWithoutAlert("List Configurations",F.MZ.GET_LIST_CONFIGS,D),(0,S.$)(()=>this.extractErrorMessage(D))))))))}getOrUpdateFunderPolicy(de,D,n,c,m,h){return this.lnImplementationUpdated.pipe((0,x.$)(),(0,f.Z)(C=>{const k=de?{policy:de,policy_mod:D,lease_fee_base_msat:n,lease_fee_basis:c,channel_fee_max_base_msat:m,channel_fee_max_proportional_thousandths:h}:null;return this.store.dispatch((0,z.mt)({payload:F.MZ.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+C+F.rl.CHANNELS_API+"/funderUpdate",k).pipe((0,I.Q)(this.unSubs[11]),(0,d.T)(L=>(this.store.dispatch((0,z.y0)({payload:F.MZ.GET_FUNDER_POLICY})),k&&this.store.dispatch((0,z.UI)({payload:"Funder Policy Updated Successfully with Compact Lease: "+L.compact_lease+"!"})),L)),(0,T.W)(L=>(this.handleErrorWithoutAlert("Funder Policy",F.MZ.GET_FUNDER_POLICY,L),(0,S.$)(()=>new Error(this.extractErrorMessage(L))))))}))}circularRebalance(de,D="",n="",c="",m="",h=[],C="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+F.rl.CHANNELS_API+"/circularRebalance",{amountMsat:de,sourceShortChannelId:D,sourceNodeId:n,targetShortChannelId:c,targetNodeId:m,ignoreNodeIds:h,format:C}).pipe((0,I.Q)(this.unSubs[12]),(0,d.T)(_=>_),(0,T.W)(_=>(this.handleErrorWithoutAlert("Rebalance Channel",F.MZ.REBALANCE_CHANNEL,_),(0,S.$)(()=>_.error))))}extractErrorMessage(de,D="Unknown Error."){return this.titleCasePipe.transform(de.error.text&&"string"==typeof de.error.text&&de.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":de.error&&de.error.error&&de.error.error.error&&de.error.error.error.error&&de.error.error.error.error.error&&"string"==typeof de.error.error.error.error.error?de.error.error.error.error.error:de.error&&de.error.error&&de.error.error.error&&de.error.error.error.error&&"string"==typeof de.error.error.error.error?de.error.error.error.error:de.error&&de.error.error&&de.error.error.error&&"string"==typeof de.error.error.error?de.error.error.error:de.error&&de.error.error&&"string"==typeof de.error.error?de.error.error:de.error&&"string"==typeof de.error?de.error:de.error&&de.error.error&&de.error.error.error&&de.error.error.error.error&&de.error.error.error.error.message&&"string"==typeof de.error.error.error.error.message?de.error.error.error.error.message:de.error&&de.error.error&&de.error.error.error&&de.error.error.error.message&&"string"==typeof de.error.error.error.message?de.error.error.error.message:de.error&&de.error.error&&de.error.error.message&&"string"==typeof de.error.error.message?de.error.error.message:de.error&&de.error.message&&"string"==typeof de.error.message?de.error.message:de.message&&"string"==typeof de.message?de.message:D)}handleErrorWithoutAlert(de,D,n){n.error.text&&"string"==typeof n.error.text&&n.error.text.includes('<!DOCTYPE html><html lang="en">')&&(n={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+de+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,z.Jh)()),this.store.dispatch((0,z.ri)({payload:"Authentication Failed: "+JSON.stringify(n.error)}))):(this.store.dispatch((0,z.y0)({payload:D})),this.store.dispatch((0,z.Gd)({payload:{action:de,status:F.wn.ERROR,statusCode:n.status.toString(),message:this.extractErrorMessage(n)}})))}handleErrorWithAlert(de,D,n,c,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,z.Jh)()),this.store.dispatch((0,z.ri)({payload:"Authentication Failed: "+JSON.stringify(m.error)}));else{this.store.dispatch((0,z.y0)({payload:D}));const h=this.extractErrorMessage(m);this.store.dispatch((0,z.xO)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:m.status?m.status:"Unknown Error",message:h,URL:c},component:R.f}}})),this.store.dispatch((0,z.Gd)({payload:{action:de,status:F.wn.ERROR,statusCode:m.status.toString(),message:h,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(de=>{de.next(null),de.complete()})}static#e=this.\u0275fac=function(D){return new(D||Me)(Q.KVO(e.Qq),Q.KVO(J.il),Q.KVO(ee.gP),Q.KVO(ie.UG),Q.KVO(ge.PV))};static#t=this.\u0275prov=Q.jDH({token:Me,factory:Me.\u0275fac})}return Me})()},8570:(Qe,te,g)=>{"use strict";g.d(te,{gP:()=>l,tU:()=>x});var e=g(4438);const t=(0,e.naY)(),w=()=>null;let l=(()=>{class f{invokeConsoleMethod(d,T){}static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275prov=e.jDH({token:f,factory:f.\u0275fac})}return f})(),x=(()=>{class f{get info(){return t?console.log.bind(console):w}get warn(){return t?console.warn.bind(console):w}get error(){return t?console.error.bind(console):w}invokeConsoleMethod(d,T){(console[d]||console.log||w).apply(console,[T])}static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275prov=e.jDH({token:f,factory:f.\u0275fac})}return f})()},4104:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>$});var e=g(1626),t=g(4412),w=g(1413),S=g(7673),l=g(8810),x=g(6977),f=g(9437),I=g(6354),d=g(4416),T=g(2462),y=g(1771),F=g(4438),R=g(8570),z=g(9640),W=g(2571);let $=(()=>{class j{constructor(J,ee,ie,ge){this.httpClient=J,this.logger=ee,this.store=ie,this.commonService=ge,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.t([]),this.unSubs=[new w.B,new w.B,new w.B,new w.B,new w.B,new w.B,new w.B]}getLoopInfo(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,y.mt)({payload:d.MZ.GET_LOOP_SWAPS})),this.loopUrl=d.H$+d.rl.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,x.Q)(this.unSubs[0])).subscribe({next:J=>{this.store.dispatch((0,y.y0)({payload:d.MZ.GET_LOOP_SWAPS})),this.swaps=J,this.swapsChanged.next(this.swaps)},error:J=>this.swapsChanged.error(this.handleErrorWithAlert(d.MZ.GET_LOOP_SWAPS,this.loopUrl,J))})}loopOut(J,ee,ie,ge,ae,Me,Te,de,D,n){const c={amount:J,targetConf:ie,swapRoutingFee:ge,minerFee:ae,prepayRoutingFee:Me,prepayAmt:Te,swapFee:de,swapPublicationDeadline:D,destAddress:n};return""!==ee&&(c.chanId=ee),this.loopUrl=d.H$+d.rl.LOOP_API+"/out",this.httpClient.post(this.loopUrl,c).pipe((0,f.W)(m=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ee,d.MZ.NO_SPINNER,m)))}getLoopOutTerms(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,f.W)(J=>this.handleErrorWithoutAlert("Loop Out Terms",d.MZ.NO_SPINNER,J)))}getLoopOutQuote(J,ee,ie){let ge=new e.Nl;return ge=ge.append("targetConf",ee.toString()),ge=ge.append("swapPublicationDeadline",ie.toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/out/quote/"+J,this.store.dispatch((0,y.mt)({payload:d.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ge}).pipe((0,x.Q)(this.unSubs[1]),(0,I.T)(ae=>(this.store.dispatch((0,y.y0)({payload:d.MZ.GET_QUOTE})),ae)),(0,f.W)(ae=>this.handleErrorWithoutAlert("Loop Out Quote",d.MZ.GET_QUOTE,ae)))}getLoopOutTermsAndQuotes(J){let ee=new e.Nl;return ee=ee.append("targetConf",J.toString()),ee=ee.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,y.mt)({payload:d.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ee}).pipe((0,x.Q)(this.unSubs[2]),(0,I.T)(ie=>(this.store.dispatch((0,y.y0)({payload:d.MZ.GET_TERMS_QUOTES})),ie)),(0,f.W)(ie=>(0,S.of)(this.handleErrorWithAlert(d.MZ.GET_TERMS_QUOTES,this.loopUrl,ie))))}loopIn(J,ee,ie,ge,ae){const Me={amount:J,swapFee:ee,minerFee:ie,lastHop:ge,externalHtlc:ae};return this.loopUrl=d.H$+d.rl.LOOP_API+"/in",this.httpClient.post(this.loopUrl,Me).pipe((0,f.W)(Te=>this.handleErrorWithoutAlert("Loop In",d.MZ.NO_SPINNER,Te)))}getLoopInTerms(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,f.W)(J=>this.handleErrorWithoutAlert("Loop In Terms",d.MZ.NO_SPINNER,J)))}getLoopInQuote(J,ee,ie){let ge=new e.Nl;return ge=ge.append("targetConf",ee.toString()),ge=ge.append("swapPublicationDeadline",ie.toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/in/quote/"+J,this.store.dispatch((0,y.mt)({payload:d.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ge}).pipe((0,x.Q)(this.unSubs[3]),(0,I.T)(ae=>(this.store.dispatch((0,y.y0)({payload:d.MZ.GET_QUOTE})),ae)),(0,f.W)(ae=>this.handleErrorWithoutAlert("Loop In Qoute",d.MZ.GET_QUOTE,ae)))}getLoopInTermsAndQuotes(J){let ee=new e.Nl;return ee=ee.append("targetConf",J.toString()),ee=ee.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,y.mt)({payload:d.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ee}).pipe((0,x.Q)(this.unSubs[4]),(0,I.T)(ie=>(this.store.dispatch((0,y.y0)({payload:d.MZ.GET_TERMS_QUOTES})),ie)),(0,f.W)(ie=>(0,S.of)(this.handleErrorWithAlert(d.MZ.GET_TERMS_QUOTES,this.loopUrl,ie))))}getSwap(J){return this.loopUrl=d.H$+d.rl.LOOP_API+"/swap/"+J,this.httpClient.get(this.loopUrl).pipe((0,f.W)(ee=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+J,d.MZ.NO_SPINNER,ee)))}handleErrorWithoutAlert(J,ee,ie){let ge="";return this.logger.error("ERROR IN: "+J+"\n"+JSON.stringify(ie)),this.store.dispatch((0,y.y0)({payload:ee})),401===ie.status?(ge="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.ri)({payload:ge}))):503===ie.status?(ge="Unable to Connect to Loop Server.",this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ie.status,message:"Unable to Connect to Loop Server",URL:J},component:T.f}}}))):ge=this.commonService.extractErrorMessage(ie),(0,l.$)(()=>new Error(ge))}handleErrorWithAlert(J,ee,ie){let ge="";if(this.logger.error(ie),this.store.dispatch((0,y.y0)({payload:J})),401===ie.status)ge="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,y.ri)({payload:ge}));else if(503===ie.status)ge="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ie.status,message:"Unable to Connect to Loop Server",URL:ee},component:T.f}}}))},100);else{ge=this.commonService.extractErrorMessage(ie);const ae=ie.error&&ie.error.error&&ie.error.error.code?ie.error.error.code:ie.error&&ie.error.code?ie.error.code:ie.code?ie.code:ie.status;setTimeout(()=>{this.store.dispatch((0,y.xO)({payload:{data:{type:d.A$.ERROR,alertTitle:"ERROR",message:{code:ae,message:ge,URL:ee},component:T.f}}}))},100)}return{message:ge}}ngOnDestroy(){this.unSubs.forEach(J=>{J.next(null),J.complete()})}static#e=this.\u0275fac=function(ee){return new(ee||j)(F.KVO(e.Qq),F.KVO(R.gP),F.KVO(z.il),F.KVO(W.h))};static#t=this.\u0275prov=F.jDH({token:j,factory:j.\u0275fac})}return j})()},3202:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>w});var e=g(1413),t=g(4438);let w=(()=>{class S{constructor(){this.sessionSub=new e.B}watchSession(){return this.sessionSub.asObservable()}getItem(x){return sessionStorage.getItem(x)}getAllItems(){return sessionStorage}setItem(x,f){sessionStorage.setItem(x,f),this.sessionSub.next(sessionStorage)}removeItem(x){sessionStorage.removeItem(x),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=this.\u0275fac=function(f){return new(f||S)};static#t=this.\u0275prov=t.jDH({token:S,factory:S.\u0275fac})}return S})()},7879:(Qe,te,g)=>{"use strict";g.d(te,{I:()=>z});var e=g(4412),t=g(1413),w=g(6977),S=g(7707),l=g(1985),x=g(8359),f=g(2771);const I={url:"",deserializer:W=>JSON.parse(W.data),serializer:W=>JSON.stringify(W)};class T extends t.k{constructor($,j){if(super(),this._socket=null,$ instanceof l.c)this.destination=j,this.source=$;else{const Q=this._config=Object.assign({},I);if(this._output=new t.B,"string"==typeof $)Q.url=$;else for(const J in $)$.hasOwnProperty(J)&&(Q[J]=$[J]);if(!Q.WebSocketCtor&&WebSocket)Q.WebSocketCtor=WebSocket;else if(!Q.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new f.m}}lift($){const j=new T(this._config,this.destination);return j.operator=$,j.source=this,j}_resetState(){this._socket=null,this.source||(this.destination=new f.m),this._output=new t.B}multiplex($,j,Q){const J=this;return new l.c(ee=>{try{J.next($())}catch(ge){ee.error(ge)}const ie=J.subscribe({next:ge=>{try{Q(ge)&&ee.next(ge)}catch(ae){ee.error(ae)}},error:ge=>ee.error(ge),complete:()=>ee.complete()});return()=>{try{J.next(j())}catch(ge){ee.error(ge)}ie.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:$,protocol:j,url:Q,binaryType:J}=this._config,ee=this._output;let ie=null;try{ie=j?new $(Q,j):new $(Q),this._socket=ie,J&&(this._socket.binaryType=J)}catch(ae){return void ee.error(ae)}const ge=new x.yU(()=>{this._socket=null,ie&&1===ie.readyState&&ie.close()});ie.onopen=ae=>{const{_socket:Me}=this;if(!Me)return ie.close(),void this._resetState();const{openObserver:Te}=this._config;Te&&Te.next(ae);const de=this.destination;this.destination=S.vU.create(D=>{if(1===ie.readyState)try{const{serializer:n}=this._config;ie.send(n(D))}catch(n){this.destination.error(n)}},D=>{const{closingObserver:n}=this._config;n&&n.next(void 0),D&&D.code?ie.close(D.code,D.reason):ee.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:D}=this._config;D&&D.next(void 0),ie.close(),this._resetState()}),de&&de instanceof f.m&&ge.add(de.subscribe(this.destination))},ie.onerror=ae=>{this._resetState(),ee.error(ae)},ie.onclose=ae=>{ie===this._socket&&this._resetState();const{closeObserver:Me}=this._config;Me&&Me.next(ae),ae.wasClean?ee.complete():ee.error(ae)},ie.onmessage=ae=>{try{const{deserializer:Me}=this._config;ee.next(Me(ae))}catch(Me){ee.error(Me)}}}_subscribe($){const{source:j}=this;return j?j.subscribe($):(this._socket||this._connectSocket(),this._output.subscribe($),$.add(()=>{const{_socket:Q}=this;0===this._output.observers.length&&(Q&&(1===Q.readyState||0===Q.readyState)&&Q.close(),this._resetState())}),$)}unsubscribe(){const{_socket:$}=this;$&&(1===$.readyState||0===$.readyState)&&$.close(),this._resetState(),super.unsubscribe()}}var y=g(4438),F=g(8570),R=g(3202);let z=(()=>{class W{constructor(j,Q){this.logger=j,this.sessionService=Q,this.clWSMessages=new e.t(null),this.eclWSMessages=new e.t(null),this.lndWSMessages=new e.t(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B]}connectWebSocket(j,Q){(!this.socket||this.socket.closed)&&(this.wsUrl=j,this.nodeIndex=Q,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new T({url:j,protocol:[this.sessionService.getItem("token")||"",Q]}),this.subscribeToMessages())}reconnectOnError(){this.RECONNECT_TIMEOUT||this.socket&&!this.socket.closed||(this.RETRY_SECONDS=this.RETRY_SECONDS>=160?160:2*this.RETRY_SECONDS,this.RECONNECT_TIMEOUT=setTimeout(()=>{this.logger.info("Reconnecting Web Socket."),this.connectWebSocket(this.wsUrl,this.nodeIndex),this.RECONNECT_TIMEOUT=null},1e3*this.RETRY_SECONDS))}closeConnection(){this.socket&&(this.socket.complete(),this.socket=null)}subscribeToMessages(){this.socket?.pipe((0,w.Q)(this.unSubs[1])).subscribe({next:j=>{if((j="string"==typeof j?JSON.parse(j):j).error)this.handleError(j.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(j)),j.source){case"LND":this.lndWSMessages.next(j);break;case"CLN":this.clWSMessages.next(j);break;case"ECL":this.eclWSMessages.next(j)}},error:j=>this.handleError(j),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(j){this.logger.error(j),this.clWSMessages.error(j),this.eclWSMessages.error(j),this.lndWSMessages.error(j),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static#e=this.\u0275fac=function(Q){return new(Q||W)(y.KVO(F.gP),y.KVO(R.Q))};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac})}return W})()},9029:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>as});var e=g(177),t=g(1188),w=g(9417),S=g(1626),l=g(60),x=g(4438),f=g(9340),I=g(6038),d=g(2920);g(4085);let ct=(()=>{class Ft{}return Ft.\u0275fac=function(xt){return new(xt||Ft)},Ft.\u0275mod=x.$C({type:Ft}),Ft.\u0275inj=x.G2t({imports:[f.Ui]}),Ft})(),Ut=(()=>{class Ft{constructor(xt,ai){(0,e.Vy)(ai)&&!xt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(xt,ai=[]){return{ngModule:Ft,providers:xt.serverLoaded?[{provide:f.EA,useValue:{...f.PV,...xt}},{provide:f.SL,useValue:ai,multi:!0},{provide:f.Ce,useValue:!0}]:[{provide:f.EA,useValue:{...f.PV,...xt}},{provide:f.SL,useValue:ai,multi:!0}]}}}return Ft.\u0275fac=function(xt){return new(xt||Ft)(x.KVO(f.Ce),x.KVO(x.Agw))},Ft.\u0275mod=x.$C({type:Ft}),Ft.\u0275inj=x.G2t({imports:[d.w2,I.Cc,ct,d.w2,I.Cc,ct]}),Ft})();var xi=g(9327),Si=g(6600),zi=g(5351),en=g(850),Ni=g(1975),fn=g(8834),Zt=g(8617);g(5024);const re=["button"],je=["*"];function Ce(Ft,ri){if(1&Ft&&x.nrm(0,"mat-pseudo-checkbox",3),2&Ft){const xt=x.XpG();x.Y8G("disabled",xt.disabled)}}function ot(Ft,ri){if(1&Ft&&x.nrm(0,"mat-pseudo-checkbox",3),2&Ft){const xt=x.XpG();x.Y8G("disabled",xt.disabled)}}const ut=new x.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function ii(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1}}}),si=new x.nKC("MatButtonToggleGroup");let mn=0;class Fn{constructor(ri,xt){this.source=ri,this.value=xt}}let Yn=(()=>{class Ft{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(xt){this._appearance=xt}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(xt){xt!==this._checked&&(this._checked=xt,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(xt){this._disabled=xt}constructor(xt,ai,Ei,Ki,tr,Or){this._changeDetectorRef=ai,this._elementRef=Ei,this._focusMonitor=Ki,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new x.bkB;const Fr=Number(tr);this.tabIndex=Fr||0===Fr?Fr:null,this.buttonToggleGroup=xt,this.appearance=Or&&Or.appearance?Or.appearance:"standard"}ngOnInit(){const xt=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+mn++,xt&&(xt._isPrechecked(this)?this.checked=!0:xt._isSelected(this)!==this._checked&&xt._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const xt=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),xt&&xt._isSelected(this)&&xt._syncButtonToggle(this,!1,!1,!0)}focus(xt){this._buttonElement.nativeElement.focus(xt)}_onButtonClick(){const xt=!!this._isSingleSelector()||!this._checked;xt!==this._checked&&(this._checked=xt,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new Fn(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static#e=this.\u0275fac=function(ai){return new(ai||Ft)(x.rXU(si,8),x.rXU(x.gRc),x.rXU(x.aKT),x.rXU(Zt.FN),x.kS0("tabindex"),x.rXU(ut,8))};static#t=this.\u0275cmp=x.VBU({type:Ft,selectors:[["mat-button-toggle"]],viewQuery:function(ai,Ei){if(1&ai&&x.GBs(re,5),2&ai){let Ki;x.mGM(Ki=x.lsd())&&(Ei._buttonElement=Ki.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(ai,Ei){1&ai&&x.bIt("focus",function(){return Ei.focus()}),2&ai&&(x.BMQ("aria-label",null)("aria-labelledby",null)("id",Ei.id)("name",null),x.AVh("mat-button-toggle-standalone",!Ei.buttonToggleGroup)("mat-button-toggle-checked",Ei.checked)("mat-button-toggle-disabled",Ei.disabled)("mat-button-toggle-appearance-standard","standard"===Ei.appearance))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",x.L39],appearance:"appearance",checked:[2,"checked","checked",x.L39],disabled:[2,"disabled","disabled",x.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[x.GFd,x.aNF],ngContentSelectors:je,decls:8,vars:11,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(ai,Ei){if(1&ai){const Ki=x.RV6();x.NAR(),x.j41(0,"button",1,0),x.bIt("click",function(){return x.eBV(Ki),x.Njj(Ei._onButtonClick())}),x.j41(2,"span",2),x.DNE(3,Ce,1,1,"mat-pseudo-checkbox",3)(4,ot,1,1,"mat-pseudo-checkbox",3),x.SdG(5),x.k0s()(),x.nrm(6,"span",4)(7,"span",5)}if(2&ai){const Ki=x.sdS(1);x.Y8G("id",Ei.buttonId)("disabled",Ei.disabled||null),x.BMQ("tabindex",Ei.disabled?-1:Ei.tabIndex)("aria-pressed",Ei.checked)("name",Ei._getButtonName())("aria-label",Ei.ariaLabel)("aria-labelledby",Ei.ariaLabelledby),x.R7$(3),x.vxM(Ei.buttonToggleGroup&&Ei.checked&&!Ei.buttonToggleGroup.multiple&&!Ei.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),x.R7$(),x.vxM(Ei.buttonToggleGroup&&Ei.checked&&Ei.buttonToggleGroup.multiple&&!Ei.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),x.R7$(3),x.Y8G("matRippleTrigger",Ki)("matRippleDisabled",Ei.disableRipple||Ei.disabled)}},dependencies:[Si.r6,Si.wg],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-standard-button-toggle-selected-state-text-color )}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-legacy-button-toggle-selected-state-text-color )}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-legacy-button-toggle-disabled-state-text-color )}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-standard-button-toggle-disabled-selected-state-text-color )}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape);border-bottom-right-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape);border-bottom-left-radius:var(--mat-standard-button-toggle-shape)}"],encapsulation:2,changeDetection:0})}return Ft})(),Qn=(()=>{class Ft{static#e=this.\u0275fac=function(ai){return new(ai||Ft)};static#t=this.\u0275mod=x.$C({type:Ft});static#i=this.\u0275inj=x.G2t({imports:[Si.yE,Si.pZ,Yn,Si.yE]})}return Ft})();var rr=g(5596),Rn=g(2765),_i=g(5084),Oi=g(9454),jt=g(6195),Ci=g(9213),hi=g(9631),yi=g(3902),Vi=g(9115),ji=g(6695),rn=g(7575),ar=g(9183),sr=g(5951),nr=g(2798),or=g(882),Xr=g(450),Sr=g(6860);g(1413);let kr=(()=>{class Ft{static#e=this.\u0275fac=function(ai){return new(ai||Ft)};static#t=this.\u0275mod=x.$C({type:Ft});static#i=this.\u0275inj=x.G2t({imports:[Si.yE,Si.pZ]})}return Ft})();var ha=g(5416),Br=g(2042),Ua=g(6013),rs=g(9159),Ga=g(6850),Na=g(5911),ja=g(4823),Bo=g(7358),Uo=g(6471),uo=g(6064),ga=g(8288),Za=g(497),Lr=g(6969);let _a=(()=>{class Ft extends Lr.Sf{constructor(xt,ai){super(xt,ai)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ai){return new(ai||Ft)(x.rXU(e.qQ),x.rXU(Sr.OD))};static#t=this.\u0275dir=x.FsC({type:Ft,features:[x.Vt3]})}return Ft})();var Oo=g(8570),qr=g(4416),Bn=g(2929);const Da={suppressScrollX:!1,suppressScrollY:!1};let Go=(()=>{class Ft extends Si.xW{constructor(xt){super(xt)}format(xt,ai){if("input"===ai){let Ei=xt.getDate().toString();return Ei=+Ei<10?"0"+Ei:Ei,Ei+"/"+qr.KR[xt.getMonth()].name.toUpperCase()+"/"+xt.getFullYear()}return qr.KR[xt.getMonth()].name.toUpperCase()+" "+xt.getFullYear()}static#e=this.\u0275fac=function(ai){return new(ai||Ft)(x.KVO(Si.Ju,8))};static#t=this.\u0275prov=x.jDH({token:Ft,factory:Ft.\u0275fac})}return Ft})();const Wa={parse:{dateInput:{day:"numeric",month:"short",year:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric"},dateA11yLabel:{day:"numeric",month:"short",year:"numeric"},monthYearA11yLabel:{month:"short",year:"numeric"}}};let as=(()=>{class Ft{static#e=this.\u0275fac=function(ai){return new(ai||Ft)};static#t=this.\u0275mod=x.$C({type:Ft});static#i=this.\u0275inj=x.G2t({providers:[{provide:Oo.gP,useClass:Oo.tU},{provide:Za.kU,useValue:Da},{provide:ha.x6,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:zi.di,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Si.MJ,useClass:Go},{provide:Si.de,useValue:Wa},{provide:Lr.Sf,useClass:_a},e.QX,e.PV,e.vh,Bn.gZ,Bn.ZE,Bn.VD,Bn.Qu],imports:[e.MD,w.YN,w.X1,l.dX,Ut,xi.RH,zi.hM,fn.Hl,Qn,rr.Hu,Rn.g7,Oi.MY,jt.Fe,_i.X6,Si.WX,Ci.m_,hi.fS,yi.Fg,Vi.Cn,rn.PO,ar.D6,sr.Wk,Bo.jH,Uo.YN,nr.Ve,or.vg,Xr.mV,Br.NQ,rs.tP,Na.s5,ja.uc,Ni.Y,ji.Ou,Ua.aP,kr,Ga.RI,ha._T,en.jL,uo.dV,ga.XK,t.iI,S.q1,Za.U$,w.YN,w.X1,l.dX,Ut,xi.RH,zi.hM,fn.Hl,Qn,rr.Hu,Rn.g7,Oi.MY,jt.Fe,_i.X6,Si.WX,Ci.m_,hi.fS,yi.Fg,Vi.Cn,rn.PO,ar.D6,sr.Wk,Bo.jH,Uo.YN,nr.Ve,or.vg,Xr.mV,Br.NQ,rs.tP,Na.s5,ja.uc,Ni.Y,ji.Ou,Ua.aP,kr,Ga.RI,ha._T,en.jL,uo.dV,ga.XK,Za.U$]})}return Ft})()},1771:(Qe,te,g)=>{"use strict";g.d(te,{Dz:()=>W,Fl:()=>Me,Gd:()=>l,I1:()=>F,IK:()=>J,Jh:()=>x,My:()=>S,NU:()=>Q,Np:()=>ge,OP:()=>z,Qi:()=>ee,R$:()=>y,T$:()=>ie,Tn:()=>j,UI:()=>f,iD:()=>m,mt:()=>I,oz:()=>n,rc:()=>ae,ri:()=>Te,t2:()=>C,uP:()=>R,xO:()=>T,xw:()=>de,y0:()=>d});var e=g(9640),t=g(4416);(0,e.VP)(t.aU.VOID);const S=(0,e.VP)(t.aU.SET_API_URL_ECL,(0,e.xk)()),l=(0,e.VP)(t.aU.UPDATE_API_CALL_STATUS_ROOT,(0,e.xk)()),x=(0,e.VP)(t.aU.CLOSE_ALL_DIALOGS),f=(0,e.VP)(t.aU.OPEN_SNACK_BAR,(0,e.xk)()),I=(0,e.VP)(t.aU.OPEN_SPINNER,(0,e.xk)()),d=(0,e.VP)(t.aU.CLOSE_SPINNER,(0,e.xk)()),T=(0,e.VP)(t.aU.OPEN_ALERT,(0,e.xk)()),y=(0,e.VP)(t.aU.CLOSE_ALERT,(0,e.xk)()),F=(0,e.VP)(t.aU.OPEN_CONFIRMATION,(0,e.xk)()),R=(0,e.VP)(t.aU.CLOSE_CONFIRMATION,(0,e.xk)()),z=(0,e.VP)(t.aU.SHOW_PUBKEY),W=(0,e.VP)(t.aU.FETCH_CONFIG,(0,e.xk)()),j=((0,e.VP)(t.aU.SHOW_CONFIG,(0,e.xk)()),(0,e.VP)(t.aU.RESET_ROOT_STORE,(0,e.xk)())),Q=(0,e.VP)(t.aU.FETCH_APPLICATION_SETTINGS),J=(0,e.VP)(t.aU.SET_APPLICATION_SETTINGS,(0,e.xk)()),ee=(0,e.VP)(t.aU.SET_SELECTED_NODE,(0,e.xk)()),ie=(0,e.VP)(t.aU.UPDATE_NODE_SETTINGS,(0,e.xk)()),ge=(0,e.VP)(t.aU.SET_SELECTED_NODE_SETTINGS,(0,e.xk)()),ae=(0,e.VP)(t.aU.UPDATE_APPLICATION_SETTINGS,(0,e.xk)()),Me=(0,e.VP)(t.aU.SET_NODE_DATA,(0,e.xk)()),Te=(0,e.VP)(t.aU.LOGOUT,(0,e.xk)()),de=(0,e.VP)(t.aU.RESET_PASSWORD,(0,e.xk)()),n=((0,e.VP)(t.aU.RESET_PASSWORD_RES,(0,e.xk)()),(0,e.VP)(t.aU.IS_AUTHORIZED,(0,e.xk)())),m=((0,e.VP)(t.aU.IS_AUTHORIZED_RES,(0,e.xk)()),(0,e.VP)(t.aU.LOGIN,(0,e.xk)())),C=((0,e.VP)(t.aU.VERIFY_TWO_FA,(0,e.xk)()),(0,e.VP)(t.aU.FETCH_FILE,(0,e.xk)()));(0,e.VP)(t.aU.SHOW_FILE,(0,e.xk)())},7541:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>je});var e=g(4438),t=g(4054),w=g(1413),S=g(7673),l=g(6354),x=g(6697),f=g(3993),I=g(1397),d=g(9437),T=g(6977),y=g(4416),F=g(5351),R=g(2920),z=g(9183);let W=(()=>{class Ce{constructor(ut,ii){this.dialogRef=ut,this.data=ii}static#e=this.\u0275fac=function(ii){return new(ii||Ce)(e.rXU(F.CP),e.rXU(F.Vh))};static#t=this.\u0275cmp=e.VBU({type:Ce,selectors:[["rtl-spinner-dialog"]],decls:4,vars:1,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"spinner-container"],["color","primary","mode","indeterminate",1,"modal-spinner-message"]],template:function(ii,si){1&ii&&(e.j41(0,"div",0),e.nrm(1,"mat-progress-spinner",1),e.j41(2,"h2"),e.EFF(3),e.k0s()()),2&ii&&(e.R7$(3),e.JRh(si.data.titleMessage))},dependencies:[R.DJ,R.sA,z.LG],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]})}return Ce})();var $=g(5383),j=g(9647),Q=g(8570),J=g(5416),ee=g(2571),ie=g(1188),ge=g(9640),ae=g(177),Me=g(60),Te=g(6038),de=g(8834),D=g(5596),n=g(9213),c=g(1997),m=g(4823),h=g(8288),C=g(497),k=g(9157),L=g(9587);const _=["scrollContainer"],r=Ce=>({"display-none":Ce}),v=Ce=>({"h-40":Ce}),V=Ce=>({"failed-status":Ce});function N(Ce,ot){if(1&Ce&&e.nrm(0,"qr-code",19),2&Ce){const ut=e.XpG();e.Y8G("value",ut.showQRField)("size",200)("errorCorrectionLevel","L")}}function ne(Ce,ot){1&Ce&&e.eu8(0)}function Ee(Ce,ot){if(1&Ce&&(e.qex(0),e.j41(1,"mat-card-content",20,1),e.DNE(3,ne,1,0,"ng-container",21),e.k0s(),e.bVm()),2&Ce){const ut=e.XpG(),ii=e.sdS(20);e.R7$(),e.Y8G("ngClass",e.eq3(2,v,ut.data.scrollable)),e.R7$(2),e.Y8G("ngTemplateOutlet",ii)}}function ze(Ce,ot){1&Ce&&e.eu8(0)}function qe(Ce,ot){if(1&Ce&&(e.qex(0),e.j41(1,"mat-card-content",22),e.DNE(2,ze,1,0,"ng-container",21),e.k0s(),e.bVm()),2&Ce){e.XpG();const ut=e.sdS(20);e.R7$(2),e.Y8G("ngTemplateOutlet",ut)}}function Ke(Ce,ot){1&Ce&&(e.j41(0,"mat-icon",26),e.EFF(1,"arrow_downward"),e.k0s())}function se(Ce,ot){1&Ce&&(e.j41(0,"mat-icon",26),e.EFF(1,"arrow_upward"),e.k0s())}function X(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"div",23)(1,"button",24),e.bIt("click",function(){e.eBV(ut);const si=e.XpG();return e.Njj(si.onScroll())}),e.DNE(2,Ke,2,0,"mat-icon",25)(3,se,2,0,"mat-icon",25),e.k0s()()}if(2&Ce){const ut=e.XpG();e.R7$(2),e.Y8G("ngIf","DOWN"===ut.scrollDirection),e.R7$(),e.Y8G("ngIf","UP"===ut.scrollDirection)}}function me(Ce,ot){1&Ce&&(e.j41(0,"button",27),e.EFF(1,"OK"),e.k0s()),2&Ce&&e.Y8G("mat-dialog-close",!1)}function ce(Ce,ot){1&Ce&&(e.j41(0,"button",28),e.EFF(1,"Close"),e.k0s()),2&Ce&&e.Y8G("mat-dialog-close",!1)}function fe(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"button",29),e.bIt("copied",function(si){e.eBV(ut);const Pi=e.XpG();return e.Njj(Pi.onCopyField(si))}),e.EFF(1),e.k0s()}if(2&Ce){const ut=e.XpG();e.Y8G("payload",ut.showCopyField),e.R7$(),e.SpI("Copy ",ut.showCopyName,"")}}function ke(Ce,ot){1&Ce&&(e.j41(0,"button",28),e.EFF(1,"Close"),e.k0s()),2&Ce&&e.Y8G("mat-dialog-close",!1)}function mt(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"button",29),e.bIt("copied",function(si){e.eBV(ut);const Pi=e.XpG();return e.Njj(Pi.onCopyField(si))}),e.EFF(1),e.k0s()}if(2&Ce){const ut=e.XpG();e.Y8G("payload",ut.showQRField),e.R7$(),e.SpI("Copy ",ut.showQRName,"")}}function _e(Ce,ot){if(1&Ce&&e.nrm(0,"qr-code",19),2&Ce){const ut=e.XpG(2);e.Y8G("value",ut.showQRField)("size",200)("errorCorrectionLevel","L")}}function be(Ce,ot){if(1&Ce&&(e.j41(0,"p",35),e.EFF(1),e.k0s()),2&Ce){const ut=e.XpG(2);e.R7$(),e.JRh(ut.data.titleMessage)}}function pe(Ce,ot){1&Ce&&e.nrm(0,"span",49),2&Ce&&e.Y8G("innerHTML",ot.$implicit,e.npT)}function Ze(Ce,ot){if(1&Ce&&(e.qex(0),e.DNE(1,pe,1,1,"span",48),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngForOf",ut.value)}}function _t(Ce,ot){if(1&Ce&&(e.qex(0),e.EFF(1),e.nI1(2,"date"),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,1e3*ut.value,"dd/MMM/y HH:mm"))}}function at(Ce,ot){if(1&Ce&&(e.qex(0),e.EFF(1),e.nI1(2,"number"),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,ut.value,ut.digitsInfo?ut.digitsInfo:"1.0-3"))}}function pt(Ce,ot){if(1&Ce&&(e.qex(0),e.EFF(1),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.JRh(ut.value?"True":"False")}}function Xt(Ce,ot){1&Ce&&(e.j41(0,"mat-icon",53),e.EFF(1,"info"),e.k0s())}function ye(Ce,ot){if(1&Ce&&(e.j41(0,"p",51),e.EFF(1),e.DNE(2,Xt,2,0,"mat-icon",52),e.k0s()),2&Ce){const ut=e.XpG(3).$implicit,ii=e.XpG(4);e.Y8G("ngClass",e.eq3(3,V,ut.value===ii.LoopStateEnum.FAILED)),e.R7$(),e.SpI(" ",ut.value," "),e.R7$(),e.Y8G("ngIf",ut.value===ii.LoopStateEnum.FAILED)}}function ue(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"p",55),e.bIt("click",function(){e.eBV(ut);const si=e.XpG(8);return e.Njj(si.onGoToLink())}),e.EFF(1),e.k0s()}if(2&Ce){const ut=e.XpG(4).$implicit,ii=e.XpG(4);e.FS9("matTooltip","Go To "+ii.goToName),e.R7$(),e.SpI(" ",ut.value," ")}}function Ie(Ce,ot){if(1&Ce&&e.EFF(0),2&Ce){const ut=e.XpG(4).$implicit;e.SpI(" ",ut.value," ")}}function He(Ce,ot){if(1&Ce&&e.DNE(0,ue,2,2,"p",54)(1,Ie,1,1,"ng-template",null,4,e.C5r),2&Ce){const ut=e.sdS(2),ii=e.XpG(3).$implicit,si=e.XpG(4);e.Y8G("ngIf",ii.value===si.goToFieldValue)("ngIfElse",ut)}}function Xe(Ce,ot){if(1&Ce&&(e.qex(0),e.DNE(1,ye,3,5,"p",50)(2,He,3,2,"ng-template",null,3,e.C5r),e.bVm()),2&Ce){const ut=e.sdS(3),ii=e.XpG(2).$implicit,si=e.XpG(4);e.R7$(),e.Y8G("ngIf","SWAP"===si.data.openedBy&&"state"===ii.key)("ngIfElse",ut)}}function yt(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"fa-icon",56),e.bIt("click",function(){e.eBV(ut);const si=e.XpG(2).$implicit,Pi=e.XpG(4);return e.Njj(Pi.onExplorerClicked(si))}),e.k0s()}if(2&Ce){const ut=e.XpG(6);e.FS9("matTooltip","Link to "+ut.selNode.settings.blockExplorerUrl),e.Y8G("icon",ut.faUpRightFromSquare)}}function Ye(Ce,ot){if(1&Ce&&(e.j41(0,"span")(1,"span",44),e.DNE(2,Ze,2,1,"ng-container",45)(3,_t,3,4,"ng-container",45)(4,at,3,4,"ng-container",45)(5,pt,2,1,"ng-container",45)(6,Xe,4,2,"ng-container",46),e.j41(7,"span"),e.DNE(8,yt,1,2,"fa-icon",47),e.k0s()()()),2&Ce){const ut=e.XpG().$implicit,ii=e.XpG(4);e.R7$(),e.Y8G("ngSwitch",ut.type),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.ARRAY),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.DATE_TIME),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.NUMBER),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.BOOLEAN),e.R7$(3),e.Y8G("ngIf",ut.explorerLink&&""!==ut.explorerLink)}}function rt(Ce,ot){1&Ce&&(e.j41(0,"span",57),e.EFF(1,"\xa0"),e.k0s())}function Yt(Ce,ot){if(1&Ce&&(e.j41(0,"div",40)(1,"h4",41),e.EFF(2),e.k0s(),e.DNE(3,Ye,9,6,"span",42)(4,rt,2,0,"ng-template",null,2,e.C5r),e.nrm(6,"mat-divider",43),e.k0s()),2&Ce){const ut=ot.$implicit,ii=e.sdS(5);e.FS9("fxFlex.gt-md",ut.width),e.R7$(2),e.JRh(ut.title),e.R7$(),e.Y8G("ngIf",ut&&(!!ut.value||0===ut.value))("ngIfElse",ii)}}function Nt(Ce,ot){if(1&Ce&&(e.j41(0,"div")(1,"div",38),e.DNE(2,Yt,7,4,"div",39),e.k0s()()),2&Ce){const ut=ot.$implicit;e.R7$(2),e.Y8G("ngForOf",ut)}}function Et(Ce,ot){if(1&Ce&&(e.j41(0,"div",36),e.DNE(1,Nt,3,1,"div",37),e.k0s()),2&Ce){const ut=e.XpG(2);e.R7$(),e.Y8G("ngForOf",ut.messageObjs)}}function Vt(Ce,ot){if(1&Ce&&(e.j41(0,"div",30)(1,"div",31),e.DNE(2,_e,1,3,"qr-code",7),e.k0s(),e.j41(3,"div",32),e.DNE(4,be,2,1,"p",33)(5,Et,2,1,"div",34),e.k0s()()),2&Ce){const ut=e.XpG();e.R7$(),e.Y8G("ngClass",e.eq3(4,r,""===ut.showQRField||ut.screenSize!==ut.screenSizeEnum.XS&&ut.screenSize!==ut.screenSizeEnum.SM)),e.R7$(),e.Y8G("ngIf",""!==ut.showQRField),e.R7$(2),e.Y8G("ngIf",ut.data.titleMessage),e.R7$(),e.Y8G("ngIf",(null==ut.messageObjs?null:ut.messageObjs.length)>0)}}let oe=(()=>{class Ce{set container(ut){ut&&(this.scrollContainer=ut,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",ii=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",ii=>{this.scrollDirection="DOWN"})))}constructor(ut,ii,si,Pi,mn,Fn,$n,Yn){this.dialogRef=ut,this.data=ii,this.logger=si,this.snackBar=Pi,this.commonService=mn,this.renderer=Fn,this.router=$n,this.store=Yn,this.faUpRightFromSquare=$.k02,this.LoopStateEnum=y.Hx,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=y.A$,this.dataTypeEnum=y.UN,this.screenSize="",this.screenSizeEnum=y.f7,this.scrollDirection="DOWN",this.shouldScroll=!0,this.unSubs=[new w.B,new w.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.goToFieldValue=this.data.goToFieldValue?this.data.goToFieldValue:"",this.goToName=this.data.goToName?this.data.goToName:"",this.goToLink=this.data.goToLink?this.data.goToLink:"",this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===y.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs),this.store.select(j._c).pipe((0,T.Q)(this.unSubs[0])).subscribe(ut=>{this.selNode=ut,this.logger.info(this.selNode)})}ngAfterViewChecked(){setTimeout(()=>{this.shouldScroll=this.scrollContainer&&this.scrollContainer.nativeElement&&this.scrollContainer.nativeElement.classList.value.includes("ps--active-y")},500)}onScroll(){this.scrollContainer.nativeElement.scrollTop="DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(ut){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+ut)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}onExplorerClicked(ut){window.open(this.selNode.settings.blockExplorerUrl+"/"+ut.explorerLink+"/"+ut.value,"_blank")}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd(),this.unSubs.forEach(ut=>{ut.next(null),ut.complete()})}static#e=this.\u0275fac=function(ii){return new(ii||Ce)(e.rXU(F.CP),e.rXU(F.Vh),e.rXU(Q.gP),e.rXU(J.UG),e.rXU(ee.h),e.rXU(e.sFG),e.rXU(ie.Ix),e.rXU(ge.il))};static#t=this.\u0275cmp=e.VBU({type:Ce,selectors:[["rtl-alert-message"]],viewQuery:function(ii,si){if(1&ii&&e.GBs(_,5),2&ii){let Pi;e.mGM(Pi=e.lsd())&&(si.container=Pi.first)}},decls:21,vars:14,consts:[["contentBlock",""],["scrollContainer",""],["emptyField",""],["noStyleBlock",""],["noStyleChild",""],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","ml-1",3,"ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],[3,"fxFlex"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],[4,"ngTemplateOutlet"],[1,"padding-gap-x-large"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","column","fxFlex","100"],["fxLayoutAlign","start center","class","pb-2",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-2"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],[1,"w-100","my-1"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","ml-1 fa-icon-primary",3,"matTooltip","icon","click",4,"ngIf"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["tabindex","4","fxLayout","row","class","go-to-link",3,"matTooltip","click",4,"ngIf","ngIfElse"],["tabindex","4","fxLayout","row",1,"go-to-link",3,"click","matTooltip"],[1,"ml-1","fa-icon-primary",3,"click","matTooltip","icon"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(ii,si){if(1&ii){const Pi=e.RV6();e.j41(0,"div",5)(1,"div",6),e.DNE(2,N,1,3,"qr-code",7),e.k0s(),e.j41(3,"div",8)(4,"mat-card-header",9)(5,"div",10)(6,"span",11),e.EFF(7),e.k0s()(),e.j41(8,"button",12),e.bIt("click",function(){return e.eBV(Pi),e.Njj(si.onClose())}),e.EFF(9,"X"),e.k0s()(),e.DNE(10,Ee,4,4,"ng-container",13)(11,qe,3,1,"ng-container",13)(12,X,4,2,"div",14),e.j41(13,"div",15),e.DNE(14,me,2,1,"button",16)(15,ce,2,1,"button",17)(16,fe,2,2,"button",18)(17,ke,2,1,"button",17)(18,mt,2,2,"button",18),e.k0s()()(),e.DNE(19,Vt,6,6,"ng-template",null,0,e.C5r)}2&ii&&(e.R7$(),e.Y8G("ngClass",e.eq3(12,r,""===si.showQRField||si.screenSize===si.screenSizeEnum.XS||si.screenSize===si.screenSizeEnum.SM)),e.R7$(),e.Y8G("ngIf",""!==si.showQRField),e.R7$(),e.Y8G("fxFlex",""===si.showQRField||si.screenSize===si.screenSizeEnum.XS||si.screenSize===si.screenSizeEnum.SM?"100":"70"),e.R7$(4),e.JRh(si.data.alertTitle||si.alertTypeEnum[si.data.type]),e.R7$(3),e.Y8G("ngIf",si.data.scrollable),e.R7$(),e.Y8G("ngIf",!si.data.scrollable),e.R7$(),e.Y8G("ngIf",si.data.scrollable&&si.shouldScroll),e.R7$(2),e.Y8G("ngIf",(!si.showQRField||""===si.showQRField)&&""===si.showCopyName),e.R7$(),e.Y8G("ngIf",""!==si.showCopyName),e.R7$(),e.Y8G("ngIf",""!==si.showCopyName),e.R7$(),e.Y8G("ngIf",""!==si.showQRField),e.R7$(),e.Y8G("ngIf",""!==si.showQRField))},dependencies:[ae.YU,ae.Sq,ae.bT,ae.T3,ae.ux,ae.e1,ae.fG,Me.aY,R.DJ,R.sA,R.UI,Te.PW,F.tx,de.$z,de.$0,D.m2,D.MM,n.An,c.q,m.oV,h.Um,C.Ld,k.U,L.N,ae.QX,ae.vh],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return Ce})();var tt=g(1771),$t=g(9417),zt=g(9631),Jt=g(6467),St=g(6114);function dt(Ce,ot){if(1&Ce&&(e.j41(0,"div",20),e.nrm(1,"fa-icon",21),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&Ce){const ut=e.XpG();e.R7$(),e.Y8G("icon",ut.faExclamationTriangle),e.R7$(2),e.JRh(ut.warningMessage)}}function Ae(Ce,ot){if(1&Ce&&(e.j41(0,"div",22),e.nrm(1,"fa-icon",21),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&Ce){const ut=e.XpG();e.R7$(),e.Y8G("icon",ut.faInfoCircle),e.R7$(2),e.JRh(ut.informationMessage)}}function we(Ce,ot){if(1&Ce&&(e.j41(0,"p",23),e.EFF(1),e.k0s()),2&Ce){const ut=e.XpG();e.R7$(),e.JRh(ut.data.titleMessage)}}function he(Ce,ot){1&Ce&&e.nrm(0,"div",37),2&Ce&&e.Y8G("innerHTML",ot.$implicit,e.npT)}function q(Ce,ot){if(1&Ce&&(e.qex(0,35),e.DNE(1,he,1,1,"div",36),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngForOf",ut.value)}}function Re(Ce,ot){if(1&Ce&&(e.qex(0),e.EFF(1),e.nI1(2,"date"),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,1e3*ut.value,"dd/MMM/y HH:mm"))}}function Ne(Ce,ot){if(1&Ce&&(e.qex(0),e.EFF(1),e.nI1(2,"number"),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,ut.value,"1.0-3"))}}function gt(Ce,ot){if(1&Ce&&(e.qex(0),e.EFF(1),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.JRh(!0===ut.value?"True":"False")}}function $e(Ce,ot){if(1&Ce&&(e.qex(0),e.EFF(1),e.bVm()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.JRh(ut.value)}}function Fe(Ce,ot){if(1&Ce&&(e.j41(0,"span")(1,"span",31),e.DNE(2,q,2,1,"ng-container",32)(3,Re,3,4,"ng-container",33)(4,Ne,3,4,"ng-container",33)(5,gt,2,1,"ng-container",33)(6,$e,2,1,"ng-container",34),e.k0s()()),2&Ce){const ut=e.XpG().$implicit,ii=e.XpG(3);e.R7$(),e.Y8G("ngSwitch",ut.type),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.ARRAY),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.DATE_TIME),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.NUMBER),e.R7$(),e.Y8G("ngSwitchCase",ii.dataTypeEnum.BOOLEAN)}}function Ge(Ce,ot){1&Ce&&(e.j41(0,"span",38),e.EFF(1,"\xa0"),e.k0s())}function et(Ce,ot){if(1&Ce&&(e.j41(0,"div",27)(1,"h4",28),e.EFF(2),e.k0s(),e.DNE(3,Fe,7,5,"span",29)(4,Ge,2,0,"ng-template",null,0,e.C5r),e.nrm(6,"mat-divider",30),e.k0s()),2&Ce){const ut=ot.$implicit,ii=e.sdS(5);e.FS9("fxFlex.gt-md",ut.width),e.R7$(2),e.JRh(ut.title),e.R7$(),e.Y8G("ngIf",ut&&(!!ut.value||0===ut.value))("ngIfElse",ii)}}function st(Ce,ot){if(1&Ce&&(e.j41(0,"div")(1,"div",25),e.DNE(2,et,7,4,"div",26),e.k0s()()),2&Ce){const ut=ot.$implicit;e.R7$(2),e.Y8G("ngForOf",ut)}}function Tt(Ce,ot){if(1&Ce&&(e.j41(0,"div"),e.DNE(1,st,3,1,"div",24),e.k0s()),2&Ce){const ut=e.XpG();e.R7$(),e.Y8G("ngForOf",ut.messageObjs)}}function mi(Ce,ot){if(1&Ce&&(e.j41(0,"p",23),e.EFF(1),e.k0s()),2&Ce){const ut=e.XpG(2);e.R7$(),e.JRh(ut.data.titleMessage)}}function Kt(Ce,ot){if(1&Ce&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&Ce){const ut=e.XpG(2).$implicit;e.R7$(),e.SpI("",ut.placeholder," is required.")}}function Pt(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"mat-form-field",42)(1,"mat-label"),e.EFF(2),e.k0s(),e.j41(3,"input",43),e.nI1(4,"lowercase"),e.mxI("ngModelChange",function(si){e.eBV(ut);const Pi=e.XpG().$implicit;return e.DH7(Pi.inputValue,si)||(Pi.inputValue=si),e.Njj(si)}),e.k0s(),e.DNE(5,Kt,2,1,"mat-error",13),e.j41(6,"mat-hint"),e.EFF(7),e.k0s()()}if(2&Ce){const ut=e.XpG(),ii=ut.$implicit,si=ut.index;e.Y8G("fxFlex",ii.width),e.R7$(2),e.JRh(ii.placeholder),e.R7$(),e.Mz_("name","input",si,""),e.Y8G("autoFocus",0===si)("min",ii.min)("step",ii.step)("type",e.bMT(4,12,ii.inputType))("tabindex",si+1),e.R50("ngModel",ii.inputValue),e.R7$(2),e.Y8G("ngIf",!ii.inputValue),e.R7$(2),e.JRh(ii.hintFunction?ii.hintFunction(ii.inputValue):ii.hintText)}}function Xi(Ce,ot){if(1&Ce&&(e.qex(0),e.DNE(1,Pt,8,14,"mat-form-field",41),e.bVm()),2&Ce){const ut=ot.$implicit,ii=e.XpG(2);e.R7$(),e.Y8G("ngIf",!ut.advancedField||ii.showAdvanced)}}function di(Ce,ot){if(1&Ce&&(e.j41(0,"div",39),e.DNE(1,mi,2,1,"p",12),e.j41(2,"div",40),e.DNE(3,Xi,2,1,"ng-container",24),e.k0s()()),2&Ce){const ut=e.XpG();e.R7$(),e.Y8G("ngIf",ut.data.titleMessage),e.R7$(2),e.Y8G("ngForOf",ut.getInputs)}}function fi(Ce,ot){1&Ce&&(e.j41(0,"p"),e.EFF(1,"Show Advanced"),e.k0s())}function vn(Ce,ot){1&Ce&&(e.j41(0,"p"),e.EFF(1,"Hide Advanced"),e.k0s())}function Qi(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"button",44),e.bIt("click",function(){e.eBV(ut);const si=e.XpG();return e.Njj(si.onShowAdvanced())}),e.DNE(1,fi,2,0,"p",29)(2,vn,2,0,"ng-template",null,1,e.C5r),e.k0s()}if(2&Ce){const ut=e.sdS(3),ii=e.XpG();e.R7$(),e.Y8G("ngIf",!ii.showAdvanced)("ngIfElse",ut)}}function Li(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"button",45),e.bIt("click",function(){e.eBV(ut);const si=e.XpG();return e.Njj(si.onClose(si.getInputs))}),e.EFF(1),e.k0s()}if(2&Ce){const ut=e.XpG();e.R7$(),e.JRh(ut.yesBtnText)}}function Zi(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"button",46),e.bIt("click",function(){e.eBV(ut);const si=e.XpG();return e.Njj(si.onClose(!0))}),e.EFF(1),e.k0s()}if(2&Ce){const ut=e.XpG();e.R7$(),e.JRh(ut.yesBtnText)}}let Qt=(()=>{class Ce{constructor(ut,ii,si,Pi){this.dialogRef=ut,this.data=ii,this.logger=si,this.store=Pi,this.faInfoCircle=$.iW_,this.faExclamationTriangle=$.zpE,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=y.A$,this.dataTypeEnum=y.UN,this.getInputs=[{placeholder:"",inputType:y.UN.STRING,inputValue:"",hintText:"",hintFunction:null,advancedField:!1}],this.showAdvanced=!1}ngOnInit(){this.informationMessage=this.data.informationMessage||"",this.warningMessage=this.data.warningMessage||"",this.flgShowInput=!!this.data.flgShowInput,this.getInputs=this.data.getInputs||[],this.noBtnText=this.data.noBtnText?this.data.noBtnText:"No",this.yesBtnText=this.data.yesBtnText?this.data.yesBtnText:"Yes",this.hasAdvanced=!!this.data.hasAdvanced&&this.data.hasAdvanced,this.messageObjs=this.data.message,this.data.type===y.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection")}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onClose(ut){if(ut&&this.getInputs&&this.getInputs.some(ii=>typeof ii.inputValue>"u"))return!0;!this.showAdvanced&&ut.length&&(ut=ut?.reduce((ii,si)=>(si.advancedField||ii.push(si),ii),[])),this.store.dispatch((0,tt.uP)({payload:ut}))}static#e=this.\u0275fac=function(ii){return new(ii||Ce)(e.rXU(F.CP),e.rXU(F.Vh),e.rXU(Q.gP),e.rXU(ge.il))};static#t=this.\u0275cmp=e.VBU({type:Ce,selectors:[["rtl-confirmation-message"]],decls:21,vars:10,consts:[["emptyField",""],["hideAdvancedText",""],["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","8","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","100","class","alert alert-warn",4,"ngIf"],["fxFlex","100","class","alert alert-info",4,"ngIf"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],[4,"ngIf"],["fxLayout","column","class","bordered-box my-2 p-2",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],["mat-button","","color","primary","type","button","class","mr-1","tabindex","2",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click",4,"ngIf"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["fxFlex","100",1,"alert","alert-info"],["fxLayoutAlign","start center",1,"pb-1"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],[1,"w-100","my-1"],[1,"foreground-secondary-text",3,"ngSwitch"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],["fxFlex","100",1,"foreground-secondary-text"],["fxLayout","column",1,"bordered-box","my-2","p-2"],["fxLayout","row wrap","fxLayoutAlign","space-between center"],[3,"fxFlex",4,"ngIf"],[3,"fxFlex"],["matInput","","required","",3,"ngModelChange","autoFocus","name","min","step","type","tabindex","ngModel"],["mat-button","","color","primary","type","button","tabindex","2",1,"mr-1",3,"click"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click"]],template:function(ii,si){1&ii&&(e.j41(0,"div",2)(1,"div",3)(2,"mat-card-header",4)(3,"div",5)(4,"span",6),e.EFF(5),e.k0s()(),e.j41(6,"button",7),e.bIt("click",function(){return si.onClose(!1)}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",8)(9,"form",9),e.DNE(10,dt,4,2,"div",10)(11,Ae,4,2,"div",11)(12,we,2,1,"p",12)(13,Tt,2,1,"div",13)(14,di,4,2,"div",14),e.j41(15,"div",15)(16,"button",16),e.bIt("click",function(){return si.onClose(!1)}),e.EFF(17),e.k0s(),e.DNE(18,Qi,4,2,"button",17)(19,Li,2,1,"button",18)(20,Zi,2,1,"button",19),e.k0s()()()()()),2&ii&&(e.R7$(5),e.JRh(si.data.alertTitle||si.alertTypeEnum[si.data.type]),e.R7$(5),e.Y8G("ngIf",si.warningMessage&&""!==si.warningMessage),e.R7$(),e.Y8G("ngIf",si.informationMessage&&""!==si.informationMessage),e.R7$(),e.Y8G("ngIf",si.data.titleMessage&&!si.flgShowInput),e.R7$(),e.Y8G("ngIf",(null==si.messageObjs?null:si.messageObjs.length)>0),e.R7$(),e.Y8G("ngIf",si.flgShowInput),e.R7$(3),e.JRh(si.noBtnText),e.R7$(),e.Y8G("ngIf",si.hasAdvanced),e.R7$(),e.Y8G("ngIf",si.flgShowInput),e.R7$(),e.Y8G("ngIf",!si.flgShowInput))},dependencies:[ae.Sq,ae.bT,ae.ux,ae.e1,ae.fG,$t.qT,$t.me,$t.BC,$t.cb,$t.YS,$t.vS,$t.cV,Me.aY,R.DJ,R.sA,R.UI,de.$z,D.m2,D.MM,zt.fg,Jt.rl,Jt.nJ,Jt.MV,Jt.TL,c.q,L.N,St.V,ae.GH,ae.QX,ae.vh]})}return Ce})();var Mt=g(2462),it=g(2798),ct=g(6600);const wt=Ce=>({"display-none":Ce});function Ut(Ce,ot){if(1&Ce&&(e.j41(0,"mat-option",23),e.EFF(1),e.k0s()),2&Ce){const ut=ot.$implicit;e.Y8G("value",ut),e.R7$(),e.SpI(" ",ut.infoName," ")}}function xi(Ce,ot){if(1&Ce){const ut=e.RV6();e.j41(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),e.mxI("valueChange",function(si){e.eBV(ut);const Pi=e.XpG();return e.DH7(Pi.selInfoType,si)||(Pi.selInfoType=si),e.Njj(si)}),e.DNE(3,Ut,2,2,"mat-option",22),e.k0s()()()}if(2&Ce){const ut=e.XpG();e.R7$(2),e.R50("value",ut.selInfoType),e.R7$(),e.Y8G("ngForOf",ut.infoTypes)}}let Si=(()=>{class Ce{constructor(ut,ii,si,Pi,mn){this.dialogRef=ut,this.data=ii,this.logger=si,this.snackBar=Pi,this.commonService=mn,this.faReceipt=$.Mf0,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=y.f7}ngOnInit(){this.information=this.data.information,this.information.uris&&(1===this.information.uris.length?this.infoTypes.push({infoID:1,infoKey:"node URI",infoName:"Node URI"}):this.information.uris.length>1&&this.information.uris.forEach((ut,ii)=>{this.infoTypes.push({infoID:ii+1,infoKey:"node URI "+(ii+1),infoName:"Node URI "+(ii+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(ut){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+ut)}static#e=this.\u0275fac=function(ii){return new(ii||Ce)(e.rXU(F.CP),e.rXU(F.Vh),e.rXU(Q.gP),e.rXU(J.UG),e.rXU(ee.h))};static#t=this.\u0275cmp=e.VBU({type:Ce,selectors:[["rtl-show-pubkey"]],decls:26,vars:19,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"value","size","errorCorrectionLevel"],["fxFlex","100","fxFlex.gt-sm","70"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxLayout","row","fxLayoutAlign","end center",1,"mt-2"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"copied","payload"],["fxLayout","column","fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],["tabindex","1",3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(ii,si){1&ii&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"qr-code",2),e.k0s(),e.j41(3,"div",3)(4,"mat-card-header",4)(5,"div",5),e.nrm(6,"fa-icon",6),e.j41(7,"span",7),e.EFF(8),e.k0s()(),e.j41(9,"button",8),e.bIt("click",function(){return si.onClose()}),e.EFF(10,"X"),e.k0s()(),e.j41(11,"mat-card-content",9)(12,"div",10)(13,"div",11),e.nrm(14,"qr-code",2),e.k0s(),e.DNE(15,xi,4,2,"div",12),e.j41(16,"div",13)(17,"div",14)(18,"h4",15),e.EFF(19),e.k0s(),e.j41(20,"span",16),e.EFF(21),e.k0s()()(),e.nrm(22,"mat-divider",17),e.j41(23,"div",18)(24,"button",19),e.bIt("copied",function(mn){return si.onCopyPubkey(mn)}),e.EFF(25),e.k0s()()()()()()),2&ii&&(e.R7$(),e.Y8G("ngClass",e.eq3(15,wt,si.screenSize===si.screenSizeEnum.XS||si.screenSize===si.screenSizeEnum.SM)),e.R7$(),e.FS9("value",0===si.selInfoType.infoID?si.information.identity_pubkey:si.information.uris[si.selInfoType.infoID-1]),e.Y8G("size",si.qrWidth)("errorCorrectionLevel","L"),e.R7$(4),e.Y8G("icon",si.faReceipt),e.R7$(2),e.JRh(si.selInfoType.infoName),e.R7$(5),e.Y8G("ngClass",e.eq3(17,wt,si.screenSize!==si.screenSizeEnum.XS&&si.screenSize!==si.screenSizeEnum.SM)),e.R7$(),e.FS9("value",0===si.selInfoType.infoID?si.information.identity_pubkey:si.information.uris[si.selInfoType.infoID-1]),e.Y8G("size",si.qrWidth)("errorCorrectionLevel","L"),e.R7$(),e.Y8G("ngIf",si.information.uris&&si.information.uris.length>0),e.R7$(4),e.JRh(si.selInfoType.infoName),e.R7$(2),e.JRh(0===si.selInfoType.infoID?si.information.identity_pubkey:si.information.uris[si.selInfoType.infoID-1]),e.R7$(3),e.FS9("payload",0===si.selInfoType.infoID?si.information.identity_pubkey:si.information.uris[si.selInfoType.infoID-1]),e.R7$(),e.SpI("Copy ",si.selInfoType.infoKey,""))},dependencies:[ae.YU,ae.Sq,ae.bT,Me.aY,R.DJ,R.sA,R.UI,Te.PW,de.$z,D.m2,D.MM,Jt.rl,c.q,it.VO,ct.wT,h.Um,k.U,L.N]})}return Ce})();var zi=g(190),en=g(8430),Ni=g(5428),fn=g(1626),Zt=g(7879),bt=g(3202),re=g(1534);let je=(()=>{class Ce{constructor(ut,ii,si,Pi,mn,Fn,$n,Yn,Qn,rr,Rn){this.actions=ut,this.httpClient=ii,this.store=si,this.logger=Pi,this.wsService=mn,this.sessionService=Fn,this.commonService=$n,this.dataService=Yn,this.dialog=Qn,this.snackBar=rr,this.router=Rn,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new w.B,new w.B],this.closeAllDialogs=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_ALL_DIALOGS),(0,l.T)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_SNACK_BAR),(0,l.T)(_i=>{"string"==typeof _i.payload?this.snackBar.open(_i.payload):this.snackBar.open(_i.payload.message,"","ERROR"===_i.payload.type?{duration:_i.payload.duration?_i.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===_i.payload.type?{duration:_i.payload.duration?_i.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:_i.payload.duration?_i.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_SPINNER),(0,l.T)(_i=>{_i.payload!==y.MZ.NO_SPINNER&&(this.dialogRef=this.dialog.open(W,{panelClass:"spinner-dialog-panel",data:{titleMessage:_i.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_SPINNER),(0,l.T)(_i=>{if(_i.payload!==y.MZ.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===_i.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Oi=>{Oi.componentInstance&&Oi.componentInstance.data&&Oi.componentInstance.data.titleMessage&&Oi.componentInstance.data.titleMessage===_i.payload&&Oi.close()})}catch(Oi){this.logger.error(Oi)}})),{dispatch:!1}),this.openAlert=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_ALERT),(0,l.T)(_i=>{const Oi=JSON.parse(JSON.stringify(_i.payload));Oi.width||(Oi.width=this.alertWidth),this.dialogRef=this.dialog.open(_i.payload.data.component?_i.payload.data.component:oe,Oi)})),{dispatch:!1}),this.closeAlert=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_ALERT),(0,l.T)(_i=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(_i.payload),_i.payload))),{dispatch:!1}),this.openConfirm=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.OPEN_CONFIRMATION),(0,l.T)(_i=>{const Oi=JSON.parse(JSON.stringify(_i.payload));Oi.width||(Oi.width=this.confirmWidth),this.dialogRef=this.dialog.open(Qt,Oi)})),{dispatch:!1}),this.closeConfirm=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.CLOSE_CONFIRMATION),(0,x.s)(1),(0,l.T)(_i=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(_i.payload),_i.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_PUBKEY),(0,f.E)(this.store.select(j.N)),(0,I.Z)(([_i,Oi])=>(this.sessionService.getItem("token")&&Oi.identity_pubkey?this.store.dispatch((0,tt.xO)({payload:{data:{information:Oi,component:Si}}})):this.snackBar.open("Node Pubkey does not exist."),(0,S.of)({type:y.aU.VOID}))))),this.appConfigFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.FETCH_APPLICATION_SETTINGS),(0,I.Z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===y.f7.XS||this.screenSize===y.f7.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===y.f7.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,tt.mt)({payload:y.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,tt.Gd)({payload:{action:"FetchRTLConfig",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API))),(0,l.T)(_i=>{this.logger.info(_i),this.store.dispatch((0,tt.y0)({payload:y.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,tt.Gd)({payload:{action:"FetchRTLConfig",status:y.wn.COMPLETED}}));let Oi=null;return _i.nodes.forEach(jt=>{jt.settings.currencyUnits=[...y.A0,jt.settings?.currencyUnit?jt.settings?.currencyUnit:""],+(jt.index||-1)===_i.selectedNodeIndex&&(Oi=jt)}),Oi?(this.store.dispatch((0,tt.Qi)({payload:{uiMessage:y.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Oi,isInitialSetup:!0}})),{type:y.aU.SET_APPLICATION_SETTINGS,payload:_i}):{type:y.aU.VOID}}),(0,d.W)(_i=>(this.handleErrorWithAlert("FetchRTLConfig",y.MZ.GET_RTL_CONFIG,"Fetch RTL Config Failed!",y.rl.CONF_API,_i),(0,S.of)({type:y.aU.VOID}))))),this.updateNodeSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.UPDATE_NODE_SETTINGS),(0,I.Z)(_i=>(this.store.dispatch((0,tt.mt)({payload:y.MZ.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,tt.Gd)({payload:{action:"updateNodeSettings",status:y.wn.INITIATED}})),_i.payload.settings.fiatConversion||delete _i.payload.settings.currencyUnit,delete _i.payload.settings.currencyUnits,this.httpClient.post(y.rl.CONF_API+"/node",_i.payload).pipe((0,l.T)(Oi=>(this.store.dispatch((0,tt.Gd)({payload:{action:"updateNodeSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,tt.y0)({payload:y.MZ.UPDATE_NODE_SETTINGS})),Oi.settings.currencyUnits=[...y.A0,Oi.settings?.currencyUnit?Oi.settings?.currencyUnit:""],this.store.dispatch((0,tt.Np)({payload:Oi})),{type:y.aU.OPEN_SNACK_BAR,payload:"Node settings updated successfully!"})),(0,d.W)(Oi=>(this.handleErrorWithAlert("updateNodeSettings",y.MZ.UPDATE_NODE_SETTINGS,"Update Node Settings Failed!",y.rl.CONF_API+"/node",Oi),(0,S.of)({type:y.aU.VOID})))))))),this.updateApplicationSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.UPDATE_APPLICATION_SETTINGS),(0,I.Z)(_i=>(this.store.dispatch((0,tt.mt)({payload:y.MZ.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,tt.Gd)({payload:{action:"updateApplicationSettings",status:y.wn.INITIATED}})),_i.payload.config.nodes.forEach(Oi=>{delete Oi.settings.currencyUnits}),this.httpClient.post(y.rl.CONF_API+"/application",_i.payload.config).pipe((0,l.T)(Oi=>(this.store.dispatch((0,tt.Gd)({payload:{action:"updateApplicationSettings",status:y.wn.COMPLETED}})),this.store.dispatch((0,tt.y0)({payload:y.MZ.UPDATE_APPLICATION_SETTINGS})),_i.payload.showSnackBar&&this.store.dispatch((0,tt.UI)({payload:_i.payload.message})),{type:y.aU.SET_APPLICATION_SETTINGS,payload:Oi})),(0,d.W)(Oi=>(this.handleErrorWithAlert("updateApplicationSettings",y.MZ.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",y.rl.CONF_API+"/application",Oi),(0,S.of)({type:y.aU.VOID})))))))),this.configFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.FETCH_CONFIG),(0,I.Z)(_i=>(this.store.dispatch((0,tt.mt)({payload:y.MZ.OPEN_CONFIG_FILE})),this.store.dispatch((0,tt.Gd)({payload:{action:"fetchConfig",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API+"/config/"+_i.payload).pipe((0,l.T)(Oi=>(this.store.dispatch((0,tt.Gd)({payload:{action:"fetchConfig",status:y.wn.COMPLETED}})),this.store.dispatch((0,tt.y0)({payload:y.MZ.OPEN_CONFIG_FILE})),{type:y.aU.SHOW_CONFIG,payload:Oi})),(0,d.W)(Oi=>(this.handleErrorWithAlert("fetchConfig",y.MZ.OPEN_CONFIG_FILE,"Fetch Config Failed!",y.rl.CONF_API+"/config/"+_i.payload,Oi),(0,S.of)({type:y.aU.VOID})))))))),this.showLnConfig=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_CONFIG),(0,l.T)(_i=>_i.payload)),{dispatch:!1}),this.isAuthorized=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.IS_AUTHORIZED),(0,I.Z)(_i=>(this.store.dispatch((0,tt.Gd)({payload:{action:"IsAuthorized",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API,{authenticateWith:_i.payload&&""!==_i.payload.trim()?y.U1.PASSWORD:y.U1.JWT,authenticationValue:_i.payload&&""!==_i.payload.trim()?_i.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,l.T)(Oi=>(this.logger.info(Oi),this.store.dispatch((0,tt.Gd)({payload:{action:"IsAuthorized",status:y.wn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:y.aU.IS_AUTHORIZED_RES,payload:Oi})),(0,d.W)(Oi=>(this.handleErrorWithAlert("IsAuthorized",y.MZ.NO_SPINNER,"Authorization Failed",y.rl.AUTHENTICATE_API,Oi),(0,S.of)({type:y.aU.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.IS_AUTHORIZED_RES),(0,l.T)(_i=>_i.payload)),{dispatch:!1}),this.authLogin=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.LOGIN),(0,f.E)(this.store.select(j.qv)),(0,I.Z)(([_i,Oi])=>(this.store.dispatch((0,zi.p1)()),this.store.dispatch((0,en.gf)()),this.store.dispatch((0,Ni.Hh)()),this.store.dispatch((0,tt.Gd)({payload:{action:"Login",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API,{authenticateWith:_i.payload.password?y.U1.PASSWORD:y.U1.JWT,authenticationValue:_i.payload.password?_i.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:_i.payload.twoFAToken?_i.payload.twoFAToken:""}).pipe((0,l.T)(jt=>{this.logger.info(jt),this.store.dispatch((0,tt.Gd)({payload:{action:"Login",status:y.wn.COMPLETED}})),this.setLoggedInDetails(_i.payload.defaultPassword,jt)}),(0,d.W)(jt=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",y.MZ.NO_SPINNER,jt),+Oi.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:jt.error&&jt.error.error?jt.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"],{state:{logoutReason:jt.error&&jt.error.error?jt.error.error:"Single Sign On Failed!"}}),(0,S.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.VERIFY_TWO_FA),(0,I.Z)(_i=>(this.store.dispatch((0,tt.mt)({payload:y.MZ.VERIFY_TOKEN})),this.store.dispatch((0,tt.Gd)({payload:{action:"VerifyToken",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API+"/token",{authentication2FA:_i.payload.token}).pipe((0,l.T)(Oi=>{this.logger.info(Oi),this.store.dispatch((0,tt.y0)({payload:y.MZ.VERIFY_TOKEN})),this.store.dispatch((0,tt.Gd)({payload:{action:"VerifyToken",status:y.wn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,_i.payload.authResponse)}),(0,d.W)(Oi=>(this.handleErrorWithAlert("VerifyToken",y.MZ.VERIFY_TOKEN,"Authorization Failed!",y.rl.AUTHENTICATE_API+"/token",Oi),(0,S.of)({type:y.aU.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.LOGOUT),(0,f.E)(this.store.select(j.qv)),(0,I.Z)(([_i,Oi])=>(this.store.dispatch((0,tt.mt)({payload:y.MZ.LOG_OUT})),Oi.SSO&&+Oi.SSO.rtlSSO?window.location.href=Oi.SSO.logoutRedirectLink:this.router.navigate(["./login"],{state:{logoutReason:_i.payload}}),this.sessionService.clearAll(),this.store.dispatch((0,tt.Fl)({payload:{}})),this.store.dispatch((0,tt.y0)({payload:y.MZ.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(y.rl.AUTHENTICATE_API+"/logout").pipe((0,l.T)(jt=>{this.logger.info(jt),this.store.dispatch((0,tt.y0)({payload:y.MZ.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.EH)(()=>this.actions.pipe((0,T.Q)(this.unSubs[1]),(0,t.gp)(y.aU.RESET_PASSWORD),(0,I.Z)(_i=>(this.store.dispatch((0,tt.Gd)({payload:{action:"ResetPassword",status:y.wn.INITIATED}})),this.httpClient.post(y.rl.AUTHENTICATE_API+"/reset",{currPassword:_i.payload.currPassword,newPassword:_i.payload.newPassword}).pipe((0,T.Q)(this.unSubs[0]),(0,l.T)(Oi=>(this.logger.info(Oi),this.store.dispatch((0,tt.Gd)({payload:{action:"ResetPassword",status:y.wn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,tt.UI)({payload:"Password Reset Successful!"})),this.SetToken(Oi.token),{type:y.aU.RESET_PASSWORD_RES,payload:Oi.token})),(0,d.W)(Oi=>(this.handleErrorWithAlert("ResetPassword",y.MZ.NO_SPINNER,"Password Reset Failed!",y.rl.AUTHENTICATE_API+"/reset",Oi),(0,S.of)({type:y.aU.VOID})))))))),this.setSelectedNode=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SET_SELECTED_NODE),(0,I.Z)(_i=>(this.store.dispatch((0,tt.mt)({payload:_i.payload.uiMessage})),this.store.dispatch((0,tt.Gd)({payload:{action:"UpdateSelNode",status:y.wn.INITIATED}})),this.httpClient.get(y.rl.CONF_API+"/updateSelNode/"+_i.payload.currentLnNode?.index+"/"+_i.payload.prevLnNodeIndex).pipe((0,l.T)(Oi=>(this.logger.info(Oi),this.store.dispatch((0,tt.Gd)({payload:{action:"UpdateSelNode",status:y.wn.COMPLETED}})),this.store.dispatch((0,tt.y0)({payload:_i.payload.uiMessage})),this.initializeNode(Oi,_i.payload.isInitialSetup),{type:y.aU.VOID})),(0,d.W)(Oi=>(this.handleErrorWithAlert("UpdateSelNode",_i.payload.uiMessage,"Update Selected Node Failed!",y.rl.CONF_API+"/updateSelNode",Oi),(0,S.of)({type:y.aU.VOID})))))))),this.fetchFile=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.FETCH_FILE),(0,I.Z)(_i=>{this.store.dispatch((0,tt.mt)({payload:y.MZ.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,tt.Gd)({payload:{action:"FetchFile",status:y.wn.INITIATED}}));const Oi="?channel="+_i.payload.channelPoint+(_i.payload.path?"&path="+_i.payload.path:"");return this.httpClient.get(y.rl.CONF_API+"/file"+Oi).pipe((0,l.T)(jt=>(this.store.dispatch((0,tt.Gd)({payload:{action:"FetchFile",status:y.wn.COMPLETED}})),this.store.dispatch((0,tt.y0)({payload:y.MZ.DOWNLOAD_BACKUP_FILE})),{type:y.aU.SHOW_FILE,payload:jt})),(0,d.W)(jt=>(this.handleErrorWithAlert("fetchFile",y.MZ.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",y.rl.CONF_API+"/file"+Oi,{status:this.commonService.extractErrorNumber(jt),error:{error:this.commonService.extractErrorCode(jt)}}),(0,S.of)({type:y.aU.VOID}))))}))),this.showFile=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(y.aU.SHOW_FILE),(0,l.T)(_i=>_i.payload)),{dispatch:!1})}initializeNode(ut,ii){this.logger.info("Initializing node from RTL Effects.");const si=ii?"":"HOME";if(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),ut.settings.currencyUnits=[...y.A0,ut.settings?.currencyUnit?ut.settings?.currencyUnit:""],this.store.dispatch((0,tt.Tn)({payload:ut})),this.store.dispatch((0,zi.p1)()),this.store.dispatch((0,en.gf)()),this.store.dispatch((0,Ni.Hh)()),this.sessionService.getItem("token")){const Pi=ut.lnImplementation?ut.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Pi);const mn=!(0,e.naY)()&&window.location.origin?window.location.origin+"/rtl/api":y.H$;switch(this.wsService.connectWebSocket(mn?.replace(/^http/,"ws")+y.rl.Web_SOCKET_API,ut.index?ut.index.toString():"-1"),Pi){case"CLN":this.store.dispatch((0,en.lg)()),this.store.dispatch((0,en.Aw)({payload:{loadPage:si}}));break;case"ECL":this.store.dispatch((0,Ni.lg)()),this.store.dispatch((0,Ni.zR)({payload:{loadPage:si}}));break;default:this.store.dispatch((0,zi.lg)()),this.store.dispatch((0,zi.Br)({payload:{loadPage:si}}))}}}SetToken(ut){ut?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",ut)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(ut,ii){this.logger.info("Successfully Authorized!"),this.SetToken(ii.token),this.sessionService.setItem("defaultPassword",ut),ut?(this.store.dispatch((0,tt.UI)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,tt.NU)())}handleErrorWithoutAlert(ut,ii,si){this.logger.error("ERROR IN: "+ut+"\n"+JSON.stringify(si)),401===si.status&&"Login"!==ut?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,tt.Jh)()),this.store.dispatch((0,tt.ri)({payload:"Authentication Failed: "+JSON.stringify(si.error)}))):(this.store.dispatch((0,tt.y0)({payload:ii})),this.store.dispatch((0,tt.Gd)({payload:{action:ut,status:y.wn.ERROR,statusCode:si.status?si.status.toString():"",message:this.commonService.extractErrorMessage(si)}})))}handleErrorWithAlert(ut,ii,si,Pi,mn){if(this.logger.error(mn),0===mn.status&&mn.statusText&&"Unknown Error"===mn.statusText&&(mn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===mn.status&&"Login"!==ut)this.logger.info("Redirecting to Login"),this.store.dispatch((0,tt.Jh)()),this.store.dispatch((0,tt.ri)({payload:"Authentication Failed: "+JSON.stringify(mn.error)}));else{this.store.dispatch((0,tt.y0)({payload:ii}));const Fn=this.commonService.extractErrorMessage(mn);this.store.dispatch((0,tt.xO)({payload:{data:{type:"ERROR",alertTitle:si,message:{code:mn.status?mn.status:"Unknown Error",message:Fn,URL:Pi},component:Mt.f}}})),this.store.dispatch((0,tt.Gd)({payload:{action:ut,status:y.wn.ERROR,statusCode:mn.status?mn.status.toString():"",message:Fn,URL:Pi}}))}}ngOnDestroy(){this.unSubs.forEach(ut=>{ut.next(null),ut.complete()})}static#e=this.\u0275fac=function(ii){return new(ii||Ce)(e.KVO(t.En),e.KVO(fn.Qq),e.KVO(ge.il),e.KVO(Q.gP),e.KVO(Zt.I),e.KVO(bt.Q),e.KVO(ee.h),e.KVO(re.u),e.KVO(F.bZ),e.KVO(J.UG),e.KVO(ie.Ix))};static#t=this.\u0275prov=e.jDH({token:Ce,factory:Ce.\u0275fac})}return Ce})()},9647:(Qe,te,g)=>{"use strict";g.d(te,{Az:()=>d,E2:()=>I,Kq:()=>f,N:()=>x,_c:()=>S,qv:()=>l});var e=g(9640);const t=(0,e.UX)("root"),S=((0,e.Mz)(t,T=>T.apiURL),(0,e.Mz)(t,T=>T.selNode)),l=(0,e.Mz)(t,T=>T.appConfig),x=(0,e.Mz)(t,T=>T.nodeData),f=(0,e.Mz)(t,T=>T.apisCallStatus.Login),I=(0,e.Mz)(t,T=>T.apisCallStatus.IsAuthorized),d=(0,e.Mz)(t,T=>({nodeDate:T.nodeData,selNode:T.selNode}))},3471:(Qe,te,g)=>{"use strict";var e=g(345),t=g(4438),w=g(9969);function l(O){return new t.wOt(3e3,!1)}function ze(O){switch(O.length){case 0:return new w.sf;case 1:return O[0];default:return new w.ui(O)}}function qe(O,H,b=new Map,U=new Map){const G=[],Oe=[];let It=-1,Lt=null;if(H.forEach(oi=>{const ci=oi.get("offset"),Ui=ci==It,Ti=Ui&&Lt||new Map;oi.forEach((un,bn)=>{let Yi=bn,Ji=un;if("offset"!==bn)switch(Yi=O.normalizePropertyName(Yi,G),Ji){case w.FX:Ji=b.get(bn);break;case w.kp:Ji=U.get(bn);break;default:Ji=O.normalizeStyleValue(bn,Yi,Ji,G)}Ti.set(Yi,Ji)}),Ui||Oe.push(Ti),Lt=Ti,It=ci}),G.length)throw function c(O){return new t.wOt(3502,!1)}();return Oe}function Ke(O,H,b,U){switch(H){case"start":O.onStart(()=>U(b&&se(b,"start",O)));break;case"done":O.onDone(()=>U(b&&se(b,"done",O)));break;case"destroy":O.onDestroy(()=>U(b&&se(b,"destroy",O)))}}function se(O,H,b){const Oe=X(O.element,O.triggerName,O.fromState,O.toState,H||O.phaseName,b.totalTime??O.totalTime,!!b.disabled),It=O._data;return null!=It&&(Oe._data=It),Oe}function X(O,H,b,U,G="",Oe=0,It){return{element:O,triggerName:H,fromState:b,toState:U,phaseName:G,totalTime:Oe,disabled:!!It}}function me(O,H,b){let U=O.get(H);return U||O.set(H,U=b),U}function ce(O){const H=O.indexOf(":");return[O.substring(1,H),O.slice(H+1)]}const fe=typeof document>"u"?null:document.documentElement;function ke(O){const H=O.parentNode||O.host||null;return H===fe?null:H}let _e=null,be=!1;function at(O,H){for(;H;){if(H===O)return!0;H=ke(H)}return!1}function pt(O,H,b){if(b)return Array.from(O.querySelectorAll(H));const U=O.querySelector(H);return U?[U]:[]}let ye=(()=>{class O{validateStyleProperty(b){return function pe(O){_e||(_e=function _t(){return typeof document<"u"?document.body:null}()||{},be=!!_e.style&&"WebkitAppearance"in _e.style);let H=!0;return _e.style&&!function mt(O){return"ebkit"==O.substring(1,6)}(O)&&(H=O in _e.style,!H&&be&&(H="Webkit"+O.charAt(0).toUpperCase()+O.slice(1)in _e.style)),H}(b)}containsElement(b,U){return at(b,U)}getParentElement(b){return ke(b)}query(b,U,G){return pt(b,U,G)}computeStyle(b,U,G){return G||""}animate(b,U,G,Oe,It,Lt=[],oi){return new w.sf(G,Oe)}static#e=this.\u0275fac=function(U){return new(U||O)};static#t=this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})();class ue{static#e=this.NOOP=new ye}class Ie{}const Xe=1e3,rt="ng-enter",Yt="ng-leave",Nt="ng-trigger",Et=".ng-trigger",Vt="ng-animating",oe=".ng-animating";function tt(O){if("number"==typeof O)return O;const H=O.match(/^(-?[\.\d]+)(m?s)/);return!H||H.length<2?0:$t(parseFloat(H[1]),H[2])}function $t(O,H){return"s"===H?O*Xe:O}function zt(O,H,b){return O.hasOwnProperty("duration")?O:function Jt(O,H,b){let G,Oe=0,It="";if("string"==typeof O){const Lt=O.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Lt)return H.push(l()),{duration:0,delay:0,easing:""};G=$t(parseFloat(Lt[1]),Lt[2]);const oi=Lt[3];null!=oi&&(Oe=$t(parseFloat(oi),Lt[4]));const ci=Lt[5];ci&&(It=ci)}else G=O;if(!b){let Lt=!1,oi=H.length;G<0&&(H.push(function x(){return new t.wOt(3100,!1)}()),Lt=!0),Oe<0&&(H.push(function f(){return new t.wOt(3101,!1)}()),Lt=!0),Lt&&H.splice(oi,0,l())}return{duration:G,delay:Oe,easing:It}}(O,H,b)}function Ae(O,H,b){H.forEach((U,G)=>{const Oe=Fe(G);b&&!b.has(G)&&b.set(G,O.style[Oe]),O.style[Oe]=U})}function we(O,H){H.forEach((b,U)=>{const G=Fe(U);O.style[G]=""})}function he(O){return Array.isArray(O)?1==O.length?O[0]:(0,w.K2)(O):O}const Re=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ne(O){let H=[];if("string"==typeof O){let b;for(;b=Re.exec(O);)H.push(b[1]);Re.lastIndex=0}return H}function gt(O,H,b){const U=`${O}`,G=U.replace(Re,(Oe,It)=>{let Lt=H[It];return null==Lt&&(b.push(function d(O){return new t.wOt(3003,!1)}()),Lt=""),Lt.toString()});return G==U?O:G}const $e=/-+([a-z0-9])/g;function Fe(O){return O.replace($e,(...H)=>H[1].toUpperCase())}function Tt(O,H,b){switch(H.type){case w.If.Trigger:return O.visitTrigger(H,b);case w.If.State:return O.visitState(H,b);case w.If.Transition:return O.visitTransition(H,b);case w.If.Sequence:return O.visitSequence(H,b);case w.If.Group:return O.visitGroup(H,b);case w.If.Animate:return O.visitAnimate(H,b);case w.If.Keyframes:return O.visitKeyframes(H,b);case w.If.Style:return O.visitStyle(H,b);case w.If.Reference:return O.visitReference(H,b);case w.If.AnimateChild:return O.visitAnimateChild(H,b);case w.If.AnimateRef:return O.visitAnimateRef(H,b);case w.If.Query:return O.visitQuery(H,b);case w.If.Stagger:return O.visitStagger(H,b);default:throw function T(O){return new t.wOt(3004,!1)}()}}function mi(O,H){return window.getComputedStyle(O)[H]}const Kt=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Pt extends Ie{normalizePropertyName(H,b){return Fe(H)}normalizeStyleValue(H,b,U,G){let Oe="";const It=U.toString().trim();if(Kt.has(b)&&0!==U&&"0"!==U)if("number"==typeof U)Oe="px";else{const Lt=U.match(/^[+-]?[\d\.]+([a-z]*)$/);Lt&&0==Lt[1].length&&G.push(function y(O,H){return new t.wOt(3005,!1)}())}return It+Oe}}const Zi="*";const ct=new Set(["true","1"]),wt=new Set(["false","0"]);function Ut(O,H){const b=ct.has(O)||wt.has(O),U=ct.has(H)||wt.has(H);return(G,Oe)=>{let It=O==Zi||O==G,Lt=H==Zi||H==Oe;return!It&&b&&"boolean"==typeof G&&(It=G?ct.has(O):wt.has(O)),!Lt&&U&&"boolean"==typeof Oe&&(Lt=Oe?ct.has(H):wt.has(H)),It&&Lt}}const Si=new RegExp("s*:selfs*,?","g");function zi(O,H,b,U){return new Ni(O).build(H,b,U)}class Ni{constructor(H){this._driver=H}build(H,b,U){const G=new bt(b);return this._resetContextStyleTimingState(G),Tt(this,he(H),G)}_resetContextStyleTimingState(H){H.currentQuerySelector="",H.collectedStyles=new Map,H.collectedStyles.set("",new Map),H.currentTime=0}visitTrigger(H,b){let U=b.queryCount=0,G=b.depCount=0;const Oe=[],It=[];return"@"==H.name.charAt(0)&&b.errors.push(function F(){return new t.wOt(3006,!1)}()),H.definitions.forEach(Lt=>{if(this._resetContextStyleTimingState(b),Lt.type==w.If.State){const oi=Lt,ci=oi.name;ci.toString().split(/\s*,\s*/).forEach(Ui=>{oi.name=Ui,Oe.push(this.visitState(oi,b))}),oi.name=ci}else if(Lt.type==w.If.Transition){const oi=this.visitTransition(Lt,b);U+=oi.queryCount,G+=oi.depCount,It.push(oi)}else b.errors.push(function R(){return new t.wOt(3007,!1)}())}),{type:w.If.Trigger,name:H.name,states:Oe,transitions:It,queryCount:U,depCount:G,options:null}}visitState(H,b){const U=this.visitStyle(H.styles,b),G=H.options&&H.options.params||null;if(U.containsDynamicStyles){const Oe=new Set,It=G||{};U.styles.forEach(Lt=>{Lt instanceof Map&&Lt.forEach(oi=>{Ne(oi).forEach(ci=>{It.hasOwnProperty(ci)||Oe.add(ci)})})}),Oe.size&&b.errors.push(function z(O,H){return new t.wOt(3008,!1)}(0,Oe.values()))}return{type:w.If.State,name:H.name,style:U,options:G?{params:G}:null}}visitTransition(H,b){b.queryCount=0,b.depCount=0;const U=Tt(this,he(H.animation),b),G=function Qt(O,H){const b=[];return"string"==typeof O?O.split(/\s*,\s*/).forEach(U=>function Mt(O,H,b){if(":"==O[0]){const oi=function it(O,H){switch(O){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(b,U)=>parseFloat(U)>parseFloat(b);case":decrement":return(b,U)=>parseFloat(U)<parseFloat(b);default:return H.push(function Te(O){return new t.wOt(3016,!1)}()),"* => *"}}(O,b);if("function"==typeof oi)return void H.push(oi);O=oi}const U=O.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==U||U.length<4)return b.push(function Me(O){return new t.wOt(3015,!1)}()),H;const G=U[1],Oe=U[2],It=U[3];H.push(Ut(G,It)),"<"==Oe[0]&&(G!=Zi||It!=Zi)&&H.push(Ut(It,G))}(U,b,H)):b.push(O),b}(H.expr,b.errors);return{type:w.If.Transition,matchers:G,animation:U,queryCount:b.queryCount,depCount:b.depCount,options:Ce(H.options)}}visitSequence(H,b){return{type:w.If.Sequence,steps:H.steps.map(U=>Tt(this,U,b)),options:Ce(H.options)}}visitGroup(H,b){const U=b.currentTime;let G=0;const Oe=H.steps.map(It=>{b.currentTime=U;const Lt=Tt(this,It,b);return G=Math.max(G,b.currentTime),Lt});return b.currentTime=G,{type:w.If.Group,steps:Oe,options:Ce(H.options)}}visitAnimate(H,b){const U=function je(O,H){if(O.hasOwnProperty("duration"))return O;if("number"==typeof O)return ot(zt(O,H).duration,0,"");const b=O;if(b.split(/\s+/).some(Oe=>"{"==Oe.charAt(0)&&"{"==Oe.charAt(1))){const Oe=ot(0,0,"");return Oe.dynamic=!0,Oe.strValue=b,Oe}const G=zt(b,H);return ot(G.duration,G.delay,G.easing)}(H.timings,b.errors);b.currentAnimateTimings=U;let G,Oe=H.styles?H.styles:(0,w.iF)({});if(Oe.type==w.If.Keyframes)G=this.visitKeyframes(Oe,b);else{let It=H.styles,Lt=!1;if(!It){Lt=!0;const ci={};U.easing&&(ci.easing=U.easing),It=(0,w.iF)(ci)}b.currentTime+=U.duration+U.delay;const oi=this.visitStyle(It,b);oi.isEmptyStep=Lt,G=oi}return b.currentAnimateTimings=null,{type:w.If.Animate,timings:U,style:G,options:null}}visitStyle(H,b){const U=this._makeStyleAst(H,b);return this._validateStyleAst(U,b),U}_makeStyleAst(H,b){const U=[],G=Array.isArray(H.styles)?H.styles:[H.styles];for(let Lt of G)"string"==typeof Lt?Lt===w.kp?U.push(Lt):b.errors.push(new t.wOt(3002,!1)):U.push(new Map(Object.entries(Lt)));let Oe=!1,It=null;return U.forEach(Lt=>{if(Lt instanceof Map&&(Lt.has("easing")&&(It=Lt.get("easing"),Lt.delete("easing")),!Oe))for(let oi of Lt.values())if(oi.toString().indexOf("{{")>=0){Oe=!0;break}}),{type:w.If.Style,styles:U,easing:It,offset:H.offset,containsDynamicStyles:Oe,options:null}}_validateStyleAst(H,b){const U=b.currentAnimateTimings;let G=b.currentTime,Oe=b.currentTime;U&&Oe>0&&(Oe-=U.duration+U.delay),H.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Lt,oi)=>{const ci=b.collectedStyles.get(b.currentQuerySelector),Ui=ci.get(oi);let Ti=!0;Ui&&(Oe!=G&&Oe>=Ui.startTime&&G<=Ui.endTime&&(b.errors.push(function j(O,H,b,U,G){return new t.wOt(3010,!1)}()),Ti=!1),Oe=Ui.startTime),Ti&&ci.set(oi,{startTime:Oe,endTime:G}),b.options&&function q(O,H,b){const U=H.params||{},G=Ne(O);G.length&&G.forEach(Oe=>{U.hasOwnProperty(Oe)||b.push(function I(O){return new t.wOt(3001,!1)}())})}(Lt,b.options,b.errors)})})}visitKeyframes(H,b){const U={type:w.If.Keyframes,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(function Q(){return new t.wOt(3011,!1)}()),U;let Oe=0;const It=[];let Lt=!1,oi=!1,ci=0;const Ui=H.steps.map(Un=>{const Vr=this._makeStyleAst(Un,b);let la=null!=Vr.offset?Vr.offset:function re(O){if("string"==typeof O)return null;let H=null;if(Array.isArray(O))O.forEach(b=>{if(b instanceof Map&&b.has("offset")){const U=b;H=parseFloat(U.get("offset")),U.delete("offset")}});else if(O instanceof Map&&O.has("offset")){const b=O;H=parseFloat(b.get("offset")),b.delete("offset")}return H}(Vr.styles),cr=0;return null!=la&&(Oe++,cr=Vr.offset=la),oi=oi||cr<0||cr>1,Lt=Lt||cr<ci,ci=cr,It.push(cr),Vr});oi&&b.errors.push(function J(){return new t.wOt(3012,!1)}()),Lt&&b.errors.push(function ee(){return new t.wOt(3200,!1)}());const Ti=H.steps.length;let un=0;Oe>0&&Oe<Ti?b.errors.push(function ie(){return new t.wOt(3202,!1)}()):0==Oe&&(un=1/(Ti-1));const bn=Ti-1,Yi=b.currentTime,Ji=b.currentAnimateTimings,An=Ji.duration;return Ui.forEach((Un,Vr)=>{const la=un>0?Vr==bn?1:un*Vr:It[Vr],cr=la*An;b.currentTime=Yi+Ji.delay+cr,Ji.duration=cr,this._validateStyleAst(Un,b),Un.offset=la,U.styles.push(Un)}),U}visitReference(H,b){return{type:w.If.Reference,animation:Tt(this,he(H.animation),b),options:Ce(H.options)}}visitAnimateChild(H,b){return b.depCount++,{type:w.If.AnimateChild,options:Ce(H.options)}}visitAnimateRef(H,b){return{type:w.If.AnimateRef,animation:this.visitReference(H.animation,b),options:Ce(H.options)}}visitQuery(H,b){const U=b.currentQuerySelector,G=H.options||{};b.queryCount++,b.currentQuery=H;const[Oe,It]=function fn(O){const H=!!O.split(/\s*,\s*/).find(b=>":self"==b);return H&&(O=O.replace(Si,"")),O=O.replace(/@\*/g,Et).replace(/@\w+/g,b=>Et+"-"+b.slice(1)).replace(/:animating/g,oe),[O,H]}(H.selector);b.currentQuerySelector=U.length?U+" "+Oe:Oe,me(b.collectedStyles,b.currentQuerySelector,new Map);const Lt=Tt(this,he(H.animation),b);return b.currentQuery=null,b.currentQuerySelector=U,{type:w.If.Query,selector:Oe,limit:G.limit||0,optional:!!G.optional,includeSelf:It,animation:Lt,originalSelector:H.selector,options:Ce(H.options)}}visitStagger(H,b){b.currentQuery||b.errors.push(function ge(){return new t.wOt(3013,!1)}());const U="full"===H.timings?{duration:0,delay:0,easing:"full"}:zt(H.timings,b.errors,!0);return{type:w.If.Stagger,animation:Tt(this,he(H.animation),b),timings:U,options:null}}}class bt{constructor(H){this.errors=H,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ce(O){return O?(O={...O}).params&&(O.params=function Zt(O){return O?{...O}:null}(O.params)):O={},O}function ot(O,H,b){return{duration:O,delay:H,easing:b}}function ut(O,H,b,U,G,Oe,It=null,Lt=!1){return{type:1,element:O,keyframes:H,preStyleProps:b,postStyleProps:U,duration:G,delay:Oe,totalTime:G+Oe,easing:It,subTimeline:Lt}}class ii{constructor(){this._map=new Map}get(H){return this._map.get(H)||[]}append(H,b){let U=this._map.get(H);U||this._map.set(H,U=[]),U.push(...b)}has(H){return this._map.has(H)}clear(){this._map.clear()}}const mn=new RegExp(":enter","g"),$n=new RegExp(":leave","g");function Yn(O,H,b,U,G,Oe=new Map,It=new Map,Lt,oi,ci=[]){return(new Qn).buildKeyframes(O,H,b,U,G,Oe,It,Lt,oi,ci)}class Qn{buildKeyframes(H,b,U,G,Oe,It,Lt,oi,ci,Ui=[]){ci=ci||new ii;const Ti=new Rn(H,b,ci,G,Oe,Ui,[]);Ti.options=oi;const un=oi.delay?tt(oi.delay):0;Ti.currentTimeline.delayNextStep(un),Ti.currentTimeline.setStyles([It],null,Ti.errors,oi),Tt(this,U,Ti);const bn=Ti.timelines.filter(Yi=>Yi.containsAnimation());if(bn.length&&Lt.size){let Yi;for(let Ji=bn.length-1;Ji>=0;Ji--){const An=bn[Ji];if(An.element===b){Yi=An;break}}Yi&&!Yi.allowOnlyTimelineStyles()&&Yi.setStyles([Lt],null,Ti.errors,oi)}return bn.length?bn.map(Yi=>Yi.buildKeyframes()):[ut(b,[],[],[],0,un,"",!1)]}visitTrigger(H,b){}visitState(H,b){}visitTransition(H,b){}visitAnimateChild(H,b){const U=b.subInstructions.get(b.element);if(U){const G=b.createSubContext(H.options),Oe=b.currentTimeline.currentTime,It=this._visitSubInstructions(U,G,G.options);Oe!=It&&b.transformIntoNewTimeline(It)}b.previousNode=H}visitAnimateRef(H,b){const U=b.createSubContext(H.options);U.transformIntoNewTimeline(),this._applyAnimationRefDelays([H.options,H.animation.options],b,U),this.visitReference(H.animation,U),b.transformIntoNewTimeline(U.currentTimeline.currentTime),b.previousNode=H}_applyAnimationRefDelays(H,b,U){for(const G of H){const Oe=G?.delay;if(Oe){const It="number"==typeof Oe?Oe:tt(gt(Oe,G?.params??{},b.errors));U.delayNextStep(It)}}}_visitSubInstructions(H,b,U){let Oe=b.currentTimeline.currentTime;const It=null!=U.duration?tt(U.duration):null,Lt=null!=U.delay?tt(U.delay):null;return 0!==It&&H.forEach(oi=>{const ci=b.appendInstructionToTimeline(oi,It,Lt);Oe=Math.max(Oe,ci.duration+ci.delay)}),Oe}visitReference(H,b){b.updateOptions(H.options,!0),Tt(this,H.animation,b),b.previousNode=H}visitSequence(H,b){const U=b.subContextCount;let G=b;const Oe=H.options;if(Oe&&(Oe.params||Oe.delay)&&(G=b.createSubContext(Oe),G.transformIntoNewTimeline(),null!=Oe.delay)){G.previousNode.type==w.If.Style&&(G.currentTimeline.snapshotCurrentStyles(),G.previousNode=rr);const It=tt(Oe.delay);G.delayNextStep(It)}H.steps.length&&(H.steps.forEach(It=>Tt(this,It,G)),G.currentTimeline.applyStylesToKeyframe(),G.subContextCount>U&&G.transformIntoNewTimeline()),b.previousNode=H}visitGroup(H,b){const U=[];let G=b.currentTimeline.currentTime;const Oe=H.options&&H.options.delay?tt(H.options.delay):0;H.steps.forEach(It=>{const Lt=b.createSubContext(H.options);Oe&&Lt.delayNextStep(Oe),Tt(this,It,Lt),G=Math.max(G,Lt.currentTimeline.currentTime),U.push(Lt.currentTimeline)}),U.forEach(It=>b.currentTimeline.mergeTimelineCollectedStyles(It)),b.transformIntoNewTimeline(G),b.previousNode=H}_visitTiming(H,b){if(H.dynamic){const U=H.strValue;return zt(b.params?gt(U,b.params,b.errors):U,b.errors)}return{duration:H.duration,delay:H.delay,easing:H.easing}}visitAnimate(H,b){const U=b.currentAnimateTimings=this._visitTiming(H.timings,b),G=b.currentTimeline;U.delay&&(b.incrementTime(U.delay),G.snapshotCurrentStyles());const Oe=H.style;Oe.type==w.If.Keyframes?this.visitKeyframes(Oe,b):(b.incrementTime(U.duration),this.visitStyle(Oe,b),G.applyStylesToKeyframe()),b.currentAnimateTimings=null,b.previousNode=H}visitStyle(H,b){const U=b.currentTimeline,G=b.currentAnimateTimings;!G&&U.hasCurrentStyleProperties()&&U.forwardFrame();const Oe=G&&G.easing||H.easing;H.isEmptyStep?U.applyEmptyStep(Oe):U.setStyles(H.styles,Oe,b.errors,b.options),b.previousNode=H}visitKeyframes(H,b){const U=b.currentAnimateTimings,G=b.currentTimeline.duration,Oe=U.duration,Lt=b.createSubContext().currentTimeline;Lt.easing=U.easing,H.styles.forEach(oi=>{Lt.forwardTime((oi.offset||0)*Oe),Lt.setStyles(oi.styles,oi.easing,b.errors,b.options),Lt.applyStylesToKeyframe()}),b.currentTimeline.mergeTimelineCollectedStyles(Lt),b.transformIntoNewTimeline(G+Oe),b.previousNode=H}visitQuery(H,b){const U=b.currentTimeline.currentTime,G=H.options||{},Oe=G.delay?tt(G.delay):0;Oe&&(b.previousNode.type===w.If.Style||0==U&&b.currentTimeline.hasCurrentStyleProperties())&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=rr);let It=U;const Lt=b.invokeQuery(H.selector,H.originalSelector,H.limit,H.includeSelf,!!G.optional,b.errors);b.currentQueryTotal=Lt.length;let oi=null;Lt.forEach((ci,Ui)=>{b.currentQueryIndex=Ui;const Ti=b.createSubContext(H.options,ci);Oe&&Ti.delayNextStep(Oe),ci===b.element&&(oi=Ti.currentTimeline),Tt(this,H.animation,Ti),Ti.currentTimeline.applyStylesToKeyframe(),It=Math.max(It,Ti.currentTimeline.currentTime)}),b.currentQueryIndex=0,b.currentQueryTotal=0,b.transformIntoNewTimeline(It),oi&&(b.currentTimeline.mergeTimelineCollectedStyles(oi),b.currentTimeline.snapshotCurrentStyles()),b.previousNode=H}visitStagger(H,b){const U=b.parentContext,G=b.currentTimeline,Oe=H.timings,It=Math.abs(Oe.duration),Lt=It*(b.currentQueryTotal-1);let oi=It*b.currentQueryIndex;switch(Oe.duration<0?"reverse":Oe.easing){case"reverse":oi=Lt-oi;break;case"full":oi=U.currentStaggerTime}const Ui=b.currentTimeline;oi&&Ui.delayNextStep(oi);const Ti=Ui.currentTime;Tt(this,H.animation,b),b.previousNode=H,U.currentStaggerTime=G.currentTime-Ti+(G.startTime-U.currentTimeline.startTime)}}const rr={};class Rn{constructor(H,b,U,G,Oe,It,Lt,oi){this._driver=H,this.element=b,this.subInstructions=U,this._enterClassName=G,this._leaveClassName=Oe,this.errors=It,this.timelines=Lt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=rr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=oi||new _i(this._driver,b,0),Lt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(H,b){if(!H)return;const U=H;let G=this.options;null!=U.duration&&(G.duration=tt(U.duration)),null!=U.delay&&(G.delay=tt(U.delay));const Oe=U.params;if(Oe){let It=G.params;It||(It=this.options.params={}),Object.keys(Oe).forEach(Lt=>{(!b||!It.hasOwnProperty(Lt))&&(It[Lt]=gt(Oe[Lt],It,this.errors))})}}_copyOptions(){const H={};if(this.options){const b=this.options.params;if(b){const U=H.params={};Object.keys(b).forEach(G=>{U[G]=b[G]})}}return H}createSubContext(H=null,b,U){const G=b||this.element,Oe=new Rn(this._driver,G,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(G,U||0));return Oe.previousNode=this.previousNode,Oe.currentAnimateTimings=this.currentAnimateTimings,Oe.options=this._copyOptions(),Oe.updateOptions(H),Oe.currentQueryIndex=this.currentQueryIndex,Oe.currentQueryTotal=this.currentQueryTotal,Oe.parentContext=this,this.subContextCount++,Oe}transformIntoNewTimeline(H){return this.previousNode=rr,this.currentTimeline=this.currentTimeline.fork(this.element,H),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(H,b,U){const G={duration:b??H.duration,delay:this.currentTimeline.currentTime+(U??0)+H.delay,easing:""},Oe=new Oi(this._driver,H.element,H.keyframes,H.preStyleProps,H.postStyleProps,G,H.stretchStartingKeyframe);return this.timelines.push(Oe),G}incrementTime(H){this.currentTimeline.forwardTime(this.currentTimeline.duration+H)}delayNextStep(H){H>0&&this.currentTimeline.delayNextStep(H)}invokeQuery(H,b,U,G,Oe,It){let Lt=[];if(G&&Lt.push(this.element),H.length>0){H=(H=H.replace(mn,"."+this._enterClassName)).replace($n,"."+this._leaveClassName);let ci=this._driver.query(this.element,H,1!=U);0!==U&&(ci=U<0?ci.slice(ci.length+U,ci.length):ci.slice(0,U)),Lt.push(...ci)}return!Oe&&0==Lt.length&&It.push(function ae(O){return new t.wOt(3014,!1)}()),Lt}}class _i{constructor(H,b,U,G){this._driver=H,this.element=b,this.startTime=U,this._elementTimelineStylesLookup=G,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(b),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(b,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(H){const b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(this.forwardTime(this.currentTime+H),b&&this.snapshotCurrentStyles()):this.startTime+=H}fork(H,b){return this.applyStylesToKeyframe(),new _i(this._driver,H,b||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(H){this.applyStylesToKeyframe(),this.duration=H,this._loadKeyframe()}_updateStyle(H,b){this._localTimelineStyles.set(H,b),this._globalTimelineStyles.set(H,b),this._styleSummary.set(H,{time:this.currentTime,value:b})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(H){H&&this._previousKeyframe.set("easing",H);for(let[b,U]of this._globalTimelineStyles)this._backFill.set(b,U||w.kp),this._currentKeyframe.set(b,w.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(H,b,U,G){b&&this._previousKeyframe.set("easing",b);const Oe=G&&G.params||{},It=function Ci(O,H){const b=new Map;let U;return O.forEach(G=>{if("*"===G){U??=H.keys();for(let Oe of U)b.set(Oe,w.kp)}else for(let[Oe,It]of G)b.set(Oe,It)}),b}(H,this._globalTimelineStyles);for(let[Lt,oi]of It){const ci=gt(oi,Oe,U);this._pendingStyles.set(Lt,ci),this._localTimelineStyles.has(Lt)||this._backFill.set(Lt,this._globalTimelineStyles.get(Lt)??w.kp),this._updateStyle(Lt,ci)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((H,b)=>{this._currentKeyframe.set(b,H)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((H,b)=>{this._currentKeyframe.has(b)||this._currentKeyframe.set(b,H)}))}snapshotCurrentStyles(){for(let[H,b]of this._localTimelineStyles)this._pendingStyles.set(H,b),this._updateStyle(H,b)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const H=[];for(let b in this._currentKeyframe)H.push(b);return H}mergeTimelineCollectedStyles(H){H._styleSummary.forEach((b,U)=>{const G=this._styleSummary.get(U);(!G||b.time>G.time)&&this._updateStyle(U,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const H=new Set,b=new Set,U=1===this._keyframes.size&&0===this.duration;let G=[];this._keyframes.forEach((Lt,oi)=>{const ci=new Map([...this._backFill,...Lt]);ci.forEach((Ui,Ti)=>{Ui===w.FX?H.add(Ti):Ui===w.kp&&b.add(Ti)}),U||ci.set("offset",oi/this.duration),G.push(ci)});const Oe=[...H.values()],It=[...b.values()];if(U){const Lt=G[0],oi=new Map(Lt);Lt.set("offset",0),oi.set("offset",1),G=[Lt,oi]}return ut(this.element,G,Oe,It,this.duration,this.startTime,this.easing,!1)}}class Oi extends _i{constructor(H,b,U,G,Oe,It,Lt=!1){super(H,b,It.delay),this.keyframes=U,this.preStyleProps=G,this.postStyleProps=Oe,this._stretchStartingKeyframe=Lt,this.timings={duration:It.duration,delay:It.delay,easing:It.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let H=this.keyframes,{delay:b,duration:U,easing:G}=this.timings;if(this._stretchStartingKeyframe&&b){const Oe=[],It=U+b,Lt=b/It,oi=new Map(H[0]);oi.set("offset",0),Oe.push(oi);const ci=new Map(H[0]);ci.set("offset",jt(Lt)),Oe.push(ci);const Ui=H.length-1;for(let Ti=1;Ti<=Ui;Ti++){let un=new Map(H[Ti]);const bn=un.get("offset");un.set("offset",jt((b+bn*U)/It)),Oe.push(un)}U=It,b=0,G="",H=Oe}return ut(this.element,H,this.preStyleProps,this.postStyleProps,U,b,G,!0)}}function jt(O,H=3){const b=Math.pow(10,H-1);return Math.round(O*b)/b}function hi(O,H,b,U,G,Oe,It,Lt,oi,ci,Ui,Ti,un){return{type:0,element:O,triggerName:H,isRemovalTransition:G,fromState:b,fromStyles:Oe,toState:U,toStyles:It,timelines:Lt,queriedElements:oi,preStyleProps:ci,postStyleProps:Ui,totalTime:Ti,errors:un}}const yi={};class Vi{constructor(H,b,U){this._triggerName=H,this.ast=b,this._stateStyles=U}match(H,b,U,G){return function rn(O,H,b,U,G){return O.some(Oe=>Oe(H,b,U,G))}(this.ast.matchers,H,b,U,G)}buildStyles(H,b,U){let G=this._stateStyles.get("*");return void 0!==H&&(G=this._stateStyles.get(H?.toString())||G),G?G.buildStyles(b,U):new Map}build(H,b,U,G,Oe,It,Lt,oi,ci,Ui){const Ti=[],un=this.ast.options&&this.ast.options.params||yi,Yi=this.buildStyles(U,Lt&&Lt.params||yi,Ti),Ji=oi&&oi.params||yi,An=this.buildStyles(G,Ji,Ti),Un=new Set,Vr=new Map,la=new Map,cr="void"===G,ta={params:ar(Ji,un),delay:this.ast.options?.delay},Ar=Ui?[]:Yn(H,b,this.ast.animation,Oe,It,Yi,An,ta,ci,Ti);let ma=0;return Ar.forEach(ia=>{ma=Math.max(ia.duration+ia.delay,ma)}),Ti.length?hi(b,this._triggerName,U,G,cr,Yi,An,[],[],Vr,la,ma,Ti):(Ar.forEach(ia=>{const rc=ia.element,Lc=me(Vr,rc,new Set);ia.preStyleProps.forEach($c=>Lc.add($c));const M1=me(la,rc,new Set);ia.postStyleProps.forEach($c=>M1.add($c)),rc!==b&&Un.add(rc)}),hi(b,this._triggerName,U,G,cr,Yi,An,Ar,[...Un.values()],Vr,la,ma))}}function ar(O,H){const b={...H};return Object.entries(O).forEach(([U,G])=>{null!=G&&(b[U]=G)}),b}class sr{constructor(H,b,U){this.styles=H,this.defaultParams=b,this.normalizer=U}buildStyles(H,b){const U=new Map,G=ar(H,this.defaultParams);return this.styles.styles.forEach(Oe=>{"string"!=typeof Oe&&Oe.forEach((It,Lt)=>{It&&(It=gt(It,G,b));const oi=this.normalizer.normalizePropertyName(Lt,b);It=this.normalizer.normalizeStyleValue(Lt,oi,It,b),U.set(Lt,It)})}),U}}class or{constructor(H,b,U){this.name=H,this.ast=b,this._normalizer=U,this.transitionFactories=[],this.states=new Map,b.states.forEach(G=>{this.states.set(G.name,new sr(G.style,G.options&&G.options.params||{},U))}),Sr(this.states,"true","1"),Sr(this.states,"false","0"),b.transitions.forEach(G=>{this.transitionFactories.push(new Vi(H,G,this.states))}),this.fallbackTransition=function Xr(O,H,b){return new Vi(O,{type:w.If.Transition,animation:{type:w.If.Sequence,steps:[],options:null},matchers:[(It,Lt)=>!0],options:null,queryCount:0,depCount:0},H)}(H,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(H,b,U,G){return this.transitionFactories.find(It=>It.match(H,b,U,G))||null}matchStyles(H,b,U){return this.fallbackTransition.buildStyles(H,b,U)}}function Sr(O,H,b){O.has(H)?O.has(b)||O.set(b,O.get(H)):O.has(b)&&O.set(H,O.get(b))}const zr=new ii;class Ho{constructor(H,b,U){this.bodyNode=H,this._driver=b,this._normalizer=U,this._animations=new Map,this._playersById=new Map,this.players=[]}register(H,b){const U=[],Oe=zi(this._driver,b,U,[]);if(U.length)throw function m(O){return new t.wOt(3503,!1)}();this._animations.set(H,Oe)}_buildPlayer(H,b,U){const G=H.element,Oe=qe(this._normalizer,H.keyframes,b,U);return this._driver.animate(G,Oe,H.duration,H.delay,H.easing,[],!0)}create(H,b,U={}){const G=[],Oe=this._animations.get(H);let It;const Lt=new Map;if(Oe?(It=Yn(this._driver,b,Oe,rt,Yt,new Map,new Map,U,zr,G),It.forEach(Ui=>{const Ti=me(Lt,Ui.element,new Map);Ui.postStyleProps.forEach(un=>Ti.set(un,null))})):(G.push(function h(){return new t.wOt(3300,!1)}()),It=[]),G.length)throw function C(O){return new t.wOt(3504,!1)}();Lt.forEach((Ui,Ti)=>{Ui.forEach((un,bn)=>{Ui.set(bn,this._driver.computeStyle(Ti,bn,w.kp))})});const ci=ze(It.map(Ui=>{const Ti=Lt.get(Ui.element);return this._buildPlayer(Ui,new Map,Ti)}));return this._playersById.set(H,ci),ci.onDestroy(()=>this.destroy(H)),this.players.push(ci),ci}destroy(H){const b=this._getPlayer(H);b.destroy(),this._playersById.delete(H);const U=this.players.indexOf(b);U>=0&&this.players.splice(U,1)}_getPlayer(H){const b=this._playersById.get(H);if(!b)throw function k(O){return new t.wOt(3301,!1)}();return b}listen(H,b,U,G){const Oe=X(b,"","","");return Ke(this._getPlayer(H),U,Oe,G),()=>{}}command(H,b,U,G){if("register"==U)return void this.register(H,G[0]);if("create"==U)return void this.create(H,b,G[0]||{});const Oe=this._getPlayer(H);switch(U){case"play":Oe.play();break;case"pause":Oe.pause();break;case"reset":Oe.reset();break;case"restart":Oe.restart();break;case"finish":Oe.finish();break;case"init":Oe.init();break;case"setPosition":Oe.setPosition(parseFloat(G[0]));break;case"destroy":this.destroy(H)}}}const xo="ng-animate-queued",Rr="ng-animate-disabled",ho=[],xr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Sa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed";class ro{get params(){return this.options.params}constructor(H,b=""){this.namespaceId=b;const U=H&&H.hasOwnProperty("value");if(this.value=function da(O){return O??null}(U?H.value:H),U){const{value:Oe,...It}=H;this.options=It}else this.options={};this.options.params||(this.options.params={})}absorbOptions(H){const b=H.params;if(b){const U=this.options.params;Object.keys(b).forEach(G=>{null==U[G]&&(U[G]=b[G])})}}}const hn="void",Yr=new ro(hn);class Ta{constructor(H,b,U){this.id=H,this.hostElement=b,this._engine=U,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+H,kr(b,this._hostClassName)}listen(H,b,U,G){if(!this._triggers.has(b))throw function L(O,H){return new t.wOt(3302,!1)}();if(null==U||0==U.length)throw function _(O){return new t.wOt(3303,!1)}();if(!function Oa(O){return"start"==O||"done"==O}(U))throw function r(O,H){return new t.wOt(3400,!1)}();const Oe=me(this._elementListeners,H,[]),It={name:b,phase:U,callback:G};Oe.push(It);const Lt=me(this._engine.statesByElement,H,new Map);return Lt.has(b)||(kr(H,Nt),kr(H,Nt+"-"+b),Lt.set(b,Yr)),()=>{this._engine.afterFlush(()=>{const oi=Oe.indexOf(It);oi>=0&&Oe.splice(oi,1),this._triggers.has(b)||Lt.delete(b)})}}register(H,b){return!this._triggers.has(H)&&(this._triggers.set(H,b),!0)}_getTrigger(H){const b=this._triggers.get(H);if(!b)throw function v(O){return new t.wOt(3401,!1)}();return b}trigger(H,b,U,G=!0){const Oe=this._getTrigger(b),It=new wo(this.id,b,H);let Lt=this._engine.statesByElement.get(H);Lt||(kr(H,Nt),kr(H,Nt+"-"+b),this._engine.statesByElement.set(H,Lt=new Map));let oi=Lt.get(b);const ci=new ro(U,this.id);if(!(U&&U.hasOwnProperty("value"))&&oi&&ci.absorbOptions(oi.options),Lt.set(b,ci),oi||(oi=Yr),ci.value!==hn&&oi.value===ci.value){if(!function Ga(O,H){const b=Object.keys(O),U=Object.keys(H);if(b.length!=U.length)return!1;for(let G=0;G<b.length;G++){const Oe=b[G];if(!H.hasOwnProperty(Oe)||O[Oe]!==H[Oe])return!1}return!0}(oi.params,ci.params)){const Ji=[],An=Oe.matchStyles(oi.value,oi.params,Ji),Un=Oe.matchStyles(ci.value,ci.params,Ji);Ji.length?this._engine.reportError(Ji):this._engine.afterFlush(()=>{we(H,An),Ae(H,Un)})}return}const un=me(this._engine.playersByElement,H,[]);un.forEach(Ji=>{Ji.namespaceId==this.id&&Ji.triggerName==b&&Ji.queued&&Ji.destroy()});let bn=Oe.matchTransition(oi.value,ci.value,H,ci.params),Yi=!1;if(!bn){if(!G)return;bn=Oe.fallbackTransition,Yi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:H,triggerName:b,transition:bn,fromState:oi,toState:ci,player:It,isFallbackTransition:Yi}),Yi||(kr(H,xo),It.onStart(()=>{ha(H,xo)})),It.onDone(()=>{let Ji=this.players.indexOf(It);Ji>=0&&this.players.splice(Ji,1);const An=this._engine.playersByElement.get(H);if(An){let Un=An.indexOf(It);Un>=0&&An.splice(Un,1)}}),this.players.push(It),un.push(It),It}deregister(H){this._triggers.delete(H),this._engine.statesByElement.forEach(b=>b.delete(H)),this._elementListeners.forEach((b,U)=>{this._elementListeners.set(U,b.filter(G=>G.name!=H))})}clearElementCache(H){this._engine.statesByElement.delete(H),this._elementListeners.delete(H);const b=this._engine.playersByElement.get(H);b&&(b.forEach(U=>U.destroy()),this._engine.playersByElement.delete(H))}_signalRemovalForInnerTriggers(H,b){const U=this._engine.driver.query(H,Et,!0);U.forEach(G=>{if(G[zn])return;const Oe=this._engine.fetchNamespacesByElement(G);Oe.size?Oe.forEach(It=>It.triggerLeaveAnimation(G,b,!1,!0)):this.clearElementCache(G)}),this._engine.afterFlushAnimationsDone(()=>U.forEach(G=>this.clearElementCache(G)))}triggerLeaveAnimation(H,b,U,G){const Oe=this._engine.statesByElement.get(H),It=new Map;if(Oe){const Lt=[];if(Oe.forEach((oi,ci)=>{if(It.set(ci,oi.value),this._triggers.has(ci)){const Ui=this.trigger(H,ci,hn,G);Ui&&Lt.push(Ui)}}),Lt.length)return this._engine.markElementAsRemoved(this.id,H,!0,b,It),U&&ze(Lt).onDone(()=>this._engine.processLeaveNode(H)),!0}return!1}prepareLeaveAnimationListeners(H){const b=this._elementListeners.get(H),U=this._engine.statesByElement.get(H);if(b&&U){const G=new Set;b.forEach(Oe=>{const It=Oe.name;if(G.has(It))return;G.add(It);const oi=this._triggers.get(It).fallbackTransition,ci=U.get(It)||Yr,Ui=new ro(hn),Ti=new wo(this.id,It,H);this._engine.totalQueuedPlayers++,this._queue.push({element:H,triggerName:It,transition:oi,fromState:ci,toState:Ui,player:Ti,isFallbackTransition:!0})})}}removeNode(H,b){const U=this._engine;if(H.childElementCount&&this._signalRemovalForInnerTriggers(H,b),this.triggerLeaveAnimation(H,b,!0))return;let G=!1;if(U.totalAnimations){const Oe=U.players.length?U.playersByQueriedElement.get(H):[];if(Oe&&Oe.length)G=!0;else{let It=H;for(;It=It.parentNode;)if(U.statesByElement.get(It)){G=!0;break}}}if(this.prepareLeaveAnimationListeners(H),G)U.markElementAsRemoved(this.id,H,!1,b);else{const Oe=H[zn];(!Oe||Oe===xr)&&(U.afterFlush(()=>this.clearElementCache(H)),U.destroyInnerAnimations(H),U._onRemovalComplete(H,b))}}insertNode(H,b){kr(H,this._hostClassName)}drainQueuedTransitions(H){const b=[];return this._queue.forEach(U=>{const G=U.player;if(G.destroyed)return;const Oe=U.element,It=this._elementListeners.get(Oe);It&&It.forEach(Lt=>{if(Lt.name==U.triggerName){const oi=X(Oe,U.triggerName,U.fromState.value,U.toState.value);oi._data=H,Ke(U.player,Lt.phase,oi,Lt.callback)}}),G.markedForDestroy?this._engine.afterFlush(()=>{G.destroy()}):b.push(U)}),this._queue=[],b.sort((U,G)=>{const Oe=U.transition.ast.depCount,It=G.transition.ast.depCount;return 0==Oe||0==It?Oe-It:this._engine.driver.containsElement(U.element,G.element)?1:-1})}destroy(H){this.players.forEach(b=>b.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,H)}}class Co{_onRemovalComplete(H,b){this.onRemovalComplete(H,b)}constructor(H,b,U){this.bodyNode=H,this.driver=b,this._normalizer=U,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=(G,Oe)=>{}}get queuedPlayers(){const H=[];return this._namespaceList.forEach(b=>{b.players.forEach(U=>{U.queued&&H.push(U)})}),H}createNamespace(H,b){const U=new Ta(H,b,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(U,b):(this.newHostElements.set(b,U),this.collectEnterElement(b)),this._namespaceLookup[H]=U}_balanceNamespaceList(H,b){const U=this._namespaceList,G=this.namespacesByHostElement;if(U.length-1>=0){let It=!1,Lt=this.driver.getParentElement(b);for(;Lt;){const oi=G.get(Lt);if(oi){const ci=U.indexOf(oi);U.splice(ci+1,0,H),It=!0;break}Lt=this.driver.getParentElement(Lt)}It||U.unshift(H)}else U.push(H);return G.set(b,H),H}register(H,b){let U=this._namespaceLookup[H];return U||(U=this.createNamespace(H,b)),U}registerTrigger(H,b,U){let G=this._namespaceLookup[H];G&&G.register(b,U)&&this.totalAnimations++}destroy(H,b){H&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const U=this._fetchNamespace(H);this.namespacesByHostElement.delete(U.hostElement);const G=this._namespaceList.indexOf(U);G>=0&&this._namespaceList.splice(G,1),U.destroy(b),delete this._namespaceLookup[H]}))}_fetchNamespace(H){return this._namespaceLookup[H]}fetchNamespacesByElement(H){const b=new Set,U=this.statesByElement.get(H);if(U)for(let G of U.values())if(G.namespaceId){const Oe=this._fetchNamespace(G.namespaceId);Oe&&b.add(Oe)}return b}trigger(H,b,U,G){if(ao(b)){const Oe=this._fetchNamespace(H);if(Oe)return Oe.trigger(b,U,G),!0}return!1}insertNode(H,b,U,G){if(!ao(b))return;const Oe=b[zn];if(Oe&&Oe.setForRemoval){Oe.setForRemoval=!1,Oe.setForMove=!0;const It=this.collectedLeaveElements.indexOf(b);It>=0&&this.collectedLeaveElements.splice(It,1)}if(H){const It=this._fetchNamespace(H);It&&It.insertNode(b,U)}G&&this.collectEnterElement(b)}collectEnterElement(H){this.collectedEnterElements.push(H)}markElementAsDisabled(H,b){b?this.disabledNodes.has(H)||(this.disabledNodes.add(H),kr(H,Rr)):this.disabledNodes.has(H)&&(this.disabledNodes.delete(H),ha(H,Rr))}removeNode(H,b,U){if(ao(b)){const G=H?this._fetchNamespace(H):null;G?G.removeNode(b,U):this.markElementAsRemoved(H,b,!1,U);const Oe=this.namespacesByHostElement.get(b);Oe&&Oe.id!==H&&Oe.removeNode(b,U)}else this._onRemovalComplete(b,U)}markElementAsRemoved(H,b,U,G,Oe){this.collectedLeaveElements.push(b),b[zn]={namespaceId:H,setForRemoval:G,hasAnimation:U,removedBeforeQueried:!1,previousTriggersValues:Oe}}listen(H,b,U,G,Oe){return ao(b)?this._fetchNamespace(H).listen(b,U,G,Oe):()=>{}}_buildInstruction(H,b,U,G,Oe){return H.transition.build(this.driver,H.element,H.fromState.value,H.toState.value,U,G,H.fromState.options,H.toState.options,b,Oe)}destroyInnerAnimations(H){let b=this.driver.query(H,Et,!0);b.forEach(U=>this.destroyActiveAnimationsForElement(U)),0!=this.playersByQueriedElement.size&&(b=this.driver.query(H,oe,!0),b.forEach(U=>this.finishActiveQueriedAnimationOnElement(U)))}destroyActiveAnimationsForElement(H){const b=this.playersByElement.get(H);b&&b.forEach(U=>{U.queued?U.markedForDestroy=!0:U.destroy()})}finishActiveQueriedAnimationOnElement(H){const b=this.playersByQueriedElement.get(H);b&&b.forEach(U=>U.finish())}whenRenderingDone(){return new Promise(H=>{if(this.players.length)return ze(this.players).onDone(()=>H());H()})}processLeaveNode(H){const b=H[zn];if(b&&b.setForRemoval){if(H[zn]=xr,b.namespaceId){this.destroyInnerAnimations(H);const U=this._fetchNamespace(b.namespaceId);U&&U.clearElementCache(H)}this._onRemovalComplete(H,b.setForRemoval)}H.classList?.contains(Rr)&&this.markElementAsDisabled(H,!1),this.driver.query(H,".ng-animate-disabled",!0).forEach(U=>{this.markElementAsDisabled(U,!1)})}flush(H=-1){let b=[];if(this.newHostElements.size&&(this.newHostElements.forEach((U,G)=>this._balanceNamespaceList(U,G)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let U=0;U<this.collectedEnterElements.length;U++)kr(this.collectedEnterElements[U],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const U=[];try{b=this._flushAnimations(U,H)}finally{for(let G=0;G<U.length;G++)U[G]()}}else for(let U=0;U<this.collectedLeaveElements.length;U++)this.processLeaveNode(this.collectedLeaveElements[U]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(U=>U()),this._flushFns=[],this._whenQuietFns.length){const U=this._whenQuietFns;this._whenQuietFns=[],b.length?ze(b).onDone(()=>{U.forEach(G=>G())}):U.forEach(G=>G())}}reportError(H){throw function V(O){return new t.wOt(3402,!1)}()}_flushAnimations(H,b){const U=new ii,G=[],Oe=new Map,It=[],Lt=new Map,oi=new Map,ci=new Map,Ui=new Set;this.disabledNodes.forEach(wn=>{Ui.add(wn);const On=this.driver.query(wn,".ng-animate-queued",!0);for(let Gn=0;Gn<On.length;Gn++)Ui.add(On[Gn])});const Ti=this.bodyNode,un=Array.from(this.statesByElement.keys()),bn=Ro(un,this.collectedEnterElements),Yi=new Map;let Ji=0;bn.forEach((wn,On)=>{const Gn=rt+Ji++;Yi.set(On,Gn),wn.forEach(Mr=>kr(Mr,Gn))});const An=[],Un=new Set,Vr=new Set;for(let wn=0;wn<this.collectedLeaveElements.length;wn++){const On=this.collectedLeaveElements[wn],Gn=On[zn];Gn&&Gn.setForRemoval&&(An.push(On),Un.add(On),Gn.hasAnimation?this.driver.query(On,".ng-star-inserted",!0).forEach(Mr=>Un.add(Mr)):Vr.add(On))}const la=new Map,cr=Ro(un,Array.from(Un));cr.forEach((wn,On)=>{const Gn=Yt+Ji++;la.set(On,Gn),wn.forEach(Mr=>kr(Mr,Gn))}),H.push(()=>{bn.forEach((wn,On)=>{const Gn=Yi.get(On);wn.forEach(Mr=>ha(Mr,Gn))}),cr.forEach((wn,On)=>{const Gn=la.get(On);wn.forEach(Mr=>ha(Mr,Gn))}),An.forEach(wn=>{this.processLeaveNode(wn)})});const ta=[],Ar=[];for(let wn=this._namespaceList.length-1;wn>=0;wn--)this._namespaceList[wn].drainQueuedTransitions(b).forEach(Gn=>{const Mr=Gn.player,_o=Gn.element;if(ta.push(Mr),this.collectedEnterElements.length){const vo=_o[zn];if(vo&&vo.setForMove){if(vo.previousTriggersValues&&vo.previousTriggersValues.has(Gn.triggerName)){const Qc=vo.previousTriggersValues.get(Gn.triggerName),Xs=this.statesByElement.get(Gn.element);if(Xs&&Xs.has(Gn.triggerName)){const Ld=Xs.get(Gn.triggerName);Ld.value=Qc,Xs.set(Gn.triggerName,Ld)}}return void Mr.destroy()}}const ac=!Ti||!this.driver.containsElement(Ti,_o),xs=la.get(_o),yl=Yi.get(_o),wa=this._buildInstruction(Gn,U,yl,xs,ac);if(wa.errors&&wa.errors.length)return void Ar.push(wa);if(ac)return Mr.onStart(()=>we(_o,wa.fromStyles)),Mr.onDestroy(()=>Ae(_o,wa.toStyles)),void G.push(Mr);if(Gn.isFallbackTransition)return Mr.onStart(()=>we(_o,wa.fromStyles)),Mr.onDestroy(()=>Ae(_o,wa.toStyles)),void G.push(Mr);const Y2=[];wa.timelines.forEach(vo=>{vo.stretchStartingKeyframe=!0,this.disabledNodes.has(vo.element)||Y2.push(vo)}),wa.timelines=Y2,U.append(_o,wa.timelines),It.push({instruction:wa,player:Mr,element:_o}),wa.queriedElements.forEach(vo=>me(Lt,vo,[]).push(Mr)),wa.preStyleProps.forEach((vo,Qc)=>{if(vo.size){let Xs=oi.get(Qc);Xs||oi.set(Qc,Xs=new Set),vo.forEach((Ld,Id)=>Xs.add(Id))}}),wa.postStyleProps.forEach((vo,Qc)=>{let Xs=ci.get(Qc);Xs||ci.set(Qc,Xs=new Set),vo.forEach((Ld,Id)=>Xs.add(Id))})});if(Ar.length){const wn=[];Ar.forEach(On=>{wn.push(function ne(O,H){return new t.wOt(3505,!1)}())}),ta.forEach(On=>On.destroy()),this.reportError(wn)}const ma=new Map,ia=new Map;It.forEach(wn=>{const On=wn.element;U.has(On)&&(ia.set(On,On),this._beforeAnimationBuild(wn.player.namespaceId,wn.instruction,ma))}),G.forEach(wn=>{const On=wn.element;this._getPreviousPlayers(On,!1,wn.namespaceId,wn.triggerName,null).forEach(Mr=>{me(ma,On,[]).push(Mr),Mr.destroy()})});const rc=An.filter(wn=>Na(wn,oi,ci)),Lc=new Map;Fa(Lc,this.driver,Vr,ci,w.kp).forEach(wn=>{Na(wn,oi,ci)&&rc.push(wn)});const $c=new Map;bn.forEach((wn,On)=>{Fa($c,this.driver,new Set(wn),oi,w.FX)}),rc.forEach(wn=>{const On=Lc.get(wn),Gn=$c.get(wn);Lc.set(wn,new Map([...On?.entries()??[],...Gn?.entries()??[]]))});const W2=[],bl=[],X2={};It.forEach(wn=>{const{element:On,player:Gn,instruction:Mr}=wn;if(U.has(On)){if(Ui.has(On))return Gn.onDestroy(()=>Ae(On,Mr.toStyles)),Gn.disabled=!0,Gn.overrideTotalTime(Mr.totalTime),void G.push(Gn);let _o=X2;if(ia.size>1){let xs=On;const yl=[];for(;xs=xs.parentNode;){const wa=ia.get(xs);if(wa){_o=wa;break}yl.push(xs)}yl.forEach(wa=>ia.set(wa,_o))}const ac=this._buildAnimation(Gn.namespaceId,Mr,ma,Oe,$c,Lc);if(Gn.setRealPlayer(ac),_o===X2)W2.push(Gn);else{const xs=this.playersByElement.get(_o);xs&&xs.length&&(Gn.parentPlayer=ze(xs)),G.push(Gn)}}else we(On,Mr.fromStyles),Gn.onDestroy(()=>Ae(On,Mr.toStyles)),bl.push(Gn),Ui.has(On)&&G.push(Gn)}),bl.forEach(wn=>{const On=Oe.get(wn.element);if(On&&On.length){const Gn=ze(On);wn.setRealPlayer(Gn)}}),G.forEach(wn=>{wn.parentPlayer?wn.syncPlayerEvents(wn.parentPlayer):wn.destroy()});for(let wn=0;wn<An.length;wn++){const On=An[wn],Gn=On[zn];if(ha(On,Yt),Gn&&Gn.hasAnimation)continue;let Mr=[];if(Lt.size){let ac=Lt.get(On);ac&&ac.length&&Mr.push(...ac);let xs=this.driver.query(On,oe,!0);for(let yl=0;yl<xs.length;yl++){let wa=Lt.get(xs[yl]);wa&&wa.length&&Mr.push(...wa)}}const _o=Mr.filter(ac=>!ac.destroyed);_o.length?Br(this,On,_o):this.processLeaveNode(On)}return An.length=0,W2.forEach(wn=>{this.players.push(wn),wn.onDone(()=>{wn.destroy();const On=this.players.indexOf(wn);this.players.splice(On,1)}),wn.play()}),W2}afterFlush(H){this._flushFns.push(H)}afterFlushAnimationsDone(H){this._whenQuietFns.push(H)}_getPreviousPlayers(H,b,U,G,Oe){let It=[];if(b){const Lt=this.playersByQueriedElement.get(H);Lt&&(It=Lt)}else{const Lt=this.playersByElement.get(H);if(Lt){const oi=!Oe||Oe==hn;Lt.forEach(ci=>{ci.queued||!oi&&ci.triggerName!=G||It.push(ci)})}}return(U||G)&&(It=It.filter(Lt=>!(U&&U!=Lt.namespaceId||G&&G!=Lt.triggerName))),It}_beforeAnimationBuild(H,b,U){const Oe=b.element,It=b.isRemovalTransition?void 0:H,Lt=b.isRemovalTransition?void 0:b.triggerName;for(const oi of b.timelines){const ci=oi.element,Ui=ci!==Oe,Ti=me(U,ci,[]);this._getPreviousPlayers(ci,Ui,It,Lt,b.toState).forEach(bn=>{const Yi=bn.getRealPlayer();Yi.beforeDestroy&&Yi.beforeDestroy(),bn.destroy(),Ti.push(bn)})}we(Oe,b.fromStyles)}_buildAnimation(H,b,U,G,Oe,It){const Lt=b.triggerName,oi=b.element,ci=[],Ui=new Set,Ti=new Set,un=b.timelines.map(Yi=>{const Ji=Yi.element;Ui.add(Ji);const An=Ji[zn];if(An&&An.removedBeforeQueried)return new w.sf(Yi.duration,Yi.delay);const Un=Ji!==oi,Vr=function Ua(O){const H=[];return rs(O,H),H}((U.get(Ji)||ho).map(ma=>ma.getRealPlayer())).filter(ma=>!!ma.element&&ma.element===Ji),la=Oe.get(Ji),cr=It.get(Ji),ta=qe(this._normalizer,Yi.keyframes,la,cr),Ar=this._buildPlayer(Yi,ta,Vr);if(Yi.subTimeline&&G&&Ti.add(Ji),Un){const ma=new wo(H,Lt,Ji);ma.setRealPlayer(Ar),ci.push(ma)}return Ar});ci.forEach(Yi=>{me(this.playersByQueriedElement,Yi.element,[]).push(Yi),Yi.onDone(()=>function zo(O,H,b){let U=O.get(H);if(U){if(U.length){const G=U.indexOf(b);U.splice(G,1)}0==U.length&&O.delete(H)}return U}(this.playersByQueriedElement,Yi.element,Yi))}),Ui.forEach(Yi=>kr(Yi,Vt));const bn=ze(un);return bn.onDestroy(()=>{Ui.forEach(Yi=>ha(Yi,Vt)),Ae(oi,b.toStyles)}),Ti.forEach(Yi=>{me(G,Yi,[]).push(bn)}),bn}_buildPlayer(H,b,U){return b.length>0?this.driver.animate(H.element,b,H.duration,H.delay,H.easing,U):new w.sf(H.duration,H.delay)}}class wo{constructor(H,b,U){this.namespaceId=H,this.triggerName=b,this.element=U,this._player=new w.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(H){this._containsRealPlayer||(this._player=H,this._queuedCallbacks.forEach((b,U)=>{b.forEach(G=>Ke(H,U,void 0,G))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(H.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(H){this.totalTime=H}syncPlayerEvents(H){const b=this._player;b.triggerCallback&&H.onStart(()=>b.triggerCallback("start")),H.onDone(()=>this.finish()),H.onDestroy(()=>this.destroy())}_queueEvent(H,b){me(this._queuedCallbacks,H,[]).push(b)}onDone(H){this.queued&&this._queueEvent("done",H),this._player.onDone(H)}onStart(H){this.queued&&this._queueEvent("start",H),this._player.onStart(H)}onDestroy(H){this.queued&&this._queueEvent("destroy",H),this._player.onDestroy(H)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(H){this.queued||this._player.setPosition(H)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(H){const b=this._player;b.triggerCallback&&b.triggerCallback(H)}}function ao(O){return O&&1===O.nodeType}function ns(O,H){const b=O.style.display;return O.style.display=H??"none",b}function Fa(O,H,b,U,G){const Oe=[];b.forEach(oi=>Oe.push(ns(oi)));const It=[];U.forEach((oi,ci)=>{const Ui=new Map;oi.forEach(Ti=>{const un=H.computeStyle(ci,Ti,G);Ui.set(Ti,un),(!un||0==un.length)&&(ci[zn]=Sa,It.push(ci))}),O.set(ci,Ui)});let Lt=0;return b.forEach(oi=>ns(oi,Oe[Lt++])),It}function Ro(O,H){const b=new Map;if(O.forEach(Lt=>b.set(Lt,[])),0==H.length)return b;const G=new Set(H),Oe=new Map;function It(Lt){if(!Lt)return 1;let oi=Oe.get(Lt);if(oi)return oi;const ci=Lt.parentNode;return oi=b.has(ci)?ci:G.has(ci)?1:It(ci),Oe.set(Lt,oi),oi}return H.forEach(Lt=>{const oi=It(Lt);1!==oi&&b.get(oi).push(Lt)}),b}function kr(O,H){O.classList?.add(H)}function ha(O,H){O.classList?.remove(H)}function Br(O,H,b){ze(b).onDone(()=>O.processLeaveNode(H))}function rs(O,H){for(let b=0;b<O.length;b++){const U=O[b];U instanceof w.ui?rs(U.players,H):H.push(U)}}function Na(O,H,b){const U=b.get(O);if(!U)return!1;let G=H.get(O);return G?U.forEach(Oe=>G.add(Oe)):H.set(O,U),b.delete(O),!0}class ja{constructor(H,b,U){this._driver=b,this._normalizer=U,this._triggerCache={},this.onRemovalComplete=(G,Oe)=>{},this._transitionEngine=new Co(H.body,b,U),this._timelineEngine=new Ho(H.body,b,U),this._transitionEngine.onRemovalComplete=(G,Oe)=>this.onRemovalComplete(G,Oe)}registerTrigger(H,b,U,G,Oe){const It=H+"-"+G;let Lt=this._triggerCache[It];if(!Lt){const oi=[],Ui=zi(this._driver,Oe,oi,[]);if(oi.length)throw function n(O,H){return new t.wOt(3404,!1)}();Lt=function nr(O,H,b){return new or(O,H,b)}(G,Ui,this._normalizer),this._triggerCache[It]=Lt}this._transitionEngine.registerTrigger(b,G,Lt)}register(H,b){this._transitionEngine.register(H,b)}destroy(H,b){this._transitionEngine.destroy(H,b)}onInsert(H,b,U,G){this._transitionEngine.insertNode(H,b,U,G)}onRemove(H,b,U){this._transitionEngine.removeNode(H,b,U)}disableAnimations(H,b){this._transitionEngine.markElementAsDisabled(H,b)}process(H,b,U,G){if("@"==U.charAt(0)){const[Oe,It]=ce(U);this._timelineEngine.command(Oe,b,It,G)}else this._transitionEngine.trigger(H,b,U,G)}listen(H,b,U,G,Oe){if("@"==U.charAt(0)){const[It,Lt]=ce(U);return this._timelineEngine.listen(It,b,Lt,Oe)}return this._transitionEngine.listen(H,b,U,G,Oe)}flush(H=-1){this._transitionEngine.flush(H)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(H){this._transitionEngine.afterFlushAnimationsDone(H)}}class Uo{static#e=this.initialStylesByElement=new WeakMap;constructor(H,b,U){this._element=H,this._startStyles=b,this._endStyles=U,this._state=0;let G=Uo.initialStylesByElement.get(H);G||Uo.initialStylesByElement.set(H,G=new Map),this._initialStyles=G}start(){this._state<1&&(this._startStyles&&Ae(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ae(this._element,this._initialStyles),this._endStyles&&(Ae(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Uo.initialStylesByElement.delete(this._element),this._startStyles&&(we(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(we(this._element,this._endStyles),this._endStyles=null),Ae(this._element,this._initialStyles),this._state=3)}}function uo(O){let H=null;return O.forEach((b,U)=>{(function ga(O){return"display"===O||"position"===O})(U)&&(H=H||new Map,H.set(U,b))}),H}class Za{constructor(H,b,U,G){this.element=H,this.keyframes=b,this.options=U,this._specialStyles=G,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=U.duration,this._delay=U.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const H=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,H,this.options),this._finalKeyframe=H.length?H[H.length-1]:new Map;const b=()=>this._onFinish();this.domPlayer.addEventListener("finish",b),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",b)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(H){const b=[];return H.forEach(U=>{b.push(Object.fromEntries(U))}),b}_triggerWebAnimation(H,b,U){return H.animate(this._convertKeyframesToObject(b),U)}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(H=>H()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}setPosition(H){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=H*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const H=new Map;this.hasStarted()&&this._finalKeyframe.forEach((U,G)=>{"offset"!==G&&H.set(G,this._finished?U:mi(this.element,G))}),this.currentSnapshot=H}triggerCallback(H){const b="start"===H?this._onStartFns:this._onDoneFns;b.forEach(U=>U()),b.length=0}}class Lr{validateStyleProperty(H){return!0}validateAnimatableStyleProperty(H){return!0}containsElement(H,b){return at(H,b)}getParentElement(H){return ke(H)}query(H,b,U){return pt(H,b,U)}computeStyle(H,b,U){return mi(H,b)}animate(H,b,U,G,Oe,It=[]){const oi={duration:U,delay:G,fill:0==G?"both":"forwards"};Oe&&(oi.easing=Oe);const ci=new Map,Ui=It.filter(bn=>bn instanceof Za);(function et(O,H){return 0===O||0===H})(U,G)&&Ui.forEach(bn=>{bn.currentSnapshot.forEach((Yi,Ji)=>ci.set(Ji,Yi))});let Ti=function St(O){return O.length?O[0]instanceof Map?O:O.map(H=>new Map(Object.entries(H))):[]}(b).map(bn=>new Map(bn));Ti=function st(O,H,b){if(b.size&&H.length){let U=H[0],G=[];if(b.forEach((Oe,It)=>{U.has(It)||G.push(It),U.set(It,Oe)}),G.length)for(let Oe=1;Oe<H.length;Oe++){let It=H[Oe];G.forEach(Lt=>It.set(Lt,mi(O,Lt)))}}return H}(H,Ti,ci);const un=function Bo(O,H){let b=null,U=null;return Array.isArray(H)&&H.length?(b=uo(H[0]),H.length>1&&(U=uo(H[H.length-1]))):H instanceof Map&&(b=uo(H)),b||U?new Uo(O,b,U):null}(H,Ti);return new Za(H,Ti,oi,un)}}const Bn="@.disabled";class Da{constructor(H,b,U,G){this.namespaceId=H,this.delegate=b,this.engine=U,this._onDestroy=G,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(H){this.delegate.destroyNode?.(H)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(H,b){return this.delegate.createElement(H,b)}createComment(H){return this.delegate.createComment(H)}createText(H){return this.delegate.createText(H)}appendChild(H,b){this.delegate.appendChild(H,b),this.engine.onInsert(this.namespaceId,b,H,!1)}insertBefore(H,b,U,G=!0){this.delegate.insertBefore(H,b,U),this.engine.onInsert(this.namespaceId,b,H,G)}removeChild(H,b,U){this.engine.onRemove(this.namespaceId,b,this.delegate)}selectRootElement(H,b){return this.delegate.selectRootElement(H,b)}parentNode(H){return this.delegate.parentNode(H)}nextSibling(H){return this.delegate.nextSibling(H)}setAttribute(H,b,U,G){this.delegate.setAttribute(H,b,U,G)}removeAttribute(H,b,U){this.delegate.removeAttribute(H,b,U)}addClass(H,b){this.delegate.addClass(H,b)}removeClass(H,b){this.delegate.removeClass(H,b)}setStyle(H,b,U,G){this.delegate.setStyle(H,b,U,G)}removeStyle(H,b,U){this.delegate.removeStyle(H,b,U)}setProperty(H,b,U){"@"==b.charAt(0)&&b==Bn?this.disableAnimations(H,!!U):this.delegate.setProperty(H,b,U)}setValue(H,b){this.delegate.setValue(H,b)}listen(H,b,U){return this.delegate.listen(H,b,U)}disableAnimations(H,b){this.engine.disableAnimations(H,b)}}class Go extends Da{constructor(H,b,U,G,Oe){super(b,U,G,Oe),this.factory=H,this.namespaceId=b}setProperty(H,b,U){"@"==b.charAt(0)?"."==b.charAt(1)&&b==Bn?this.disableAnimations(H,U=void 0===U||!!U):this.engine.process(this.namespaceId,H,b.slice(1),U):this.delegate.setProperty(H,b,U)}listen(H,b,U){if("@"==b.charAt(0)){const G=function Wa(O){switch(O){case"body":return document.body;case"document":return document;case"window":return window;default:return O}}(H);let Oe=b.slice(1),It="";return"@"!=Oe.charAt(0)&&([Oe,It]=function as(O){const H=O.indexOf(".");return[O.substring(0,H),O.slice(H+1)]}(Oe)),this.engine.listen(this.namespaceId,G,Oe,It,Lt=>{this.factory.scheduleListenerCallback(Lt._data||-1,U,Lt)})}return this.delegate.listen(H,b,U)}}class Ft{constructor(H,b,U){this.delegate=H,this.engine=b,this._zone=U,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,b.onRemovalComplete=(G,Oe)=>{const It=Oe?.parentNode(G);It&&Oe.removeChild(It,G)}}createRenderer(H,b){const G=this.delegate.createRenderer(H,b);if(!H||!b?.data?.animation){const ci=this._rendererCache;let Ui=ci.get(G);return Ui||(Ui=new Da("",G,this.engine,()=>ci.delete(G)),ci.set(G,Ui)),Ui}const Oe=b.id,It=b.id+"-"+this._currentId;this._currentId++,this.engine.register(It,H);const Lt=ci=>{Array.isArray(ci)?ci.forEach(Lt):this.engine.registerTrigger(Oe,It,H,ci.name,ci)};return b.data.animation.forEach(Lt),new Go(this,It,G,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(H,b,U){if(H>=0&&H<this._microtaskId)return void this._zone.run(()=>b(U));const G=this._animationCallbacksBuffer;0==G.length&&queueMicrotask(()=>{this._zone.run(()=>{G.forEach(Oe=>{const[It,Lt]=Oe;It(Lt)}),this._animationCallbacksBuffer=[]})}),G.push([b,U])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var ri=g(177);const Ki=[{provide:Ie,useFactory:function ai(){return new Pt}},{provide:ja,useClass:(()=>{class O extends ja{constructor(b,U,G){super(b,U,G)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(U){return new(U||O)(t.KVO(ri.qQ),t.KVO(ue),t.KVO(Ie))};static#t=this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})()},{provide:t._9s,useFactory:function Ei(O,H,b){return new Ft(O,H,b)},deps:[e.B7,ja,t.SKi]}],tr=[{provide:ue,useFactory:()=>new Lr},{provide:t.bc$,useValue:"BrowserAnimations"},...Ki],Or=[{provide:ue,useClass:ye},{provide:t.bc$,useValue:"NoopAnimations"},...Ki];let Fr=(()=>{class O{static withConfig(b){return{ngModule:O,providers:b.disableAnimations?Or:tr}}static#e=this.\u0275fac=function(U){return new(U||O)};static#t=this.\u0275mod=t.$C({type:O});static#i=this.\u0275inj=t.G2t({providers:tr,imports:[e.Bb]})}return O})();var Ms=g(1626),oa=g(9327),Ri=g(9640),lt=g(4054),ht=g(983),Ue=g(1985),At=g(7673),ni=g(7786),pn=g(7242),Zn=g(2771),Fo=g(7647),vr=g(5964),Xa=g(6354),lc=g(274),dc=g(3236),hc=g(8211),jo=g(9974),Wo=g(8750),fo=g(1853),Is=g(4360),Vn=g(5225);const Kr=(0,fo.L)(O=>function(b=null){O(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=b});function so(O){throw new Kr(O)}var Ir=g(152),Aa=g(9437),$s=g(6697),dn=g(6977),Es=g(5558),uc=g(5245),Ss=g(941),fc=g(3993),_s=g(2816),kl=g(9079);const vs="PERFORM_ACTION",el="ROLLBACK",Rs="TOGGLE_ACTION",pc="JUMP_TO_STATE",Js="JUMP_TO_ACTION",bs="IMPORT_STATE",gc="LOCK_CHANGES",_c="PAUSE_RECORDING";class os{constructor(H,b){if(this.action=H,this.timestamp=b,this.type=vs,typeof H.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class So{constructor(){this.type="REFRESH"}}class Os{constructor(H){this.timestamp=H,this.type="RESET"}}class tl{constructor(H){this.timestamp=H,this.type=el}}class Rc{constructor(H){this.timestamp=H,this.type="COMMIT"}}class Il{constructor(){this.type="SWEEP"}}class il{constructor(H){this.id=H,this.type=Rs}}class Fs{constructor(H){this.index=H,this.type=pc}}class nt{constructor(H){this.actionId=H,this.type=Js}}class Rt{constructor(H){this.nextLiftedState=H,this.type=bs}}class kt{constructor(H){this.status=H,this.type=gc}}class Z{constructor(H){this.status=H,this.type=_c}}const De=new t.nKC("@ngrx/store-devtools Options"),We=new t.nKC("@ngrx/store-devtools Initial Config");function Dt(){return null}const ei="NgRx Store DevTools";function pi(O){const H={maxAge:!1,monitor:Dt,actionSanitizer:void 0,stateSanitizer:void 0,name:ei,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},b="function"==typeof O?O():O,G=b.features||!!b.logOnly&&{pause:!0,export:!0,test:!0}||H.features;!0===G.import&&(G.import="custom");const Oe=Object.assign({},H,{features:G},b);if(Oe.maxAge&&Oe.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${Oe.maxAge}`);return Oe}function Di(O,H){return O.filter(b=>H.indexOf(b)<0)}function an(O){const{computedStates:H,currentStateIndex:b}=O;if(b>=H.length){const{state:G}=H[H.length-1];return G}const{state:U}=H[b];return U}function yn(O){return new os(O,+Date.now())}function Dn(O,H){return Object.keys(H).reduce((b,U)=>{const G=Number(U);return b[G]=hr(O,H[G],G),b},{})}function hr(O,H,b){return{...H,action:O(H.action,b)}}function ir(O,H){return H.map((b,U)=>({state:br(O,b.state,U),error:b.error}))}function br(O,H,b){return O(H,b)}function gr(O){return O.predicate||O.actionsSafelist||O.actionsBlocklist}function sa(O,H,b,U,G){const Oe=b&&!b(O,H.action),It=U&&!H.action.type.match(U.map(oi=>Hn(oi)).join("|")),Lt=G&&H.action.type.match(G.map(oi=>Hn(oi)).join("|"));return Oe||It||Lt}function Hn(O){return O.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Bi(O){return{ngZone:O?(0,t.WQX)(t.SKi):null,connectInZone:O}}let sn=(()=>{class O extends Ri.SS{static#e=this.\u0275fac=(()=>{let b;return function(G){return(b||(b=t.xGo(O)))(G||O)}})();static#t=this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})();const $r=new t.nKC("@ngrx/store-devtools Redux Devtools Extension");let fa=(()=>{class O{constructor(b,U,G){this.config=U,this.dispatcher=G,this.zoneConfig=Bi(this.config.connectInZone),this.devtoolsExtension=b,this.createActionStreams()}notify(b,U){if(this.devtoolsExtension)if(b.type===vs){if(U.isLocked||U.isPaused)return;const G=an(U);if(gr(this.config)&&sa(G,b,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const Oe=this.config.stateSanitizer?br(this.config.stateSanitizer,G,U.currentStateIndex):G,It=this.config.actionSanitizer?hr(this.config.actionSanitizer,b,U.nextActionId):b;this.sendToReduxDevtools(()=>this.extensionConnection.send(It,Oe))}else{const G={...U,stagedActionIds:U.stagedActionIds,actionsById:this.config.actionSanitizer?Dn(this.config.actionSanitizer,U.actionsById):U.actionsById,computedStates:this.config.stateSanitizer?ir(this.config.stateSanitizer,U.computedStates):U.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,G,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new Ue.c(b=>{const U=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=U,U.init(),U.subscribe(G=>b.next(G)),U.unsubscribe}):ht.w}createActionStreams(){const b=this.createChangesObservable().pipe((0,Fo.u)()),U=b.pipe((0,vr.p)(ci=>"START"===ci.type)),G=b.pipe((0,vr.p)(ci=>"STOP"===ci.type)),Oe=b.pipe((0,vr.p)(ci=>"DISPATCH"===ci.type),(0,Xa.T)(ci=>this.unwrapAction(ci.payload)),(0,lc.H)(ci=>ci.type===bs?this.dispatcher.pipe((0,vr.p)(Ui=>Ui.type===Ri.q6),function ua(O,H){const{first:b,each:U,with:G=so,scheduler:Oe=H??dc.E,meta:It=null}=(0,hc.v)(O)?{first:O}:"number"==typeof O?{each:O}:O;if(null==b&&null==U)throw new TypeError("No timeout provided.");return(0,jo.N)((Lt,oi)=>{let ci,Ui,Ti=null,un=0;const bn=Yi=>{Ui=(0,Vn.N)(oi,Oe,()=>{try{ci.unsubscribe(),(0,Wo.Tg)(G({meta:It,lastValue:Ti,seen:un})).subscribe(oi)}catch(Ji){oi.error(Ji)}},Yi)};ci=Lt.subscribe((0,Is._)(oi,Yi=>{Ui?.unsubscribe(),un++,oi.next(Ti=Yi),U>0&&bn(U)},void 0,void 0,()=>{Ui?.closed||Ui?.unsubscribe(),Ti=null})),!un&&bn(null!=b?"number"==typeof b?b:+b-Oe.now():U)})}(1e3),(0,Ir.B)(1e3),(0,Xa.T)(()=>ci),(0,Aa.W)(()=>(0,At.of)(ci)),(0,$s.s)(1)):(0,At.of)(ci))),Lt=b.pipe((0,vr.p)(ci=>"ACTION"===ci.type),(0,Xa.T)(ci=>this.unwrapAction(ci.payload))).pipe((0,dn.Q)(G)),oi=Oe.pipe((0,dn.Q)(G));this.start$=U.pipe((0,dn.Q)(G)),this.actions$=this.start$.pipe((0,Es.n)(()=>Lt)),this.liftedActions$=this.start$.pipe((0,Es.n)(()=>oi))}unwrapAction(b){return"string"==typeof b?(0,eval)(`(${b})`):b}getExtensionConfig(b){const U={name:b.name,features:b.features,serialize:b.serialize,autoPause:b.autoPause??!1,trace:b.trace??!1,traceLimit:b.traceLimit??75};return!1!==b.maxAge&&(U.maxAge=b.maxAge),U}sendToReduxDevtools(b){try{b()}catch(U){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",U)}}static#e=this.\u0275fac=function(U){return new(U||O)(t.KVO($r),t.KVO(De),t.KVO(sn))};static#t=this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})();const Ya={type:Ri.Zz},Ur={type:"@ngrx/store-devtools/recompute"};function va(O,H,b,U,G){if(U)return{state:b,error:"Interrupted by an error up the chain"};let It,Oe=b;try{Oe=O(b,H)}catch(Lt){It=Lt.toString(),G.handleError(Lt)}return{state:Oe,error:It}}function cs(O,H,b,U,G,Oe,It,Lt,oi){if(H>=O.length&&O.length===Oe.length)return O;const ci=O.slice(0,H),Ui=Oe.length-(oi?1:0);for(let Ti=H;Ti<Ui;Ti++){const un=Oe[Ti],bn=G[un].action,Yi=ci[Ti-1],Ji=Yi?Yi.state:U,An=Yi?Yi.error:void 0,Vr=It.indexOf(un)>-1?Yi:va(b,bn,Ji,An,Lt);ci.push(Vr)}return oi&&ci.push(O[O.length-1]),ci}let Rl=(()=>{class O{constructor(b,U,G,Oe,It,Lt,oi,ci){const Ui=function Wn(O,H){return{monitorState:H(void 0,{}),nextActionId:1,actionsById:{0:yn(Ya)},stagedActionIds:[0],skippedActionIds:[],committedState:O,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(oi,ci.monitor),Ti=function bc(O,H,b,U,G={}){return Oe=>(It,Lt)=>{let{monitorState:oi,actionsById:ci,nextActionId:Ui,stagedActionIds:Ti,skippedActionIds:un,committedState:bn,currentStateIndex:Yi,computedStates:Ji,isLocked:An,isPaused:Un}=It||H;function Vr(ta){let Ar=ta,ma=Ti.slice(1,Ar+1);for(let ia=0;ia<ma.length;ia++){if(Ji[ia+1].error){Ar=ia,ma=Ti.slice(1,Ar+1);break}delete ci[ma[ia]]}un=un.filter(ia=>-1===ma.indexOf(ia)),Ti=[0,...Ti.slice(Ar+1)],bn=Ji[Ar].state,Ji=Ji.slice(Ar),Yi=Yi>Ar?Yi-Ar:0}function la(){ci={0:yn(Ya)},Ui=1,Ti=[0],un=[],bn=Ji[Yi].state,Yi=0,Ji=[]}It||(ci=Object.create(ci));let cr=0;switch(Lt.type){case gc:An=Lt.status,cr=1/0;break;case _c:Un=Lt.status,Un?(Ti=[...Ti,Ui],ci[Ui]=new os({type:"@ngrx/devtools/pause"},+Date.now()),Ui++,cr=Ti.length-1,Ji=Ji.concat(Ji[Ji.length-1]),Yi===Ti.length-2&&Yi++,cr=1/0):la();break;case"RESET":ci={0:yn(Ya)},Ui=1,Ti=[0],un=[],bn=O,Yi=0,Ji=[];break;case"COMMIT":la();break;case el:ci={0:yn(Ya)},Ui=1,Ti=[0],un=[],Yi=0,Ji=[];break;case Rs:{const{id:ta}=Lt;un=-1===un.indexOf(ta)?[ta,...un]:un.filter(ma=>ma!==ta),cr=Ti.indexOf(ta);break}case"SET_ACTIONS_ACTIVE":{const{start:ta,end:Ar,active:ma}=Lt,ia=[];for(let rc=ta;rc<Ar;rc++)ia.push(rc);un=ma?Di(un,ia):[...un,...ia],cr=Ti.indexOf(ta);break}case pc:Yi=Lt.index,cr=1/0;break;case Js:{const ta=Ti.indexOf(Lt.actionId);-1!==ta&&(Yi=ta),cr=1/0;break}case"SWEEP":Ti=Di(Ti,un),un=[],Yi=Math.min(Yi,Ti.length-1);break;case vs:{if(An)return It||H;if(Un||It&&sa(It.computedStates[Yi],Lt,G.predicate,G.actionsSafelist,G.actionsBlocklist)){const Ar=Ji[Ji.length-1];Ji=[...Ji.slice(0,-1),va(Oe,Lt.action,Ar.state,Ar.error,b)],cr=1/0;break}G.maxAge&&Ti.length===G.maxAge&&Vr(1),Yi===Ti.length-1&&Yi++;const ta=Ui++;ci[ta]=Lt,Ti=[...Ti,ta],cr=Ti.length-1;break}case bs:({monitorState:oi,actionsById:ci,nextActionId:Ui,stagedActionIds:Ti,skippedActionIds:un,committedState:bn,currentStateIndex:Yi,computedStates:Ji,isLocked:An,isPaused:Un}=Lt.nextLiftedState);break;case Ri.Zz:cr=0,G.maxAge&&Ti.length>G.maxAge&&(Ji=cs(Ji,cr,Oe,bn,ci,Ti,un,b,Un),Vr(Ti.length-G.maxAge),cr=1/0);break;case Ri.q6:if(Ji.filter(Ar=>Ar.error).length>0)cr=0,G.maxAge&&Ti.length>G.maxAge&&(Ji=cs(Ji,cr,Oe,bn,ci,Ti,un,b,Un),Vr(Ti.length-G.maxAge),cr=1/0);else{if(!Un&&!An){Yi===Ti.length-1&&Yi++;const Ar=Ui++;ci[Ar]=new os(Lt,+Date.now()),Ti=[...Ti,Ar],cr=Ti.length-1,Ji=cs(Ji,cr,Oe,bn,ci,Ti,un,b,Un)}Ji=Ji.map(Ar=>({...Ar,state:Oe(Ar.state,Ur)})),Yi=Ti.length-1,G.maxAge&&Ti.length>G.maxAge&&Vr(Ti.length-G.maxAge),cr=1/0}break;default:cr=1/0}return Ji=cs(Ji,cr,Oe,bn,ci,Ti,un,b,Un),oi=U(oi,Lt),{monitorState:oi,actionsById:ci,nextActionId:Ui,stagedActionIds:Ti,skippedActionIds:un,committedState:bn,currentStateIndex:Yi,computedStates:Ji,isLocked:An,isPaused:Un}}}(oi,Ui,Lt,ci.monitor,ci),un=(0,ni.h)((0,ni.h)(U.asObservable().pipe((0,uc.i)(1)),Oe.actions$).pipe((0,Xa.T)(yn)),b,Oe.liftedActions$).pipe((0,Ss.Q)(pn.T)),bn=G.pipe((0,Xa.T)(Ti)),Yi=Bi(ci.connectInZone),Ji=new Zn.m(1);this.liftedStateSubscription=un.pipe((0,fc.E)(bn),yc(Yi),(0,_s.S)(({state:Vr},[la,cr])=>{let ta=cr(Vr,la);return la.type!==vs&&gr(ci)&&(ta=function Cr(O,H,b,U){const G=[],Oe={},It=[];return O.stagedActionIds.forEach((Lt,oi)=>{const ci=O.actionsById[Lt];ci&&(oi&&sa(O.computedStates[oi],ci,H,b,U)||(Oe[Lt]=ci,G.push(Lt),It.push(O.computedStates[oi])))}),{...O,stagedActionIds:G,actionsById:Oe,computedStates:It}}(ta,ci.predicate,ci.actionsSafelist,ci.actionsBlocklist)),Oe.notify(la,ta),{state:ta,action:la}},{state:Ui,action:null})).subscribe(({state:Vr,action:la})=>{Ji.next(Vr),la.type===vs&&It.next(la.action)}),this.extensionStartSubscription=Oe.start$.pipe(yc(Yi)).subscribe(()=>{this.refresh()});const An=Ji.asObservable(),Un=An.pipe((0,Xa.T)(an));Object.defineProperty(Un,"state",{value:(0,kl.ot)(Un,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=b,this.liftedState=An,this.state=Un}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(b){this.dispatcher.next(b)}next(b){this.dispatcher.next(b)}error(b){}complete(){}performAction(b){this.dispatch(new os(b,+Date.now()))}refresh(){this.dispatch(new So)}reset(){this.dispatch(new Os(+Date.now()))}rollback(){this.dispatch(new tl(+Date.now()))}commit(){this.dispatch(new Rc(+Date.now()))}sweep(){this.dispatch(new Il)}toggleAction(b){this.dispatch(new il(b))}jumpToAction(b){this.dispatch(new nt(b))}jumpToState(b){this.dispatch(new Fs(b))}importState(b){this.dispatch(new Rt(b))}lockChanges(b){this.dispatch(new kt(b))}pauseRecording(b){this.dispatch(new Z(b))}static#e=this.\u0275fac=function(U){return new(U||O)(t.KVO(sn),t.KVO(Ri.SS),t.KVO(Ri.QU),t.KVO(fa),t.KVO(Ri.sA),t.KVO(t.zcH),t.KVO(Ri.N_),t.KVO(De))};static#t=this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})();function yc({ngZone:O,connectInZone:H}){return b=>H?new Ue.c(U=>b.subscribe({next:G=>O.run(()=>U.next(G)),error:G=>O.run(()=>U.error(G)),complete:()=>O.run(()=>U.complete())})):b}const Qr=new t.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function mo(O,H){return!!O||H.monitor!==Dt}function To(){const O="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[O]<"u"?window[O]:null}function qs(O={}){return(0,t.EmA)([fa,sn,Rl,{provide:We,useValue:O},{provide:Qr,deps:[$r,De],useFactory:mo},{provide:$r,useFactory:To},{provide:De,deps:[We],useFactory:pi},{provide:Ri.h1,deps:[Rl],useFactory:Oc},{provide:Ri.Bh,useExisting:sn}])}function Oc(O){return O.state}let Ns=(()=>{class O{static instrument(b={}){return{ngModule:O,providers:[qs(b)]}}static#e=this.\u0275fac=function(U){return new(U||O)};static#t=this.\u0275mod=t.$C({type:O});static#i=this.\u0275inj=t.G2t({})}return O})();var Gi=g(1413),Fc=g(3726),Ps=g(2806),kn=g(1807);function nl(O=0,H=dc.E){return O<0&&(O=0),(0,kn.O)(O,O,H)}var rl=g(8359),Xo=g(7908),Ol=g(9326),ea=g(8141),Fl=g(980),ka=g(3294);class ba{}function Ts(O){return(0,t.EmA)([{provide:ba,useValue:O}])}let Vs=(()=>{class O{constructor(b,U){this._ngZone=U,this.timerStart$=new Gi.B,this.idleDetected$=new Gi.B,this.timeout$=new Gi.B,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,b&&this.setConfig(b)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,ni.h)((0,Fc.R)(window,"mousemove"),(0,Fc.R)(window,"resize"),(0,Fc.R)(document,"keydown"))),this.idle$=(0,Ps.H)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Nc(O,...H){var b,U;const G=null!==(b=(0,Ol.lI)(H))&&void 0!==b?b:dc.E,Oe=null!==(U=H[0])&&void 0!==U?U:null,It=H[1]||1/0;return(0,jo.N)((Lt,oi)=>{let ci=[],Ui=!1;const Ti=Yi=>{const{buffer:Ji,subs:An}=Yi;An.unsubscribe(),(0,Xo.o)(ci,Yi),oi.next(Ji),Ui&&un()},un=()=>{if(ci){const Yi=new rl.yU;oi.add(Yi);const An={buffer:[],subs:Yi};ci.push(An),(0,Vn.N)(Yi,G,()=>Ti(An),O)}};null!==Oe&&Oe>=0?(0,Vn.N)(oi,G,un,Oe,!0):Ui=!0,un();const bn=(0,Is._)(oi,Yi=>{const Ji=ci.slice();for(const An of Ji){const{buffer:Un}=An;Un.push(Yi),It<=Un.length&&Ti(An)}},()=>{for(;ci?.length;)oi.next(ci.shift().buffer);bn?.unsubscribe(),oi.complete(),oi.unsubscribe()},void 0,()=>ci=null);Lt.subscribe(bn)})}(this.idleSensitivityMillisec),(0,vr.p)(b=>!b.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,ea.M)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Es.n)(()=>this._ngZone.runOutsideAngular(()=>nl(1e3).pipe((0,dn.Q)((0,ni.h)(this.activityEvents$,(0,kn.O)(this.idleMillisec).pipe((0,ea.M)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Fl.j)(()=>{this.isIdleDetected=!1,this.idleDetected$.next(!1)}))))).subscribe(),this.setupTimer(this.timeout),this.setupPing(this.pingMillisec)}stopWatching(){this.stopTimer(),this.idleSubscription&&this.idleSubscription.unsubscribe()}stopTimer(){this.isInactivityTimer=!1,this.timerStart$.next(!1)}resetTimer(){this.stopTimer(),this.isTimeout=!1}onTimerStart(){return this.timerStart$.pipe((0,ka.F)(),(0,Es.n)(b=>b?this.timer$:(0,At.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,vr.p)(b=>!!b),(0,ea.M)(()=>this.isTimeout=!0),(0,Xa.T)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(b){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(b):console.error("Call stopWatching() before set config values")}setConfig(b){b.idle&&(this.idleMillisec=1e3*b.idle),b.ping&&(this.pingMillisec=1e3*b.ping),b.idleSensitivity&&(this.idleSensitivityMillisec=1e3*b.idleSensitivity),b.timeout&&(this.timeout=b.timeout)}setCustomActivityEvents(b){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=b:console.error("Call stopWatching() before set custom activity events")}setupTimer(b){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,At.of)(()=>new Date).pipe((0,Xa.T)(U=>U()),(0,Es.n)(U=>nl(1e3).pipe((0,Xa.T)(()=>Math.round(((new Date).valueOf()-U.valueOf())/1e3)),(0,ea.M)(G=>{G>=b&&this.timeout$.next(!0)}))))})}setupPing(b){this.ping$=nl(b).pipe((0,vr.p)(()=>!this.isTimeout))}}return O.\u0275fac=function(b){return new(b||O)(t.KVO(ba,8),t.KVO(t.SKi))},O.\u0275prov=t.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();var En=g(1188),nn=g(5383),Gr=g(9647),ya=g(60),$i=g(2920),mr=g(5596),ca=g(6850);const Nl=()=>({initial:!1});function v0(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.activeLink=G.links[1].link)}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG();t.FS9("routerLink",b.links[1].link),t.Y8G("active",b.activeLink===b.links[1].link)("state",t.lJ4(4,Nl)),t.R7$(),t.JRh(b.links[1].name)}}function Hu(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",12),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.activeLink=G.links[2].link)}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG();t.FS9("routerLink",b.links[2].link),t.Y8G("active",b.activeLink===b.links[2].link),t.R7$(),t.JRh(b.links[2].name)}}let b0=(()=>{class O{constructor(b,U){this.store=b,this.router=U,this.faUserCog=nn.McB,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){const b=this.links.find(U=>this.router.url.includes(U.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,vr.p)(U=>U instanceof En.gx)).subscribe({next:U=>{const G=this.links.find(Oe=>U.urlAfterRedirects.includes(Oe.link));this.activeLink=G?G.link:this.links[0].link}}),this.store.select(Gr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(U=>{this.appConfig=U}),this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[2])).subscribe(U=>{this.showBitcoind=!1,this.selNode=U,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ri.il),t.rXU(En.Ix))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-settings"]],decls:16,vars:7,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","tabindex","3","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink","state"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3,"Settings"),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[0].link)}),t.EFF(9),t.k0s(),t.DNE(10,v0,2,5,"div",8)(11,Hu,2,3,"div",9),t.k0s(),t.nrm(12,"mat-tab-nav-panel",null,0),t.j41(14,"div",10),t.nrm(15,"router-outlet"),t.k0s()()()()}if(2&U){const Oe=t.sdS(13);t.R7$(),t.Y8G("icon",G.faUserCog),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.FS9("routerLink",G.links[0].link),t.Y8G("active",G.activeLink===G.links[0].link),t.R7$(),t.JRh(G.links[0].name),t.R7$(),t.Y8G("ngIf",!+G.appConfig.SSO.rtlSSO),t.R7$(),t.Y8G("ngIf",G.showBitcoind)}},dependencies:[ri.bT,ya.aY,$i.DJ,$i.sA,$i.UI,mr.RN,mr.m2,ca.Bu,ca.hQ,ca.Ql,En.n3,En.Wk]})}return O})();var Cn=g(1771),Yo=g(8570),Wi=g(9417),ve=g(8834),Pe=g(6467),xe=g(2798),Be=g(6600),ft=g(497),Ot=g(9587);function qt(O,H){if(1&O&&(t.j41(0,"mat-option",15),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.Y8G("value",b.index),t.R7$(),t.Lme(" ",b.lnNode," (",b.lnImplementation,") ")}}function Mi(O,H){if(1&O){const b=t.RV6();t.j41(0,"form",3,0)(2,"div",4),t.nrm(3,"fa-icon",5),t.j41(4,"span",6),t.EFF(5,"Default Node"),t.k0s()(),t.j41(6,"div",7)(7,"div",8)(8,"mat-form-field",9)(9,"mat-select",10),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG();return t.DH7(Oe.appConfig.defaultNodeIndex,G)||(Oe.appConfig.defaultNodeIndex=G),t.Njj(G)}),t.DNE(10,qt,2,3,"mat-option",11),t.k0s()()(),t.j41(11,"div",12)(12,"div",8)(13,"button",13),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.onResetSettings())}),t.EFF(14,"Reset"),t.k0s(),t.j41(15,"button",14),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.onUpdateApplicationSettings())}),t.EFF(16,"Update"),t.k0s()()()()()}if(2&O){const b=t.XpG();t.R7$(3),t.Y8G("icon",b.faWindowRestore),t.R7$(6),t.R50("ngModel",b.appConfig.defaultNodeIndex),t.R7$(),t.Y8G("ngForOf",b.appConfig.nodes)}}let vi=(()=>{class O{constructor(b,U){this.logger=b,this.store=U,this.faWindowRestore=nn.aFw,this.faPlus=nn.QLR,this.previousDefaultNode=0,this.unSubs=[new Gi.B,new Gi.B]}ngOnInit(){this.store.select(Gr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(b)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateApplicationSettings(){this.appConfig.defaultNodeIndex=this.appConfig.defaultNodeIndex?this.appConfig.defaultNodeIndex:this.appConfig&&this.appConfig.nodes&&this.appConfig.nodes.length&&this.appConfig.nodes.length>0&&this.appConfig.nodes[0].index?+this.appConfig.nodes[0].index:-1,this.store.dispatch((0,Cn.rc)({payload:{showSnackBar:!0,message:"Default Node Updated.",config:this.appConfig}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ri.il))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-app-settings"]],decls:2,vars:1,consts:[["form","ngForm"],["fxLayout","column","fxFlex","100",1,"padding-gap-x-large",3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","settings-container page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"my-2"],["fxLayout","row","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","tabindex","1","name","defaultNode",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","2",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","3",3,"click"],[3,"value"]],template:function(U,G){1&U&&(t.j41(0,"div",1),t.DNE(1,Mi,17,3,"form",2),t.k0s()),2&U&&(t.R7$(),t.Y8G("ngIf",G.appConfig.nodes&&G.appConfig.nodes.length&&G.appConfig.nodes.length>0))},dependencies:[ri.Sq,ri.bT,Wi.qT,Wi.BC,Wi.cb,Wi.vS,Wi.cV,ya.aY,$i.DJ,$i.sA,$i.UI,ve.$z,Pe.rl,xe.VO,Be.wT,ft.Ld,Ot.N]})}return O})();var on=g(2852),Sn=g(5351),Jn=g(1264),_r=g(7541),ys=g(5416),Nr=g(9631),Ka=g(6013),ls=g(8288),xc=g(9157);const Pl=["stepper"];function Ko(O,H){if(1&O&&t.EFF(0),2&O){const b=t.XpG();t.JRh(b.passwordFormLabel)}}function Ds(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}function Hs(O,H){if(1&O&&t.EFF(0),2&O){const b=t.XpG(2);t.JRh(b.secretFormLabel)}}function Cc(O,H){if(1&O&&t.nrm(0,"qr-code",33),2&O){const b=t.XpG(2);t.Y8G("value",b.otpauth)("size",180)("errorCorrectionLevel","L")}}function As(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Secret Code is required."),t.k0s())}function Vl(O,H){if(1&O){const b=t.RV6();t.j41(0,"mat-step",10)(1,"form",22),t.DNE(2,Hs,1,1,"ng-template",23),t.j41(3,"div",24),t.DNE(4,Cc,1,3,"qr-code",25),t.k0s(),t.j41(5,"div",26),t.nrm(6,"fa-icon",27),t.j41(7,"span"),t.EFF(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),t.k0s()(),t.j41(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),t.EFF(12,"Secret Code"),t.k0s(),t.nrm(13,"input",29),t.j41(14,"fa-icon",30),t.bIt("copied",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onCopySecret(G))}),t.k0s(),t.DNE(15,As,2,0,"mat-error",15),t.k0s()(),t.j41(16,"div",31)(17,"button",32),t.EFF(18,"Next"),t.k0s()()()()}if(2&O){const b=t.XpG();t.Y8G("stepControl",b.secretFormGroup)("editable",b.flgEditable),t.R7$(),t.Y8G("formGroup",b.secretFormGroup),t.R7$(3),t.Y8G("ngIf",b.otpauth),t.R7$(2),t.Y8G("icon",b.faInfoCircle),t.R7$(8),t.Y8G("icon",b.faCopy)("payload",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret?null:b.secretFormGroup.controls.secret.value),t.R7$(),t.Y8G("ngIf",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret||null==b.secretFormGroup.controls.secret.errors?null:b.secretFormGroup.controls.secret.errors.required)}}function Hd(O,H){if(1&O&&t.EFF(0),2&O){const b=t.XpG(2);t.JRh(b.tokenFormLabel)}}function wr(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Token is required."),t.k0s())}function ld(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Token is invalid."),t.k0s())}function La(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",8)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),t.EFF(4,"Token"),t.k0s(),t.nrm(5,"input",37),t.DNE(6,wr,2,0,"mat-error",15)(7,ld,2,0,"mat-error",15),t.k0s()(),t.j41(8,"div",31)(9,"button",38),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onVerifyToken())}),t.EFF(10),t.k0s()()()}if(2&O){const b=t.XpG(2);t.R7$(6),t.Y8G("ngIf",null==b.tokenFormGroup||null==b.tokenFormGroup.controls||null==b.tokenFormGroup.controls.token||null==b.tokenFormGroup.controls.token.errors?null:b.tokenFormGroup.controls.token.errors.required),t.R7$(),t.Y8G("ngIf",null==b.tokenFormGroup||null==b.tokenFormGroup.controls||null==b.tokenFormGroup.controls.token||null==b.tokenFormGroup.controls.token.errors?null:b.tokenFormGroup.controls.token.errors.notValid),t.R7$(3),t.JRh(null!=b.tokenFormGroup&&null!=b.tokenFormGroup.controls&&null!=b.tokenFormGroup.controls.token&&null!=b.tokenFormGroup.controls.token.errors&&b.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function po(O,H){1&O&&(t.j41(0,"div")(1,"strong"),t.EFF(2,"Success! You are all set."),t.k0s()())}function zu(O,H){if(1&O&&(t.j41(0,"mat-step",34)(1,"form",35),t.DNE(2,Hd,1,1,"ng-template",12)(3,La,11,3,"div",36)(4,po,3,0,"div",15),t.k0s()()),2&O){const b=t.XpG();t.Y8G("stepControl",b.tokenFormGroup),t.R7$(),t.Y8G("formGroup",b.tokenFormGroup),t.R7$(2),t.Y8G("ngIf",!b.flgValidated||!b.isTokenValid),t.R7$(),t.Y8G("ngIf",b.flgValidated&&b.isTokenValid)}}function ec(O,H){if(1&O&&t.EFF(0),2&O){const b=t.XpG(2);t.JRh(b.disableFormLabel)}}function Hl(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",8)(1,"div",39),t.nrm(2,"fa-icon",27),t.j41(3,"span"),t.EFF(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),t.k0s()(),t.j41(5,"div",31)(6,"button",38),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onVerifyToken())}),t.EFF(7,"Disable"),t.k0s()()()}if(2&O){const b=t.XpG(2);t.R7$(2),t.Y8G("icon",b.faExclamationTriangle)}}function $o(O,H){1&O&&(t.j41(0,"div")(1,"strong"),t.EFF(2,"Two factor authentication removed from RTL."),t.k0s()())}function Y3(O,H){if(1&O&&(t.j41(0,"mat-step",34)(1,"form",35),t.DNE(2,ec,1,1,"ng-template",12)(3,Hl,8,1,"div",36)(4,$o,3,0,"div",15),t.k0s()()),2&O){const b=t.XpG();t.Y8G("stepControl",b.disableFormGroup),t.R7$(),t.Y8G("formGroup",b.disableFormGroup),t.R7$(2),t.Y8G("ngIf",!b.flgValidated||!b.isTokenValid),t.R7$(),t.Y8G("ngIf",b.flgValidated&&b.isTokenValid)}}let zd=(()=>{class O{constructor(b,U,G,Oe,It,Lt){this.dialogRef=b,this.data=U,this.store=G,this.formBuilder=Oe,this.rtlEffects=It,this.snackBar=Lt,this.faExclamationTriangle=nn.zpE,this.faCopy=nn.jPR,this.faInfoCircle=nn.iW_,this.flgValidated=!1,this.isTokenValid=!0,this.otpauth="",this.appConfig=null,this.flgEditable=!0,this.showDisableStepper=!1,this.passwordFormLabel="Authenticate with your RTL password",this.secretFormLabel="Scan or copy the secret",this.tokenFormLabel="Verify your authentication is working",this.disableFormLabel="Disable two factor authentication",this.passwordFormGroup=this.formBuilder.group({hiddenPassword:["",[Wi.k0.required]],password:["",[Wi.k0.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},Wi.k0.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",Wi.k0.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Gi.B,new Gi.B]}ngOnInit(){this.appConfig=this.data.appConfig||null,this.showDisableStepper=!!this.appConfig?.enable2FA,this.secretFormGroup=this.formBuilder.group({secret:[{value:this.appConfig?.enable2FA?"":this.generateSecret(),disabled:!0},Wi.k0.required]})}generateSecret(){const b=Jn.authenticator.generateSecret();return this.otpauth=Jn.authenticator.keyuri("","Ride The Lightning (RTL)",b),b}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Cn.oz)({payload:on(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,$s.s)(1)).subscribe(b=>{"ERROR"!==b?(this.passwordFormGroup.controls.hiddenPassword.setValue(this.passwordFormGroup.controls.password.value),this.stepper.next()):(this.dialogRef.close(),this.snackBar.open("Unauthorized User. Logging out from RTL."))})}onCopySecret(b){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.appConfig.enable2FA=!1,this.appConfig.secret2FA="",this.store.dispatch((0,Cn.rc)({payload:{showSnackBar:!1,message:"Two factor authentication disabled successfully.",config:this.appConfig}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=Jn.authenticator.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value),!this.isTokenValid)return this.tokenFormGroup.controls.token.setErrors({notValid:!0}),!0;this.appConfig.enable2FA=!0,this.appConfig.secret2FA=this.secretFormGroup.controls.secret.value,this.store.dispatch((0,Cn.rc)({payload:{showSnackBar:!1,message:"Two factor authentication enabled successfully.",config:this.appConfig}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}b.selectedIndex<b.previouslySelectedIndex&&0===b.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Sn.CP),t.rXU(Sn.Vh),t.rXU(Ri.il),t.rXU(Wi.ze),t.rXU(_r.H),t.rXU(ys.UG))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-two-factor-auth"]],viewQuery:function(U,G){if(1&U&&t.GBs(Pl,5),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.stepper=Oe.first)}},decls:30,vars:11,consts:[["stepper",""],["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","15","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"mat-dialog-close"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","space-between",1,"my-1","pr-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100"],["autoFocus","","matInput","","type","password","tabindex","1","formControlName","password","required",""],[4,"ngIf"],["fxLayout","row",1,"mt-2"],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center"],["mat-button","","color","primary","tabindex","12","type","button","default","",3,"mat-dialog-close"],["fxLayout","column",1,"my-1","pr-1",3,"formGroup"],["matStepLabel","","disabled","true"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["fxFlex","100",1,"w-100","alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between stretch"],["autoFocus","","matInput","","type","text","tabindex","4","formControlName","secret","required",""],["matSuffix","","rtlClipboard","",3,"copied","icon","payload"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","6","type","button","matStepperNext",""],[3,"value","size","errorCorrectionLevel"],[3,"stepControl"],["fxLayout","column","fxLayoutAlign","start",1,"my-1","pr-1",3,"formGroup"],["fxLayout","column",4,"ngIf"],["autoFocus","","matInput","","type","text","tabindex","7","formControlName","token","required",""],["mat-button","","color","primary","tabindex","8","type","button",3,"click"],["fxFlex","100",1,"w-100","alert","alert-warn"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),t.EFF(5,"Setup Two Factor Authentication"),t.k0s()(),t.j41(6,"button",6),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",7)(9,"div",8)(10,"mat-vertical-stepper",9,0),t.bIt("selectionChange",function(Lt){return t.eBV(Oe),t.Njj(G.stepSelectionChanged(Lt))}),t.j41(12,"mat-step",10)(13,"form",11),t.DNE(14,Ko,1,1,"ng-template",12),t.j41(15,"div",1)(16,"mat-form-field",13)(17,"mat-label"),t.EFF(18,"Password"),t.k0s(),t.nrm(19,"input",14),t.DNE(20,Ds,2,0,"mat-error",15),t.k0s()(),t.j41(21,"div",16)(22,"button",17),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onAuthenticate())}),t.EFF(23,"Confirm"),t.k0s()()()(),t.DNE(24,Vl,19,8,"mat-step",18)(25,zu,5,4,"mat-step",19)(26,Y3,5,4,"mat-step",19),t.k0s(),t.j41(27,"div",20)(28,"button",21),t.EFF(29),t.k0s()()()()()()}2&U&&(t.R7$(6),t.Y8G("mat-dialog-close",!1),t.R7$(4),t.Y8G("linear",!0),t.R7$(2),t.Y8G("stepControl",G.passwordFormGroup)("editable",G.flgEditable),t.R7$(),t.Y8G("formGroup",G.passwordFormGroup),t.R7$(7),t.Y8G("ngIf",null==G.passwordFormGroup||null==G.passwordFormGroup.controls||null==G.passwordFormGroup.controls.password||null==G.passwordFormGroup.controls.password.errors?null:G.passwordFormGroup.controls.password.errors.required),t.R7$(4),t.Y8G("ngIf",!G.showDisableStepper),t.R7$(),t.Y8G("ngIf",!G.showDisableStepper),t.R7$(),t.Y8G("ngIf",G.showDisableStepper),t.R7$(2),t.Y8G("mat-dialog-close",!1),t.R7$(),t.JRh(G.flgValidated&&G.isTokenValid?"Close":"Cancel"))},dependencies:[ri.bT,Wi.qT,Wi.me,Wi.BC,Wi.cb,Wi.YS,Wi.j4,Wi.JD,ya.aY,$i.DJ,$i.sA,$i.UI,Sn.tx,ve.$z,mr.m2,mr.MM,Nr.fg,Pe.rl,Pe.nJ,Pe.TL,Pe.yw,Ka.V5,Ka.Ti,Ka.M6,Ka.F7,ls.Um,xc.U,Ot.N]})}return O})();var Wt=g(4416),qa=g(3202),Pc=g(1997);const y0=["authForm"];function Bu(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Current password is required."),t.k0s())}function al(O,H){if(1&O&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&O){const b=t.XpG(2);t.R7$(),t.JRh(b.errorMsg)}}function x0(O,H){if(1&O&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&O){const b=t.XpG(2);t.R7$(),t.JRh(b.errorConfirmMsg)}}function Z1(O,H){if(1&O){const b=t.RV6();t.j41(0,"form",12,0)(2,"div",13),t.nrm(3,"fa-icon",6),t.j41(4,"span",7),t.EFF(5,"Password"),t.k0s()(),t.j41(6,"mat-form-field")(7,"mat-label"),t.EFF(8,"Current Password"),t.k0s(),t.j41(9,"input",14),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG();return t.DH7(Oe.currPassword,G)||(Oe.currPassword=G),t.Njj(G)}),t.k0s(),t.DNE(10,Bu,2,0,"mat-error",15),t.k0s(),t.j41(11,"mat-form-field")(12,"mat-label"),t.EFF(13,"New Password"),t.k0s(),t.j41(14,"input",16),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG();return t.DH7(Oe.newPassword,G)||(Oe.newPassword=G),t.Njj(G)}),t.k0s(),t.DNE(15,al,2,1,"mat-error",15),t.k0s(),t.j41(16,"mat-form-field")(17,"mat-label"),t.EFF(18,"Confirm New Password"),t.k0s(),t.j41(19,"input",17),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG();return t.DH7(Oe.confirmPassword,G)||(Oe.confirmPassword=G),t.Njj(G)}),t.k0s(),t.DNE(20,x0,2,1,"mat-error",15),t.k0s(),t.j41(21,"div",18)(22,"button",19),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.onResetPassword())}),t.EFF(23,"Reset"),t.k0s(),t.j41(24,"button",20),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.onChangePassword())}),t.EFF(25,"Change Password"),t.k0s()()()}if(2&O){const b=t.XpG();t.R7$(3),t.Y8G("icon",b.faLock),t.R7$(6),t.R50("ngModel",b.currPassword),t.R7$(),t.Y8G("ngIf",!b.currPassword),t.R7$(4),t.R50("ngModel",b.newPassword),t.R7$(),t.Y8G("ngIf",b.matchOldAndNewPasswords()),t.R7$(4),t.R50("ngModel",b.confirmPassword),t.R7$(),t.Y8G("ngIf",b.matchNewPasswords())}}let Bd=(()=>{class O{constructor(b,U,G,Oe,It){this.logger=b,this.store=U,this.actions=G,this.router=Oe,this.sessionService=It,this.faInfoCircle=nn.iW_,this.faUserLock=nn.aAJ,this.faUserClock=nn.ld_,this.faLock=nn.DW4,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Gr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.logger.info(this.appConfig)}),this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{this.selNode=b}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,vr.p)(b=>b.type===Wt.aU.RESET_PASSWORD_RES)).subscribe(b=>{if(Wt.Ah.includes(this.currPassword.toLowerCase()))switch(this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.router.navigate(["/cln/home"]);break;case"ECL":this.router.navigate(["/ecl/home"]);break;default:this.router.navigate(["/lnd/home"])}this.form&&this.form.resetForm()})}onChangePassword(){if(!this.currPassword||!this.newPassword||!this.confirmPassword||this.currPassword===this.newPassword||this.newPassword!==this.confirmPassword||Wt.Ah.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Cn.xw)({payload:{currPassword:on(this.currPassword).toString(),newPassword:on(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let b=!1;return this.form&&this.form.controls&&this.form.controls.newpassword&&(this.newPassword?""!==this.currPassword&&""!==this.newPassword&&this.currPassword===this.newPassword?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="Old and New password cannot be same.",b=!0):Wt.Ah.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Wt.Ah?.reduce((U,G,Oe)=>Oe<Wt.Ah.length-1?U+G+'" / "':U+G+'".','Password cannot be "'),b=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",b=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",b=!0)),b}matchNewPasswords(){let b=!1;return this.form&&this.form.controls&&this.form.controls.confirmpassword&&(this.confirmPassword?""!==this.newPassword&&""!==this.confirmPassword&&this.newPassword!==this.confirmPassword?(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="New and confirm passwords do not match.",b=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",b=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",b=!0)),b}on2FAuth(){this.store.dispatch((0,Cn.xO)({payload:{data:{appConfig:this.appConfig,component:zd}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Cn.Qi)({payload:{uiMessage:Wt.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ri.il),t.rXU(lt.En),t.rXU(En.Ix),t.rXU(qa.Q))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-auth-settings"]],viewQuery:function(U,G){if(1&U&&t.GBs(y0,5),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.first)}},decls:15,vars:4,consts:[["authForm","ngForm"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],[1,"my-2"],["fxLayout","column","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModelChange","ngModel"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModelChange","ngModel"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"]],template:function(U,G){1&U&&(t.j41(0,"div",1),t.DNE(1,Z1,26,7,"form",2),t.nrm(2,"mat-divider",3),t.j41(3,"div",4)(4,"div",5),t.nrm(5,"fa-icon",6),t.j41(6,"span",7),t.EFF(7,"Two Factor Authentication"),t.k0s()(),t.j41(8,"div",8),t.nrm(9,"fa-icon",9),t.j41(10,"span"),t.EFF(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.k0s()(),t.j41(12,"div",10)(13,"button",11),t.bIt("click",function(){return G.on2FAuth()}),t.EFF(14),t.k0s()()()()),2&U&&(t.R7$(),t.Y8G("ngIf",null==G.appConfig?null:G.appConfig.allowPasswordUpdate),t.R7$(4),t.Y8G("icon",G.faUserClock),t.R7$(4),t.Y8G("icon",G.faInfoCircle),t.R7$(5),t.JRh(G.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[ri.bT,Wi.qT,Wi.me,Wi.BC,Wi.cb,Wi.YS,Wi.vS,Wi.cV,ya.aY,$i.DJ,$i.sA,$i.UI,ve.$z,Nr.fg,Pe.rl,Pe.nJ,Pe.TL,Pc.q,Ot.N]})}return O})();var wc=g(3902);function ol(O,H){1&O&&t.nrm(0,"mat-divider",7)}function Nn(O,H){if(1&O&&(t.j41(0,"div",4)(1,"pre",5),t.EFF(2),t.nI1(3,"json"),t.k0s(),t.DNE(4,ol,1,0,"mat-divider",6),t.k0s()),2&O){const b=t.XpG();t.R7$(2),t.JRh(t.bMT(3,2,b.configData)),t.R7$(2),t.Y8G("ngIf",""!==b.configData)}}function zl(O,H){if(1&O&&(t.j41(0,"h2"),t.EFF(1),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.JRh(b)}}function J1(O,H){if(1&O&&(t.j41(0,"h4",14),t.EFF(1),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.JRh(b)}}function C0(O,H){1&O&&t.nrm(0,"mat-divider",15),2&O&&t.Y8G("inset",!0)}function K3(O,H){if(1&O&&(t.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),t.DNE(2,zl,2,1,"h2",10),t.k0s(),t.j41(3,"mat-card-subtitle",11),t.DNE(4,J1,2,1,"h4",12),t.k0s(),t.DNE(5,C0,1,1,"mat-divider",13),t.k0s()),2&O){const b=H.$implicit;t.R7$(2),t.Y8G("ngIf",b.indexOf("[")>=0),t.R7$(2),t.Y8G("ngIf",b.indexOf("[")<0),t.R7$(),t.Y8G("ngIf",b.indexOf("[")<0)}}function Ud(O,H){if(1&O&&(t.j41(0,"div",8)(1,"mat-list"),t.DNE(2,K3,6,3,"mat-list-item",9),t.k0s()()),2&O){const b=t.XpG();t.R7$(2),t.Y8G("ngForOf",b.configData)}}let Uu=(()=>{class O{constructor(b,U,G){this.store=b,this.rtlEffects=U,this.router=G,this.configData="",this.fileFormat="INI",this.faCog=nn.dB,this.unSubs=[new Gi.B,new Gi.B]}ngOnInit(){this.store.dispatch((0,Cn.Dz)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{const U=b.data;this.fileFormat=b.format,this.configData=""===U||!U||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==U&&U&&"JSON"===this.fileFormat?U:"":U.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ri.il),t.rXU(_r.H),t.rXU(En.Ix))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-bitcoin-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(U,G){1&U&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,Nn,5,4,"div",2)(3,Ud,3,1,"div",3),t.k0s()()),2&U&&(t.R7$(2),t.Y8G("ngIf",""!==G.configData&&"JSON"===G.fileFormat),t.R7$(),t.Y8G("ngIf",""!==G.configData&&("INI"===G.fileFormat||"HOCON"===G.fileFormat)))},dependencies:[ri.Sq,ri.bT,$i.DJ,$i.sA,$i.UI,mr.Lc,wc.jt,wc.YE,Pc.q,ri.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return O})();function Gu(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}let ju=(()=>{class O{constructor(b,U,G){this.dialogRef=b,this.store=U,this.rtlEffects=G,this.password="",this.isAuthenticated=!1,this.unSubs=[new Gi.B,new Gi.B]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,$s.s)(1)).subscribe(b=>{"ERROR"!==b?(this.isAuthenticated=!0,this.store.dispatch((0,Cn.R$)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Cn.oz)({payload:on(this.password)}))}onClose(){this.store.dispatch((0,Cn.R$)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Sn.CP),t.rXU(Ri.il),t.rXU(_r.H))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-is-authorized"]],decls:18,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["autoFocus","","matInput","","type","password","id","password","name","password","tabindex","1","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","2","type","submit","default","",3,"click"]],template:function(U,G){1&U&&(t.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t.EFF(5,"Authenticate with your RTL Password"),t.k0s()(),t.j41(6,"button",5),t.bIt("click",function(){return G.onClose()}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),t.EFF(12,"Password"),t.k0s(),t.j41(13,"input",8),t.mxI("ngModelChange",function(It){return t.DH7(G.password,It)||(G.password=It),It}),t.k0s(),t.DNE(14,Gu,2,0,"mat-error",9),t.k0s(),t.j41(15,"div",10)(16,"button",11),t.bIt("click",function(){return G.onAuthenticate()}),t.EFF(17,"Confirm"),t.k0s()()()()()()),2&U&&(t.R7$(13),t.R50("ngModel",G.password),t.R7$(),t.Y8G("ngIf",!G.password))},dependencies:[ri.bT,Wi.qT,Wi.me,Wi.BC,Wi.cb,Wi.YS,Wi.vS,Wi.cV,$i.DJ,$i.sA,$i.UI,ve.$z,mr.m2,mr.MM,Nr.fg,Pe.rl,Pe.nJ,Pe.TL,Ot.N]})}return O})();const sl=()=>({initial:!1});function $3(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",13),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.activeLink=G.links[2].link)}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG();t.FS9("routerLink",b.links[2].link),t.Y8G("active",b.activeLink===b.links[2].link)("state",t.lJ4(4,sl)),t.R7$(),t.JRh(b.links[2].name)}}function Q3(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",14),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.activeLink=G.links[3].link)}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG();t.FS9("routerLink",b.links[3].link),t.Y8G("active",b.activeLink===b.links[3].link),t.R7$(),t.JRh(b.links[3].name)}}function Wu(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",15),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.showLnConfigClicked())}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG();t.Y8G("active",b.activeLink===b.links[4].link),t.R7$(),t.JRh(b.links[4].name)}}let Z3=(()=>{class O{constructor(b,U,G,Oe){this.store=b,this.router=U,this.rtlEffects=G,this.activatedRoute=Oe,this.faTools=nn.nsx,this.showLnConfig=!1,this.lnImplementationStr="",this.links=[{link:"nodesettings",name:"Node Settings"},{link:"pglayout",name:"Page Layout"},{link:"services",name:"Services"},{link:"experimental",name:"Experimental"},{link:"lnconfig",name:this.lnImplementationStr}],this.activeLink="",this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){const b=this.links.find(U=>this.router.url.includes(U.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,vr.p)(U=>U instanceof En.gx)).subscribe({next:U=>{const G=this.links.find(Oe=>U.urlAfterRedirects.includes(Oe.link));this.activeLink=G?G.link:this.links[0].link}}),this.store.select(Gr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(U=>{this.appConfig=U}),this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[2])).subscribe(U=>{switch(this.showLnConfig=!1,this.selNode=U,this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.lnImplementationStr="Core Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.authentication&&this.selNode.authentication.configPath&&""!==this.selNode.authentication.configPath.trim()&&(this.links[4].name=this.lnImplementationStr,this.showLnConfig=!0)})}showLnConfigClicked(){this.appConfig.SSO.rtlSSO?(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})):(this.store.dispatch((0,Cn.xO)({payload:{maxWidth:"50rem",data:{component:ju}}})),this.rtlEffects.closeAlert.pipe((0,dn.Q)(this.unSubs[3])).subscribe(b=>{b&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ri.il),t.rXU(En.Ix),t.rXU(_r.H),t.rXU(En.nX))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-node-config"]],decls:19,vars:11,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","4","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","5","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink","state"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3,"Node Config"),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[0].link)}),t.EFF(9),t.k0s(),t.j41(10,"div",8),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.activeLink=G.links[1].link)}),t.EFF(11),t.k0s(),t.DNE(12,$3,2,5,"div",9)(13,Q3,2,3,"div",10)(14,Wu,2,2,"div",11),t.k0s(),t.nrm(15,"mat-tab-nav-panel",null,0),t.j41(17,"div",12),t.nrm(18,"router-outlet"),t.k0s()()()()}if(2&U){const Oe=t.sdS(16);t.R7$(),t.Y8G("icon",G.faTools),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.FS9("routerLink",G.links[0].link),t.Y8G("active",G.activeLink===G.links[0].link),t.R7$(),t.JRh(G.links[0].name),t.R7$(),t.FS9("routerLink",G.links[1].link),t.Y8G("active",G.activeLink===G.links[1].link),t.R7$(),t.JRh(G.links[1].name),t.R7$(),t.Y8G("ngIf","ECL"!==(null==G.selNode||null==G.selNode.lnImplementation?null:G.selNode.lnImplementation.toUpperCase())),t.R7$(),t.Y8G("ngIf","CLN"===(null==G.selNode||null==G.selNode.lnImplementation?null:G.selNode.lnImplementation.toUpperCase())),t.R7$(),t.Y8G("ngIf",G.showLnConfig)}},dependencies:[ri.bT,ya.aY,$i.DJ,$i.sA,$i.UI,mr.RN,mr.m2,ca.Bu,ca.hQ,ca.Ql,En.n3,En.Wk]})}return O})();function J3(O,H){1&O&&t.nrm(0,"mat-divider",7)}function Ii(O,H){if(1&O&&(t.j41(0,"div",4)(1,"pre",5),t.EFF(2),t.nI1(3,"json"),t.k0s(),t.DNE(4,J3,1,0,"mat-divider",6),t.k0s()),2&O){const b=t.XpG();t.R7$(2),t.JRh(t.bMT(3,2,b.configData)),t.R7$(2),t.Y8G("ngIf",""!==b.configData)}}function ur(O,H){if(1&O&&(t.j41(0,"h2"),t.EFF(1),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.JRh(b)}}function w0(O,H){if(1&O&&(t.j41(0,"h4",14),t.EFF(1),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.JRh(b)}}function q1(O,H){1&O&&t.nrm(0,"mat-divider",15),2&O&&t.Y8G("inset",!0)}function jr(O,H){if(1&O&&(t.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),t.DNE(2,ur,2,1,"h2",10),t.k0s(),t.j41(3,"mat-card-subtitle",11),t.DNE(4,w0,2,1,"h4",12),t.k0s(),t.DNE(5,q1,1,1,"mat-divider",13),t.k0s()),2&O){const b=H.$implicit;t.R7$(2),t.Y8G("ngIf",b.indexOf("[")>=0),t.R7$(2),t.Y8G("ngIf",b.indexOf("[")<0),t.R7$(),t.Y8G("ngIf",b.indexOf("[")<0)}}function M0(O,H){if(1&O&&(t.j41(0,"div",8)(1,"mat-list"),t.DNE(2,jr,6,3,"mat-list-item",9),t.k0s()()),2&O){const b=t.XpG();t.R7$(2),t.Y8G("ngForOf",b.configData)}}let Bl=(()=>{class O{constructor(b,U,G){this.store=b,this.rtlEffects=U,this.router=G,this.configData="",this.fileFormat="INI",this.faCog=nn.dB,this.unSubs=[new Gi.B,new Gi.B]}ngOnInit(){this.store.dispatch((0,Cn.Dz)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{const U=b.data;this.fileFormat=b.format,this.configData=""===U||!U||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==U&&U&&"JSON"===this.fileFormat?U:"":U.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ri.il),t.rXU(_r.H),t.rXU(En.Ix))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-lnp-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(U,G){1&U&&(t.j41(0,"div",0)(1,"div",1),t.DNE(2,Ii,5,4,"div",2)(3,M0,3,1,"div",3),t.k0s()()),2&U&&(t.R7$(2),t.Y8G("ngIf",""!==G.configData&&"JSON"===G.fileFormat),t.R7$(),t.Y8G("ngIf",""!==G.configData&&("INI"===G.fileFormat||"HOCON"===G.fileFormat)))},dependencies:[ri.Sq,ri.bT,$i.DJ,$i.sA,$i.UI,mr.Lc,wc.jt,wc.YE,Pc.q,ri.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return O})();var Ia=g(2571),ds=g(6038),Ra=g(9454),Gd=g(5951),e2=g(450);const Sp=O=>({skin:!0,"selected-color":O});function Xu(O,H){if(1&O&&(t.j41(0,"span",41),t.nrm(1,"fa-icon",42),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.Y8G("icon",b.symbol)}}function Yu(O,H){if(1&O&&(t.j41(0,"span",41),t.nrm(1,"span",43),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.Y8G("innerHTML",b.symbol,t.npT)}}function jd(O,H){if(1&O&&(t.j41(0,"mat-option",39),t.DNE(1,Xu,2,1,"span",40)(2,Yu,2,1,"span",40),t.EFF(3),t.k0s()),2&O){const b=H.$implicit;t.Y8G("value",b.id),t.R7$(),t.Y8G("ngIf",b&&"FA"===b.iconType),t.R7$(),t.Y8G("ngIf",b&&"SVG"===b.iconType),t.R7$(),t.Lme(" ",b.name," (",b.id,") ")}}function hs(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Currency unit is required."),t.k0s())}function tc(O,H){if(1&O&&(t.j41(0,"mat-radio-button",44),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&O){const b=H.$implicit,U=t.XpG();t.Y8G("value",b)("checked",U.selNode.settings.userPersona===b),t.R7$(),t.SpI(" ",t.bMT(2,3,b)," ")}}function Ku(O,H){if(1&O&&(t.j41(0,"mat-radio-button",45),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.Y8G("value",b),t.R7$(),t.SpI("",b.name," ")}}function us(O,H){if(1&O){const b=t.RV6();t.j41(0,"span",46)(1,"div",47),t.nI1(2,"lowercase"),t.bIt("click",function(){const G=t.eBV(b).$implicit,Oe=t.XpG();return t.Njj(Oe.changeThemeColor(G.id))}),t.k0s(),t.EFF(3),t.k0s()}if(2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.HbH(t.bMT(2,4,b.id)),t.Y8G("ngClass",t.eq3(6,Sp,U.selectedThemeColor===b.id)),t.R7$(2),t.SpI(" ",b.name," ")}}let Mc=(()=>{class O{constructor(b,U,G,Oe){this.logger=b,this.commonService=U,this.store=G,this.sanitizer=Oe,this.faBarsStaggered=nn.o97,this.faExclamationTriangle=nn.zpE,this.faMoneyBillAlt=nn.iy8,this.faPaintBrush=nn._eQ,this.faInfoCircle=nn.iW_,this.faEyeSlash=nn.k6j,this.userPersonas=[Wt.HW.OPERATOR,Wt.HW.MERCHANT],this.currencyUnits=Wt.Zi,this.themeModes=Wt.Bv.modes,this.themeColors=Wt.Bv.themes,this.selectedThemeMode=Wt.Bv.modes[0],this.selectedThemeColor=Wt.Bv.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Gi.B,new Gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.currencyUnits.map(b=>("SVG"===b.iconType&&"string"==typeof b.symbol&&(b.symbol=b.symbol.replace('<svg class="currency-icon" ','<svg class="currency-icon '+b.class+'"'),b.symbol=this.sanitizer.bypassSecurityTrustHtml(b.symbol)),b)),this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{this.selNode=JSON.parse(JSON.stringify(b)),this.selectedThemeMode=this.themeModes.find(U=>this.selNode.settings.themeMode===U.id)||this.themeModes[0],this.selectedThemeColor=this.selNode.settings.themeColor,this.selNode.settings.fiatConversion||(this.selNode.settings.currencyUnit=""),this.previousSettings=JSON.parse(JSON.stringify(this.selNode.settings)),this.logger.info(b)})}toggleSettings(b,U){this.selNode.settings[b]=!this.selNode.settings[b]}changeThemeColor(b){this.selectedThemeColor=b,this.selNode.settings.themeColor=b}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onFiatConversionChange(b){this.selNode.settings.fiatConversion||delete this.selNode.settings.currencyUnit}onUpdateNodeSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.selNode.settings.blockExplorerUrl=this.selNode.settings.blockExplorerUrl.replace(/\/$/,""),this.logger.info(this.selNode.settings),this.store.dispatch((0,Cn.T$)({payload:this.selNode}))}onResetSettings(){const b=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(U=>U.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Cn.Qi)({payload:{uiMessage:Wt.MZ.NO_SPINNER,prevLnNodeIndex:+b,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ia.h),t.rXU(Ri.il),t.rXU(e.up))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-node-settings"]],decls:100,vars:21,consts:[["form","ngForm"],["currencyUnit","ngModel"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["displayMode","flat","multi","false"],["fxLayout","column",1,"flat-expansion-panel","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","start stretch"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["href","https://mempool.space/","target","blank"],["fxLayout","row wrap","fxLayoutAlign","start center"],["fxLayout","column","fxFlex","100"],["matInput","","name","blockExplorerUrl",3,"ngModelChange","ngModel"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModelChange","change","ngModel"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModelChange","change","ngModel"],["fxFlex","25"],["autoFocus","","tabindex","3","name","currencyUnit",3,"ngModelChange","disabled","required","ngModel"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-0"],["fxLayout","column","fxLayoutAlign","start start","fxFlex","100"],["color","primary","tabindex","1","name","userPersona",1,"radio-group",3,"ngModelChange","ngModel"],["class","radio-text mr-4",3,"value","checked",4,"ngFor","ngForOf"],[1,"mt-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],["color","primary","name","themeMode",1,"radio-group",3,"ngModelChange","change","ngModel"],["tabindex","5","class","radio-text mr-4",3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxLayout.gt-xs","row","fxFlex","100","fxLayoutAlign","space-between stretch","fxLayoutAlign.gt-xs","start stretch"],["fxLayout","column","fxFlex.gt-xs","50","fxFlex.gt-md","40","fxLayoutAlign","space-between stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between start"],["fxLayout","row","class","theme-name",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start start",1,"mt-1"],["fxLayout","row"],["mat-stroked-button","","color","primary","tabindex","10",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","11",3,"click"],[3,"value"],["class","mr-1",4,"ngIf"],[1,"mr-1"],[3,"icon"],["fxLayoutAlign","center center",3,"innerHTML"],[1,"radio-text","mr-4",3,"value","checked"],["tabindex","5",1,"radio-text","mr-4",3,"value"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"click","ngClass"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",2)(1,"form",3,0)(3,"mat-accordion",4)(4,"mat-expansion-panel",5)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),t.nrm(7,"fa-icon",6),t.j41(8,"span",7),t.EFF(9,"Block Explorer"),t.k0s()()(),t.j41(10,"div",8)(11,"div",9),t.nrm(12,"fa-icon",10),t.j41(13,"span"),t.EFF(14,"Configure your own blockchain explorer url or "),t.j41(15,"strong")(16,"a",11),t.EFF(17,"mempool.space"),t.k0s()(),t.EFF(18," will be used."),t.k0s()(),t.j41(19,"div",12)(20,"mat-form-field",13)(21,"mat-label"),t.EFF(22,"Block Explorer URL"),t.k0s(),t.j41(23,"input",14),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selNode.settings.blockExplorerUrl,Lt)||(G.selNode.settings.blockExplorerUrl=Lt),t.Njj(Lt)}),t.k0s(),t.j41(24,"mat-hint"),t.EFF(25,"Blockchain explorer URL, eg. https://mempool.space or https://blockstream.info"),t.k0s()()()()(),t.j41(26,"mat-expansion-panel",5)(27,"mat-expansion-panel-header")(28,"mat-panel-title"),t.nrm(29,"fa-icon",6),t.j41(30,"span",7),t.EFF(31,"Open Unannounced Channels"),t.k0s()()(),t.j41(32,"div",8)(33,"div",15),t.nrm(34,"fa-icon",10),t.j41(35,"span"),t.EFF(36,"Use this control to toggle setting which defaults to opening unannounced channels only."),t.k0s()(),t.j41(37,"div",12)(38,"mat-slide-toggle",16),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selNode.settings.unannouncedChannels,Lt)||(G.selNode.settings.unannouncedChannels=Lt),t.Njj(Lt)}),t.bIt("change",function(){return t.eBV(Oe),t.Njj(!G.selNode.settings.unannouncedChannels)}),t.EFF(39,"Open Unannounced Channels"),t.k0s()()()(),t.j41(40,"mat-expansion-panel",5)(41,"mat-expansion-panel-header")(42,"mat-panel-title"),t.nrm(43,"fa-icon",6),t.j41(44,"span",7),t.EFF(45,"Balance Display"),t.k0s()()(),t.j41(46,"div",8)(47,"div",9),t.nrm(48,"fa-icon",10),t.j41(49,"span"),t.EFF(50,"Fiat conversion calls "),t.j41(51,"strong")(52,"a",17),t.EFF(53,"Blockchain.com"),t.k0s()(),t.EFF(54," API to get conversion rates."),t.k0s()(),t.j41(55,"div",12)(56,"mat-slide-toggle",18),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selNode.settings.fiatConversion,Lt)||(G.selNode.settings.fiatConversion=Lt),t.Njj(Lt)}),t.bIt("change",function(Lt){return t.eBV(Oe),t.Njj(G.onFiatConversionChange(Lt))}),t.EFF(57,"Enable Fiat Conversion"),t.k0s(),t.j41(58,"mat-form-field",19)(59,"mat-label"),t.EFF(60,"Fiat Currency"),t.k0s(),t.j41(61,"mat-select",20,1),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selNode.settings.currencyUnit,Lt)||(G.selNode.settings.currencyUnit=Lt),t.Njj(Lt)}),t.DNE(63,jd,4,5,"mat-option",21),t.k0s(),t.DNE(64,hs,2,0,"mat-error",22),t.k0s()()()(),t.j41(65,"mat-expansion-panel",5)(66,"mat-expansion-panel-header")(67,"mat-panel-title"),t.nrm(68,"fa-icon",6),t.j41(69,"span",7),t.EFF(70,"Customization"),t.k0s()()(),t.j41(71,"div",8)(72,"div",23),t.nrm(73,"fa-icon",10),t.j41(74,"span"),t.EFF(75,"Dashboard layout will be tailored based on the role selected to better serve its needs."),t.k0s()(),t.j41(76,"div",24)(77,"h4"),t.EFF(78,"Dashboard Layout"),t.k0s(),t.j41(79,"mat-radio-group",25),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selNode.settings.userPersona,Lt)||(G.selNode.settings.userPersona=Lt),t.Njj(Lt)}),t.DNE(80,tc,3,5,"mat-radio-button",26),t.k0s()(),t.nrm(81,"mat-divider",27),t.j41(82,"div",28)(83,"h4"),t.EFF(84,"Mode"),t.k0s(),t.j41(85,"mat-radio-group",29),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selectedThemeMode,Lt)||(G.selectedThemeMode=Lt),t.Njj(Lt)}),t.bIt("change",function(){return t.eBV(Oe),t.Njj(G.chooseThemeMode())}),t.DNE(86,Ku,2,2,"mat-radio-button",30),t.k0s()(),t.nrm(87,"mat-divider",27),t.j41(88,"div",31)(89,"div",32)(90,"h4"),t.EFF(91,"Themes"),t.k0s(),t.j41(92,"div",33),t.DNE(93,us,4,8,"span",34),t.k0s()()()()()()(),t.j41(94,"div",35)(95,"div",36)(96,"button",37),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetSettings())}),t.EFF(97,"Reset"),t.k0s(),t.j41(98,"button",38),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateNodeSettings())}),t.EFF(99,"Update"),t.k0s()()()()}2&U&&(t.R7$(7),t.Y8G("icon",G.faBarsStaggered),t.R7$(5),t.Y8G("icon",G.faExclamationTriangle),t.R7$(11),t.R50("ngModel",G.selNode.settings.blockExplorerUrl),t.R7$(6),t.Y8G("icon",G.faEyeSlash),t.R7$(5),t.Y8G("icon",G.faInfoCircle),t.R7$(4),t.R50("ngModel",G.selNode.settings.unannouncedChannels),t.R7$(5),t.Y8G("icon",G.faMoneyBillAlt),t.R7$(5),t.Y8G("icon",G.faExclamationTriangle),t.R7$(8),t.R50("ngModel",G.selNode.settings.fiatConversion),t.R7$(5),t.Y8G("disabled",!G.selNode.settings.fiatConversion)("required",G.selNode.settings.fiatConversion),t.R50("ngModel",G.selNode.settings.currencyUnit),t.R7$(2),t.Y8G("ngForOf",G.currencyUnits),t.R7$(),t.Y8G("ngIf",G.selNode.settings.fiatConversion&&!G.selNode.settings.currencyUnit),t.R7$(4),t.Y8G("icon",G.faPaintBrush),t.R7$(5),t.Y8G("icon",G.faInfoCircle),t.R7$(6),t.R50("ngModel",G.selNode.settings.userPersona),t.R7$(),t.Y8G("ngForOf",G.userPersonas),t.R7$(5),t.R50("ngModel",G.selectedThemeMode),t.R7$(),t.Y8G("ngForOf",G.themeModes),t.R7$(7),t.Y8G("ngForOf",G.themeColors))},dependencies:[ri.YU,ri.Sq,ri.bT,Wi.qT,Wi.me,Wi.BC,Wi.cb,Wi.YS,Wi.vS,Wi.cV,ya.aY,$i.DJ,$i.sA,$i.UI,ds.PW,ve.$z,Ra.BS,Ra.GK,Ra.Z2,Ra.WN,Nr.fg,Pe.rl,Pe.nJ,Pe.MV,Pe.TL,Pc.q,Gd.VT,Gd._g,xe.VO,Be.wT,e2.sG,ft.Ld,Ot.N,ri.GH,ri.PV],styles:["h4[_ngcontent-%COMP%]{margin:.75rem 0 .5rem}.theme-name[_ngcontent-%COMP%]{min-width:10rem}@media only screen and (max-width: 37.5em){.theme-name[_ngcontent-%COMP%]{min-width:unset}}.skin[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;border-radius:50%;cursor:pointer;margin-right:.5rem}.skin.selected-color[_ngcontent-%COMP%]{width:1rem;height:1rem;border:2px solid}.skin.purple[_ngcontent-%COMP%]{background-color:#5e4ea5}.skin.indigo[_ngcontent-%COMP%]{background-color:#3f51b5}.skin.teal[_ngcontent-%COMP%]{background-color:#00695c}.skin.pink[_ngcontent-%COMP%]{background-color:#d81b60}.skin.yellow[_ngcontent-%COMP%]{background-color:#a1842c}"]})}return O})();var dd=g(9584),t2=g(3536),xa=g(8430),Pa=g(190),n2=g(2730),Ca=g(5428),Vc=g(9213),ic=g(4823),Ul=g(2929);const zs=O=>({error:O}),E0=O=>({"error-border":O}),Wd=O=>({"ml-minus-1":O}),$u=O=>({"error-border p-2":O});function Gl(O,H){if(1&O&&t.eu8(0,14),2&O){const b=t.XpG(),U=t.sdS(18);t.Y8G("ngTemplateOutlet",U)("ngTemplateOutletContext",t.eq3(2,zs,b.errorMessage))}}function Xd(O,H){if(1&O&&(t.j41(0,"mat-option",31),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.Y8G("value",b),t.R7$(),t.SpI(" ",b," ")}}function S0(O,H){if(1&O&&(t.j41(0,"mat-option",31),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&O){const b=H.$implicit,U=t.XpG(3);t.Y8G("value",b),t.R7$(),t.SpI(" ","ECL"===U.selNode.lnImplementation?t.bMT(2,2,b):t.i5U(3,4,b,"_")," ")}}function Qu(O,H){if(1&O&&(t.j41(0,"mat-option",31),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.Y8G("value",b),t.R7$(),t.SpI(" ","desc"===b?"Descending":"Ascending"," ")}}function Va(O,H){if(1&O&&(t.j41(0,"mat-option",34),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&O){const b=H.$implicit,U=t.XpG(2).$implicit,G=t.XpG(2);t.Y8G("value",b.column)("disabled",U.columnSelection.length<=2&&U.columnSelection.includes(b.column)),t.R7$(),t.SpI(" ",b.label?b.label:"ECL"===G.selNode.lnImplementation?t.bMT(2,3,b.column):t.i5U(3,5,b.column,"_")," ")}}function Hc(O,H){if(1&O){const b=t.RV6();t.j41(0,"mat-form-field",32)(1,"mat-label"),t.EFF(2,"Column selection (Desktop Resolution)"),t.k0s(),t.j41(3,"mat-select",33),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG().$implicit;return t.DH7(Oe.columnSelection,G)||(Oe.columnSelection=G),t.Njj(G)}),t.bIt("selectionChange",function(){t.eBV(b);const G=t.XpG().$implicit,Oe=t.XpG(2);return t.Njj(Oe.oncolumnSelectionChange(G))}),t.DNE(4,Va,4,8,"mat-option",28),t.k0s()()}if(2&O){const b=t.XpG().$implicit,U=t.XpG().$implicit,G=t.XpG();t.R7$(3),t.FCK("name","",U.pageId,"",b.tableId,"-columns-selection"),t.R50("ngModel",b.columnSelection),t.R7$(),t.Y8G("ngForOf",G.nodePageDefs[U.pageId][b.tableId].allowedColumns)}}function Pr(O,H){if(1&O&&(t.j41(0,"mat-option",34),t.EFF(1),t.nI1(2,"camelCaseWithSpaces"),t.nI1(3,"camelcaseWithReplace"),t.k0s()),2&O){const b=H.$implicit,U=t.XpG().$implicit,G=t.XpG(2);t.Y8G("value",b.column)("disabled",U.columnSelectionSM.length<=1&&U.columnSelectionSM.includes(b.column)||U.columnSelectionSM.length>=3&&!U.columnSelectionSM.includes(b.column)),t.R7$(),t.SpI(" ",b.label?b.label:"ECL"===G.selNode.lnImplementation?t.bMT(2,3,b.column):t.i5U(3,5,b.column,"_")," ")}}function T0(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",17)(1,"div",18)(2,"span",19),t.EFF(3),t.nI1(4,"camelcaseWithReplace"),t.k0s(),t.j41(5,"mat-form-field",20)(6,"mat-label"),t.EFF(7,"Records/Page"),t.k0s(),t.j41(8,"mat-select",21),t.mxI("ngModelChange",function(G){const Oe=t.eBV(b).$implicit;return t.DH7(Oe.recordsPerPage,G)||(Oe.recordsPerPage=G),t.Njj(G)}),t.DNE(9,Xd,2,2,"mat-option",22),t.k0s()(),t.j41(10,"mat-form-field",20)(11,"mat-label"),t.EFF(12,"Sort By"),t.k0s(),t.j41(13,"mat-select",23),t.mxI("ngModelChange",function(G){const Oe=t.eBV(b).$implicit;return t.DH7(Oe.sortBy,G)||(Oe.sortBy=G),t.Njj(G)}),t.DNE(14,S0,4,7,"mat-option",22),t.k0s()(),t.j41(15,"mat-form-field",20)(16,"mat-label"),t.EFF(17,"Sort Order"),t.k0s(),t.j41(18,"mat-select",24),t.mxI("ngModelChange",function(G){const Oe=t.eBV(b).$implicit;return t.DH7(Oe.sortOrder,G)||(Oe.sortOrder=G),t.Njj(G)}),t.DNE(19,Qu,2,2,"mat-option",22),t.k0s()(),t.DNE(20,Hc,5,5,"mat-form-field",25),t.j41(21,"mat-form-field",26)(22,"mat-label"),t.EFF(23,"Column Selection (Mobile Resolution)"),t.k0s(),t.j41(24,"mat-select",27),t.mxI("ngModelChange",function(G){const Oe=t.eBV(b).$implicit;return t.DH7(Oe.columnSelectionSM,G)||(Oe.columnSelectionSM=G),t.Njj(G)}),t.DNE(25,Pr,4,8,"mat-option",28),t.k0s()(),t.j41(26,"button",29),t.bIt("click",function(){const G=t.eBV(b).$implicit,Oe=t.XpG().$implicit,It=t.XpG();return t.Njj(It.onTableReset(Oe.pageId,G))}),t.j41(27,"mat-icon",30),t.EFF(28,"restore"),t.k0s()()()()}if(2&O){const b=H.$implicit,U=t.XpG().$implicit,G=t.XpG();t.R7$(3),t.SpI("",t.i5U(4,24,b.tableId,"_"),":"),t.R7$(5),t.FCK("name","",U.pageId,"",b.tableId,"-page-size-options"),t.Y8G("disabled",G.nodePageDefs[U.pageId][b.tableId].disablePageSize),t.R50("ngModel",b.recordsPerPage),t.R7$(),t.Y8G("ngForOf",G.pageSizeOptions),t.R7$(4),t.FCK("name","",U.pageId,"",b.tableId,"-sort-by"),t.R50("ngModel",b.sortBy),t.R7$(),t.Y8G("ngForOf",b.columnSelection),t.R7$(4),t.FCK("name","",U.pageId,"",b.tableId,"-sort-order"),t.R50("ngModel",b.sortOrder),t.R7$(),t.Y8G("ngForOf",G.sortOrders),t.R7$(),t.Y8G("ngIf",G.screenSize!==G.screenSizeEnum.XS),t.R7$(4),t.FCK("name","",U.pageId,"",b.tableId,"-columns-selection-sm"),t.R50("ngModel",b.columnSelectionSM),t.R7$(),t.Y8G("ngForOf",G.nodePageDefs[U.pageId][b.tableId].allowedColumns),t.R7$(2),t.Y8G("ngClass",t.eq3(27,Wd,G.screenSize===G.screenSizeEnum.XS||G.screenSize===G.screenSizeEnum.SM))}}function D0(O,H){if(1&O&&t.eu8(0,14),2&O){const b=t.XpG(2),U=t.sdS(18);t.Y8G("ngTemplateOutlet",U)("ngTemplateOutletContext",t.eq3(2,zs,b.errorMessage))}}function cl(O,H){if(1&O&&(t.j41(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t.EFF(3),t.nI1(4,"camelcaseWithReplace"),t.k0s()(),t.DNE(5,T0,29,29,"div",16)(6,D0,1,4,"ng-container",7),t.k0s()),2&O){const b=H.$implicit,U=t.XpG();t.Y8G("ngClass",t.eq3(7,E0,(null==U.errorMessage?null:U.errorMessage.page)===b.pageId)),t.R7$(3),t.JRh(t.i5U(4,4,b.pageId,"_")),t.R7$(2),t.Y8G("ngForOf",b.tables),t.R7$(),t.Y8G("ngIf",U.errorMessage&&(null==U.errorMessage?null:U.errorMessage.page)===b.pageId)}}function A0(O,H){if(1&O&&(t.j41(0,"mat-panel-title"),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&O){const b=t.XpG().error;t.R7$(),t.SpI("Page ",t.bMT(2,1,b.page),"")}}function k0(O,H){if(1&O&&(t.j41(0,"mat-list-item")(1,"mat-icon",39),t.EFF(2,"close"),t.k0s(),t.j41(3,"span"),t.EFF(4),t.k0s()()),2&O){const b=t.XpG().error;t.R7$(4),t.JRh(b.message)}}function Zu(O,H){if(1&O&&(t.j41(0,"mat-list-item")(1,"mat-icon",39),t.EFF(2,"close"),t.k0s(),t.j41(3,"span"),t.EFF(4),t.nI1(5,"titlecase"),t.k0s()()),2&O){const b=H.$implicit;t.R7$(4),t.Lme("Table ",t.bMT(5,2,b.table)," ",b.message,"")}}function Yd(O,H){if(1&O&&(t.j41(0,"div",35),t.DNE(1,A0,3,3,"mat-panel-title",36),t.j41(2,"mat-list",37),t.DNE(3,k0,5,1,"mat-list-item",36)(4,Zu,6,4,"mat-list-item",38),t.k0s()()),2&O){const b=H.error,U=t.XpG();t.Y8G("ngClass",t.eq3(4,$u,"unknown"===U.errorMessage.page)),t.R7$(),t.Y8G("ngIf","unknown"===U.errorMessage.page),t.R7$(2),t.Y8G("ngIf",b.message),t.R7$(),t.Y8G("ngForOf",b.tables)}}let Ec=(()=>{class O{constructor(b,U,G,Oe){this.logger=b,this.commonService=U,this.store=G,this.actions=Oe,this.faPenRuler=nn.$$g,this.faExclamationTriangle=nn.zpE,this.screenSize="",this.screenSizeEnum=Wt.f7,this.pageSizeOptions=Wt.xp,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Wt.jG,this.apiCallStatus=null,this.apiCallStatusEnum=Wt.wn,this.errorMessage=null,this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{switch(this.selNode=b,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Wt.mu),this.defaultSettings=Object.assign([],Wt.mu),this.nodePageDefs=Wt.Jd,this.store.select(dd.av).pipe((0,dn.Q)(this.unSubs[1]),(0,fc.E)(this.store.select(Gr._c))).subscribe(([U,G])=>{const Oe=JSON.parse(JSON.stringify(U.pageSettings));if(this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!G?.settings.enableOffers){const It=Oe.find(ci=>"transactions"===ci.pageId),Lt=It?.tables.findIndex(ci=>"offers"===ci.tableId),oi=It?.tables.findIndex(ci=>"offer_bookmarks"===ci.tableId);Lt>-1&&It?.tables.splice(Lt,1),oi>-1&&It?.tables.splice(oi,1)}if(!G?.settings.enablePeerswap){const It=Oe.findIndex(Lt=>"peerswap"===Lt.pageId);It>-1&&Oe.splice(It,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,vr.p)(U=>U.type===Wt.TC.UPDATE_API_CALL_STATUS_CLN||U.type===Wt.TC.SAVE_PAGE_SETTINGS_CLN)).subscribe(U=>{U.type===Wt.TC.UPDATE_API_CALL_STATUS_CLN&&U.payload.status===Wt.wn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Wt.X8),this.defaultSettings=Object.assign([],Wt.X8),this.nodePageDefs=Wt.WW,this.store.select(n2.jZ).pipe((0,dn.Q)(this.unSubs[1])).subscribe(U=>{const G=JSON.parse(JSON.stringify(U.pageSettings));this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=G,this.initialPageSettings=G):(this.pageSettings=G,this.initialPageSettings=G),this.logger.info(G)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,vr.p)(U=>U.type===Wt.Uu.UPDATE_API_CALL_STATUS_ECL||U.type===Wt.Uu.SAVE_PAGE_SETTINGS_ECL)).subscribe(U=>{U.type===Wt.Uu.UPDATE_API_CALL_STATUS_ECL&&U.payload.status===Wt.wn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))});break;default:this.initialPageSettings=Object.assign([],Wt.ZC),this.defaultSettings=Object.assign([],Wt.ZC),this.nodePageDefs=Wt._1,this.store.select(t2.$G).pipe((0,dn.Q)(this.unSubs[1]),(0,fc.E)(this.store.select(Gr._c))).subscribe(([U,G])=>{const Oe=JSON.parse(JSON.stringify(U.pageSettings));if(this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===Wt.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Oe,this.initialPageSettings=Oe;else{if(!G?.settings.swapServerUrl||""===G.settings.swapServerUrl.trim()){const It=Oe.findIndex(Lt=>"loop"===Lt.pageId);It>-1&&Oe.splice(It,1)}if(!G?.settings.boltzServerUrl||""===G.settings.boltzServerUrl.trim()){const It=Oe.findIndex(Lt=>"boltz"===Lt.pageId);It>-1&&Oe.splice(It,1)}if(!G?.settings.enablePeerswap){const It=Oe.findIndex(Lt=>"peerswap"===Lt.pageId);It>-1&&Oe.splice(It,1)}this.pageSettings=Oe,this.initialPageSettings=Oe}this.logger.info(Oe)}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,vr.p)(U=>U.type===Wt.QP.UPDATE_API_CALL_STATUS_LND||U.type===Wt.QP.SAVE_PAGE_SETTINGS_LND)).subscribe(U=>{U.type===Wt.QP.UPDATE_API_CALL_STATUS_LND&&U.payload.status===Wt.wn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))})}})}oncolumnSelectionChange(b){b.columnSelection&&(!b.sortBy||!b.columnSelection.includes(b.sortBy))&&(b.sortBy=b.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((b,U)=>b||U.tables.reduce((G,Oe)=>!(Oe.recordsPerPage&&Oe.sortBy&&Oe.sortOrder&&Oe.columnSelection&&Oe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,xa.Sn)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Ca.Sn)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Pa.Sn)({payload:this.pageSettings}))}}onTableReset(b,U){const G=this.pageSettings.findIndex(Lt=>Lt.pageId===b),Oe=this.pageSettings[G].tables.findIndex(Lt=>Lt.tableId===U.tableId),It=this.defaultSettings.find(Lt=>Lt.pageId===b)?.tables.find(Lt=>Lt.tableId===U.tableId)||this.pageSettings.find(Lt=>Lt.pageId===b)?.tables.find(Lt=>Lt.tableId===U.tableId);this.pageSettings[G].tables.splice(Oe,1,It)}onResetPageSettings(b){"current"===b?(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.initialPageSettings))):(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.defaultSettings)))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ia.h),t.rXU(Ri.il),t.rXU(lt.En))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-page-settings"]],decls:19,vars:3,consts:[["form","ngForm"],["errorObjectBlock",""],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["displayMode","flat","multi","false"],["fxLayout","column","class","flat-expansion-panel mt-1","expanded","false",3,"ngClass",4,"ngFor","ngForOf"],["fxLayout","row",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","8",1,"mr-1",3,"click"],["mat-stroked-button","","color","primary","tabindex","9",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","10",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["fxLayout","column","expanded","false",1,"flat-expansion-panel","mt-1",3,"ngClass"],["fxLayout","column","fxLayoutAlign","start stretch","class","padding-gap-x-large table-setting-row",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start stretch",1,"padding-gap-x-large","table-setting-row"],["fxLayout","column","fxLayoutAlign","space-between stretch","fxLayout.gt-sm","row wrap","fxLayoutAlign.gt-sm","space-between center"],["fxFlex","10",1,"mb-2"],["fxLayout","column","fxFlex","10"],["tabindex","2","required","",3,"ngModelChange","disabled","name","ngModel"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"ngModelChange","name","ngModel"],["tabindex","4","required","",3,"ngModelChange","name","ngModel"],["fxFlex","35","matTooltip","Select a minimum of 2 columns",4,"ngIf"],["fxLayout","column","fxFlex","15","matTooltip","Select between 1 and 3 columns"],["tabindex","5","multiple","","required","",3,"ngModelChange","name","ngModel"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-icon-button","","color","primary","type","button","tabindex","7","matTooltip","Reset to Default",1,"mb-2",3,"click"],["color","primary",3,"ngClass"],[3,"value"],["fxFlex","35","matTooltip","Select a minimum of 2 columns"],["tabindex","6","multiple","","required","",3,"ngModelChange","selectionChange","name","ngModel"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",2)(1,"form",3,0)(3,"div",4),t.nrm(4,"fa-icon",5),t.j41(5,"span",6),t.EFF(6,"Grid Settings"),t.k0s()(),t.DNE(7,Gl,1,4,"ng-container",7),t.j41(8,"mat-accordion",8),t.DNE(9,cl,7,9,"mat-expansion-panel",9),t.k0s()(),t.j41(10,"div",10)(11,"button",11),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetPageSettings("current"))}),t.EFF(12,"Reset"),t.k0s(),t.j41(13,"button",12),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onResetPageSettings("default"))}),t.EFF(14,"Reset to Default"),t.k0s(),t.j41(15,"button",13),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdatePageSettings())}),t.EFF(16,"Save"),t.k0s()()(),t.DNE(17,Yd,5,6,"ng-template",null,1,t.C5r)}2&U&&(t.R7$(4),t.Y8G("icon",G.faPenRuler),t.R7$(3),t.Y8G("ngIf",G.errorMessage&&"unknown"===G.errorMessage.page),t.R7$(2),t.Y8G("ngForOf",G.pageSettings))},dependencies:[ri.YU,ri.Sq,ri.bT,ri.T3,Wi.qT,Wi.BC,Wi.cb,Wi.YS,Wi.vS,Wi.cV,ya.aY,$i.DJ,$i.sA,$i.UI,ds.PW,ve.$z,ve.iY,Ra.BS,Ra.GK,Ra.Z2,Ra.WN,Vc.An,Pe.rl,Pe.nJ,wc.jt,wc.YE,xe.VO,Be.wT,ic.oV,ft.Ld,ri.PV,Ul.VD,Ul.Qu],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}return O})();function q3(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[0].link))}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG();t.FS9("routerLink",b.links[0].link),t.Y8G("active",b.activeLink===b.links[0].link),t.R7$(),t.JRh(b.links[0].name)}}function r2(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",12),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[1].link))}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG();t.FS9("routerLink",b.links[1].link),t.Y8G("active",b.activeLink===b.links[1].link),t.R7$(),t.JRh(b.links[1].name)}}function a2(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",13),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.setActiveLink(G.links[2].link))}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG();t.FS9("routerLink",b.links[2].link),t.Y8G("active",b.activeLink===b.links[2].link),t.R7$(),t.JRh(b.links[2].name)}}let o2=(()=>{class O{constructor(b,U,G){this.store=b,this.router=U,this.activatedRoute=G,this.faLayerGroup=nn.qIE,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.setActiveLink(),this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{this.selNode=b,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(b){if(b&&""!==b)this.activeLink=b;else{const U=this.links.find(G=>this.router.url.includes(G.link));this.activeLink=U?this.selNode&&"CLN"===this.selNode.lnImplementation?this.links[1].link:U.link:this.links[this.links.length-1].link}}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ri.il),t.rXU(En.Ix),t.rXU(En.nX))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-services-settings"]],decls:16,vars:5,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-sub-title-container","my-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(U,G){if(1&U&&(t.j41(0,"div",1)(1,"div",2),t.nrm(2,"fa-icon",3),t.j41(3,"span",4),t.EFF(4,"Services"),t.k0s()()(),t.j41(5,"div",5)(6,"mat-card")(7,"mat-card-content",5)(8,"nav",6),t.DNE(9,q3,2,3,"div",7)(10,r2,2,3,"div",8)(11,a2,2,3,"div",9),t.k0s(),t.nrm(12,"mat-tab-nav-panel",null,0),t.j41(14,"div",10),t.nrm(15,"router-outlet"),t.k0s()()()()),2&U){const Oe=t.sdS(13);t.R7$(2),t.Y8G("icon",G.faLayerGroup),t.R7$(6),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngIf","LND"===G.selNode.lnImplementation),t.R7$(),t.Y8G("ngIf","ECL"!==G.selNode.lnImplementation),t.R7$(),t.Y8G("ngIf","ECL"===G.selNode.lnImplementation)}},dependencies:[ri.bT,ya.aY,$i.DJ,$i.sA,$i.UI,mr.RN,mr.m2,ca.Bu,ca.hQ,ca.Ql,En.n3,En.Wk]})}return O})();const Kd=["form"];function s2(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Loop server URL is required."),t.k0s())}function L0(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Specify the loop server url with 'https://'."),t.k0s())}function ll(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Loop macaroon path is required."),t.k0s())}let zc=(()=>{class O{constructor(b,U){this.logger=b,this.store=U,this.faInfoCircle=nn.iW_,this.enableLoop=!1,this.unSubs=[new Gi.B,new Gi.B]}ngOnInit(){this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.enableLoop=!(!b.settings.swapServerUrl||""===b.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(b)})}onEnableServiceChanged(b){this.enableLoop=b.checked,this.enableLoop||(this.selNode.authentication.swapMacaroonPath="",this.selNode.settings.swapServerUrl="")}onUpdateService(){if(this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableLoop&&(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim()||!this.selNode.authentication.swapMacaroonPath||""===this.selNode.authentication.swapMacaroonPath.trim()))return!0;this.enableLoop||(delete this.selNode.settings.swapServerUrl,delete this.selNode.authentication.swapMacaroonPath),this.logger.info(this.selNode),this.store.dispatch((0,Cn.T$)({payload:this.selNode}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.enableLoop=!(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim())}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ri.il))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-loop-service-settings"]],viewQuery:function(U,G){if(1&U&&t.GBs(Kd,7),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.first)}},decls:38,vars:11,consts:[["form","ngForm"],["srvrUrl","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://github.com/lightninglabs/loop","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","loop",1,"ml-2",3,"ngModelChange","change","ngModel"],[1,"mb-2"],["matInput","","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"ngModelChange","required","disabled","ngModel"],[4,"ngIf"],["matInput","","type","text","id","swapMacaroonPath","name","swapMacaroonPath","tabindex","3",3,"ngModelChange","required","disabled","ngModel"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"loopd"),t.k0s(),t.EFF(7," is running and accessible to RTL before enabling this service. Click "),t.j41(8,"strong")(9,"a",5),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about the installation."),t.k0s()(),t.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.enableLoop,Lt)||(G.enableLoop=Lt),t.Njj(Lt)}),t.bIt("change",function(Lt){return t.eBV(Oe),t.Njj(G.onEnableServiceChanged(Lt))}),t.EFF(16,"Enable Loop Service"),t.k0s(),t.j41(17,"mat-form-field",9)(18,"mat-label"),t.EFF(19,"Loop Server URL"),t.k0s(),t.j41(20,"input",10,1),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selNode.settings.swapServerUrl,Lt)||(G.selNode.settings.swapServerUrl=Lt),t.Njj(Lt)}),t.k0s(),t.j41(22,"mat-hint"),t.EFF(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),t.k0s(),t.DNE(24,s2,2,0,"mat-error",11)(25,L0,2,0,"mat-error",11),t.k0s(),t.j41(26,"mat-form-field")(27,"mat-label"),t.EFF(28,"Loop Macaroon Path"),t.k0s(),t.j41(29,"input",12),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selNode.authentication.swapMacaroonPath,Lt)||(G.selNode.authentication.swapMacaroonPath=Lt),t.Njj(Lt)}),t.k0s(),t.j41(30,"mat-hint"),t.EFF(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),t.k0s(),t.DNE(32,ll,2,0,"mat-error",11),t.k0s()()(),t.j41(33,"div",13)(34,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onReset())}),t.EFF(35,"Reset"),t.k0s(),t.j41(36,"button",15),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateService())}),t.EFF(37,"Update"),t.k0s()()()}if(2&U){const Oe=t.sdS(21);t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(13),t.R50("ngModel",G.enableLoop),t.R7$(5),t.Y8G("required",G.enableLoop)("disabled",!G.enableLoop),t.R50("ngModel",G.selNode.settings.swapServerUrl),t.R7$(4),t.Y8G("ngIf",!G.selNode.settings.swapServerUrl&&G.enableLoop),t.R7$(),t.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&G.enableLoop),t.R7$(4),t.Y8G("required",G.enableLoop)("disabled",!G.enableLoop),t.R50("ngModel",G.selNode.authentication.swapMacaroonPath),t.R7$(3),t.Y8G("ngIf",!G.selNode.authentication.swapMacaroonPath&&G.enableLoop)}},dependencies:[ri.bT,Wi.qT,Wi.me,Wi.BC,Wi.cb,Wi.YS,Wi.vS,Wi.cV,ya.aY,$i.DJ,$i.sA,$i.UI,ve.$z,Nr.fg,Pe.rl,Pe.nJ,Pe.MV,Pe.TL,e2.sG,ft.Ld,Ot.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return O})();const Bc=["form"];function I0(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Boltz server URL is required."),t.k0s())}function c2(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Specify the boltz server url with 'https://'."),t.k0s())}function dl(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Boltz macaroon path is required."),t.k0s())}let Ju=(()=>{class O{constructor(b,U){this.logger=b,this.store=U,this.faInfoCircle=nn.iW_,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Gi.B,new Gi.B]}ngOnInit(){this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.enableBoltz=!(!b.settings.boltzServerUrl||""===b.settings.boltzServerUrl.trim()),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(b)})}onEnableServiceChanged(b){this.enableBoltz=b.checked,this.enableBoltz||(this.macaroonPath="",this.serverUrl="")}onUpdateService(){if(this.serverUrl&&""!==this.serverUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableBoltz&&(!this.serverUrl||""===this.serverUrl.trim()||!this.serverUrl.includes("https://")||!this.macaroonPath||""===this.macaroonPath.trim()))return!0;this.logger.info(this.selNode),this.enableBoltz?(this.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath):(delete this.selNode.settings.boltzServerUrl,delete this.selNode.authentication.boltzMacaroonPath),this.store.dispatch((0,Cn.T$)({payload:this.selNode}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.enableBoltz=!(!this.serverUrl||""===this.serverUrl.trim())}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ri.il))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(U,G){if(1&U&&t.GBs(Bc,7),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.form=Oe.first)}},decls:38,vars:11,consts:[["form","ngForm"],["srvrUrl","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://docs.boltz.exchange/v/boltz-client/","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","boltz",1,"ml-2",3,"ngModelChange","change","ngModel"],[1,"mb-2"],["matInput","","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"ngModelChange","required","disabled","ngModel"],[4,"ngIf"],["matInput","","type","text","id","boltzMacaroonPath","name","boltzMacaroonPath","tabindex","3",3,"ngModelChange","required","disabled","ngModel"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"boltzd"),t.k0s(),t.EFF(7," is running and accessible to RTL before enabling this service. Click "),t.j41(8,"strong")(9,"a",5),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about the installation."),t.k0s()(),t.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.enableBoltz,Lt)||(G.enableBoltz=Lt),t.Njj(Lt)}),t.bIt("change",function(Lt){return t.eBV(Oe),t.Njj(G.onEnableServiceChanged(Lt))}),t.EFF(16,"Enable Boltz Service"),t.k0s(),t.j41(17,"mat-form-field",9)(18,"mat-label"),t.EFF(19,"Boltz Server URL"),t.k0s(),t.j41(20,"input",10,1),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.serverUrl,Lt)||(G.serverUrl=Lt),t.Njj(Lt)}),t.k0s(),t.j41(22,"mat-hint"),t.EFF(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),t.k0s(),t.DNE(24,I0,2,0,"mat-error",11)(25,c2,2,0,"mat-error",11),t.k0s(),t.j41(26,"mat-form-field")(27,"mat-label"),t.EFF(28,"Boltz Macaroon Path"),t.k0s(),t.j41(29,"input",12),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.macaroonPath,Lt)||(G.macaroonPath=Lt),t.Njj(Lt)}),t.k0s(),t.j41(30,"mat-hint"),t.EFF(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),t.k0s(),t.DNE(32,dl,2,0,"mat-error",11),t.k0s()()(),t.j41(33,"div",13)(34,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onReset())}),t.EFF(35,"Reset"),t.k0s(),t.j41(36,"button",15),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onUpdateService())}),t.EFF(37,"Update"),t.k0s()()()}if(2&U){const Oe=t.sdS(21);t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(13),t.R50("ngModel",G.enableBoltz),t.R7$(5),t.Y8G("required",G.enableBoltz)("disabled",!G.enableBoltz),t.R50("ngModel",G.serverUrl),t.R7$(4),t.Y8G("ngIf",(!G.serverUrl||""===G.serverUrl.trim())&&G.enableBoltz),t.R7$(),t.Y8G("ngIf",(null==Oe||null==Oe.errors?null:Oe.errors.invalid)&&G.enableBoltz),t.R7$(4),t.Y8G("required",G.enableBoltz)("disabled",!G.enableBoltz),t.R50("ngModel",G.macaroonPath),t.R7$(3),t.Y8G("ngIf",!G.macaroonPath&&G.enableBoltz)}},dependencies:[ri.bT,Wi.qT,Wi.me,Wi.BC,Wi.cb,Wi.YS,Wi.vS,Wi.cV,ya.aY,$i.DJ,$i.sA,$i.UI,ve.$z,Nr.fg,Pe.rl,Pe.nJ,Pe.MV,Pe.TL,e2.sG,ft.Ld,Ot.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return O})(),qu=(()=>{class O{constructor(){}static#e=this.\u0275fac=function(U){return new(U||O)};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(U,G){1&U&&t.nrm(0,"router-outlet")},dependencies:[En.n3]})}return O})();var ef=g(8711),tf=g(4104),hl=g(6695),Sc=g(2042),Tr=g(9159),ul=g(7575);const R0=()=>["all"],hd=O=>({"overflow-auto error-border":O,"overflow-auto":!0}),nf=()=>["no_swap"],$d=O=>({width:O}),Qd=O=>({"display-none":O});function jl(O,H){if(1&O&&(t.j41(0,"mat-option",37),t.EFF(1),t.k0s()),2&O){const b=H.$implicit,U=t.XpG();t.Y8G("value",b),t.R7$(),t.JRh(U.getLabel(b))}}function Tc(O,H){1&O&&t.nrm(0,"mat-progress-bar",38)}function l2(O,H){1&O&&(t.j41(0,"th",39),t.EFF(1,"State"),t.k0s())}function Uc(O,H){if(1&O&&(t.j41(0,"td",40),t.EFF(1),t.k0s()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.JRh(U.LoopStateEnum[null==b?null:b.state])}}function O0(O,H){1&O&&(t.j41(0,"th",39),t.EFF(1,"Initiation Time"),t.k0s())}function Zd(O,H){if(1&O&&(t.j41(0,"td",40),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&O){const b=H.$implicit;t.R7$(),t.JRh(t.i5U(2,1,(null==b?null:b.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function Wl(O,H){1&O&&(t.j41(0,"th",39),t.EFF(1,"Last Update Time"),t.k0s())}function fl(O,H){if(1&O&&(t.j41(0,"td",40),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&O){const b=H.$implicit;t.R7$(),t.JRh(t.i5U(2,1,(null==b?null:b.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function F0(O,H){1&O&&(t.j41(0,"th",41),t.EFF(1,"Amount (Sats)"),t.k0s())}function d2(O,H){if(1&O&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&O){const b=H.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==b?null:b.amt))}}function eo(O,H){1&O&&(t.j41(0,"th",41),t.EFF(1,"Cost Server (Sats)"),t.k0s())}function N0(O,H){if(1&O&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&O){const b=H.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==b?null:b.cost_server))}}function h2(O,H){1&O&&(t.j41(0,"th",41),t.EFF(1,"Cost Offchain (Sats)"),t.k0s())}function Dr(O,H){if(1&O&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&O){const b=H.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==b?null:b.cost_offchain))}}function Jd(O,H){1&O&&(t.j41(0,"th",41),t.EFF(1,"Cost Onchain (Sats)"),t.k0s())}function ks(O,H){if(1&O&&(t.j41(0,"td",40)(1,"span",42),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&O){const b=H.$implicit;t.R7$(2),t.SpI(" ",t.bMT(3,1,null==b?null:b.cost_onchain)," ")}}function ud(O,H){1&O&&(t.j41(0,"th",39),t.EFF(1,"HTLC Address"),t.k0s())}function P0(O,H){if(1&O&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,$d,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.htlc_address)}}function u2(O,H){1&O&&(t.j41(0,"th",39),t.EFF(1,"ID"),t.k0s())}function Xl(O,H){if(1&O&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,$d,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.id)}}function Yl(O,H){1&O&&(t.j41(0,"th",39),t.EFF(1,"ID (Bytes)"),t.k0s())}function to(O,H){if(1&O&&(t.j41(0,"td",40)(1,"span",43)(2,"span",44),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,$d,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.id_bytes)}}function V0(O,H){if(1&O){const b=t.RV6();t.j41(0,"th",45)(1,"div",46)(2,"mat-select",47),t.nrm(3,"mat-select-trigger"),t.j41(4,"mat-option",48),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.onDownloadCSV())}),t.EFF(5,"Download CSV"),t.k0s()()()()}}function f2(O,H){if(1&O){const b=t.RV6();t.j41(0,"td",49)(1,"button",50),t.bIt("click",function(G){const Oe=t.eBV(b).$implicit,It=t.XpG();return t.Njj(It.onSwapClick(Oe,G))}),t.EFF(2,"View Info"),t.k0s()()}}function m2(O,H){if(1&O&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&O){const b=t.XpG(2);t.R7$(),t.JRh(b.emptyTableMessage)}}function H0(O,H){if(1&O&&(t.j41(0,"td",51),t.DNE(1,m2,2,1,"p",52),t.k0s()),2&O){const b=t.XpG();t.R7$(),t.Y8G("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}function z0(O,H){if(1&O&&t.nrm(0,"tr",53),2&O){const b=t.XpG();t.Y8G("ngClass",t.eq3(1,Qd,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function Kl(O,H){1&O&&t.nrm(0,"tr",54)}function rf(O,H){1&O&&t.nrm(0,"tr",55)}let qd=(()=>{class O{constructor(b,U,G,Oe,It,Lt){this.logger=b,this.commonService=U,this.store=G,this.loopService=Oe,this.datePipe=It,this.camelCaseWithReplace=Lt,this.selectedSwapType=Wt.C7.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Wt._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Wt.md,sortBy:"initiation_time",sortOrder:Wt.oi.DESCENDING},this.LoopStateEnum=Wt.Hx,this.faHistory=nn.Int,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new Tr.I6([]),this.selFilter="",this.pageSize=Wt.md,this.pageSizeOptions=Wt.xp,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Gi.B,new Gi.B,new Gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){this.swapCaption=this.selectedSwapType===Wt.C7.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(t2.$G).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{this.tableSetting=b.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSetting.tableId)||Wt.ZC.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.f7.SM?JSON.parse(JSON.stringify(this.tableSetting.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSetting.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSetting.recordsPerPage?+this.tableSetting.recordsPerPage:Wt.md,this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(b){const U=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(G=>G.column===b);return U?U.label?U.label:this.camelCaseWithReplace.transform(U.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,U)=>{let G="";switch(this.selFilterBy){case"all":G=JSON.stringify(b).toLowerCase();break;case"state":G=b?.state?this.LoopStateEnum[b?.state]:"";break;case"initiation_time":case"last_update_time":G=this.datePipe.transform(new Date((b[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:G=typeof b[this.selFilterBy]>"u"?"":"string"==typeof b[this.selFilterBy]?b[this.selFilterBy].toLowerCase():"boolean"==typeof b[this.selFilterBy]?b[this.selFilterBy]?"yes":"no":b[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===G.indexOf(U):G.includes(U)}}onSwapClick(b,U){this.loopService.getSwap(b.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,dn.Q)(this.unSubs[1])).subscribe(G=>{this.store.dispatch((0,Cn.xO)({payload:{data:{type:Wt.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Wt.Hx[G.state||""],title:"Status",width:50,type:Wt.UN.STRING},{key:"amt",value:G.amt,title:"Amount (Sats)",width:50,type:Wt.UN.NUMBER}],[{key:"initiation_time",value:(G.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Wt.UN.DATE_TIME},{key:"last_update_time",value:(G.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Wt.UN.DATE_TIME}],[{key:"cost_server",value:G.cost_server,title:"Server Cost (Sats)",width:33,type:Wt.UN.NUMBER},{key:"cost_offchain",value:G.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Wt.UN.NUMBER},{key:"cost_onchain",value:G.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Wt.UN.NUMBER}],[{key:"id_bytes",value:G.id_bytes,title:"ID",width:100,type:Wt.UN.STRING}],[{key:"htlc_address",value:G.htlc_address,title:"HTLC Address",width:100,type:Wt.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new Tr.I6([...b]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(U,G)=>U[G]&&isNaN(U[G])?U[G].toLocaleLowerCase():U[G]?+U[G]:null,this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Wt.C7.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ia.h),t.rXU(Ri.il),t.rXU(tf.Q),t.rXU(ri.vh),t.rXU(Ul.VD))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-swaps"]],viewQuery:function(U,G){if(1&U&&(t.GBs(Sc.B4,5),t.GBs(hl.iy,5)),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.sort=Oe.first),t.mGM(Oe=t.lsd())&&(G.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t.Jv_([{provide:xe.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:hl.xX,useValue:(0,Wt.on)("Swaps")}]),t.OA$],decls:61,vars:20,consts:[["table",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["matColumnDef","state"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","initiation_time"],["matColumnDef","last_update_time"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","htlc_address"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"div",3),t.nrm(3,"fa-icon",4),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),t.EFF(9,"Filter By"),t.k0s(),t.j41(10,"mat-select",8),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selFilterBy,Lt)||(G.selFilterBy=Lt),t.Njj(Lt)}),t.bIt("selectionChange",function(){return t.eBV(Oe),G.selFilter="",t.Njj(G.applyFilter())}),t.j41(11,"perfect-scrollbar"),t.DNE(12,jl,2,2,"mat-option",9),t.k0s()()(),t.j41(13,"mat-form-field",7)(14,"mat-label"),t.EFF(15,"Filter"),t.k0s(),t.j41(16,"input",10),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selFilter,Lt)||(G.selFilter=Lt),t.Njj(Lt)}),t.bIt("input",function(){return t.eBV(Oe),t.Njj(G.applyFilter())})("keyup",function(){return t.eBV(Oe),t.Njj(G.applyFilter())}),t.k0s()()()(),t.j41(17,"div",11)(18,"div",12),t.DNE(19,Tc,1,0,"mat-progress-bar",13),t.j41(20,"table",14,0),t.qex(22,15),t.DNE(23,l2,2,0,"th",16)(24,Uc,2,1,"td",17),t.bVm(),t.qex(25,18),t.DNE(26,O0,2,0,"th",16)(27,Zd,3,4,"td",17),t.bVm(),t.qex(28,19),t.DNE(29,Wl,2,0,"th",16)(30,fl,3,4,"td",17),t.bVm(),t.qex(31,20),t.DNE(32,F0,2,0,"th",21)(33,d2,4,3,"td",17),t.bVm(),t.qex(34,22),t.DNE(35,eo,2,0,"th",21)(36,N0,4,3,"td",17),t.bVm(),t.qex(37,23),t.DNE(38,h2,2,0,"th",21)(39,Dr,4,3,"td",17),t.bVm(),t.qex(40,24),t.DNE(41,Jd,2,0,"th",21)(42,ks,4,3,"td",17),t.bVm(),t.qex(43,25),t.DNE(44,ud,2,0,"th",16)(45,P0,4,4,"td",17),t.bVm(),t.qex(46,26),t.DNE(47,u2,2,0,"th",16)(48,Xl,4,4,"td",17),t.bVm(),t.qex(49,27),t.DNE(50,Yl,2,0,"th",16)(51,to,4,4,"td",17),t.bVm(),t.qex(52,28),t.DNE(53,V0,6,0,"th",29)(54,f2,3,0,"td",30),t.bVm(),t.qex(55,31),t.DNE(56,H0,2,1,"td",32),t.bVm(),t.DNE(57,z0,1,3,"tr",33)(58,Kl,1,0,"tr",34)(59,rf,1,0,"tr",35),t.k0s(),t.nrm(60,"mat-paginator",36),t.k0s()()()}2&U&&(t.R7$(3),t.Y8G("icon",G.faHistory),t.R7$(2),t.SpI("",G.swapCaption," History"),t.R7$(5),t.R50("ngModel",G.selFilterBy),t.R7$(2),t.Y8G("ngForOf",t.lJ4(16,R0).concat(G.displayedColumns.slice(0,-1))),t.R7$(4),t.R50("ngModel",G.selFilter),t.R7$(3),t.Y8G("ngIf",!0===G.flgLoading[0]),t.R7$(),t.Y8G("matSortActive",G.tableSetting.sortBy)("matSortDirection",G.tableSetting.sortOrder)("dataSource",G.listSwaps)("ngClass",t.eq3(17,hd,"error"===G.flgLoading[0])),t.R7$(37),t.Y8G("matFooterRowDef",t.lJ4(19,nf)),t.R7$(),t.Y8G("matHeaderRowDef",G.displayedColumns),t.R7$(),t.Y8G("matRowDefColumns",G.displayedColumns),t.R7$(),t.Y8G("pageSize",G.pageSize)("pageSizeOptions",G.pageSizeOptions)("showFirstLastButtons",G.screenSize!==G.screenSizeEnum.XS))},dependencies:[ri.YU,ri.Sq,ri.bT,ri.B3,Wi.me,Wi.BC,Wi.vS,ya.aY,$i.DJ,$i.sA,$i.UI,ds.PW,ds.eI,ve.$z,Nr.fg,Pe.rl,Pe.nJ,ul.HM,xe.VO,xe.$2,Be.wT,Sc.B4,Sc.aE,Tr.Zl,Tr.tL,Tr.ji,Tr.cC,Tr.YV,Tr.iL,Tr.Zq,Tr.xW,Tr.KS,Tr.$R,Tr.Qo,Tr.YZ,Tr.NB,Tr.iF,hl.iy,ft.ZF,ft.Ld,ri.QX,ri.vh]})}return O})();const p2=O=>["../",O];function e1(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const G=t.eBV(b).$implicit,Oe=t.XpG();return t.Njj(Oe.onSelectedIndexChange(G))}),t.EFF(1),t.k0s()}if(2&O){const b=H.$implicit,U=t.XpG();t.Y8G("active",U.activeTab.link===b.link)("routerLink",t.eq3(3,p2,b.link)),t.R7$(),t.JRh(b.name)}}let B0=(()=>{class O{constructor(b,U,G){this.router=b,this.loopService=U,this.store=G,this.faInfinity=nn.C8j,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Wt.C7,this.selectedSwapType=Wt.C7.LOOP_OUT,this.storedSwaps=[],this.filteredSwaps=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"loopout",name:"Loop Out"},{link:"loopin",name:"Loop In"}],this.activeTab=this.links[0],this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.store.dispatch((0,Cn.mt)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,dn.Q)(this.unSubs[4])).subscribe({next:U=>{this.store.dispatch((0,Cn.y0)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopInfo=U,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:U=>{this.store.dispatch((0,Cn.y0)({payload:Wt.MZ.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const b=this.links.find(U=>this.router.url.includes(U.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"loopin"===b.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,vr.p)(U=>U instanceof En.gx)).subscribe({next:U=>{const G=this.links.find(Oe=>U.urlAfterRedirects.includes(Oe.link));this.activeTab=G||this.links[0],this.selectedSwapType=G&&"loopin"===G.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:U=>{this.flgLoading[0]=!1,this.storedSwaps=U,this.filteredSwaps=this.storedSwaps?.filter(G=>G.type===this.selectedSwapType)},error:U=>{this.flgLoading[0]="error",this.emptyTableMessage=U.message?U.message:"No loop "+(this.selectedSwapType===Wt.C7.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){this.selectedSwapType="loopin"===b.link?Wt.C7.LOOP_IN:Wt.C7.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(U=>U.type===this.selectedSwapType)}onLoop(b){b===Wt.C7.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:U=>{this.store.dispatch((0,Cn.xO)({payload:{data:{minQuote:U[0],maxQuote:U[1],direction:b,component:ef.D}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,dn.Q)(this.unSubs[3])).subscribe({next:U=>{this.store.dispatch((0,Cn.xO)({payload:{data:{minQuote:U[0],maxQuote:U[1],direction:b,component:ef.D}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(En.Ix),t.rXU(tf.Q),t.rXU(Ri.il))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-loop"]],decls:15,vars:9,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1),t.nrm(1,"fa-icon",2),t.j41(2,"span",3),t.EFF(3),t.k0s()(),t.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6),t.DNE(8,e1,2,5,"div",7),t.k0s(),t.nrm(9,"mat-tab-nav-panel",null,0),t.j41(11,"div",8)(12,"button",9),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onLoop(G.selectedSwapType))}),t.EFF(13),t.k0s()(),t.nrm(14,"rtl-swaps",10),t.k0s()()()}if(2&U){const Oe=t.sdS(10);t.R7$(),t.Y8G("icon",G.faInfinity),t.R7$(2),t.SpI("Loop (v",(null==G.loopInfo?null:G.loopInfo.version)||" Unknown",")"),t.R7$(4),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngForOf",G.links),t.R7$(5),t.SpI("Start ",G.activeTab.name,""),t.R7$(),t.Y8G("selectedSwapType",G.selectedSwapType)("swapsData",G.filteredSwaps)("flgLoading",G.flgLoading)("emptyTableMessage",G.emptyTableMessage)}},dependencies:[ri.Sq,ya.aY,$i.DJ,$i.sA,$i.UI,ve.$z,mr.RN,mr.m2,ca.Bu,ca.hQ,ca.Ql,En.Wk,qd]})}return O})();var af=g(1001),U0=g(4412),G0=g(8810),t1=g(2462);let fd=(()=>{class O{constructor(b,U,G,Oe){this.httpClient=b,this.logger=U,this.store=G,this.commonService=Oe,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new U0.t(null),this.swapsChanged=new U0.t({}),this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Cn.mt)({payload:Wt.MZ.GET_BOLTZ_SWAPS})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:b=>{this.store.dispatch((0,Cn.y0)({payload:Wt.MZ.GET_BOLTZ_SWAPS})),this.swaps=b,this.swapsChanged.next(this.swaps)},error:b=>this.swapsChanged.error(this.handleErrorWithAlert(Wt.MZ.GET_BOLTZ_SWAPS,this.swapUrl,b))})}swapInfo(b){return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/swapInfo/"+b,this.httpClient.get(this.swapUrl).pipe((0,Aa.W)(U=>(0,At.of)(this.handleErrorWithAlert(Wt.MZ.NO_SPINNER,this.swapUrl,U))))}getBoltzInfo(){this.store.dispatch((0,Cn.mt)({payload:Wt.MZ.GET_BOLTZ_INFO})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:b=>{this.store.dispatch((0,Cn.y0)({payload:Wt.MZ.GET_BOLTZ_INFO})),this.boltzInfo=b,this.boltzInfoChanged.next(this.boltzInfo)},error:b=>(this.boltzInfo={version:"2.0.0"},this.boltzInfoChanged.next(this.boltzInfo),(0,At.of)(this.handleErrorWithoutAlert(Wt.MZ.GET_BOLTZ_INFO,this.swapUrl,b)))})}serviceInfo(){return this.store.dispatch((0,Cn.mt)({payload:Wt.MZ.GET_SERVICE_INFO})),this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,dn.Q)(this.unSubs[2]),(0,Xa.T)(b=>(this.store.dispatch((0,Cn.y0)({payload:Wt.MZ.GET_SERVICE_INFO})),b)),(0,Aa.W)(b=>(0,At.of)(this.handleErrorWithAlert(Wt.MZ.GET_SERVICE_INFO,this.swapUrl,b))))}swapOut(b,U,G){const Oe={amount:b,address:U,acceptZeroConf:G};return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Oe).pipe((0,Aa.W)(It=>this.handleErrorWithoutAlert("Swap Out for Address: "+U,Wt.MZ.NO_SPINNER,It)))}swapIn(b,U){const G={amount:b,sendFromInternal:U};return this.swapUrl=Wt.H$+Wt.rl.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,G).pipe((0,Aa.W)(Oe=>this.handleErrorWithoutAlert("Swap In for Amount: "+b,Wt.MZ.NO_SPINNER,Oe)))}handleErrorWithoutAlert(b,U,G){let Oe="";return this.logger.error("ERROR IN: "+b+"\n"+JSON.stringify(G)),this.store.dispatch((0,Cn.y0)({payload:U})),401===G.status?(Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Cn.ri)({payload:Oe}))):503===G.status?(Oe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Cn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:G.status,message:"Unable to Connect to Boltz Server",URL:b},component:t1.f}}}))):Oe=this.commonService.extractErrorMessage(G),(0,G0.$)(()=>new Error(Oe))}handleErrorWithAlert(b,U,G){let Oe="";if(401===G.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Cn.ri)({payload:"Authentication Failed: "+JSON.stringify(G.error)}))),this.logger.error(G),this.store.dispatch((0,Cn.y0)({payload:b})),401===G.status)Oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Cn.ri)({payload:Oe}));else if(503===G.status)Oe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Cn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:G.status,message:"Unable to Connect to Boltz Server",URL:U},component:t1.f}}}))},100);else{Oe=this.commonService.extractErrorMessage(G);const It=G.error&&G.error.error&&G.error.error.code?G.error.error.code:G.error&&G.error.code?G.error.code:G.code?G.code:G.status;setTimeout(()=>{this.store.dispatch((0,Cn.xO)({payload:{data:{type:Wt.A$.ERROR,alertTitle:"ERROR",message:{code:It,message:Oe,URL:U},component:t1.f}}}))},100)}return{message:Oe}}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.KVO(Ms.Qq),t.KVO(Yo.gP),t.KVO(Ri.il),t.KVO(Ia.h))};static#t=this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})();const g2=O=>({"display-none":O});function sf(O,H){1&O&&t.eu8(0)}function cf(O,H){if(1&O&&(t.j41(0,"div",4)(1,"span",5),t.EFF(2),t.k0s()()),2&O){const b=t.XpG();t.R7$(2),t.JRh(null!=b.swapStatus&&b.swapStatus.error?null==b.swapStatus?null:b.swapStatus.error:"Unknown Error.")}}function lf(O,H){if(1&O&&(t.j41(0,"div",7)(1,"h4",8),t.EFF(2,"Routing Fee (mSats)"),t.k0s(),t.j41(3,"span",5),t.EFF(4),t.nI1(5,"number"),t.k0s()()),2&O){const b=t.XpG(2);t.R7$(4),t.JRh(t.bMT(5,1,null==b.swapStatus?null:b.swapStatus.routingFeeMilliSat))}}function j0(O,H){if(1&O&&(t.j41(0,"div",7)(1,"h4",8),t.EFF(2,"Claim Transaction ID"),t.k0s(),t.j41(3,"span",5),t.EFF(4),t.k0s()()),2&O){const b=t.XpG(2);t.R7$(4),t.JRh(null==b.swapStatus?null:b.swapStatus.claimTransactionId)}}function W0(O,H){if(1&O&&(t.j41(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t.EFF(4,"ID"),t.k0s(),t.j41(5,"span",5),t.EFF(6),t.k0s()(),t.DNE(7,lf,6,3,"div",9)(8,j0,5,1,"div",9),t.k0s(),t.nrm(9,"mat-divider",10),t.j41(10,"div",6)(11,"div",11)(12,"h4",8),t.EFF(13,"Lockup Address"),t.k0s(),t.j41(14,"span",5),t.EFF(15),t.k0s()()()()),2&O){const b=t.XpG();t.R7$(6),t.JRh(null==b.swapStatus?null:b.swapStatus.id),t.R7$(),t.Y8G("ngIf",b.acceptZeroConf),t.R7$(),t.Y8G("ngIf",b.acceptZeroConf),t.R7$(7),t.JRh(null==b.swapStatus?null:b.swapStatus.lockupAddress)}}function go(O,H){1&O&&(t.j41(0,"span",22),t.EFF(1,"N/A"),t.k0s())}function e4(O,H){1&O&&(t.j41(0,"span",23),t.EFF(1,"QR Code Not Applicable"),t.k0s())}function X0(O,H){1&O&&t.nrm(0,"mat-divider",24),2&O&&t.Y8G("inset",!0)}function t4(O,H){if(1&O&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"Transaction ID"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&O){const b=t.XpG(2);t.R7$(5),t.JRh(null==b.swapStatus?null:b.swapStatus.txId)}}function _2(O,H){if(1&O&&(t.j41(0,"div",6)(1,"div",25)(2,"h4",8),t.EFF(3,"ID"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",25)(7,"h4",8),t.EFF(8,"Expected Amount (Sats)"),t.k0s(),t.j41(9,"span",5),t.EFF(10),t.nI1(11,"number"),t.k0s()()()),2&O){const b=t.XpG(2);t.R7$(5),t.JRh(null==b.swapStatus?null:b.swapStatus.id),t.R7$(5),t.JRh(t.bMT(11,2,null==b.swapStatus?null:b.swapStatus.expectedAmount))}}function i4(O,H){1&O&&t.nrm(0,"mat-divider",10)}function n1(O,H){if(1&O&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"Address"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&O){const b=t.XpG(2);t.R7$(5),t.JRh(null==b.swapStatus?null:b.swapStatus.address)}}function Bs(O,H){1&O&&t.nrm(0,"mat-divider",10)}function r1(O,H){if(1&O&&(t.j41(0,"div",6)(1,"div",11)(2,"h4",8),t.EFF(3,"BIP 21"),t.k0s(),t.j41(4,"span",5),t.EFF(5),t.k0s()()()),2&O){const b=t.XpG(2);t.R7$(5),t.JRh(null==b.swapStatus?null:b.swapStatus.bip21)}}function ml(O,H){if(1&O&&(t.j41(0,"div",12)(1,"div",13),t.nrm(2,"qr-code",14),t.DNE(3,go,2,0,"span",15),t.k0s(),t.j41(4,"div",16)(5,"div",4)(6,"div",17),t.nrm(7,"qr-code",14),t.DNE(8,e4,2,0,"span",18),t.k0s(),t.DNE(9,X0,1,1,"mat-divider",19)(10,t4,6,1,"div",20)(11,_2,12,4,"div",20)(12,i4,1,0,"mat-divider",21)(13,n1,6,1,"div",20)(14,Bs,1,0,"mat-divider",21)(15,r1,6,1,"div",20),t.k0s()()()),2&O){const b=t.XpG();t.R7$(),t.Y8G("fxLayoutAlign",""!==((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))?"center start":"center center")("ngClass",t.eq3(19,g2,b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM)),t.R7$(),t.Y8G("value",(null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))("size",b.qrWidth)("errorCorrectionLevel","L"),t.R7$(),t.Y8G("ngIf",""===((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))),t.R7$(3),t.Y8G("fxLayoutAlign",""!==((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))?"center start":"center center")("ngClass",t.eq3(21,g2,b.screenSize!==b.screenSizeEnum.XS&&b.screenSize!==b.screenSizeEnum.SM)),t.R7$(),t.Y8G("value",(null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))("size",b.qrWidth)("errorCorrectionLevel","L"),t.R7$(),t.Y8G("ngIf",""===((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))),t.R7$(),t.Y8G("ngIf",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM),t.R7$(),t.Y8G("ngIf",b.sendFromInternal),t.R7$(),t.Y8G("ngIf",!b.sendFromInternal),t.R7$(),t.Y8G("ngIf",!b.sendFromInternal),t.R7$(),t.Y8G("ngIf",!b.sendFromInternal),t.R7$(),t.Y8G("ngIf",!b.sendFromInternal),t.R7$(),t.Y8G("ngIf",!b.sendFromInternal)}}let df=(()=>{class O{constructor(b){this.commonService=b,this.swapStatus=null,this.direction=Wt.Bd.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=Wt.f7,this.swapTypeEnum=Wt.Bd}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===Wt.f7.XS&&(this.qrWidth=180)}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ia.h))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction",acceptZeroConf:"acceptZeroConf",sendFromInternal:"sendFromInternal"},decls:7,vars:1,consts:[["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],[4,"ngTemplateOutlet"],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","33"],["fxLayoutAlign","start",1,"font-bold-500"],["fxFlex","33",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row",4,"ngIf"],["class","w-100 my-1",4,"ngIf"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["fxFlex","50"]],template:function(U,G){if(1&U&&t.DNE(0,sf,1,0,"ng-container",3)(1,cf,3,1,"ng-template",null,0,t.C5r)(3,W0,16,4,"ng-template",null,1,t.C5r)(5,ml,16,23,"ng-template",null,2,t.C5r),2&U){const Oe=t.sdS(2),It=t.sdS(4),Lt=t.sdS(6);t.Y8G("ngTemplateOutlet",null!=G.swapStatus&&G.swapStatus.error?Oe:G.direction===G.swapTypeEnum.SWAP_OUT?It:Lt)}},dependencies:[ri.YU,ri.bT,ri.T3,$i.DJ,$i.sA,$i.UI,ds.PW,Pc.q,ls.Um,ri.QX]})}return O})(),Y0=(()=>{class O{constructor(){this.serviceInfo={},this.direction=Wt.Bd.SWAP_OUT,this.swapTypeEnum=Wt.Bd}static#e=this.\u0275fac=function(U){return new(U||O)};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},decls:33,vars:13,consts:[["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"]],template:function(U,G){1&U&&(t.j41(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),t.EFF(4,"Service Information"),t.k0s()()(),t.j41(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),t.EFF(9,"Minimum Amount (Sats)"),t.k0s(),t.j41(10,"span",6),t.EFF(11),t.nI1(12,"number"),t.k0s()(),t.j41(13,"div",4)(14,"h4",5),t.EFF(15,"Maximum Amount (Sats)"),t.k0s(),t.j41(16,"span",6),t.EFF(17),t.nI1(18,"number"),t.k0s()()(),t.nrm(19,"mat-divider",7),t.j41(20,"div",3)(21,"div",4)(22,"h4",5),t.EFF(23,"Fee Percentage"),t.k0s(),t.j41(24,"span",6),t.EFF(25),t.nI1(26,"number"),t.k0s()(),t.j41(27,"div",4)(28,"h4",5),t.EFF(29,"Miner Fee (Sats)"),t.k0s(),t.j41(30,"span",6),t.EFF(31),t.nI1(32,"number"),t.k0s()()()()()),2&U&&(t.Y8G("expanded",!0),t.R7$(11),t.JRh(t.bMT(12,5,null==G.serviceInfo||null==G.serviceInfo.limits?null:G.serviceInfo.limits.minimal)),t.R7$(6),t.JRh(t.bMT(18,7,null==G.serviceInfo||null==G.serviceInfo.limits?null:G.serviceInfo.limits.maximal)),t.R7$(8),t.JRh(t.bMT(26,9,null==G.serviceInfo||null==G.serviceInfo.fees?null:G.serviceInfo.fees.percentage)),t.R7$(6),t.JRh(t.bMT(32,11,G.direction===G.swapTypeEnum.SWAP_OUT?null==G.serviceInfo||null==G.serviceInfo.fees||null==G.serviceInfo.fees.miner?null:G.serviceInfo.fees.miner.reverse:null==G.serviceInfo||null==G.serviceInfo.fees||null==G.serviceInfo.fees.miner?null:G.serviceInfo.fees.miner.normal)))},dependencies:[$i.DJ,$i.sA,$i.UI,Ra.GK,Ra.Z2,Ra.WN,Pc.q,ri.QX]})}return O})();var v2=g(6949);const md=(O,H)=>({"small-svg":O,"large-svg":H});function hf(O,H){1&O&&t.eu8(0)}function n4(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",7),t.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),t.k0s(),t.joV(),t.j41(12,"div",18)(13,"mat-card-title"),t.EFF(14,"Boltz Submarine Swaps explained."),t.k0s()(),t.j41(15,"div",19)(16,"mat-card-subtitle",20),t.EFF(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,md,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function r4(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",21),t.nrm(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.k0s(),t.joV(),t.j41(9,"div",18)(10,"mat-card-title"),t.EFF(11,"Step 1: Deciding to Submarine Swap"),t.k0s()(),t.j41(12,"div",19)(13,"mat-card-subtitle",20),t.EFF(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,md,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function uf(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",29),t.nrm(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),t.j41(9,"defs")(10,"pattern",37),t.nrm(11,"use",38),t.k0s(),t.nrm(12,"image",39),t.k0s()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 2: Sending the on-chain funds"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.EFF(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,md,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function ff(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",40)(2,"g",41),t.nrm(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),t.k0s(),t.j41(8,"defs")(9,"clipPath",47),t.nrm(10,"rect",48),t.k0s()()(),t.joV(),t.j41(11,"div",18)(12,"mat-card-title"),t.EFF(13,"Step 3: Receiving the funds on Lightning"),t.k0s()(),t.j41(14,"div",19)(15,"mat-card-subtitle",20),t.EFF(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,md,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function $l(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",49),t.nrm(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),t.k0s(),t.joV(),t.j41(7,"div",18)(8,"mat-card-title"),t.EFF(9,"Done!"),t.k0s()(),t.j41(10,"div",19)(11,"mat-card-subtitle",20),t.EFF(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,md,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let pd=(()=>{class O{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.bkB,this.screenSize="",this.screenSizeEnum=Wt.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(b){2===b.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===b.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ia.h))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","323","height","323","viewBox","0 0 323 323","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M53.8333 134.583H80.75L94.2083 161.5L117.792 134.961C121.616 130.658 125.869 126.602 131.194 124.413C136.45 122.252 142.103 121.125 147.842 121.125H242.25C286.847 121.125 323 157.278 323 201.875C323 246.472 286.847 282.625 242.25 282.625H147.842C142.103 282.625 136.45 281.497 131.194 279.337C125.869 277.149 121.616 273.092 117.792 268.79L94.2083 242.25L80.75 269.167H53.8333L67.2917 228.792L53.8333 201.875L67.2917 174.958L53.8333 134.583Z",1,"fill-color-0"],["d","M26.9167 107.667H53.8333L67.2917 134.583L90.8755 108.044C94.6993 103.741 98.9527 99.6849 104.277 97.4963C109.534 95.3357 115.187 94.2083 120.925 94.2083H215.333C259.93 94.2083 296.083 130.361 296.083 174.958C296.083 219.555 259.93 255.708 215.333 255.708H120.925C115.187 255.708 109.534 254.581 104.277 252.42C98.9527 250.232 94.6993 246.176 90.8755 241.873L67.2917 215.333L53.8333 242.25H26.9167L40.375 201.875L26.9167 174.958L40.375 148.042L26.9167 107.667Z",1,"stroke-color-thick"],["d","M134.583 215.333C142.016 215.333 148.042 209.308 148.042 201.875C148.042 194.442 142.016 188.417 134.583 188.417C127.151 188.417 121.125 194.442 121.125 201.875C121.125 209.308 127.151 215.333 134.583 215.333Z",1,"fill-color-15"],["d","M107.667 188.417C115.1 188.417 121.125 182.391 121.125 174.958C121.125 167.526 115.1 161.5 107.667 161.5C100.234 161.5 94.2083 167.526 94.2083 174.958C94.2083 182.391 100.234 188.417 107.667 188.417Z",1,"stroke-color-thick"],["d","M201.875 215.333C209.308 215.333 215.333 209.308 215.333 201.875C215.333 194.442 209.308 188.417 201.875 188.417C194.442 188.417 188.417 194.442 188.417 201.875C188.417 209.308 194.442 215.333 201.875 215.333Z",1,"fill-color-15"],["d","M174.958 188.417C182.391 188.417 188.417 182.391 188.417 174.958C188.417 167.526 182.391 161.5 174.958 161.5C167.526 161.5 161.5 167.526 161.5 174.958C161.5 182.391 167.526 188.417 174.958 188.417Z",1,"stroke-color-thick"],["d","M269.167 215.333C276.599 215.333 282.625 209.308 282.625 201.875C282.625 194.442 276.599 188.417 269.167 188.417C261.734 188.417 255.708 194.442 255.708 201.875C255.708 209.308 261.734 215.333 269.167 215.333Z",1,"fill-color-15"],["d","M242.25 188.417C249.683 188.417 255.708 182.391 255.708 174.958C255.708 167.526 249.683 161.5 242.25 161.5C234.817 161.5 228.792 167.526 228.792 174.958C228.792 182.391 234.817 188.417 242.25 188.417Z",1,"stroke-color-thick"],["d","M189.321 97C186.935 97 185 98.9345 185 101.321V112.679C185 115.065 186.935 117 189.321 117H237.679C240.065 117 242 115.065 242 112.679V101.321C242 98.9345 240.065 97 237.679 97H189.321Z",1,"fill-color-15"],["d","M161.5 67.2917V94.2083H215.333V67.2917H161.5Z",1,"stroke-color-thick"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","347","height","169","viewBox","0 0 347 169","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M89 157.417V41.5833C89 35.2125 92.75 30 97.3333 30H230.667C235.25 30 239 35.2125 239 41.5833V157.417C239 163.787 235.25 169 230.667 169H97.3333C92.75 169 89 163.787 89 157.417Z",1,"fill-color-0"],["d","M6.25 134.625V18.375C6.25 11.9812 11.4812 6.75 17.875 6.75H203.875C210.269 6.75 215.5 11.9812 215.5 18.375V134.625C215.5 141.019 210.269 146.25 203.875 146.25H17.875C11.4812 146.25 6.25 141.019 6.25 134.625Z",1,"stroke-color-thin"],["d","M256.188 123H238.75V76.5H256.188C259.442 76.5 262 79.0575 262 82.3125V117.188C262 120.443 259.442 123 256.188 123Z",1,"fill-color-15"],["d","M232.938 99.75H215.5V53.25H232.938C236.193 53.25 238.75 55.8075 238.75 59.0625V93.9375C238.75 97.1925 236.193 99.75 232.938 99.75Z",1,"stroke-color-thin"],["d","M146 53V87.875",1,"stroke-color-thin"],["d","M146 122.634V122.749",1,"stroke-color-thin"],["d","M344.698 95.3022C346.74 97.3445 346.74 100.656 344.698 102.698L311.418 135.978C309.376 138.02 306.065 138.02 304.022 135.978C301.98 133.935 301.98 130.624 304.022 128.582L333.604 99L304.022 69.418C301.98 67.3758 301.98 64.0647 304.022 62.0225C306.065 59.9803 309.376 59.9803 311.418 62.0225L344.698 95.3022ZM277 93.7706L341 93.7706V104.229L277 104.229V93.7706Z",1,"fill-color-15"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["fill-rule","evenodd","clip-rule","evenodd","d","M161.033 82.5635C162.307 74.0523 155.826 69.4769 146.965 66.4247L149.84 54.8952L142.822 53.1462L140.023 64.3718C138.178 63.9121 136.283 63.4783 134.4 63.0486L137.219 51.749L130.205 50L127.328 61.5255C125.801 61.1777 124.302 60.8338 122.847 60.4721L122.855 60.4361L113.177 58.0194L111.31 65.5152C111.31 65.5152 116.517 66.7085 116.407 66.7825C119.249 67.4921 119.763 69.373 119.677 70.8641L116.403 83.9987C116.599 84.0487 116.852 84.1206 117.132 84.2326C117.096 84.2236 117.06 84.2146 117.023 84.2054C116.981 84.1948 116.938 84.184 116.894 84.1731C116.732 84.1323 116.563 84.09 116.391 84.0487L111.801 102.448C111.453 103.312 110.572 104.607 108.585 104.115C108.655 104.217 103.484 102.842 103.484 102.842L100 110.875L109.133 113.152C110.152 113.408 111.16 113.67 112.156 113.93L112.158 113.931L112.159 113.931C112.823 114.104 113.481 114.276 114.136 114.443L111.232 126.105L118.242 127.854L121.118 116.316C123.033 116.836 124.892 117.316 126.711 117.768L123.844 129.251L130.862 131L133.767 119.361C145.734 121.625 154.733 120.712 158.521 109.888C161.573 101.173 158.369 96.1458 152.072 92.8677C156.658 91.8103 160.112 88.794 161.033 82.5635ZM144.998 105.049C143.008 113.044 130.493 109.739 124.766 108.226L124.766 108.226C124.251 108.09 123.791 107.969 123.398 107.871L127.252 92.4219C127.73 92.5412 128.314 92.6723 128.976 92.8208L128.976 92.8208C134.899 94.1498 147.037 96.8734 144.998 105.049ZM130.167 85.6513C134.942 86.9255 145.356 89.7047 147.17 82.4376C149.022 75.0044 138.901 72.7637 133.957 71.6694C133.401 71.5463 132.911 71.4377 132.51 71.3379L129.016 85.3499C129.346 85.4322 129.733 85.5356 130.167 85.6513Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","313.615","y","82.836","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["d","M154.81 93.8059C152.146 100.719 149.483 108.164 146.287 115.608C146.287 115.608 146.287 116.672 147.353 116.672H169.191C169.191 116.672 169.191 117.204 169.723 117.736L137.765 153.364C137.233 152.832 137.233 152.301 137.233 151.769L148.418 127.839V125.712H126.047V123.585L153.212 93.8059H154.81Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["id","clip0"],["width","225.692","height","225.692","transform","translate(0 85.9831) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","300","height","300","viewBox","0 0 300 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M50 237.5V112.5C50 105.625 55.625 100 62.5 100H262.5C269.375 100 275 105.625 275 112.5V237.5C275 244.375 269.375 250 262.5 250H62.5C55.625 250 50 244.375 50 237.5Z",1,"fill-color-0"],["d","M25 212.5V87.5C25 80.625 30.625 75 37.5 75H237.5C244.375 75 250 80.625 250 87.5V212.5C250 219.375 244.375 225 237.5 225H37.5C30.625 225 25 219.375 25 212.5Z",1,"stroke-color"],["d","M293.75 200H275V150H293.75C297.25 150 300 152.75 300 156.25V193.75C300 197.25 297.25 200 293.75 200Z",1,"fill-color-0"],["d","M268.75 175H250V125H268.75C272.25 125 275 127.75 275 131.25V168.75C275 172.25 272.25 175 268.75 175Z",1,"stroke-color"],["d","M137.5 187.5L156.25 150H118.75L137.5 112.5",1,"stroke-color"]],template:function(U,G){if(1&U&&t.DNE(0,hf,1,0,"ng-container",5)(1,n4,18,5,"ng-template",null,0,t.C5r)(3,r4,15,5,"ng-template",null,1,t.C5r)(5,uf,19,5,"ng-template",null,2,t.C5r)(7,ff,17,5,"ng-template",null,3,t.C5r)(9,$l,13,5,"ng-template",null,4,t.C5r),2&U){const Oe=t.sdS(2),It=t.sdS(4),Lt=t.sdS(6),oi=t.sdS(8),ci=t.sdS(10);t.Y8G("ngTemplateOutlet",1===G.stepNumber?Oe:2===G.stepNumber?It:3===G.stepNumber?Lt:4===G.stepNumber?oi:ci)}},dependencies:[ri.YU,ri.T3,$i.DJ,$i.sA,$i.UI,ds.PW,mr.Lc,mr.dh],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[v2.k]}})}return O})();const Ql=(O,H)=>({"small-svg":O,"large-svg":H});function mf(O,H){1&O&&t.eu8(0)}function a1(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",7),t.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),t.k0s(),t.joV(),t.j41(12,"div",18)(13,"mat-card-title"),t.EFF(14,"Boltz Reverse Submarine Swap explained."),t.k0s()(),t.j41(15,"div",19)(16,"mat-card-subtitle",20),t.EFF(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Ql,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Us(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",21)(2,"g",22),t.nrm(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.k0s(),t.nrm(9,"path",29),t.j41(10,"defs")(11,"clipPath",30),t.nrm(12,"rect",31),t.k0s()()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 1: Deciding to Reverse Submarine Swap"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.EFF(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Ql,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function K0(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",32),t.nrm(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),t.j41(9,"defs")(10,"pattern",40),t.nrm(11,"use",41),t.k0s(),t.nrm(12,"image",42),t.k0s()(),t.joV(),t.j41(13,"div",18)(14,"mat-card-title"),t.EFF(15,"Step 2: Paying the Lightning Invoice"),t.k0s()(),t.j41(16,"div",19)(17,"mat-card-subtitle",20),t.EFF(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Ql,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function o1(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",43)(2,"g",22),t.nrm(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),t.k0s(),t.j41(8,"defs")(9,"clipPath",30),t.nrm(10,"rect",49),t.k0s()()(),t.joV(),t.j41(11,"div",18)(12,"mat-card-title"),t.EFF(13,"Step 3: Receiving the funds on-chain"),t.k0s()(),t.j41(14,"div",19)(15,"mat-card-subtitle",20),t.EFF(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Ql,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function gd(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",6),t.bIt("swipe",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onSwipe(G))}),t.qSk(),t.j41(1,"svg",50),t.nrm(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),t.k0s(),t.joV(),t.j41(7,"div",18)(8,"mat-card-title"),t.EFF(9,"Done!"),t.k0s()(),t.j41(10,"div",19)(11,"mat-card-subtitle",20),t.EFF(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@sliderAnimation",b.animationDirection),t.R7$(),t.Y8G("ngClass",t.l_i(2,Ql,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let $0=(()=>{class O{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.bkB,this.screenSize="",this.screenSizeEnum=Wt.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(b){2===b.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===b.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ia.h))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],[4,"ngTemplateOutlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","368","height","368","viewBox","0 0 368 368","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M306.667 153.333H276L260.667 184L233.797 153.763C229.441 148.861 224.595 144.24 218.529 141.746C212.54 139.284 206.099 138 199.561 138H92C41.19 138 1.52588e-05 179.19 1.52588e-05 230C1.52588e-05 280.81 41.19 322 92 322H199.561C206.099 322 212.54 320.715 218.529 318.254C224.595 315.761 229.441 311.139 233.797 306.237L260.667 276L276 306.667H306.667L291.333 260.667L306.667 230L291.333 199.333L306.667 153.333Z",1,"fill-color-0"],["d","M337.333 122.667H306.667L291.333 153.333L264.464 123.097C260.107 118.194 255.261 113.573 249.195 111.079C243.206 108.618 236.766 107.333 230.228 107.333H122.667C71.8566 107.333 30.6667 148.523 30.6667 199.333C30.6667 250.143 71.8566 291.333 122.667 291.333H230.228C236.766 291.333 243.206 290.048 249.195 287.587C255.261 285.094 260.107 280.473 264.464 275.571L291.333 245.333L306.667 276H337.333L322 230L337.333 199.333L322 168.667L337.333 122.667Z",1,"stroke-color-thicker"],["d","M214.667 245.333C206.198 245.333 199.333 238.468 199.333 230C199.333 221.532 206.198 214.667 214.667 214.667C223.135 214.667 230 221.532 230 230C230 238.468 223.135 245.333 214.667 245.333Z",1,"fill-color-15"],["d","M245.333 214.667C236.865 214.667 230 207.802 230 199.333C230 190.865 236.865 184 245.333 184C253.802 184 260.667 190.865 260.667 199.333C260.667 207.802 253.802 214.667 245.333 214.667Z",1,"stroke-color-thicker"],["d","M138 245.333C129.532 245.333 122.667 238.468 122.667 230C122.667 221.532 129.532 214.667 138 214.667C146.468 214.667 153.333 221.532 153.333 230C153.333 238.468 146.468 245.333 138 245.333Z",1,"fill-color-15"],["d","M168.667 214.667C160.198 214.667 153.333 207.802 153.333 199.333C153.333 190.865 160.198 184 168.667 184C177.135 184 184 190.865 184 199.333C184 207.802 177.135 214.667 168.667 214.667Z",1,"stroke-color-thicker"],["d","M61.3334 245.333C52.865 245.333 46 238.468 46 230C46 221.532 52.865 214.667 61.3334 214.667C69.8017 214.667 76.6667 221.532 76.6667 230C76.6667 238.468 69.8017 245.333 61.3334 245.333Z",1,"fill-color-15"],["d","M92 214.667C83.5316 214.667 76.6666 207.802 76.6666 199.333C76.6666 190.865 83.5316 184 92 184C100.468 184 107.333 190.865 107.333 199.333C107.333 207.802 100.468 214.667 92 214.667Z",1,"stroke-color-thicker"],["d","M239.077 111C241.796 111 244 113.204 244 115.923V126.077C244 128.796 241.796 131 239.077 131H191.923C189.204 131 187 128.796 187 126.077V115.923C187 113.204 189.204 111 191.923 111H239.077Z",1,"fill-color-15"],["d","M184 76.6666V107.333H122.667V76.6666H184Z",1,"stroke-color-thicker"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","383","height","279","viewBox","0 0 383 279","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M267.882 220.417V104.583C267.882 98.2125 263.809 93 258.832 93H114.029C109.051 93 104.978 98.2125 104.978 104.583V220.417C104.978 226.787 109.051 232 114.029 232H258.832C263.809 232 267.882 226.787 267.882 220.417Z",1,"fill-color-0"],["d","M357.75 197.625V81.375C357.75 74.9812 352.069 69.75 345.125 69.75H143.125C136.181 69.75 130.5 74.9812 130.5 81.375V197.625C130.5 204.019 136.181 209.25 143.125 209.25H345.125C352.069 209.25 357.75 204.019 357.75 197.625Z",1,"stroke-color-thin"],["d","M86.3125 186H105.25V139.5H86.3125C82.7775 139.5 80 142.057 80 145.312V180.188C80 183.443 82.7775 186 86.3125 186Z",1,"fill-color-15"],["d","M111.562 162.75H130.5V116.25H111.562C108.027 116.25 105.25 118.807 105.25 122.062V156.938C105.25 160.193 108.027 162.75 111.562 162.75Z",1,"stroke-color-thin"],["d","M205.979 116V150.875",1,"stroke-color-thin"],["d","M205.979 185.634V185.749",1,"stroke-color-thin"],["d","M2.44963 159.45C0.488815 161.41 0.488815 164.59 2.44963 166.55L34.403 198.504C36.3638 200.465 39.5429 200.465 41.5037 198.504C43.4645 196.543 43.4645 193.364 41.5037 191.403L13.1007 163L41.5037 134.597C43.4645 132.636 43.4645 129.457 41.5037 127.496C39.5429 125.535 36.3638 125.535 34.403 127.496L2.44963 159.45ZM65 157.979H6V168.021H65V157.979Z",1,"fill-color-15"],["id","clip0"],["width","303","height","279","transform","matrix(-1 0 0 1 383 0)",1,"fill-color-30"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["d","M138.762 67C136.099 73.913 133.436 81.3578 130.24 88.8025C130.24 88.8025 130.24 89.8661 131.305 89.8661H153.143C153.143 89.8661 153.143 90.3979 153.676 90.9296L121.718 126.558C121.185 126.026 121.185 125.495 121.185 124.963L132.371 101.033V98.9062H110V96.7791L137.164 67H138.762Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","317","y","81","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["fill-rule","evenodd","clip-rule","evenodd","d","M169.522 122.093C171.059 115.241 166.054 111.136 159.022 108.13L162.04 98.916L156.431 97.0797L153.493 106.051C152.019 105.569 150.502 105.104 148.995 104.643L151.953 95.613L146.348 93.7769L143.329 102.988C142.106 102.615 140.906 102.247 139.743 101.867L139.752 101.838L132.017 99.3019L130.057 105.293C130.057 105.293 134.224 106.57 134.131 106.624C136.402 107.369 136.71 108.93 136.552 110.138L133.115 120.635C133.271 120.687 133.473 120.761 133.695 120.869C133.66 120.857 133.626 120.846 133.591 120.834C133.562 120.825 133.534 120.816 133.505 120.806C133.375 120.763 133.24 120.719 133.102 120.675L128.284 135.38C127.95 136.062 127.157 137.065 125.569 136.548C125.62 136.635 121.492 135.211 121.492 135.211L118.184 141.544L125.483 143.935C126.298 144.203 127.103 144.476 127.899 144.746L127.901 144.747C128.431 144.927 128.956 145.105 129.479 145.28L126.429 154.6L132.031 156.436L135.051 147.215C136.579 147.75 138.064 148.25 139.517 148.725L136.509 157.902L142.118 159.739L145.166 150.437C154.773 152.984 162.15 152.77 165.87 144.183C168.867 137.27 166.555 132.99 161.623 129.952C165.417 129.361 168.406 127.109 169.522 122.093ZM155.149 139.449C153.059 145.84 143.068 142.413 138.496 140.845L138.496 140.845C138.085 140.704 137.718 140.578 137.404 140.476L141.449 128.129C141.831 128.254 142.299 128.395 142.829 128.555L142.829 128.555C147.571 129.985 157.289 132.916 155.149 139.449ZM144.22 122.79C148.031 124.108 156.343 126.982 158.247 121.175C160.192 115.234 152.086 112.815 148.127 111.634C147.682 111.501 147.289 111.383 146.969 111.279L143.301 122.477C143.565 122.563 143.874 122.67 144.22 122.79Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["width","225.692","height","225.692","transform","translate(0 85.983) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","298","height","300","viewBox","0 0 298 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M248.333 237.5V112.5C248.333 105.625 242.746 100 235.917 100H37.2501C30.421 100 24.8335 105.625 24.8335 112.5V237.5C24.8335 244.375 30.421 250 37.2501 250H235.917C242.746 250 248.333 244.375 248.333 237.5Z",1,"fill-color-0"],["d","M273.167 212.5V87.5C273.167 80.625 267.579 75 260.75 75H62.0832C55.254 75 49.6665 80.625 49.6665 87.5V212.5C49.6665 219.375 55.254 225 62.0832 225H260.75C267.579 225 273.167 219.375 273.167 212.5Z",1,"stroke-color"],["d","M6.20851 200H24.8335V150H6.20851C2.73185 150 0.000183105 152.75 0.000183105 156.25V193.75C0.000183105 197.25 2.73185 200 6.20851 200Z",1,"fill-color-0"],["d","M31.0415 175H49.6665V125H31.0415C27.5648 125 24.8331 127.75 24.8331 131.25V168.75C24.8331 172.25 27.5648 175 31.0415 175Z",1,"stroke-color"],["d","M161.417 187.5L142.792 150H180.042L161.417 112.5",1,"stroke-color"]],template:function(U,G){if(1&U&&t.DNE(0,mf,1,0,"ng-container",5)(1,a1,18,5,"ng-template",null,0,t.C5r)(3,Us,19,5,"ng-template",null,1,t.C5r)(5,K0,19,5,"ng-template",null,2,t.C5r)(7,o1,17,5,"ng-template",null,3,t.C5r)(9,gd,13,5,"ng-template",null,4,t.C5r),2&U){const Oe=t.sdS(2),It=t.sdS(4),Lt=t.sdS(6),oi=t.sdS(8),ci=t.sdS(10);t.Y8G("ngTemplateOutlet",1===G.stepNumber?Oe:2===G.stepNumber?It:3===G.stepNumber?Lt:4===G.stepNumber?oi:ci)}},dependencies:[ri.YU,ri.T3,$i.DJ,$i.sA,$i.UI,ds.PW,mr.Lc,mr.dh],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[v2.k]}})}return O})();const Q0=["stepper"],Z0=()=>[1,2,3,4,5],_d=(O,H)=>({"dot-primary":O,"dot-primary-lighter":H});function s1(O,H){if(1&O&&t.EFF(0),2&O){const b=t.XpG(2);t.JRh(b.inputFormLabel)}}function c1(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Amount is required."),t.k0s())}function J0(O,H){if(1&O&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&O){const b=t.XpG(2);t.R7$(),t.SpI("Amount must be greater than or equal to ",t.bMT(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),".")}}function q0(O,H){if(1&O&&(t.j41(0,"mat-error"),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&O){const b=t.XpG(2);t.R7$(),t.SpI("Amount must be less than or equal to ",t.bMT(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),".")}}function Zl(O,H){1&O&&(t.j41(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",43),t.EFF(3,"Accept Zero Conf"),t.k0s(),t.j41(4,"mat-icon",44),t.EFF(5,"info_outline"),t.k0s()()())}function b2(O,H){1&O&&(t.j41(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",45),t.EFF(3,"Send from Internal Wallet"),t.k0s(),t.j41(4,"mat-icon",46),t.EFF(5,"info_outline"),t.k0s()()())}function pf(O,H){1&O&&(t.j41(0,"button",47),t.EFF(1,"Next"),t.k0s())}function gf(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",48),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onSwap())}),t.EFF(1),t.k0s()}if(2&O){const b=t.XpG(2);t.R7$(),t.SpI("Initiate ",b.swapDirectionCaption,"")}}function Qo(O,H){if(1&O&&t.EFF(0),2&O){const b=t.XpG(3);t.JRh(b.addressFormLabel)}}function y2(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Address is required."),t.k0s())}function l1(O,H){if(1&O){const b=t.RV6();t.j41(0,"mat-step",15)(1,"form",16),t.DNE(2,Qo,1,1,"ng-template",17),t.j41(3,"div",49)(4,"mat-radio-group",50),t.bIt("change",function(G){t.eBV(b);const Oe=t.XpG(2);return t.Njj(Oe.onAddressTypeChange(G))}),t.j41(5,"mat-radio-button",51),t.EFF(6,"Node Local Address"),t.k0s(),t.j41(7,"mat-radio-button",52),t.EFF(8,"External Address"),t.k0s()(),t.j41(9,"mat-form-field",53)(10,"mat-label"),t.EFF(11,"Address"),t.k0s(),t.nrm(12,"input",54),t.DNE(13,y2,2,0,"mat-error",24),t.k0s()(),t.j41(14,"div",26)(15,"button",55),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onSwap())}),t.EFF(16),t.k0s()()()()}if(2&O){const b=t.XpG(2);t.Y8G("stepControl",b.addressFormGroup)("editable",b.flgEditable),t.R7$(),t.Y8G("formGroup",b.addressFormGroup),t.R7$(11),t.Y8G("required","external"===b.addressFormGroup.controls.addressType.value),t.R7$(),t.Y8G("ngIf",null==b.addressFormGroup.controls.address.errors?null:b.addressFormGroup.controls.address.errors.required),t.R7$(3),t.SpI("Initiate ",b.swapDirectionCaption,"")}}function x2(O,H){if(1&O&&t.EFF(0),2&O){const b=t.XpG(2);t.SpI("",b.swapDirectionCaption," Status")}}function eh(O,H){if(1&O&&(t.j41(0,"mat-icon",56),t.EFF(1),t.k0s()),2&O){const b=t.XpG(2);t.R7$(),t.JRh(b.swapStatus&&null!=b.swapStatus&&b.swapStatus.id?"check":"close")}}function a4(O,H){1&O&&t.nrm(0,"div")}function Zo(O,H){1&O&&t.nrm(0,"mat-progress-bar",57)}function pl(O,H){if(1&O&&(t.j41(0,"h4",58),t.EFF(1),t.k0s()),2&O){const b=t.XpG(2);t.R7$(),t.JRh(b.swapStatus&&b.swapStatus.error?b.swapDirectionCaption+" failed.":b.swapStatus&&b.swapStatus.id?b.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":b.swapDirectionCaption+" request placed successfully.")}}function C2(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",59),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onRestart())}),t.EFF(1,"Start Again"),t.k0s()}}function w2(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),t.EFF(5),t.k0s()(),t.j41(6,"div",9)(7,"button",10),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.showInfo())}),t.EFF(8,"?"),t.k0s(),t.j41(9,"button",11),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.onClose())}),t.EFF(10,"X"),t.k0s()()(),t.j41(11,"mat-card-content",12)(12,"div",13)(13,"mat-vertical-stepper",14,1),t.bIt("selectionChange",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.stepSelectionChanged(G))}),t.j41(15,"mat-step",15)(16,"form",16),t.DNE(17,s1,1,1,"ng-template",17),t.j41(18,"div",18),t.nrm(19,"rtl-boltz-service-info",19),t.k0s(),t.j41(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),t.EFF(23,"Amount"),t.k0s(),t.nrm(24,"input",22),t.j41(25,"mat-hint"),t.EFF(26),t.nI1(27,"number"),t.nI1(28,"number"),t.k0s(),t.j41(29,"span",23),t.EFF(30,"Sats"),t.k0s(),t.DNE(31,c1,2,0,"mat-error",24)(32,J0,3,3,"mat-error",24)(33,q0,3,3,"mat-error",24),t.k0s(),t.DNE(34,Zl,6,0,"div",25)(35,b2,6,0,"div",25),t.k0s(),t.j41(36,"div",26),t.DNE(37,pf,2,0,"button",27)(38,gf,2,1,"button",28),t.k0s()()(),t.DNE(39,l1,17,6,"mat-step",29),t.j41(40,"mat-step",30)(41,"form",16),t.DNE(42,x2,1,1,"ng-template",17),t.j41(43,"div",31)(44,"mat-expansion-panel",32)(45,"mat-expansion-panel-header")(46,"mat-panel-title")(47,"span",33),t.EFF(48),t.DNE(49,eh,2,1,"mat-icon",34),t.k0s()()(),t.DNE(50,a4,1,0,"div",35),t.k0s(),t.DNE(51,Zo,1,0,"mat-progress-bar",36),t.k0s(),t.DNE(52,pl,2,1,"h4",37),t.j41(53,"div",26),t.DNE(54,C2,2,0,"button",38),t.k0s()()()(),t.j41(55,"div",39)(56,"button",40),t.EFF(57,"Close"),t.k0s()()()()()()}if(2&O){const b=t.XpG(),U=t.sdS(2);t.Y8G("@opacityAnimation",void 0),t.R7$(3),t.Y8G("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"83":"91"),t.R7$(2),t.JRh(b.swapDirectionCaption),t.R7$(),t.Y8G("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"17":"9"),t.R7$(7),t.Y8G("linear",!0),t.R7$(2),t.Y8G("stepControl",b.inputFormGroup)("editable",b.flgEditable),t.R7$(),t.Y8G("formGroup",b.inputFormGroup),t.R7$(3),t.Y8G("serviceInfo",b.serviceInfo)("direction",b.direction),t.R7$(5),t.Y8G("step",1e3),t.R7$(2),t.Lme("Range: ",t.bMT(27,32,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),"-",t.bMT(28,34,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),""),t.R7$(5),t.Y8G("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.required),t.R7$(),t.Y8G("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.min),t.R7$(),t.Y8G("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.max),t.R7$(),t.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_IN&&b.isSendFromInternalCompatible),t.R7$(2),t.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),t.R7$(),t.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("stepControl",b.statusFormGroup),t.R7$(),t.Y8G("formGroup",b.statusFormGroup),t.R7$(3),t.Y8G("expanded",!!b.swapStatus),t.R7$(4),t.JRh(b.swapStatus?b.swapStatus.id?b.swapDirectionCaption+" request details":b.swapDirectionCaption+" error details":"Waiting for "+b.swapDirectionCaption+" request..."),t.R7$(),t.Y8G("ngIf",b.swapStatus),t.R7$(),t.Y8G("ngIf",!b.swapStatus)("ngIfElse",U),t.R7$(),t.Y8G("ngIf",!b.swapStatus),t.R7$(),t.Y8G("ngIf",b.swapStatus),t.R7$(2),t.Y8G("ngIf",b.swapStatus&&(b.swapStatus.error||!b.swapStatus.id)),t.R7$(2),t.Y8G("mat-dialog-close",!1)}}function _f(O,H){if(1&O&&t.nrm(0,"rtl-boltz-swap-status",60),2&O){const b=t.XpG();t.Y8G("swapStatus",b.swapStatus)("direction",b.direction)("acceptZeroConf",null==b.inputFormGroup||null==b.inputFormGroup.controls?null:b.inputFormGroup.controls.acceptZeroConf.value)("sendFromInternal",null==b.inputFormGroup||null==b.inputFormGroup.controls?null:b.inputFormGroup.controls.sendFromInternal.value)}}function th(O,H){if(1&O){const b=t.RV6();t.j41(0,"rtl-boltz-swapout-info-graphics",76),t.mxI("stepNumberChange",function(G){t.eBV(b);const Oe=t.XpG(2);return t.DH7(Oe.stepNumber,G)||(Oe.stepNumber=G),t.Njj(G)}),t.k0s()}if(2&O){const b=t.XpG(2);t.Y8G("animationDirection",b.animationDirection),t.R50("stepNumber",b.stepNumber)}}function ih(O,H){if(1&O){const b=t.RV6();t.j41(0,"rtl-boltz-swapin-info-graphics",76),t.mxI("stepNumberChange",function(G){t.eBV(b);const Oe=t.XpG(2);return t.DH7(Oe.stepNumber,G)||(Oe.stepNumber=G),t.Njj(G)}),t.k0s()}if(2&O){const b=t.XpG(2);t.Y8G("animationDirection",b.animationDirection),t.R50("stepNumber",b.stepNumber)}}function Gc(O,H){if(1&O){const b=t.RV6();t.j41(0,"span",77),t.bIt("click",function(){const G=t.eBV(b).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onStepChanged(G))}),t.nrm(1,"p",78),t.k0s()}if(2&O){const b=H.$implicit,U=t.XpG(2);t.R7$(),t.Y8G("ngClass",t.l_i(1,_d,U.stepNumber===b,U.stepNumber!==b))}}function M2(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",79),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onReadMore())}),t.EFF(1,"Read More"),t.k0s()}}function nh(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",80),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onStepChanged(4))}),t.EFF(1,"Back"),t.k0s()}}function vf(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",81),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(1,"Close"),t.k0s()}}function rh(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",82),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(1,"Close"),t.k0s()}}function E2(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",83),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onStepChanged(G.stepNumber-1))}),t.EFF(1,"Back"),t.k0s()}}function bf(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",84),t.bIt("click",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onStepChanged(G.stepNumber+1))}),t.EFF(1,"Next"),t.k0s()}}function S2(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",61)(1,"div",18)(2,"mat-card-header",62)(3,"div",63),t.nrm(4,"span",8),t.k0s(),t.j41(5,"div",64)(6,"button",11),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return G.flgShowInfo=!1,t.Njj(G.stepNumber=1)}),t.EFF(7,"X"),t.k0s()()(),t.j41(8,"mat-card-content",65),t.DNE(9,th,1,2,"rtl-boltz-swapout-info-graphics",66)(10,ih,1,2,"rtl-boltz-swapin-info-graphics",66),t.k0s(),t.j41(11,"div",67),t.DNE(12,Gc,2,4,"span",68),t.k0s(),t.j41(13,"div",69),t.DNE(14,M2,2,0,"button",70)(15,nh,2,0,"button",71)(16,vf,2,0,"button",72)(17,rh,2,0,"button",73)(18,E2,2,0,"button",74)(19,bf,2,0,"button",75),t.k0s()()()}if(2&O){const b=t.XpG();t.Y8G("@opacityAnimation",void 0),t.R7$(9),t.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.R7$(),t.Y8G("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),t.R7$(2),t.Y8G("ngForOf",t.lJ4(10,Z0)),t.R7$(2),t.Y8G("ngIf",5===b.stepNumber),t.R7$(),t.Y8G("ngIf",5===b.stepNumber),t.R7$(),t.Y8G("ngIf",5===b.stepNumber),t.R7$(),t.Y8G("ngIf",b.stepNumber<5),t.R7$(),t.Y8G("ngIf",b.stepNumber>1&&b.stepNumber<5),t.R7$(),t.Y8G("ngIf",b.stepNumber<5)}}let Jl=(()=>{class O{constructor(b,U,G,Oe,It,Lt,oi){this.dialogRef=b,this.data=U,this.boltzService=G,this.formBuilder=Oe,this.decimalPipe=It,this.logger=Lt,this.commonService=oi,this.faInfoCircle=nn.iW_,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Wt.Bd,this.direction=Wt.Bd.SWAP_OUT,this.swapDirectionCaption="Swap out",this.swapStatus=null,this.inputFormLabel="Amount to swap out",this.addressFormLabel="Withdrawal Address",this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=Wt.f7,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Wt.Bd.SWAP_OUT,this.swapDirectionCaption=this.direction===Wt.Bd.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[Wi.k0.required,Wi.k0.min(this.serviceInfo.limits?.minimal||0),Wi.k0.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[Wi.k0.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:b=>{this.boltzInfo=b,this.isSendFromInternalCompatible=this.commonService.isVersionCompatible(this.boltzInfo.version,"2.0.0")},error:b=>{this.boltzInfo={version:"2.0.0"},this.logger.error(b)}})}ngAfterViewInit(){this.direction===Wt.Bd.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Wt.Bd.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(b){"external"===b.value?(this.addressFormGroup.controls.address.setValidators([Wi.k0.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onSwap(){if(!this.inputFormGroup.controls.amount.value||this.serviceInfo.limits?.minimal&&this.inputFormGroup.controls.amount.value<+this.serviceInfo.limits.minimal||this.serviceInfo.limits?.maximal&&this.inputFormGroup.controls.amount.value>+this.serviceInfo.limits.maximal||this.direction===Wt.Bd.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===Wt.Bd.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null).pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:b=>{this.swapStatus=b,this.boltzService.listSwaps(),this.flgEditable=!0},error:b=>{this.swapStatus={error:b},this.flgEditable=!0,this.logger.error(b)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",this.inputFormGroup.controls.acceptZeroConf.value).pipe((0,dn.Q)(this.unSubs[3])).subscribe({next:U=>{this.swapStatus=U,this.boltzService.listSwaps(),this.flgEditable=!0},error:U=>{this.swapStatus={error:U},this.flgEditable=!0,this.logger.error(U)}})}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value?this.direction===Wt.Bd.SWAP_IN?this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Send from Internal Wallet: "+(this.inputFormGroup.controls.sendFromInternal.value?"Yes":"No"):this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Zero Conf: "+(this.inputFormGroup.controls.acceptZeroConf.value?"Yes":"No"):"Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}b.selectedIndex<b.previouslySelectedIndex&&b.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===Wt.Bd.SWAP_IN?window.open("https://docs.boltz.exchange/en/latest/lifecycle/#normal-submarine-swaps","_blank"):window.open("https://docs.boltz.exchange/en/latest/lifecycle/#reverse-submarine-swaps","_blank"),this.onClose()}onStepChanged(b){this.animationDirection=b<this.stepNumber?"backward":"forward",this.stepNumber=b}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.serviceInfo.limits?.minimal,acceptZeroConf:!1,sendFromInternal:!0}),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable(),this.swapStatus=null}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Sn.CP),t.rXU(Sn.Vh),t.rXU(fd),t.rXU(Wi.ze),t.rXU(ri.QX),t.rXU(Yo.gP),t.rXU(Ia.h))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(U,G){if(1&U&&t.GBs(Q0,5),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.stepper=Oe.first)}},decls:4,vars:2,consts:[["swapStatusBlock",""],["stepper",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","end end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"serviceInfo","direction"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],["fxLayout","column","fxFlex","48"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext","",4,"ngIf"],["mat-button","","color","primary","tabindex","3","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","acceptZeroConf","name","acceptZeroConf"],["matTooltip","Only recommended for smaller payments, involves trust in Boltz","matTooltipPosition","above",1,"info-icon","mt-2"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","sendFromInternal","name","sendFromInternal"],["matTooltip","Pay from the node's onchain wallet","matTooltipPosition","above",1,"info-icon","mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction","acceptZeroConf","sendFromInternal"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumberChange","animationDirection","stepNumber"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(U,G){1&U&&t.DNE(0,w2,58,36,"div",2)(1,_f,1,4,"ng-template",null,0,t.C5r)(3,S2,20,11,"div",3),2&U&&(t.Y8G("ngIf",!G.flgShowInfo),t.R7$(3),t.Y8G("ngIf",G.flgShowInfo))},dependencies:[ri.YU,ri.Sq,ri.bT,Wi.qT,Wi.me,Wi.Q0,Wi.BC,Wi.cb,Wi.YS,Wi.j4,Wi.JD,$i.DJ,$i.sA,$i.UI,ds.PW,Sn.tx,ve.$z,mr.m2,mr.MM,Ra.GK,Ra.Z2,Ra.WN,Vc.An,Nr.fg,Pe.rl,Pe.nJ,Pe.MV,Pe.TL,Pe.yw,ul.HM,Gd.VT,Gd._g,e2.sG,ic.oV,Ka.V5,Ka.Ti,Ka.M6,Ka.F7,Ot.N,df,Y0,pd,$0,ri.QX],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[af.C]}})}return O})();const yf=()=>["all"],d1=O=>({"overflow-auto error-border":O,"overflow-auto":!0}),ah=()=>["no_swap"],jc=O=>({width:O}),T2=O=>({"display-none":O});function oh(O,H){if(1&O&&(t.j41(0,"mat-option",42),t.EFF(1),t.k0s()),2&O){const b=H.$implicit,U=t.XpG();t.Y8G("value",b),t.R7$(),t.JRh(U.getLabel(b))}}function xf(O,H){1&O&&t.nrm(0,"mat-progress-bar",43)}function h1(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Status"),t.k0s())}function D2(O,H){if(1&O&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.JRh(U.swapStateEnum[null==b?null:b.status])}}function Cf(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Swap ID"),t.k0s())}function ql(O,H){if(1&O&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.R7$(),t.JRh(null==b?null:b.id)}}function vd(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Claim Address"),t.k0s())}function bd(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,jc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.claimAddress)}}function wf(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Lockup Address"),t.k0s())}function Mf(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,jc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.lockupAddress)}}function o4(O,H){1&O&&(t.j41(0,"th",48),t.EFF(1,"Onchain Amount (Sats)"),t.k0s())}function A2(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&O){const b=H.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==b?null:b.onchainAmount))}}function sh(O,H){1&O&&(t.j41(0,"th",48),t.EFF(1,"Expected Amount (Sats)"),t.k0s())}function u1(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&O){const b=H.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==b?null:b.expectedAmount))}}function ch(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Error"),t.k0s())}function Dc(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,jc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.error)}}function f1(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Private Key"),t.k0s())}function k2(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,jc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.privateKey)}}function lh(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Preimage"),t.k0s())}function ed(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,jc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.preimage)}}function dh(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Redeem Script"),t.k0s())}function hh(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,jc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.redeemScript)}}function Ef(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Invoice"),t.k0s())}function Sf(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",46)(2,"span",47),t.EFF(3),t.k0s()()()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngStyle",t.eq3(2,jc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.R7$(2),t.JRh(null==b?null:b.invoice)}}function uh(O,H){1&O&&(t.j41(0,"th",48),t.EFF(1,"Timeout Block Height"),t.k0s())}function s4(O,H){if(1&O&&(t.j41(0,"td",45)(1,"span",49),t.EFF(2),t.nI1(3,"number"),t.k0s()()),2&O){const b=H.$implicit;t.R7$(2),t.JRh(t.bMT(3,1,null==b?null:b.timeoutBlockHeight))}}function c4(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Lockup Tx ID"),t.k0s())}function Gs(O,H){if(1&O&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.R7$(),t.JRh(null==b?null:b.lockupTransactionId)}}function fh(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Claim Tx ID"),t.k0s())}function m1(O,H){if(1&O&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.R7$(),t.JRh(null==b?null:b.claimTransactionId)}}function mh(O,H){1&O&&(t.j41(0,"th",44),t.EFF(1,"Refund Tx ID"),t.k0s())}function js(O,H){if(1&O&&(t.j41(0,"td",45),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.R7$(),t.JRh(null==b?null:b.refundTransactionId)}}function yd(O,H){if(1&O){const b=t.RV6();t.j41(0,"th",50)(1,"div",51)(2,"mat-select",52),t.nrm(3,"mat-select-trigger"),t.j41(4,"mat-option",53),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.onDownloadCSV())}),t.EFF(5,"Download CSV"),t.k0s()()()()}}function p1(O,H){if(1&O){const b=t.RV6();t.j41(0,"td",54)(1,"button",55),t.bIt("click",function(G){const Oe=t.eBV(b).$implicit,It=t.XpG();return t.Njj(It.onSwapClick(Oe,G))}),t.EFF(2,"View Info"),t.k0s()()}}function td(O,H){if(1&O&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&O){const b=t.XpG(2);t.R7$(),t.JRh(b.emptyTableMessage)}}function id(O,H){if(1&O&&(t.j41(0,"td",56),t.DNE(1,td,2,1,"p",57),t.k0s()),2&O){const b=t.XpG();t.R7$(),t.Y8G("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}function Wc(O,H){if(1&O&&t.nrm(0,"tr",58),2&O){const b=t.XpG();t.Y8G("ngClass",t.eq3(1,T2,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function Ac(O,H){1&O&&t.nrm(0,"tr",59)}function xd(O,H){1&O&&t.nrm(0,"tr",60)}let nd=(()=>{class O{constructor(b,U,G,Oe,It){this.logger=b,this.commonService=U,this.store=G,this.boltzService=Oe,this.camelCaseWithReplace=It,this.selectedSwapType=Wt.Bd.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Wt._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Wt.md,sortBy:"status",sortOrder:Wt.oi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Wt.md,sortBy:"status",sortOrder:Wt.oi.DESCENDING},this.swapStateEnum=Wt.q9,this.swapTypeEnum=Wt.Bd,this.faHistory=nn.Int,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new Tr.I6([]),this.selFilter="",this.pageSize=Wt.md,this.pageSizeOptions=Wt.xp,this.screenSize="",this.screenSizeEnum=Wt.f7,this.unSubs=[new Gi.B,new Gi.B,new Gi.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){b.selectedSwapType&&!b.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Wt.Bd.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(t2.$G).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{this.tableSettingSwapOut=b.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapOut.tableId)||Wt.ZC.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=b.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapIn.tableId)||Wt.ZC.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapIn.tableId),this.setTableColumns(),this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Wt.Bd.SWAP_IN?(this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.f7.SM?JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapIn.recordsPerPage?+this.tableSettingSwapIn.recordsPerPage:Wt.md):(this.displayedColumns=this.screenSize===Wt.f7.XS||this.screenSize===Wt.f7.SM?JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapOut.recordsPerPage?+this.tableSettingSwapOut.recordsPerPage:Wt.md)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(b){const G=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Wt.Bd.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Oe=>Oe.column===b);return G?G.label?G.label:this.camelCaseWithReplace.transform(G.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,U)=>{let G="";switch(this.selFilterBy){case"all":G=JSON.stringify(b).toLowerCase();break;case"status":G=b?.status?this.swapStateEnum[b?.status]:"";break;default:G=typeof b[this.selFilterBy]>"u"?"":"string"==typeof b[this.selFilterBy]?b[this.selFilterBy].toLowerCase():"boolean"==typeof b[this.selFilterBy]?b[this.selFilterBy]?"yes":"no":b[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===G.indexOf(U):G.includes(U)}}onSwapClick(b,U){this.boltzService.swapInfo(b.id||"").pipe((0,dn.Q)(this.unSubs[1])).subscribe(G=>{this.store.dispatch((0,Cn.xO)({payload:{data:{type:Wt.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Wt.q9[(G=this.selectedSwapType===Wt.Bd.SWAP_IN?G.swap:G.reverseSwap).status],title:"Status",width:50,type:Wt.UN.STRING},{key:"id",value:G.id,title:"ID",width:50,type:Wt.UN.STRING}],[{key:"amount",value:G.onchainAmount?G.onchainAmount:G.expectedAmount?G.expectedAmount:0,title:G.onchainAmount?"Onchain Amount (Sats)":G.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Wt.UN.NUMBER},{key:"timeoutBlockHeight",value:G.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Wt.UN.NUMBER}],[{key:"address",value:G.claimAddress?G.claimAddress:G.lockupAddress?G.lockupAddress:"",title:G.claimAddress?"Claim Address":G.lockupAddress?"Lockup Address":"Address",width:100,type:Wt.UN.STRING}],[{key:"invoice",value:G.invoice,title:"Invoice",width:100,type:Wt.UN.STRING}],[{key:"privateKey",value:G.privateKey,title:"Private Key",width:100,type:Wt.UN.STRING}],[{key:"preimage",value:G.preimage,title:"Preimage",width:100,type:Wt.UN.STRING}],[{key:"redeemScript",value:G.redeemScript,title:"Redeem Script",width:100,type:Wt.UN.STRING}],[{key:"lockupTransactionId",value:G.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Wt.UN.STRING},{key:"transactionId",value:G.claimTransactionId?G.claimTransactionId:G.refundTransactionId?G.refundTransactionId:"",title:G.claimTransactionId?"Claim Transaction ID":G.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Wt.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new Tr.I6(b?[...b]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(U,G)=>U[G]&&isNaN(U[G])?U[G].toLocaleLowerCase():U[G]?+U[G]:null,this.paginator&&this.paginator.firstPage(),this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Wt.Bd.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ia.h),t.rXU(Ri.il),t.rXU(fd),t.rXU(Ul.VD))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-boltz-swaps"]],viewQuery:function(U,G){if(1&U&&(t.GBs(Sc.B4,5),t.GBs(hl.iy,5)),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.sort=Oe.first),t.mGM(Oe=t.lsd())&&(G.paginator=Oe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t.Jv_([{provide:xe.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:hl.xX,useValue:(0,Wt.on)("Swaps")}]),t.OA$],decls:76,vars:20,consts:[["table",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","lockupAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","expectedAmount"],["matColumnDef","error"],["matColumnDef","privateKey"],["matColumnDef","preimage"],["matColumnDef","redeemScript"],["matColumnDef","invoice"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","lockupTransactionId"],["matColumnDef","claimTransactionId"],["matColumnDef","refundTransactionId"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"div",3),t.nrm(3,"fa-icon",4),t.j41(4,"span",5),t.EFF(5),t.k0s()(),t.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),t.EFF(9,"Filter By"),t.k0s(),t.j41(10,"mat-select",8),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selFilterBy,Lt)||(G.selFilterBy=Lt),t.Njj(Lt)}),t.bIt("selectionChange",function(){return t.eBV(Oe),G.selFilter="",t.Njj(G.applyFilter())}),t.j41(11,"perfect-scrollbar"),t.DNE(12,oh,2,2,"mat-option",9),t.k0s()()(),t.j41(13,"mat-form-field",7)(14,"mat-label"),t.EFF(15,"Filter"),t.k0s(),t.j41(16,"input",10),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.selFilter,Lt)||(G.selFilter=Lt),t.Njj(Lt)}),t.bIt("input",function(){return t.eBV(Oe),t.Njj(G.applyFilter())})("keyup",function(){return t.eBV(Oe),t.Njj(G.applyFilter())}),t.k0s()()()(),t.j41(17,"div",11)(18,"div",12),t.DNE(19,xf,1,0,"mat-progress-bar",13),t.j41(20,"table",14,0),t.qex(22,15),t.DNE(23,h1,2,0,"th",16)(24,D2,2,1,"td",17),t.bVm(),t.qex(25,18),t.DNE(26,Cf,2,0,"th",16)(27,ql,2,1,"td",17),t.bVm(),t.qex(28,19),t.DNE(29,vd,2,0,"th",16)(30,bd,4,4,"td",17),t.bVm(),t.qex(31,20),t.DNE(32,wf,2,0,"th",16)(33,Mf,4,4,"td",17),t.bVm(),t.qex(34,21),t.DNE(35,o4,2,0,"th",22)(36,A2,4,3,"td",17),t.bVm(),t.qex(37,23),t.DNE(38,sh,2,0,"th",22)(39,u1,4,3,"td",17),t.bVm(),t.qex(40,24),t.DNE(41,ch,2,0,"th",16)(42,Dc,4,4,"td",17),t.bVm(),t.qex(43,25),t.DNE(44,f1,2,0,"th",16)(45,k2,4,4,"td",17),t.bVm(),t.qex(46,26),t.DNE(47,lh,2,0,"th",16)(48,ed,4,4,"td",17),t.bVm(),t.qex(49,27),t.DNE(50,dh,2,0,"th",16)(51,hh,4,4,"td",17),t.bVm(),t.qex(52,28),t.DNE(53,Ef,2,0,"th",16)(54,Sf,4,4,"td",17),t.bVm(),t.qex(55,29),t.DNE(56,uh,2,0,"th",22)(57,s4,4,3,"td",17),t.bVm(),t.qex(58,30),t.DNE(59,c4,2,0,"th",16)(60,Gs,2,1,"td",17),t.bVm(),t.qex(61,31),t.DNE(62,fh,2,0,"th",16)(63,m1,2,1,"td",17),t.bVm(),t.qex(64,32),t.DNE(65,mh,2,0,"th",16)(66,js,2,1,"td",17),t.bVm(),t.qex(67,33),t.DNE(68,yd,6,0,"th",34)(69,p1,3,0,"td",35),t.bVm(),t.qex(70,36),t.DNE(71,id,2,1,"td",37),t.bVm(),t.DNE(72,Wc,1,3,"tr",38)(73,Ac,1,0,"tr",39)(74,xd,1,0,"tr",40),t.k0s(),t.nrm(75,"mat-paginator",41),t.k0s()()()}2&U&&(t.R7$(3),t.Y8G("icon",G.faHistory),t.R7$(2),t.SpI("",G.swapCaption," History"),t.R7$(5),t.R50("ngModel",G.selFilterBy),t.R7$(2),t.Y8G("ngForOf",t.lJ4(16,yf).concat(G.displayedColumns.slice(0,-1))),t.R7$(4),t.R50("ngModel",G.selFilter),t.R7$(3),t.Y8G("ngIf",!0===G.flgLoading[0]),t.R7$(),t.Y8G("matSortActive",G.selectedSwapType===G.swapTypeEnum.SWAP_IN?G.tableSettingSwapIn.sortBy:G.tableSettingSwapOut.sortBy)("matSortDirection",G.selectedSwapType===G.swapTypeEnum.SWAP_IN?G.tableSettingSwapIn.sortOrder:G.tableSettingSwapOut.sortOrder)("dataSource",G.listSwaps)("ngClass",t.eq3(17,d1,"error"===G.flgLoading[0])),t.R7$(52),t.Y8G("matFooterRowDef",t.lJ4(19,ah)),t.R7$(),t.Y8G("matHeaderRowDef",G.displayedColumns),t.R7$(),t.Y8G("matRowDefColumns",G.displayedColumns),t.R7$(),t.Y8G("pageSize",G.pageSize)("pageSizeOptions",G.pageSizeOptions)("showFirstLastButtons",G.screenSize!==G.screenSizeEnum.XS))},dependencies:[ri.YU,ri.Sq,ri.bT,ri.B3,Wi.me,Wi.BC,Wi.vS,ya.aY,$i.DJ,$i.sA,$i.UI,ds.PW,ds.eI,ve.$z,Nr.fg,Pe.rl,Pe.nJ,ul.HM,xe.VO,xe.$2,Be.wT,Sc.B4,Sc.aE,Tr.Zl,Tr.tL,Tr.ji,Tr.cC,Tr.YV,Tr.iL,Tr.Zq,Tr.xW,Tr.KS,Tr.$R,Tr.Qo,Tr.YZ,Tr.NB,Tr.iF,hl.iy,ft.ZF,ft.Ld,ri.QX]})}return O})();const ph=O=>["../",O];function l4(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){const G=t.eBV(b).$implicit,Oe=t.XpG();return t.Njj(Oe.onSelectedIndexChange(G))}),t.EFF(1),t.k0s()}if(2&O){const b=H.$implicit,U=t.XpG();t.Y8G("active",U.activeTab.link===b.link)("routerLink",t.eq3(3,ph,b.link)),t.R7$(),t.JRh(b.name)}}let gh=(()=>{class O{constructor(b,U,G){this.router=b,this.store=U,this.boltzService=G,this.swapTypeEnum=Wt.Bd,this.selectedSwapType=Wt.Bd.SWAP_OUT,this.swaps={},this.swapsData=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"swapout",name:"Swap Out"},{link:"swapin",name:"Swap In"}],this.activeTab=this.links[0],this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const b=this.links.find(U=>this.router.url.includes(U.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"swapin"===b.link?Wt.Bd.SWAP_IN:Wt.Bd.SWAP_OUT,this.router.events.pipe((0,dn.Q)(this.unSubs[0]),(0,vr.p)(U=>U instanceof En.gx)).subscribe({next:U=>{const G=this.links.find(Oe=>U.urlAfterRedirects.includes(Oe.link));this.activeTab=G||this.links[0],this.selectedSwapType=G&&"swapin"===G.link?Wt.Bd.SWAP_IN:Wt.Bd.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,dn.Q)(this.unSubs[1])).subscribe({next:U=>{this.swaps=U,this.swapsData=this.selectedSwapType===Wt.Bd.SWAP_IN&&U.swaps?U.swaps:this.selectedSwapType===Wt.Bd.SWAP_OUT&&U.reverseSwaps?U.reverseSwaps:[],this.flgLoading[0]=!1},error:U=>{this.flgLoading[0]="error",this.emptyTableMessage=U.message?U.message:"No swap "+(this.selectedSwapType===Wt.Bd.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){"swapin"===b.link?(this.selectedSwapType=Wt.Bd.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Wt.Bd.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(b){this.boltzService.serviceInfo().pipe((0,dn.Q)(this.unSubs[2])).subscribe({next:U=>{this.store.dispatch((0,Cn.xO)({payload:{data:{serviceInfo:U,direction:b,component:Jl}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(En.Ix),t.rXU(Ri.il),t.rXU(fd))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-boltz-root"]],decls:20,vars:7,consts:[["tabPanel",""],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"click","active","routerLink"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1),t.qSk(),t.j41(1,"svg",2)(2,"g",3)(3,"g",4),t.nrm(4,"circle",5)(5,"path",6)(6,"path",7),t.k0s()()(),t.joV(),t.j41(7,"span",8),t.EFF(8,"Boltz"),t.k0s()(),t.j41(9,"div",9)(10,"mat-card")(11,"mat-card-content",10)(12,"nav",11),t.DNE(13,l4,2,5,"div",12),t.k0s(),t.nrm(14,"mat-tab-nav-panel",null,0),t.j41(16,"div",13)(17,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onSwap(G.selectedSwapType))}),t.EFF(18),t.k0s()(),t.nrm(19,"rtl-boltz-swaps",15),t.k0s()()()}if(2&U){const Oe=t.sdS(15);t.R7$(12),t.Y8G("tabPanel",Oe),t.R7$(),t.Y8G("ngForOf",G.links),t.R7$(5),t.SpI("Start ",G.activeTab.name,""),t.R7$(),t.Y8G("selectedSwapType",G.selectedSwapType)("swapsData",G.swapsData)("flgLoading",G.flgLoading)("emptyTableMessage",G.emptyTableMessage)}},dependencies:[ri.Sq,$i.DJ,$i.sA,$i.UI,ve.$z,mr.RN,mr.m2,ca.Bu,ca.hQ,ca.Ql,En.Wk,nd]})}return O})();class io{constructor(H){this.help=H}}function _h(O,H){if(1&O&&(t.j41(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t.EFF(3),t.k0s()(),t.j41(4,"mat-panel-description",9),t.nrm(5,"span",10),t.j41(6,"a",11),t.EFF(7),t.k0s()()()),2&O){const b=t.XpG().$implicit,U=t.XpG();t.R7$(3),t.JRh(b.help.question),t.R7$(2),t.Y8G("innerHTML",b.help.answer,t.npT),t.R7$(),t.Y8G("routerLink",U.flgLoggedIn?b.help.link:"/login"),t.R7$(),t.JRh(U.flgLoggedIn?b.help.linkCaption:"Login to go to the page")}}function Af(O,H){if(1&O&&(t.j41(0,"div",6),t.DNE(1,_h,8,4,"mat-expansion-panel",7),t.k0s()),2&O){const b=H.$implicit,U=t.XpG();t.R7$(),t.Y8G("ngIf","ALL"===b.help.lnImplementation||b.help.lnImplementation===U.selNode.lnImplementation)}}let vh=(()=>{class O{constructor(b,U){this.store=b,this.sessionService=U,this.helpTopics=[],this.faQuestion=nn.EvL,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{this.flgLoggedIn=!!b.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new io({question:"Getting started",answer:'Funding your node is the first step to get started.\nGo to the "On-chain" page of the app:\n1. Generate a new address on the "Recieve" tab.\n2. Send funds to the address.\n3. Wait for the balance to be confirmed on-chain before proceeding further.\n3. Connecting with network peers and opening channels is next.\n',link:this.LNPLink+"onchain/receive/utxos",linkCaption:"On-Chain",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Connect with peers",answer:'Connect with network peers to open channels with them.\nGo to "Peer/Channels" page under the "Lightning" menu :\n1. Get the peer pubkey and host address in the pubkey@ip:port format.\n2. On the "Peers" enter the peer address and connect.\n3. Once the peer is connected, you can open channel with the peer.\n4. A variety of actions can be performed on the connected peers page for each peer:\n a. View Info - View the peer details.\n b. Open Channel - Open channel with the peer.\n c. Disconnect - Disconnect from the peer.\n',link:this.LNPLink+"connections/peers",linkCaption:"Peers",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Opening Channels",answer:'Open channels with a connected peer.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. On the "Channels" section, click on "Open Channel"\n2. On the "Open Channel" modal, select the alias of the connected peer from the drop-down\n2. Specify the amount to commit to the channel and click on "Open Channel".\n3. There are a variety of options available while opening a channel. \n a. Private Channel - When this option is selected, a private channel is opened with the peer. \n b. Priority (advanced option) - Specify either Target confirmation Block or Fee in Sat/vByte. \n c. Spend Unconfirmd Output (advanced option) - Allow channels to be opened with unconfirmed UTXOs.\n4. Track the pending open channels under the "Pending" tab. \n5. Wait for the channel to be confirmed. Only a confimed channel can be used for payments or routing. \n',link:this.LNPLink+"connections/channels/open",linkCaption:"Channels",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Channel Management",answer:'Channel maintenance and balance score.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. A variety of actions can be perfomed on the open channels under the "Open" tab, with the "Actions" button:\n a. View Info - View the channel details.\n b. View Remote Fee - View the fee policy on the channel of the remote peer.\n c. Update Fee Policy - Modify the fee policy on the channel.\n d. Circular Rebalance - Off-chain rebalance channels by making a payment to yourself across a circular path of chained payment channels.\n e. Close Channel - Close the channel.\n2. Balance Score is a "balancedness" metric score for the channel. \n a. It helps measure how balanced the remote and local balances are, on a channel.\n b. A perfectly balanced channel has a score of one, where as a completely lopsided one has a score of zero.\n c. The formula for calculating the score is "1 - abs((local bal - remote bal)/total bal)".\n',link:this.LNPLink+"connections/channels/open",linkCaption:"Channels",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Buying Liquidity",answer:'Buying liquidity for your node.\nGo to "Liquidity Ads" page under the "Lightning" menu:\n 1. Filter ads by liquidity amount and channel opening fee rate.\n 2. Research additionally on liquidity provider nodes before selecting.\n 3. Select the best liquidity node peer for your need and click on "Open Channel" from "Actions" drop-down.\n 4. Confirm amount, rates and total cost on the modal and click on "Execute" to buy liquidity.\n',link:this.LNPLink+"liquidityads",linkCaption:"Liquidity Ads",lnImplementation:"CLN"})),this.helpTopics.push(new io({question:"Payments",answer:'Sending Payments from your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayments tab is for making payments via your node\n 1. Input a non-expired lightning invoice (Bolt11 format) in the "Payment Request" field and click on "Send Payment" to send.\n 2. Advanced option # 1 (LND only) - Specify a limit on the routing fee which you are willing to pay, for the payment.\n 3. Advanced option # 2 (LND only) - Specify the outgoing channel which you want the payment to go through.\n',link:this.LNPLink+"transactions/payments",linkCaption:"Payments",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Invoices",answer:'Receiving Payments on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nInvoices tab is for receiving payments on your node.\n 1. Memo - Description you want to provide on the invoice.\n 2. Expiry - The time period, after which the invoice will be invalid.\n 3. Private Routing Hints - Generate an invoice with routing hints for private channels.\n',link:this.LNPLink+"transactions/invoices",linkCaption:"Invoices",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. issuer - issuer of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new io({question:"Channel Backups",answer:'Channel Backups are important to ensure that you have means to recover funds in case of node failures.\nBackup folder location can be customized in the RTL config file with the channelBackupPath field.\nRTL automatically creates all channel backup on server startup, as well as everytime a channel is opened or closed\nYou can verify the all channel backup file by clicking on "Verify All" Button on the backup page.\nYou can also backup each channel individually and verify them.\n** Keep taking backups of your channels regularly and store them in redundant locations **.\n',link:this.LNPLink+"channelbackup/bckup",linkCaption:"Channel Backups",lnImplementation:"LND"})),this.helpTopics.push(new io({question:"Channel Restore",answer:'Channel Restore is used to recover funds from the channel backup files in case of node failures.\nFollow the below steps to perform fund restoration.\n\nPrerequisite:\n1. The node has been restored with the LND recovery seed.\n2. RTL generated channel backup file/s is available (all channel backup file is channel-all.bak).\n\nRecovery:\n1. Create a restore folder in your folder backup location, as specified in the RTL config file.\n2. Place the channel backup file in the restore folder.\n3. Go to the "Restore" tab under the "Backup" page of RTL.\n4. RTL will list the options to restore funds from the all channel file or individual channel backup file.\n5. Click on the Restore icon on the grid to restore the funds.\n6. Once the restore function is executed successfully, RTL will rename the backup file and it will not be accessible from the UI.\n7. Restore function will force close the channels and recover the funds from them.\n8. The pending close channels can be viewed under the "Pending" tab on the "Peer/Channels" page.\n9. Once the channel is closed, the corresponding pending on-chain transactions can be viewed on the "On-Chain" page.\n10. Once the transactions are confirmed, the channels funds will be restored to your LND Wallet.\n',link:this.LNPLink+"channelbackup/restore",linkCaption:"Channel Restore",lnImplementation:"LND"})),this.helpTopics.push(new io({question:"Forwarding History",answer:'Transactions routed by the node.\nGo to "Routing" page under the "Lightning" menu :\nTransactions routed by the node are listed on this page along with channels and the fee earned by transaction.\n',link:this.LNPLink+"routing/forwardinghistory",linkCaption:"Forwarding History",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Lightning Reports",answer:'Routing and transactions data reports.\nGo to "Reports" page under the "Lightning" menu :\nReport can be generated on monthly/yearly basis by selecting the reporting period, month, and year.\n',link:this.LNPLink+"reports/routingreport",linkCaption:"Reports",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Graph Lookup",answer:'Querying your node graph for network node and channel information.\nGo to "Graph Lookup" page under the "Lightning" menu :\nEach node maintains a network graph for the information on all the nodes and channels on the network.\nYou can lookup information on nodes and channels from your graph:\n 1. Node Lookup - Enter the pubkey to perform the lookup.\n 2. Channel Lookup - Enter the short channel ID to perform the lookup.\n',link:this.LNPLink+"graph/lookups",linkCaption:"Graph Lookup",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Query Route",answer:'Querying Payment Routes.\nGo to the "Graph Lookup" page under the "Lightning" menu :\nQuery Routes tab is for querying a potential path to a node and a routing fee estimate for a payment amount.\n 1. Destination Pubkey - Pubkey of the node, you want to send the payment to.\n 2. Amount - Amount in Sats, which you want to send to the node.\n',link:this.LNPLink+"graph/queryroutes",linkCaption:"Query Routes",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Sign & Verify Messages",answer:'Messages signing and verification.\nGo to the "Sign/Verify" page under the "Lightning" menu :\n 1. Sign your message on "Sign" tab.\n 2. Go to "Verify" tab to verify a message.\n',link:this.LNPLink+"messages/sign",linkCaption:"Messages",lnImplementation:"LND"})),this.helpTopics.push(new io({question:"Sign & Verify Messages",answer:'Messages signing and verification.\nGo to the "Sign/Verify" page under the "Lightning" menu :\n 1. Sign your message on "Sign" tab.\n 2. Go to "Verify" tab to verify a message.\n',link:this.LNPLink+"messages/sign",linkCaption:"Messages",lnImplementation:"CLN"})),this.helpTopics.push(new io({question:"Node Settings",answer:'RTL offers certain customizations on the UI to personalize your experience on the app\nGo to "Node Config" page to access the customization options.\nNode Layout Options\n 1. User Persona - Two options are available to change the dashboard based on the persona.\n 2. Currency Unit - You can choose your preferred fiat currency, to view the onchain and channel balances in the choosen fiat currency.\n 3. Other customizations include day and night mode and a choice of color themes to select from.\nServices Options\n Loop (LND only), Boltz (LND only) & Peerswap (CLN only) services can be configured.\nExperimental Options (CLN only)\n Offers and Liquidity Ads can be enabled/disabled.\nShow LN Config (if configured)\n Shows lightning config file.\n',link:"../config/nodesettings",linkCaption:"Node Settings",lnImplementation:"ALL"})),this.helpTopics.push(new io({question:"Application Settings",answer:'RTL also offers certain customizations on the application level\nGo to top right menu "Settings" page to access these options.\nDefault Node Option\nIf you are managing multiple nodes via RTL UI, you can select the default node to load upon login.\nAuthentication Option\nPassword and 2FA update options are available here.\nShow Bitcoin Config (if configured)\n Shows bitcoin config file.\n',link:"../settings/app",linkCaption:"Application Settings",lnImplementation:"ALL"}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Ri.il),t.rXU(qa.Q))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-help"]],decls:8,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start",1,"padding-gap-x"],["fxFlex","100",4,"ngFor","ngForOf"],["fxFlex","100"],["class","flat-expansion-panel help-expansion mb-2px",4,"ngIf"],[1,"flat-expansion-panel","help-expansion","mb-2px"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],[1,"pre-wrap",3,"innerHTML"],[1,"mt-2",3,"routerLink"]],template:function(U,G){1&U&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"fa-icon",2),t.j41(3,"span",3),t.EFF(4,"Help"),t.k0s()(),t.j41(5,"div",4)(6,"div",0),t.DNE(7,Af,2,1,"div",5),t.k0s()()()),2&U&&(t.R7$(2),t.Y8G("icon",G.faQuestion),t.R7$(5),t.Y8G("ngForOf",G.helpTopics))},dependencies:[ri.Sq,ri.bT,ya.aY,$i.DJ,$i.sA,$i.UI,Ra.GK,Ra.Z2,Ra.WN,Ra.Q6,En.Wk],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}return O})();var rd=g(4572);function bh(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Token is required."),t.k0s())}let L2=(()=>{class O{constructor(b,U){this.dialogRef=b,this.store=U,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Cn.R$)({payload:{twoFAToken:this.token}}))}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Sn.CP),t.rXU(Ri.il))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-login-token"]],decls:19,vars:2,consts:[["tokenForm","ngForm"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100",3,"ngSubmit"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModelChange","ngModel"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),t.EFF(5,"Two Factor Token"),t.k0s()(),t.j41(6,"button",6),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onClose())}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",7)(9,"form",8,0),t.bIt("ngSubmit",function(){return t.eBV(Oe),t.Njj(G.onVerifyToken())}),t.j41(11,"mat-form-field")(12,"mat-label"),t.EFF(13,"Token"),t.k0s(),t.j41(14,"input",9),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.token,Lt)||(G.token=Lt),t.Njj(Lt)}),t.k0s(),t.DNE(15,bh,2,0,"mat-error",10),t.k0s(),t.j41(16,"div",11)(17,"button",12),t.EFF(18,"Verify Token"),t.k0s()()()()()()}2&U&&(t.R7$(14),t.R50("ngModel",G.token),t.R7$(),t.Y8G("ngIf",!G.token))},dependencies:[ri.bT,Wi.qT,Wi.me,Wi.BC,Wi.cb,Wi.YS,Wi.vS,Wi.cV,$i.DJ,$i.sA,$i.UI,ve.$z,mr.m2,mr.MM,Nr.fg,Pe.rl,Pe.nJ,Pe.TL,Ot.N]})}return O})();const kf=O=>({"padding-gap-large":O}),g1=(O,H)=>({"font-size-200":O,"font-size-300":H});function u4(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Password is required."),t.k0s())}function wd(O,H){if(1&O&&(t.j41(0,"p",21)(1,"mat-icon",22),t.EFF(2,"close"),t.k0s(),t.EFF(3),t.k0s()),2&O){const b=t.XpG();t.R7$(3),t.SpI(" ",b.loginErrorMessage," ")}}function Lf(O,H){if(1&O&&(t.j41(0,"p",23)(1,"mat-icon",22),t.EFF(2,"close"),t.k0s(),t.EFF(3),t.k0s()),2&O){const b=t.XpG();t.R7$(3),t.SpI(" ",b.logoutReason," ")}}let _1=(()=>{class O{constructor(b,U,G,Oe,It){this.actions=b,this.logger=U,this.store=G,this.rtlEffects=Oe,this.commonService=It,this.faUnlockAlt=nn.HEq,this.logoutReason="",this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Wt.f7,this.loginErrorMessage="",this.apiCallStatusEnum=Wt.wn,this.unSubs=[new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,rd.z)([this.store.select(Gr.Kq),this.store.select(Gr.E2)]).pipe((0,dn.Q)(this.unSubs[0])).subscribe(([b,U])=>{this.loginErrorMessage="",b.status===Wt.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof b.message?JSON.stringify(b.message):b.message),this.logger.error(b.message)),U.status===Wt.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof U.message?JSON.stringify(U.message):U.message),this.logger.error(U.message))}),this.store.select(Gr.qv).pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{this.appConfig=b,this.logger.info(b)}),this.actions.pipe((0,vr.p)(b=>b.type===Wt.aU.LOGOUT),(0,$s.s)(1)).subscribe(b=>{this.logoutReason=b.payload})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.logoutReason="",this.appConfig.enable2FA?(this.store.dispatch((0,Cn.xO)({payload:{maxWidth:"35rem",data:{component:L2}}})),this.rtlEffects.closeAlert.pipe((0,$s.s)(1)).subscribe(b=>{b&&this.store.dispatch((0,Cn.iD)({payload:{password:on(this.password),defaultPassword:Wt.Ah.includes(this.password.toLowerCase()),twoFAToken:b.twoFAToken}}))})):this.store.dispatch((0,Cn.iD)({payload:{password:on(this.password),defaultPassword:Wt.Ah.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.logoutReason="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(lt.En),t.rXU(Yo.gP),t.rXU(Ri.il),t.rXU(_r.H),t.rXU(Ia.h))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-login"]],decls:29,vars:14,consts:[["loginForm","ngForm"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"login-container"],["fxLayout","row","fxFlex.gt-sm","35","fxLayoutAlign","center center"],["fxLayout","row","fxFlex","45","fxLayoutAlign","center stretch"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","mt-2","p-0"],[1,"font-bold-500",3,"ngClass"],[1,"page-title"],[1,"pb-2"],["fxLayout","column","fxLayoutAlign","start space-between"],["autoFocus","","matInput","","id","password","name","password","tabindex","1","required","",3,"ngModelChange","type","ngModel"],["mat-icon-button","","matSuffix","","tabindex","2","type","button",3,"click"],[4,"ngIf"],["class","color-warn pre-wrap","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","color-warn pre-wrap","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","2","type","reset",1,"mr-1","mb-2",3,"click"],["mat-flat-button","","color","primary","tabindex","3","type","submit",3,"click"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","pre-wrap"],["fxLayoutAlign","center center",1,"mr-3px","icon-small"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"color-warn","pre-wrap"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"mat-card",3)(3,"div",4)(4,"div",5),t.nrm(5,"img",6),t.k0s(),t.j41(6,"div",7)(7,"mat-card-header",8)(8,"mat-card-title",9)(9,"span",10),t.EFF(10,"Welcome"),t.k0s()()(),t.j41(11,"mat-card-content",11)(12,"form",12,0)(14,"mat-form-field")(15,"mat-label"),t.EFF(16,"Password"),t.k0s(),t.j41(17,"input",13),t.mxI("ngModelChange",function(Lt){return t.eBV(Oe),t.DH7(G.password,Lt)||(G.password=Lt),t.Njj(Lt)}),t.k0s(),t.j41(18,"button",14),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.flgShow=!G.flgShow)}),t.j41(19,"mat-icon"),t.EFF(20),t.k0s()(),t.DNE(21,u4,2,0,"mat-error",15),t.k0s(),t.DNE(22,wd,4,1,"p",16)(23,Lf,4,1,"p",17),t.j41(24,"div",18)(25,"button",19),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.resetData())}),t.EFF(26,"Clear"),t.k0s(),t.j41(27,"button",20),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onLogin())}),t.EFF(28,"Login"),t.k0s()()()()()()()()()}2&U&&(t.R7$(6),t.Y8G("ngClass",t.eq3(9,kf,G.screenSize===G.screenSizeEnum.XS)),t.R7$(2),t.Y8G("ngClass",t.l_i(11,g1,G.screenSize===G.screenSizeEnum.XS,G.screenSize!==G.screenSizeEnum.XS)),t.R7$(9),t.Y8G("type",G.flgShow?"text":"password"),t.R50("ngModel",G.password),t.R7$(),t.BMQ("aria-label","Hide password"),t.R7$(2),t.JRh(G.flgShow?"visibility_off":"visibility"),t.R7$(),t.Y8G("ngIf",!G.password),t.R7$(),t.Y8G("ngIf",""!==G.loginErrorMessage),t.R7$(),t.Y8G("ngIf",""!==G.logoutReason))},dependencies:[ri.YU,ri.bT,Wi.qT,Wi.me,Wi.BC,Wi.cb,Wi.YS,Wi.vS,Wi.cV,$i.DJ,$i.sA,$i.UI,ds.PW,ve.$z,ve.iY,mr.RN,mr.m2,mr.MM,mr.dh,Vc.An,Nr.fg,Pe.rl,Pe.nJ,Pe.TL,Pe.yw,Ot.N],styles:[".login-container[_ngcontent-%COMP%]{height:60vh;margin-top:15%}.login-container[_ngcontent-%COMP%] .mat-mdc-card[_ngcontent-%COMP%]{height:30rem}.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 56.25em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:37%}}@media only screen and (max-width: 37.5em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:70%}}.login-container[_ngcontent-%COMP%] .material-icons.mat-icon[_ngcontent-%COMP%]{font-size:90%;cursor:pointer}"]})}return O})();var I2=g(13);let R2=(()=>{class O{constructor(b,U){this.activatedRoute=b,this.router=U,this.error={errorCode:"",errorMessage:""},this.faTimes=nn.GRI,this.unsubs=[new Gi.B,new Gi.B]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,dn.Q)(this.unsubs[0])).subscribe(b=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(En.nX),t.rXU(En.Ix))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-error"]],decls:13,vars:3,consts:[["fxLayout","row","fxFlex","100","fxLayoutAlign","center center"],["fxLayout","column","fxFlex","60","fxLayoutAlign","start center"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","padding-gap-large"],[1,"font-size-300","font-bold-500"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","center center",1,"padding-gap-large"],[1,"box-text","font-size-120"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(U,G){1&U&&(t.j41(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),t.nrm(4,"fa-icon",4),t.j41(5,"span",5),t.EFF(6),t.k0s()()(),t.j41(7,"mat-card-content",6)(8,"div",7),t.EFF(9),t.k0s(),t.j41(10,"span",8)(11,"button",9),t.bIt("click",function(){return G.goToHelp()}),t.EFF(12,"Go To Help"),t.k0s()()()()()),2&U&&(t.R7$(4),t.Y8G("icon",G.faTimes),t.R7$(2),t.SpI("Error ",G.error.errorCode,""),t.R7$(3),t.JRh(G.error.errorMessage))},dependencies:[ya.aY,$i.DJ,$i.sA,$i.UI,ve.$z,mr.RN,mr.m2,mr.MM,mr.dh],encapsulation:2})}return O})();var No=g(7186),O2=g(1534),F2=g(92),N2=g(6114);const Md=(O,H)=>({"alert-danger":O,"alert-info":H});function yh(O,H){1&O&&t.nrm(0,"span",17)}function Ed(O,H){1&O&&t.nrm(0,"span",18)}function xh(O,H){if(1&O){const b=t.RV6();t.j41(0,"form",19,0)(2,"div",20),t.nrm(3,"fa-icon",4),t.j41(4,"span"),t.EFF(5,"Please ensure that "),t.j41(6,"strong"),t.EFF(7,"experimental-offers"),t.k0s(),t.EFF(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.j41(9,"strong")(10,"a",21),t.EFF(11,"here"),t.k0s()(),t.EFF(12," to learn more about Core Lightning offers."),t.k0s()(),t.j41(13,"h4",22),t.EFF(14,"Description"),t.k0s(),t.j41(15,"span"),t.EFF(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),t.k0s(),t.j41(17,"h4",22),t.EFF(18,"Links"),t.k0s(),t.j41(19,"span")(20,"a",23),t.EFF(21,"Core lightning Bolt12"),t.k0s()(),t.nrm(22,"mat-divider",24),t.j41(23,"div",25),t.nrm(24,"fa-icon",4),t.j41(25,"span"),t.EFF(26,"Do not get an Offer tattoo until spec is fully ratified!"),t.k0s()(),t.j41(27,"mat-slide-toggle",26),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG(2);return t.DH7(Oe.enableOffers,G)||(Oe.enableOffers=G),t.Njj(G)}),t.bIt("change",function(){t.eBV(b);const G=t.XpG(2);return t.Njj(G.onUpdateFeature())}),t.EFF(28),t.k0s()()}if(2&O){const b=t.XpG(2);t.R7$(3),t.Y8G("icon",b.faInfoCircle),t.R7$(19),t.Y8G("inset",!0),t.R7$(2),t.Y8G("icon",b.faExclamationTriangle),t.R7$(3),t.R50("ngModel",b.enableOffers),t.R7$(),t.SpI("Enable Offers ",b.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function P2(O,H){if(1&O&&(t.j41(0,"div")(1,"div",29),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Please ensure that "),t.j41(5,"strong"),t.EFF(6,"experimental-dual-fund"),t.k0s(),t.EFF(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.j41(8,"strong")(9,"a",30),t.EFF(10,"here"),t.k0s()(),t.EFF(11," to learn more about Core Lightning Liquidity Ads."),t.k0s()()()),2&O){const b=t.XpG(3);t.R7$(2),t.Y8G("icon",b.faExclamationTriangle)}}function Ch(O,H){if(1&O&&(t.j41(0,"mat-option",47),t.EFF(1),t.nI1(2,"titlecase"),t.k0s()),2&O){const b=H.$implicit;t.Y8G("value",b),t.R7$(),t.SpI(" ",t.bMT(2,2,b.id)," ")}}function wh(O,H){if(1&O&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&O){const b=t.XpG(4);t.R7$(),t.SpI("",b.selPolicyType.placeholder," is required.")}}function Sd(O,H){if(1&O&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&O){const b=t.XpG(4);t.R7$(),t.Lme("",b.selPolicyType.placeholder," must be greater than or equal to ",b.selPolicyType.min,".")}}function V2(O,H){if(1&O&&(t.j41(0,"mat-error"),t.EFF(1),t.k0s()),2&O){const b=t.XpG(4);t.R7$(),t.Lme("",b.selPolicyType.placeholder," must be less than or equal to ",b.selPolicyType.max,".")}}function gl(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Lease base fee is required."),t.k0s())}function If(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Lease base basis is required."),t.k0s())}function Mh(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Max channel routing base fee is required."),t.k0s())}function f4(O,H){1&O&&(t.j41(0,"mat-error"),t.EFF(1,"Max channel routing fee rate is required."),t.k0s())}function v1(O,H){if(1&O&&(t.j41(0,"h4",48)(1,"span",49),t.EFF(2),t.k0s()()),2&O){const b=t.XpG(4);t.R7$(),t.Y8G("ngClass",t.l_i(2,Md,!!b.updateMsg.error,!!b.updateMsg.data)),t.R7$(),t.SpI(" ",b.updateMsg.error&&""!==b.updateMsg.error?"Error: "+b.updateMsg.error||0:b.updateMsg.data&&""!==b.updateMsg.data?b.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function H2(O,H){if(1&O){const b=t.RV6();t.j41(0,"div",31)(1,"div",32),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),t.k0s()(),t.j41(5,"div",33)(6,"mat-form-field",34)(7,"mat-label"),t.EFF(8,"Policy"),t.k0s(),t.j41(9,"mat-select",35),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG(3);return t.DH7(Oe.selPolicyType,G)||(Oe.selPolicyType=G),t.Njj(G)}),t.bIt("selectionChange",function(){t.eBV(b);const G=t.XpG(3);return t.Njj(G.policyMod=null)}),t.DNE(10,Ch,3,4,"mat-option",36),t.k0s()(),t.j41(11,"mat-form-field",37)(12,"mat-label"),t.EFF(13),t.k0s(),t.j41(14,"input",38,1),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG(3);return t.DH7(Oe.policyMod,G)||(Oe.policyMod=G),t.Njj(G)}),t.k0s(),t.j41(16,"mat-hint"),t.EFF(17),t.k0s(),t.DNE(18,wh,2,1,"mat-error",27)(19,Sd,2,2,"mat-error",27)(20,V2,2,2,"mat-error",27),t.k0s()(),t.j41(21,"div",33)(22,"mat-form-field",37)(23,"mat-label"),t.EFF(24,"Lease Base Fee (Sats)"),t.k0s(),t.j41(25,"input",39),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG(3);return t.DH7(Oe.lease_fee_base_sat,G)||(Oe.lease_fee_base_sat=G),t.Njj(G)}),t.k0s(),t.DNE(26,gl,2,0,"mat-error",27),t.k0s(),t.j41(27,"mat-form-field",37)(28,"mat-label"),t.EFF(29,"Lease Base Basis (bps)"),t.k0s(),t.j41(30,"input",40),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG(3);return t.DH7(Oe.lease_fee_basis,G)||(Oe.lease_fee_basis=G),t.Njj(G)}),t.k0s(),t.DNE(31,If,2,0,"mat-error",27),t.k0s()(),t.j41(32,"div",33)(33,"mat-form-field",37)(34,"mat-label"),t.EFF(35,"Max Channel Routing Base Fee (Sats)"),t.k0s(),t.j41(36,"input",41),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG(3);return t.DH7(Oe.channelFeeMaxBaseSat,G)||(Oe.channelFeeMaxBaseSat=G),t.Njj(G)}),t.k0s(),t.DNE(37,Mh,2,0,"mat-error",27),t.k0s(),t.j41(38,"mat-form-field",37)(39,"mat-label"),t.EFF(40,"Max Channel Routing Fee Rate (ppm)"),t.k0s(),t.j41(41,"input",42),t.mxI("ngModelChange",function(G){t.eBV(b);const Oe=t.XpG(3);return t.DH7(Oe.channelFeeMaxProportional,G)||(Oe.channelFeeMaxProportional=G),t.Njj(G)}),t.k0s(),t.DNE(42,f4,2,0,"mat-error",27),t.k0s()(),t.DNE(43,v1,3,5,"h4",43),t.j41(44,"div",44)(45,"button",45),t.bIt("click",function(){t.eBV(b);const G=t.XpG(3);return t.Njj(G.onResetPolicy())}),t.EFF(46,"Reset"),t.k0s(),t.j41(47,"button",46),t.bIt("click",function(){t.eBV(b);const G=t.XpG(3);return t.Njj(G.onUpdateFundingPolicy())}),t.EFF(48,"Update"),t.k0s()()()}if(2&O){const b=t.XpG(3);t.R7$(2),t.Y8G("icon",b.faExclamationTriangle),t.R7$(7),t.R50("ngModel",b.selPolicyType),t.R7$(),t.Y8G("ngForOf",b.policyTypes),t.R7$(3),t.JRh(b.selPolicyType.placeholder),t.R7$(),t.Y8G("step","fixed"===b.selPolicyType.id?1e3:10)("min",b.selPolicyType.min)("max",b.selPolicyType.max),t.R50("ngModel",b.policyMod),t.R7$(3),t.E5c("",b.selPolicyType.placeholder," should be between ",b.selPolicyType.min," and ",b.selPolicyType.max,""),t.R7$(),t.Y8G("ngIf",!b.policyMod),t.R7$(),t.Y8G("ngIf",b.policyMod<b.selPolicyType.min),t.R7$(),t.Y8G("ngIf",b.policyMod>b.selPolicyType.max),t.R7$(5),t.R50("ngModel",b.lease_fee_base_sat),t.R7$(),t.Y8G("ngIf",!b.lease_fee_base_sat),t.R7$(4),t.R50("ngModel",b.lease_fee_basis),t.R7$(),t.Y8G("ngIf",!b.lease_fee_basis),t.R7$(5),t.R50("ngModel",b.channelFeeMaxBaseSat),t.R7$(),t.Y8G("ngIf",!b.channelFeeMaxBaseSat),t.R7$(4),t.R50("ngModel",b.channelFeeMaxProportional),t.R7$(),t.Y8G("ngIf",!b.channelFeeMaxProportional),t.R7$(),t.Y8G("ngIf",b.flgUpdateCalled)}}function Eh(O,H){if(1&O&&(t.j41(0,"form",19,0),t.DNE(2,P2,12,1,"div",27)(3,H2,49,23,"div",28),t.k0s()),2&O){const b=t.XpG(2);t.R7$(2),t.Y8G("ngIf",!b.features[1].enabled),t.R7$(),t.Y8G("ngIf",b.features[1].enabled)}}function Sh(O,H){if(1&O){const b=t.RV6();t.j41(0,"mat-expansion-panel",10),t.bIt("opened",function(){const G=t.eBV(b).index,Oe=t.XpG();return t.Njj(Oe.onPanelExpanded(G))}),t.j41(1,"mat-expansion-panel-header")(2,"mat-panel-title",11)(3,"h4",12),t.EFF(4),t.k0s(),t.j41(5,"h4",12),t.DNE(6,yh,1,0,"span",13)(7,Ed,1,0,"span",14),t.EFF(8),t.k0s()()(),t.j41(9,"div",15),t.DNE(10,xh,29,5,"form",16)(11,Eh,4,2,"form",16),t.k0s()()}if(2&O){const b=H.$implicit,U=H.index;t.Y8G("expanded",!1),t.R7$(4),t.JRh(b.name),t.R7$(2),t.Y8G("ngIf",b.enabled),t.R7$(),t.Y8G("ngIf",!b.enabled),t.R7$(),t.SpI(" ",b.enabled?"Enabled":"Disabled"," "),t.R7$(2),t.Y8G("ngIf",0===U),t.R7$(),t.Y8G("ngIf",1===U)}}let Th=(()=>{class O{constructor(b,U,G,Oe){this.logger=b,this.store=U,this.dataService=G,this.commonService=Oe,this.faInfoCircle=nn.iW_,this.faExclamationTriangle=nn.zpE,this.faCode=nn.jTw,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Wt.ul,this.selPolicyType=Wt.ul[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.dataService.listConfigs().pipe((0,dn.Q)(this.unSubs[0])).subscribe({next:b=>{this.logger.info("Received List Configs: "+JSON.stringify(b)),this.features[1].enabled=!!b["experimental-dual-fund"]},error:b=>{this.logger.error("List Configs Error: "+JSON.stringify(b)),this.features[1].enabled=!1}}),this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{this.selNode=b,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(dd.Al).pipe((0,dn.Q)(this.unSubs[2])).subscribe(b=>{this.policyTypes[2].max=b.balance.totalBalance||1e3})}onPanelExpanded(b){1===b&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,dn.Q)(this.unSubs[3])).subscribe(U=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(U)),this.fundingPolicy=U,this.fundingPolicy.policy&&(this.selPolicyType=Wt.ul.find(G=>G.id===this.fundingPolicy.policy)||this.policyTypes[0]),this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null})}onUpdateFeature(){this.logger.info(this.selNode),this.selNode.settings.enableOffers=this.enableOffers,this.features[0].enabled=this.enableOffers,this.store.dispatch((0,Cn.T$)({payload:this.selNode}))}onUpdateFundingPolicy(){this.flgUpdateCalled=!0,this.updateMsg={},this.dataService.getOrUpdateFunderPolicy(this.selPolicyType.id,this.policyMod,1e3*(this.lease_fee_base_sat||0),this.lease_fee_basis,1e3*(this.channelFeeMaxBaseSat||0),this.channelFeeMaxProportional?this.channelFeeMaxProportional/1e3:0).pipe((0,dn.Q)(this.unSubs[4])).subscribe({next:b=>{this.logger.info(b),this.fundingPolicy=b,this.updateMsg={data:"Compact Lease: "+b.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:b=>{this.logger.error(b),this.updateMsg={error:this.commonService.extractErrorMessage(b,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Wt.ul.find(b=>b.id===this.fundingPolicy.policy)||this.policyTypes[0]:Wt.ul[0],this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ri.il),t.rXU(O2.u),t.rXU(Ia.h))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-experimental-settings"]],decls:13,vars:3,consts:[["form","ngForm"],["plcMod","ngModel"],["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","column","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","flat-expansion-panel my-1",3,"expanded","opened",4,"ngFor","ngForOf"],[1,"flat-expansion-panel","my-1",3,"opened","expanded"],["fxFlex","100","fxLayoutAlign","space-between center"],[1,"font-bold-500"],["class","dot green",4,"ngIf"],["class","dot yellow",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container",4,"ngIf"],[1,"dot","green"],[1,"dot","yellow"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container"],["fxFlex","100",1,"alert","alert-info"],["href","http://bolt12.org","target","_blank"],[1,"mt-2"],["href","https://github.com/lightningnetwork/lightning-rfc/pull/798 ","target","blank"],[1,"my-2",3,"inset"],[1,"alert","alert-warn"],["autoFocus","","tabindex","1","color","primary","name","enableOfr",1,"my-1",3,"ngModelChange","change","ngModel"],[4,"ngIf"],["fxLayout","column",4,"ngIf"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn"],["href","https://medium.com/blockstream/setting-up-liquidity-ads-in-c-lightning-54e4c59c091d","target","_blank"],["fxLayout","column"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn","mb-2"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign.gt-sm","space-between center","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","49","fxLayoutAlign","start end"],["autofocus","","tabindex","1","name","policy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"ngModelChange","step","min","max","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModelChange","ngModel"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModelChange","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModelChange","ngModel"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModelChange","ngModel"],["fxLayoutAlign","start stretch","class","font-bold-500 mt-2",4,"ngIf"],["fxLayout","row",1,"my-1"],["mat-stroked-button","","color","primary","tabindex","7",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","8",3,"click"],[3,"value"],["fxLayoutAlign","start stretch",1,"font-bold-500","mt-2"],["fxFlex","100",1,"alert",3,"ngClass"]],template:function(U,G){1&U&&(t.j41(0,"div",2)(1,"div",3),t.nrm(2,"fa-icon",4),t.j41(3,"span"),t.EFF(4,"Experimental features should be enabled with caution. Many such features may be implementation specific and not ratified for the BOLT spec. Enabling these may still result in a broken experience. Referencing relevant feature documentation is highly advised before enabling."),t.k0s()(),t.j41(5,"form",5,0)(7,"div",6),t.nrm(8,"fa-icon",7),t.j41(9,"span",8),t.EFF(10,"Features"),t.k0s()(),t.j41(11,"mat-accordion"),t.DNE(12,Sh,12,7,"mat-expansion-panel",9),t.k0s()()()),2&U&&(t.R7$(2),t.Y8G("icon",G.faInfoCircle),t.R7$(6),t.Y8G("icon",G.faCode),t.R7$(4),t.Y8G("ngForOf",G.features))},dependencies:[ri.YU,ri.Sq,ri.bT,Wi.qT,Wi.me,Wi.Q0,Wi.BC,Wi.cb,Wi.YS,Wi.VZ,Wi.zX,Wi.vS,Wi.cV,ya.aY,$i.DJ,$i.sA,$i.UI,ds.PW,ve.$z,Ra.BS,Ra.GK,Ra.Z2,Ra.WN,Nr.fg,Pe.rl,Pe.nJ,Pe.MV,Pe.TL,Pc.q,xe.VO,Be.wT,e2.sG,ft.Ld,Ot.N,F2.z,N2.V,ri.PV],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return O})(),_l=(()=>{class O{constructor(){}static#e=this.\u0275fac=function(U){return new(U||O)};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-no-service-found"]],decls:6,vars:0,consts:[["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"]],template:function(U,G){1&U&&(t.j41(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),t.EFF(5,"No Service Found!"),t.k0s()()()()())},dependencies:[$i.DJ,$i.sA,mr.RN,mr.m2],encapsulation:2})}return O})();const b1=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([g.e(193),g.e(190)]).then(g.bind(g,9190)).then(O=>O.LNDModule),canActivate:[(0,No.q_)()]},{path:"cln",loadChildren:()=>Promise.all([g.e(193),g.e(853)]).then(g.bind(g,4853)).then(O=>O.CLNModule),canActivate:[(0,No.q_)()]},{path:"ecl",loadChildren:()=>Promise.all([g.e(193),g.e(17)]).then(g.bind(g,9017)).then(O=>O.ECLModule),canActivate:[(0,No.q_)()]},{path:"settings",component:b0,canActivate:[(0,No.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:vi,canActivate:[(0,No.q_)()]},{path:"auth",component:Bd,canActivate:[(0,No.q_)()]},{path:"bconfig",component:Uu,canActivate:[(0,No.q_)()]}]},{path:"config",component:Z3,canActivate:[(0,No.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Mc,canActivate:[(0,No.q_)()]},{path:"pglayout",component:Ec,canActivate:[(0,No.q_)()]},{path:"services",component:o2,canActivate:[(0,No.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:zc,canActivate:[(0,No.q_)()]},{path:"boltz",component:Ju,canActivate:[(0,No.q_)()]},{path:"noservice",component:_l}]},{path:"experimental",component:Th,canActivate:[(0,No.q_)()]},{path:"lnconfig",component:Bl,canActivate:[(0,No.q_)()]}]},{path:"services",component:qu,canActivate:[(0,No.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:B0},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:gh}]},{path:"help",component:vh},{path:"login",component:_1},{path:"error",component:R2},{path:"**",component:I2.X}],Rf=En.iI.forRoot(b1,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var Of=g(9029),Ff=g(9881),Nf=g(9183),Ws=g(882),Xc=g(5911),z2=g(4109),nc=g(7358);const Yc={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:nn.xiI,link:"/lnd/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:nn.CQO,link:"/lnd/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:nn.zm_,link:"/lnd/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:nn.gdJ,link:"/lnd/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:nn._qq,link:"/lnd/transactions",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:nn.knH,link:"/lnd/routing",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:nn.$Fj,link:"/lnd/reports",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:nn.MjD,link:"/lnd/graph",userPersona:Wt.HW.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:nn.pCJ,link:"/lnd/messages",userPersona:Wt.HW.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:nn.cbP,link:"/lnd/channelbackup",userPersona:Wt.HW.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:nn.qFF,link:"/lnd/network",userPersona:Wt.HW.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:nn.D6w,link:"/lnd/network",userPersona:Wt.HW.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:nn.qIE,link:"/services/loop",userPersona:Wt.HW.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:nn.C8j,link:"/services/loop",userPersona:Wt.HW.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Wt.HW.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:nn.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:nn.EvL,link:"/help",userPersona:Wt.HW.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:nn.xiI,link:"/cln/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:nn.CQO,link:"/cln/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:nn.zm_,link:"/cln/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:nn.gdJ,link:"/cln/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:nn.e4L,link:"/cln/liquidityads",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:nn._qq,link:"/cln/transactions",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:nn.knH,link:"/cln/routing",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:nn.$Fj,link:"/cln/reports",userPersona:Wt.HW.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:nn.MjD,link:"/cln/graph",userPersona:Wt.HW.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:nn.pCJ,link:"/cln/messages",userPersona:Wt.HW.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:nn.WKo,link:"/cln/rates",userPersona:Wt.HW.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:nn.D6w,link:"/cln/rates",userPersona:Wt.HW.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:nn.qIE,link:"/services/loop",userPersona:Wt.HW.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Wt.HW.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:nn.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:nn.EvL,link:"/help",userPersona:Wt.HW.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:nn.xiI,link:"/ecl/home",userPersona:Wt.HW.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:nn.CQO,link:"/ecl/onchain",userPersona:Wt.HW.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:nn.zm_,link:"/ecl/connections",userPersona:Wt.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:nn.gdJ,link:"/ecl/connections",userPersona:Wt.HW.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:nn._qq,link:"/ecl/transactions",userPersona:Wt.HW.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:nn.knH,link:"/ecl/routing",userPersona:Wt.HW.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:nn.$Fj,link:"/ecl/reports",userPersona:Wt.HW.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:nn.MjD,link:"/ecl/graph",userPersona:Wt.HW.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:nn.nsx,link:"/config",userPersona:Wt.HW.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:nn.EvL,link:"/help",userPersona:Wt.HW.ALL}]};function Dh(O,H){if(1&O&&(t.j41(0,"mat-option",12),t.EFF(1),t.k0s()),2&O){const b=H.$implicit;t.Y8G("value",b.index),t.R7$(),t.Lme(" ",b.lnNode," (",b.lnImplementation,") ")}}function Ah(O,H){if(1&O){const b=t.RV6();t.j41(0,"mat-select",10),t.bIt("selectionChange",function(G){t.eBV(b);const Oe=t.XpG();return t.Njj(Oe.onNodeSelectionChange(G.value))}),t.j41(1,"perfect-scrollbar"),t.DNE(2,Dh,2,3,"mat-option",11),t.k0s()()}if(2&O){const b=t.XpG();t.Y8G("value",b.selConfigNodeIndex),t.R7$(2),t.Y8G("ngForOf",b.appConfig.nodes)}}function kh(O,H){if(1&O&&(t.j41(0,"span",21),t.eu8(1,22),t.k0s()),2&O){const b=t.XpG().$implicit;t.XpG(2);const U=t.sdS(11);t.R7$(),t.Y8G("ngTemplateOutlet","boltzIconBlock"===b.icon?U:null)}}function Lh(O,H){if(1&O&&t.nrm(0,"fa-icon",23),2&O){const b=t.XpG().$implicit;t.Y8G("icon",b.icon)}}function Vf(O,H){if(1&O&&(t.j41(0,"mat-icon",24),t.EFF(1),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.JRh(b.icon)}}function Ih(O,H){if(1&O){const b=t.RV6();t.j41(0,"mat-tree-node",15)(1,"div",16),t.bIt("click",function(){const G=t.eBV(b).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onChildNavClicked(G))}),t.j41(2,"div",17),t.DNE(3,kh,2,1,"span",18)(4,Lh,1,1,"fa-icon",19)(5,Vf,2,1,"mat-icon",20),t.j41(6,"span"),t.EFF(7),t.k0s()()()()}if(2&O){const b=H.$implicit;t.FS9("routerLink",b.link),t.R7$(3),t.Y8G("ngIf","SVG"===b.iconType),t.R7$(),t.Y8G("ngIf","FA"===b.iconType),t.R7$(),t.Y8G("ngIf",!b.iconType),t.R7$(2),t.JRh(b.name)}}function y1(O,H){if(1&O&&(t.j41(0,"span",32),t.eu8(1,22),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",b.icon)}}function kc(O,H){if(1&O&&t.nrm(0,"fa-icon",23),2&O){const b=t.XpG().$implicit;t.Y8G("icon",b.icon)}}function Td(O,H){if(1&O&&(t.j41(0,"mat-icon",24),t.EFF(1),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.JRh(b.icon)}}function Rh(O,H){if(1&O&&(t.j41(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.DNE(3,y1,2,1,"span",28)(4,kc,1,1,"fa-icon",19)(5,Td,2,1,"mat-icon",20),t.j41(6,"span"),t.EFF(7),t.k0s()(),t.j41(8,"button",29)(9,"mat-icon"),t.EFF(10),t.k0s()()(),t.j41(11,"div",30),t.eu8(12,31),t.k0s()()),2&O){const b=H.$implicit,U=t.XpG(2);t.R7$(3),t.Y8G("ngIf","SVG"===b.iconType),t.R7$(),t.Y8G("ngIf","FA"===b.iconType),t.R7$(),t.Y8G("ngIf",!b.iconType),t.R7$(2),t.JRh(b.name),t.R7$(),t.BMQ("aria-label","toggle "+b.name),t.R7$(2),t.JRh(U.treeControlNested.isExpanded(b)?"arrow_drop_up":"arrow_drop_down"),t.R7$(),t.AVh("tree-children-invisible",!U.treeControlNested.isExpanded(b))}}function x1(O,H){if(1&O&&(t.j41(0,"mat-tree",7,1),t.DNE(2,Ih,8,5,"mat-tree-node",13)(3,Rh,13,8,"mat-nested-tree-node",14),t.k0s()),2&O){const b=t.XpG();t.Y8G("dataSource",b.navMenus)("treeControl",b.treeControlNested),t.R7$(3),t.Y8G("matTreeNodeDefWhen",b.hasChild)}}function Oh(O,H){if(1&O&&(t.j41(0,"span",37),t.eu8(1,22),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",b.icon)}}function p4(O,H){if(1&O&&t.nrm(0,"fa-icon",38),2&O){const b=t.XpG().$implicit;t.FS9("matTooltip",b.name),t.Y8G("icon",b.icon)}}function Fh(O,H){if(1&O&&(t.j41(0,"mat-icon",39),t.EFF(1),t.k0s()),2&O){const b=t.XpG().$implicit;t.FS9("matTooltip",b.name),t.R7$(),t.JRh(b.icon)}}function g4(O,H){if(1&O){const b=t.RV6();t.j41(0,"mat-tree-node",33),t.bIt("click",function(){const G=t.eBV(b).$implicit,Oe=t.XpG();return t.Njj(Oe.onShowData(G))}),t.DNE(1,Oh,2,1,"span",34)(2,p4,1,2,"fa-icon",35)(3,Fh,2,2,"mat-icon",36),t.j41(4,"span"),t.EFF(5),t.k0s()()}if(2&O){const b=H.$implicit;t.R7$(),t.Y8G("ngIf","SVG"===b.iconType),t.R7$(),t.Y8G("ngIf","FA"===b.iconType),t.R7$(),t.Y8G("ngIf",!b.iconType),t.R7$(2),t.JRh(b.name)}}function B2(O,H){if(1&O&&(t.j41(0,"span",32),t.eu8(1,22),t.k0s()),2&O){const b=t.XpG().$implicit;t.R7$(),t.Y8G("ngTemplateOutlet",b.icon)}}function U2(O,H){if(1&O&&t.nrm(0,"fa-icon",38),2&O){const b=t.XpG().$implicit;t.FS9("matTooltip",b.name),t.Y8G("icon",b.icon)}}function Hf(O,H){if(1&O){const b=t.RV6();t.j41(0,"mat-tree-node",33),t.bIt("click",function(){const G=t.eBV(b).$implicit,Oe=t.XpG(2);return t.Njj(Oe.onClick(G))}),t.DNE(1,B2,2,1,"span",28)(2,U2,1,2,"fa-icon",35),t.j41(3,"span"),t.EFF(4),t.k0s()()}if(2&O){const b=H.$implicit;t.R7$(),t.Y8G("ngIf","SVG"===b.iconType),t.R7$(),t.Y8G("ngIf","FA"===b.iconType),t.R7$(2),t.JRh(b.name)}}function _4(O,H){if(1&O&&(t.j41(0,"mat-tree",7),t.DNE(1,Hf,5,3,"mat-tree-node",8),t.k0s()),2&O){const b=t.XpG();t.Y8G("dataSource",b.navMenusLogout)("treeControl",b.treeControlLogout)}}function Nh(O,H){1&O&&(t.qSk(),t.j41(0,"svg",40)(1,"g",41)(2,"g",42),t.nrm(3,"circle",43)(4,"path",44)(5,"path",45),t.k0s()()())}let v4=(()=>{class O{constructor(b,U,G,Oe,It,Lt){this.logger=b,this.commonService=U,this.sessionService=G,this.store=Oe,this.actions=It,this.rtlEffects=Lt,this.ChildNavClicked=new t.bkB,this.faEject=nn.njF,this.faEye=nn.pS3,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:nn.njF}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:nn.pS3}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Wt.HW,this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B],this.treeControlNested=new z2.XO(oi=>oi.children),this.treeControlLogout=new z2.XO(oi=>oi.children),this.treeControlShowData=new z2.XO(oi=>oi.children),this.navMenus=new nc.Zh,this.navMenusLogout=new nc.Zh,this.navMenusShowData=new nc.Zh,this.hasChild=(oi,ci)=>!!ci.children&&ci.children.length>0,this.version=Wt.xv,Yc.LNDChildren&&200===Yc.LNDChildren[Yc.LNDChildren.length-1].id&&Yc.LNDChildren.pop(),this.navMenus.data=Yc.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const b=this.sessionService.getItem("token");this.showLogout=!!b,this.flgLoading=!!b,this.store.select(Gr.qv).pipe((0,dn.Q)(this.unSubs[0])).subscribe(U=>{this.appConfig=U}),this.store.select(Gr.Az).pipe((0,dn.Q)(this.unSubs[1])).subscribe(U=>{if(this.information=U.nodeDate,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const G=this.information.chains[0];this.informationChain.chain=G.chain,this.informationChain.network=G.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=U.selNode,this.selConfigNodeIndex=+(U.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(U)}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[2])).subscribe(U=>{this.showLogout=!!U.token,this.flgLoading=!!U.token}),this.actions.pipe((0,dn.Q)(this.unSubs[3]),(0,vr.p)(U=>U.type===Wt.aU.LOGOUT)).subscribe(U=>{this.showLogout=!1})}onClick(b){"Logout"===b.name&&(this.store.dispatch((0,Cn.I1)({payload:{data:{type:Wt.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,dn.Q)(this.unSubs[4])).subscribe(U=>{U&&(this.showLogout=!1,this.store.dispatch((0,Cn.ri)({payload:""})))})),this.ChildNavClicked.emit(b)}onChildNavClicked(b){this.ChildNavClicked.emit(b)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let b=[];b=JSON.parse(JSON.stringify(Yc.LNDChildren)),this.navMenus.data=b?.filter(U=>U.children&&U.children.length?(U.children=U.children?.filter(G=>(G.userPersona===Wt.HW.ALL||G.userPersona===this.selNode.settings.userPersona)&&"/services/loop"!==G.link&&"/services/boltz"!==G.link||"/services/loop"===G.link&&this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()||"/services/boltz"===G.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),U.children.length>0):U.userPersona===Wt.HW.ALL||U.userPersona===this.selNode.settings.userPersona)}loadCLNMenu(){let b=[];b=JSON.parse(JSON.stringify(Yc.CLNChildren)),this.navMenus.data=b?.filter(U=>U.children&&U.children.length?(U.children=U.children?.filter(G=>(G.userPersona===Wt.HW.ALL||G.userPersona===this.selNode.settings.userPersona)&&"/services/peerswap"!==G.link||"/services/peerswap"===G.link&&this.selNode.settings.enablePeerswap||"/services/boltz"===G.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),U.children.length>0):U.userPersona===Wt.HW.ALL||U.userPersona===this.selNode.settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(Yc.ECLChildren))}onShowData(b){this.store.dispatch((0,Cn.OP)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(b){const U=this.selConfigNodeIndex;this.selConfigNodeIndex=b;const G=this.appConfig.nodes.find(Oe=>+Oe.index===b);this.store.dispatch((0,Cn.Qi)({payload:{uiMessage:Wt.MZ.UPDATE_SELECTED_NODE,prevLnNodeIndex:+U,currentLnNode:G||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ia.h),t.rXU(qa.Q),t.rXU(Ri.il),t.rXU(lt.En),t.rXU(_r.H))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-side-navigation"]],viewQuery:function(U,G){if(1&U&&t.GBs(nc.lQ,5),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.tree=Oe.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},decls:12,vars:5,consts:[["boltzIconBlock",""],["tree",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between start",3,"perfectScrollbar"],["fxLayout","column","fxFlex","90","fxLayoutAlign","start stretch",1,"w-100"],["class","m-2 multi-node-select",3,"value","selectionChange",4,"ngIf"],[1,"w-100"],[3,"dataSource","treeControl",4,"ngIf"],[3,"dataSource","treeControl"],[3,"click",4,"matTreeNodeDef"],["fxLayout","column","fxLayoutAlign","end stretch",1,"w-100"],[1,"m-2","multi-node-select",3,"selectionChange","value"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink"],["tabindex","2",3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","80","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","20","mat-icon-button","","fxLayoutAlign","end center",1,"btn-icon-small"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],[3,"click"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"icon","matTooltip",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],[1,"fa-icon-small","mr-2"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"icon","matTooltip"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(U,G){1&U&&(t.j41(0,"div",2)(1,"div",3),t.DNE(2,Ah,3,2,"mat-select",4),t.nrm(3,"mat-divider",5),t.DNE(4,x1,4,3,"mat-tree",6),t.nrm(5,"mat-divider",5),t.j41(6,"mat-tree",7),t.DNE(7,g4,6,4,"mat-tree-node",8),t.k0s()(),t.j41(8,"div",9),t.DNE(9,_4,2,2,"mat-tree",6),t.k0s()(),t.DNE(10,Nh,6,0,"ng-template",null,0,t.C5r)),2&U&&(t.R7$(2),t.Y8G("ngIf",G.appConfig.nodes.length>1),t.R7$(2),t.Y8G("ngIf",null==G.selNode.settings?null:G.selNode.settings.lnServerUrl),t.R7$(2),t.Y8G("dataSource",G.navMenusShowData)("treeControl",G.treeControlShowData),t.R7$(3),t.Y8G("ngIf",G.showLogout))},dependencies:[ri.Sq,ri.bT,ri.T3,ya.aY,$i.DJ,$i.sA,$i.UI,ve.iY,Vc.An,Pc.q,nc.q1,nc.yI,nc.pO,nc.lQ,nc.d6,nc.wx,xe.VO,Be.wT,ic.oV,En.Wk,En.wQ,ft.ZF,ft.Ld],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}return O})();var Dd=g(9115);function b4(O,H){if(1&O&&(t.j41(0,"p",14),t.nrm(1,"fa-icon",3),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&O){const b=t.XpG();t.R7$(),t.Y8G("icon",b.faCode),t.R7$(2),t.SpI("API Version: ",null==b.information?null:b.information.api_version,"")}}function vl(O,H){if(1&O&&(t.j41(0,"p",15),t.nrm(1,"fa-icon",3),t.j41(2,"span",16),t.EFF(3,"Settings"),t.k0s()()),2&O){const b=t.XpG();t.R7$(),t.Y8G("icon",b.faUserCog)}}function y4(O,H){if(1&O&&(t.j41(0,"p",17),t.nrm(1,"fa-icon",3),t.j41(2,"span",18),t.EFF(3,"Help"),t.k0s()()),2&O){const b=t.XpG();t.R7$(),t.Y8G("icon",b.faQuestion)}}function zf(O,H){if(1&O){const b=t.RV6();t.j41(0,"p",19),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.onClick())}),t.nrm(1,"fa-icon",3),t.j41(2,"span"),t.EFF(3,"Logout"),t.k0s()()}if(2&O){const b=t.XpG();t.R7$(),t.Y8G("icon",b.faEject)}}let Ph=(()=>{class O{constructor(b,U,G,Oe,It){this.logger=b,this.sessionService=U,this.store=G,this.rtlEffects=Oe,this.actions=It,this.faUserCog=nn.McB,this.faCodeBranch=nn.Xbc,this.faCode=nn.jTw,this.faCog=nn.dB,this.faQuestion=nn.EvL,this.faEject=nn.njF,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B],this.version=Wt.xv}ngOnInit(){this.store.select(Gr.N).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{if(this.information=b,this.flgLoading=!this.information.identity_pubkey,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const U=this.information.chains[0];this.informationChain.chain=U.chain,this.informationChain.network=U.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(b)}),this.sessionService.watchSession().pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{this.showLogout=!!b.token,this.flgLoading=!!b.token}),this.actions.pipe((0,dn.Q)(this.unSubs[2]),(0,vr.p)(b=>b.type===Wt.aU.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Cn.I1)({payload:{data:{type:Wt.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,dn.Q)(this.unSubs[3])).subscribe(b=>{b&&(this.showLogout=!1,this.store.dispatch((0,Cn.ri)({payload:""})))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(qa.Q),t.rXU(Ri.il),t.rXU(_r.H),t.rXU(lt.En))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-top-menu"]],decls:20,vars:8,consts:[["topMenu","matMenu"],[1,"top-menu",3,"overlapTrigger"],["tabindex","1","mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["tabindex","2","mat-menu-item","","class","cursor-default",4,"ngIf"],["tabindex","3","mat-menu-item","","routerLink","/settings",4,"ngIf"],["tabindex","4","mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","","tabindex","5","fxLayoutAlign","start center",3,"click"],["fill","currentColor","version","1.1","viewBox","0 0 64 64",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"svg-donation"],["d","M62.519,17.698l-12-14c-0.659-0.768-1.786-0.923-2.628-0.362l-8.712,5.808l-16.688,4.172 c-2.485,0.622-4.537,2.412-5.487,4.791L12.21,30.09C10.206,32.512,9,35.618,9,39c0,2.974,0.939,5.73,2.527,8H5 c-2.206,0-4,1.794-4,4v6c0,2.206,1.794,4,4,4h36c2.206,0,4-1.794,4-4v-6c0-2.206-1.794-4-4-4h-6.522 c0.375-0.535,0.713-1.1,1.013-1.691l4.291-2.452l3.378-0.965c2.619-0.749,4.903-2.269,6.604-4.395 c1.39-1.736,2.317-3.813,2.682-6.006l0.412-2.472l9.48-8.532C63.145,19.76,63.225,18.523,62.519,17.698z M34.428,30.929 c-1.487-2.094-3.517-3.732-5.842-4.75L29.207,25h7.058l0.588,4.11L34.428,30.929z M31.225,33.331l-0.373,0.28 c-1.772,1.329-2.889,3.273-3.146,5.473c-0.257,2.2,0.382,4.348,1.8,6.048l0.667,0.8C28.315,47.845,25.742,49,23,49 c-5.514,0-10-4.486-10-10s4.486-10,10-10C26.299,29,29.376,30.663,31.225,33.331z M41,57H5v-6h10.826c2.101,1.261,4.55,2,7.174,2 c2.571,0,5.041-0.723,7.176-2H41V57z M49.662,26.513c-0.336,0.303-0.561,0.711-0.635,1.158L48.5,30.833 c-0.253,1.521-0.896,2.96-1.86,4.165c-1.18,1.475-2.763,2.529-4.579,3.048l-3.61,1.031c-0.155,0.044-0.303,0.106-0.443,0.187 l-5.541,3.166c-0.63-0.826-0.909-1.843-0.788-2.882c0.128-1.1,0.687-2.072,1.573-2.737l6.001-4.5 c1.169-0.877,1.767-2.32,1.56-3.766l-0.587-4.11C39.946,22.477,38.244,21,36.266,21h-7.059c-1.489,0-2.845,0.818-3.539,2.136 l-1.037,1.969C24.093,25.041,23.549,25,23,25c-1.685,0-3.294,0.314-4.791,0.862l2.509-6.271c0.476-1.189,1.501-2.084,2.743-2.395 l17.024-4.256c0.223-0.056,0.434-0.149,0.625-0.276l7.525-5.017l9.576,11.172L49.662,26.513z"],["tabindex","6","mat-menu-item","",3,"click",4,"ngIf"],["tabindex","7","mat-icon-button","",3,"matMenuTriggerFor"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["tabindex","2","mat-menu-item","",1,"cursor-default"],["tabindex","3","mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["tabindex","4","mat-menu-item","","routerLink","/help"],["routerLink","/help"],["tabindex","6","mat-menu-item","",3,"click"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"mat-menu",1,0)(2,"p",2),t.nrm(3,"fa-icon",3),t.j41(4,"span"),t.EFF(5),t.k0s()(),t.DNE(6,b4,4,2,"p",4)(7,vl,4,1,"p",5)(8,y4,4,1,"p",6),t.j41(9,"p",7),t.bIt("click",function(){return t.eBV(Oe),t.Njj(G.onDonate())}),t.qSk(),t.j41(10,"svg",8)(11,"g"),t.nrm(12,"path",9),t.k0s()(),t.joV(),t.j41(13,"span"),t.EFF(14,"Donate"),t.k0s()(),t.DNE(15,zf,4,1,"p",10),t.k0s(),t.j41(16,"button",11),t.nrm(17,"img",12),t.j41(18,"mat-icon",13),t.EFF(19,"arrow_drop_down"),t.k0s()()}if(2&U){const Oe=t.sdS(1);t.Y8G("overlapTrigger",!1),t.R7$(3),t.Y8G("icon",G.faCodeBranch),t.R7$(2),t.SpI("Version: ",G.version,""),t.R7$(),t.Y8G("ngIf",null==G.information?null:G.information.api_version),t.R7$(),t.Y8G("ngIf",G.showLogout),t.R7$(),t.Y8G("ngIf",G.showLogout),t.R7$(7),t.Y8G("ngIf",G.showLogout),t.R7$(),t.Y8G("matMenuTriggerFor",Oe)}},dependencies:[ri.bT,ya.aY,$i.sA,ve.iY,Vc.An,Dd.kk,Dd.fb,Dd.Cp,En.Wk],styles:[".mat-mdc-icon-button img.rtl-log-top{width:2rem;height:2rem}.mat-icon.material-icons.mat-icon-no-color.rtl-logo-dropdown{height:2rem}\n"],encapsulation:2})}return O})();const Bf=["sideNavigation"],x4=["sideNavContent"],Vh=(O,H)=>[O,H];function G2(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",15),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.sideNavToggle())}),t.j41(1,"mat-icon",16),t.EFF(2,"menu"),t.k0s()()}if(2&O){const b=t.XpG();t.Y8G("matTooltip",b.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",b.smallScreen)}}function j2(O,H){1&O&&(t.qSk(),t.nrm(0,"path",21))}function Hh(O,H){1&O&&(t.qSk(),t.nrm(0,"path",22))}function C4(O,H){if(1&O){const b=t.RV6();t.j41(0,"button",17),t.bIt("click",function(){t.eBV(b);const G=t.XpG();return t.Njj(G.flgSidenavPinned=!G.flgSidenavPinned)}),t.qSk(),t.j41(1,"svg",18),t.DNE(2,j2,1,0,"path",19)(3,Hh,1,0,"path",20),t.k0s()()}if(2&O){const b=t.XpG();t.Y8G("matTooltip",b.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),t.R7$(2),t.Y8G("ngIf",!b.flgSidenavPinned),t.R7$(),t.Y8G("ngIf",b.flgSidenavPinned)}}function Kc(O,H){if(1&O&&(t.j41(0,"span",23),t.EFF(1),t.k0s()),2&O){const b=t.XpG();t.R7$(),t.JRh(b.information.alias?"RTL - "+b.information.alias:"RTL")}}function Uf(O,H){if(1&O&&(t.j41(0,"span",24),t.EFF(1),t.k0s()),2&O){const b=t.XpG();t.R7$(),t.JRh(b.information.alias?"Ride The Lightning - "+b.information.alias:"Ride The Lightning")}}function zh(O,H){1&O&&(t.j41(0,"div",25),t.nrm(1,"mat-spinner",26),t.j41(2,"h4"),t.EFF(3,"Loading RTL..."),t.k0s()())}let Gf=(()=>{class O{constructor(b,U,G,Oe,It,Lt,oi,ci,Ui){this.logger=b,this.commonService=U,this.store=G,this.actions=Oe,this.userIdle=It,this.router=Lt,this.sessionService=oi,this.breakpointObserver=ci,this.renderer=Ui,this.information={},this.flgLoading=[!0],this.flgSideNavOpened=!0,this.flgCopied=!1,this.accessKey="",this.xSmallScreen=!1,this.smallScreen=!1,this.flgSidenavPinned=!0,this.flgLoggedIn=!1,this.unSubs=[new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B,new Gi.B]}ngOnInit(){this.router.events.subscribe(b=>{b instanceof En.wF&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([oa.Rp.XSmall,oa.Rp.TabletPortrait,oa.Rp.Small,oa.Rp.Medium,oa.Rp.Large,oa.Rp.XLarge]).pipe((0,dn.Q)(this.unSubs[0])).subscribe(b=>{b.breakpoints[oa.Rp.XSmall]?(this.commonService.setScreenSize(Wt.f7.XS),this.smallScreen=!0):b.breakpoints[oa.Rp.TabletPortrait]?(this.commonService.setScreenSize(Wt.f7.SM),this.smallScreen=!0):b.breakpoints[oa.Rp.Small]||b.breakpoints[oa.Rp.Medium]?(this.commonService.setScreenSize(Wt.f7.MD),this.smallScreen=!1):b.breakpoints[oa.Rp.Large]?(this.commonService.setScreenSize(Wt.f7.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Wt.f7.XL),this.smallScreen=!1)}),this.store.dispatch((0,Cn.NU)()),this.accessKey=this.readAccessKey()||"",this.store.select(Gr._c).pipe((0,dn.Q)(this.unSubs[1])).subscribe(b=>{this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1),this.selNode=b}),this.store.select(Gr.qv).pipe((0,dn.Q)(this.unSubs[2])).subscribe(b=>{this.appConfig=b}),this.store.select(Gr.N).pipe((0,dn.Q)(this.unSubs[3])).subscribe(b=>{this.information=b,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,dn.Q)(this.unSubs[4]),(0,vr.p)(b=>b.type===Wt.aU.FETCH_APPLICATION_SETTINGS||b.type===Wt.aU.LOGIN||b.type===Wt.aU.LOGOUT)).subscribe(b=>{b.type===Wt.aU.SET_APPLICATION_SETTINGS&&(this.sessionService.getItem("token")||(+b.payload.SSO.rtlSSO?!this.accessKey||this.accessKey.trim().length<32?this.router.navigate(["./error"],{state:{errorCode:"406",errorMessage:"Access key too short. It should be at least 32 characters long."}}):this.store.dispatch((0,Cn.iD)({payload:{password:on(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"],{state:{logoutReason:"Access key too short. It should be at least 32 characters long."}}))),b.type===Wt.aU.LOGIN&&(this.flgLoggedIn=!0,this.userIdle.startWatching(),this.userIdle.resetTimer(),setTimeout(()=>{this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)},1e3)),b.type===Wt.aU.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,dn.Q)(this.unSubs[5])).subscribe(b=>{this.logger.info("Counting Down: "+(11-b))}),this.userIdle.onTimeout().pipe((0,dn.Q)(this.unSubs[6])).subscribe(()=>{this.logger.info("Time Out!"),this.sessionService.getItem("token")&&(this.flgLoggedIn=!1,this.logger.warn("Time limit exceeded for session inactivity."),this.store.dispatch((0,Cn.Jh)()),this.store.dispatch((0,Cn.xO)({payload:{data:{type:Wt.A$.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Cn.ri)({payload:"Logging Out. Time limit exceeded for session inactivity."})))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const b=window.location.href;return b.includes("access-key=")?b.substring(b.lastIndexOf("access-key=")+11).trim():null}ngAfterViewInit(){(this.smallScreen||!this.flgLoggedIn)&&this.sideNavigation.close(),this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)}sideNavToggle(){this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.toggle()}onNavigationClicked(b){this.smallScreen&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}backdropClicked(){(!this.flgSidenavPinned||this.smallScreen)&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}copiedText(b){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+b)}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||O)(t.rXU(Yo.gP),t.rXU(Ia.h),t.rXU(Ri.il),t.rXU(lt.En),t.rXU(Vs),t.rXU(En.Ix),t.rXU(qa.Q),t.rXU(oa.QP),t.rXU(t.sFG))};static#t=this.\u0275cmp=t.VBU({type:O,selectors:[["rtl-app"]],viewQuery:function(U,G){if(1&U&&(t.GBs(Bf,5),t.GBs(x4,5)),2&U){let Oe;t.mGM(Oe=t.lsd())&&(G.sideNavigation=Oe.first),t.mGM(Oe=t.lsd())&&(G.sideNavContent=Oe.first)}},decls:22,vars:15,consts:[["sideNavigation",""],["sideNavContent",""],["outlet","outlet"],["fxLayout","column","id","rtl-container",1,"rtl-container","medium",3,"ngClass"],["fxLayout","row","fxLayoutAlign","space-between center",1,"bg-primary","rtl-top-toolbar"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["class","font-weight-500",4,"ngIf"],["class","font-size-120 font-weight-500",4,"ngIf"],[3,"backdropClick"],[1,"sidenav","mat-elevation-z6",3,"perfectScrollbar","opened","mode"],["fxFlex","100",3,"ChildNavClicked"],[3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["class","rtl-spinner",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"click","matTooltip","matTooltipDisabled"],[1,"color-white"],["mat-icon-button","","matTooltipPosition","right",3,"click","matTooltip"],["width","20","height","20","viewBox","0 0 24 24",1,"icon-pinned"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z",4,"ngIf"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z",4,"ngIf"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z"],[1,"font-weight-500"],[1,"font-size-120","font-weight-500"],[1,"rtl-spinner"],["color","accent"]],template:function(U,G){if(1&U){const Oe=t.RV6();t.j41(0,"div",3),t.nI1(1,"lowercase"),t.nI1(2,"lowercase"),t.j41(3,"mat-toolbar",4)(4,"div"),t.DNE(5,G2,3,2,"button",5)(6,C4,4,3,"button",6),t.k0s(),t.j41(7,"div"),t.DNE(8,Kc,2,1,"span",7)(9,Uf,2,1,"span",8),t.k0s(),t.j41(10,"div"),t.nrm(11,"rtl-top-menu"),t.k0s()(),t.j41(12,"mat-sidenav-container",9),t.bIt("backdropClick",function(){return t.eBV(Oe),t.Njj(G.backdropClicked())}),t.j41(13,"mat-sidenav",10,0)(15,"rtl-side-navigation",11),t.bIt("ChildNavClicked",function(Lt){return t.eBV(Oe),t.Njj(G.onNavigationClicked(Lt))}),t.k0s()(),t.j41(16,"mat-sidenav-content",12,1)(18,"div",13),t.nrm(19,"router-outlet",null,2),t.k0s()()(),t.DNE(21,zh,4,0,"div",14),t.k0s()}2&U&&(t.Y8G("ngClass",t.l_i(12,Vh,t.bMT(1,8,G.selNode.settings.themeColor),t.bMT(2,10,G.selNode.settings.themeMode))),t.R7$(5),t.Y8G("ngIf",G.flgLoggedIn),t.R7$(),t.Y8G("ngIf",!G.smallScreen&&G.flgLoggedIn),t.R7$(2),t.Y8G("ngIf",G.smallScreen),t.R7$(),t.Y8G("ngIf",!G.smallScreen),t.R7$(4),t.Y8G("opened",G.flgSideNavOpened&&G.flgLoggedIn)("mode",G.flgSidenavPinned&&!G.smallScreen?"side":"over"),t.R7$(8),t.Y8G("ngIf",!G.selNode.settings.themeColor))},dependencies:[ri.YU,ri.bT,$i.DJ,$i.sA,$i.UI,ds.PW,ve.iY,Vc.An,Nf.LG,Ws.LG,Ws.US,Ws.El,Xc.KQ,ic.oV,ft.Ld,v4,Ph,En.n3,ri.GH],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[Ff.E]}})}return O})(),C1=(()=>{class O{constructor(b){this.sessionService=b}intercept(b,U){if(this.sessionService.getItem("token")){const G=b.clone({headers:b.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return U.handle(G)}return U.handle(b)}static#e=this.\u0275fac=function(U){return new(U||O)(t.KVO(qa.Q))};static#t=this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac})}return O})();var w4=g(7879),M4=g(9579),E4=g(283),Bh=g(3017);const Uh={userPersona:Wt.HW.OPERATOR,themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1,logLevel:"ERROR",lnServerUrl:"",swapServerUrl:"",boltzServerUrl:"",currencyUnit:"USD",blockExplorerUrl:"https://mempool.space"},jf={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},Gh={apiURL:"",apisCallStatus:{Login:{status:Wt.wn.UN_INITIATED},IsAuthorized:{status:Wt.wn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:Uh,authentication:jf,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",allowPasswordUpdate:!0,nodes:[{settings:Uh,authentication:jf}]},nodeData:{}},Ad=(0,Ri.vy)(Gh,(0,Ri.on)(Cn.Gd,(O,{payload:H})=>{const b=JSON.parse(JSON.stringify(O.apisCallStatus));return H.action&&(b[H.action]={status:H.status,statusCode:H.statusCode,message:H.message,URL:H.URL,filePath:H.filePath}),{...O,apisCallStatus:b}}),(0,Ri.on)(Cn.Tn,(O,{payload:H})=>({...Gh,apisCallStatus:O.apisCallStatus,appConfig:O.appConfig,selNode:H})),(0,Ri.on)(Cn.Np,(O,{payload:H})=>({...O,selNode:H})),(0,Ri.on)(Cn.Fl,(O,{payload:H})=>({...O,nodeData:H})),(0,Ri.on)(Cn.IK,(O,{payload:H})=>({...O,appConfig:H}))),jh={apisCallStatus:{FetchPageSettings:{status:Wt.wn.UN_INITIATED},FetchInfo:{status:Wt.wn.UN_INITIATED},FetchFees:{status:Wt.wn.UN_INITIATED},FetchPeers:{status:Wt.wn.UN_INITIATED},FetchClosedChannels:{status:Wt.wn.UN_INITIATED},FetchPendingChannels:{status:Wt.wn.UN_INITIATED},FetchAllChannels:{status:Wt.wn.UN_INITIATED},FetchBalanceBlockchain:{status:Wt.wn.UN_INITIATED},FetchInvoices:{status:Wt.wn.UN_INITIATED},FetchPayments:{status:Wt.wn.UN_INITIATED},FetchForwardingHistory:{status:Wt.wn.UN_INITIATED},FetchUTXOs:{status:Wt.wn.UN_INITIATED},FetchTransactions:{status:Wt.wn.UN_INITIATED},FetchLightningTransactions:{status:Wt.wn.UN_INITIATED},FetchNetwork:{status:Wt.wn.UN_INITIATED}},pageSettings:Wt.ZC,information:{},peers:[],fees:{channel_fees:[],day_fee_sum:0,week_fee_sum:0,month_fee_sum:0,daily_tx_count:0,weekly_tx_count:0,monthly_tx_count:0,forwarding_events_history:{}},networkInfo:{},blockchainBalance:{total_balance:-1},lightningBalance:{local:-1,remote:-1},channels:[],channelsSummary:{active:{num_channels:0,capacity:0},inactive:{num_channels:0,capacity:0}},closedChannels:[],pendingChannels:{},pendingChannelsSummary:{open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0},transactions:[],utxos:[],listPayments:{payments:[]},listInvoices:{invoices:[]},allLightningTransactions:{listPaymentsAll:{payments:[],first_index_offset:"",last_index_offset:""},listInvoicesAll:{invoices:[],total_invoices:0,last_index_offset:"",first_index_offset:""}},forwardingHistory:{last_offset_index:0,total_fee_msat:0,forwarding_events:[]}};let Wh=!1,Xh=!1;const Wf=(0,Ri.vy)(jh,(0,Ri.on)(Pa.e8,(O,{payload:H})=>{const b=JSON.parse(JSON.stringify(O.apisCallStatus));return H.action&&(b[H.action]={status:H.status,statusCode:H.statusCode,message:H.message,URL:H.URL,filePath:H.filePath}),{...O,apisCallStatus:b}}),(0,Ri.on)(Pa.p1,O=>({...jh})),(0,Ri.on)(Pa.x1,(O,{payload:H})=>({...O,information:H})),(0,Ri.on)(Pa.Qj,(O,{payload:H})=>({...O,peers:H})),(0,Ri.on)(Pa.Zi,(O,{payload:H})=>{const b=[...O.peers],U=O.peers.findIndex(G=>G.pub_key===H.pubkey);return U>-1&&b.splice(U,1),{...O,peers:b}}),(0,Ri.on)(Pa.Jx,(O,{payload:H})=>{const b=O.listInvoices;return b.invoices?.unshift(H),{...O,listInvoices:b}}),(0,Ri.on)(Pa.Dq,(O,{payload:H})=>{const b=O.listInvoices;return b.invoices=b.invoices?.map(U=>U.payment_request===H.payment_request?H:U),{...O,listInvoices:b}}),(0,Ri.on)(Pa._$,(O,{payload:H})=>{const b=O.listPayments;return b.payments=b.payments?.map(U=>U.payment_hash===H.payment_hash?H:U),{...O,listPayments:b}}),(0,Ri.on)(Pa.Uo,(O,{payload:H})=>({...O,fees:H})),(0,Ri.on)(Pa.z2,(O,{payload:H})=>({...O,closedChannels:H})),(0,Ri.on)(Pa.cU,(O,{payload:H})=>({...O,pendingChannels:H.pendingChannels,pendingChannelsSummary:H.pendingChannelsSummary})),(0,Ri.on)(Pa.dv,(O,{payload:H})=>{let b=0,U=0,G=0,Oe=0,It=0,Lt=0;return H&&H.forEach(oi=>{oi.local_balance||(oi.local_balance=0),!0===oi.active?(It+=+oi.local_balance,G+=1,oi.local_balance?b=+b+ +oi.local_balance:oi.local_balance=0,oi.remote_balance?U=+U+ +oi.remote_balance:oi.remote_balance=0):(Lt+=+oi.local_balance,Oe+=1)}),{...O,channels:H,channelsSummary:{active:{num_channels:G,capacity:It},inactive:{num_channels:Oe,capacity:Lt}},lightningBalance:{local:b,remote:U}}}),(0,Ri.on)(Pa.cR,(O,{payload:H})=>{const b=[...O.channels],U=O.channels.findIndex(G=>G.channel_point===H.channelPoint);return U>-1&&b.splice(U,1),{...O,channels:b}}),(0,Ri.on)(Pa.DI,(O,{payload:H})=>({...O,blockchainBalance:H})),(0,Ri.on)(Pa.J9,(O,{payload:H})=>({...O,networkInfo:H})),(0,Ri.on)(Pa.$6,(O,{payload:H})=>(H.total_invoices||(H.total_invoices=O.listInvoices.total_invoices),{...O,listInvoices:H})),(0,Ri.on)(Pa.As,(O,{payload:H})=>{if(Wh=!0,H.length&&Xh){const b=[...O.utxos];return b.forEach(U=>{const G=H.find(Oe=>Oe.tx_hash===U.outpoint?.txid_str);U.label=G&&G.label?G.label:""}),{...O,utxos:b,transactions:H}}return{...O,transactions:H}}),(0,Ri.on)(Pa.O8,(O,{payload:H})=>{if(Xh=!0,H.length&&Wh){const b=[...O.transactions];H.forEach(U=>{const G=b.find(Oe=>Oe.tx_hash===U.outpoint?.txid_str);U.label=G&&G.label?G.label:""})}return{...O,utxos:H}}),(0,Ri.on)(Pa.Uj,(O,{payload:H})=>{const b={listInvoicesAll:O.allLightningTransactions.listInvoicesAll,listPaymentsAll:H};return{...O,listPayments:H,allLightningTransactions:b}}),(0,Ri.on)(Pa.b1,(O,{payload:H})=>{const b={listInvoicesAll:H.listInvoicesAll,listPaymentsAll:O.listPayments};return{...O,allLightningTransactions:b}}),(0,Ri.on)(Pa.kv,(O,{payload:H})=>{const b=[...O.channels,...O.closedChannels];let U=H.forwarding_events?JSON.parse(JSON.stringify(H)):{};return U.forwarding_events&&(U=Yh(U,b)),{...O,forwardingHistory:U}}),(0,Ri.on)(Pa.NS,(O,{payload:H})=>{const b=[];return Wt.ZC.forEach(U=>{const G=H&&H.length&&H.length>0?H.find(Oe=>Oe.pageId===U.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],U.tables.forEach(It=>{const Lt=Oe.find(oi=>oi.tableId===It.tableId)||null;G.tables.push(Lt||JSON.parse(JSON.stringify(It)))}),b.push(G)}else b.push(JSON.parse(JSON.stringify(U)))}),{...O,pageSettings:b}})),Yh=(O,H)=>(O.forwarding_events.forEach(b=>{if(H&&H.length>0)for(let U=0;U<H.length;U++){if(H[U].chan_id?.toString()===b.chan_id_in&&(b.alias_in=H[U].remote_alias?H[U].remote_alias:b.chan_id_in,b.alias_out)||H[U].chan_id?.toString()===b.chan_id_out&&(b.alias_out=H[U].remote_alias?H[U].remote_alias:b.chan_id_out,b.alias_in))return;U===H.length-1&&(b.alias_in||(b.alias_in=b.chan_id_in),b.alias_out||(b.alias_out=b.chan_id_out))}else b.alias_in=b.chan_id_in,b.alias_out=b.chan_id_out}),O),Xf={apisCallStatus:{FetchPageSettings:{status:Wt.wn.UN_INITIATED},FetchInfo:{status:Wt.wn.UN_INITIATED},FetchInvoices:{status:Wt.wn.UN_INITIATED},FetchChannels:{status:Wt.wn.UN_INITIATED},FetchUTXOBalances:{status:Wt.wn.UN_INITIATED},FetchFeeRatesperkb:{status:Wt.wn.UN_INITIATED},FetchFeeRatesperkw:{status:Wt.wn.UN_INITIATED},FetchPeers:{status:Wt.wn.UN_INITIATED},FetchPayments:{status:Wt.wn.UN_INITIATED},FetchForwardingHistoryS:{status:Wt.wn.UN_INITIATED},FetchForwardingHistoryF:{status:Wt.wn.UN_INITIATED},FetchForwardingHistoryL:{status:Wt.wn.UN_INITIATED},FetchOffers:{status:Wt.wn.UN_INITIATED},FetchOfferBookmarks:{status:Wt.wn.UN_INITIATED}},pageSettings:Wt.mu,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},S4=(0,Ri.vy)(Xf,(0,Ri.on)(xa.no,(O,{payload:H})=>{const b=JSON.parse(JSON.stringify(O.apisCallStatus));return H.action&&(b[H.action]={status:H.status,statusCode:H.statusCode,message:H.message,URL:H.URL,filePath:H.filePath}),{...O,apisCallStatus:b}}),(0,Ri.on)(xa.gf,O=>({...Xf})),(0,Ri.on)(xa.x1,(O,{payload:H})=>({...O,information:H,fees:{feeCollected:H.fees_collected_msat}})),(0,Ri.on)(xa.C2,(O,{payload:H})=>H.perkb?{...O,feeRatesPerKB:H}:H.perkw?{...O,feeRatesPerKW:H}:{...O}),(0,Ri.on)(xa.EM,(O,{payload:H})=>({...O,utxos:H.utxos||[],balance:H.balance,localRemoteBalance:H.localRemoteBalance})),(0,Ri.on)(xa.Qj,(O,{payload:H})=>({...O,peers:H})),(0,Ri.on)(xa.We,(O,{payload:H})=>({...O,peers:[...O.peers,H]})),(0,Ri.on)(xa.Zi,(O,{payload:H})=>{const b=[...O.peers],U=O.peers.findIndex(G=>G.id===H.id);return U>-1&&b.splice(U,1),{...O,peers:b}}),(0,Ri.on)(xa.dv,(O,{payload:H})=>({...O,activeChannels:H.activeChannels,pendingChannels:H.pendingChannels,inactiveChannels:H.inactiveChannels})),(0,Ri.on)(xa.cR,(O,{payload:H})=>{const b=[...O.peers];return b.forEach(U=>{U.id===H.id&&(U.connected=!1,delete U.netaddr)}),{...O,peers:b}}),(0,Ri.on)(xa.Uj,(O,{payload:H})=>({...O,payments:H})),(0,Ri.on)(xa.kv,(O,{payload:H})=>{const b=[...O.activeChannels,...O.pendingChannels,...O.inactiveChannels],U=Yf(H.listForwards,b);switch(H.listForwards=U,H.status){case Wt.xk.SETTLED:const G=O.fees;return G.totalTxCount=H.totalForwards||0,{...O,fees:G,forwardingHistory:H};case Wt.xk.FAILED:return{...O,failedForwardingHistory:H};case Wt.xk.LOCAL_FAILED:return{...O,localFailedForwardingHistory:H};default:return{...O}}}),(0,Ri.on)(xa.Jx,(O,{payload:H})=>{const b=O.invoices;return b.invoices?.unshift(H),{...O,invoices:b}}),(0,Ri.on)(xa.$6,(O,{payload:H})=>({...O,invoices:H})),(0,Ri.on)(xa.Dq,(O,{payload:H})=>{const b=O.invoices;return b.invoices=b.invoices?.map(U=>(U.label===H.label&&(U.amount_received_msat=H.msat,U.payment_preimage=H.preimage,U.status="paid"),U)),{...O,invoices:b}}),(0,Ri.on)(xa.qw,(O,{payload:H})=>({...O,offers:H})),(0,Ri.on)(xa.kQ,(O,{payload:H})=>{const b=O.offers;return b?.unshift(H),{...O,offers:b}}),(0,Ri.on)(xa.Gz,(O,{payload:H})=>{const b=[...O.offers],U=O.offers.findIndex(G=>G.offer_id===H.offer.offer_id);return U>-1&&b.splice(U,1,H.offer),{...O,offers:b}}),(0,Ri.on)(xa.Qv,(O,{payload:H})=>({...O,offersBookmarks:H})),(0,Ri.on)(xa.Db,(O,{payload:H})=>{const b=[...O.offersBookmarks],U=b.findIndex(G=>G.bolt12===H.bolt12);if(U<0)b?.unshift(H);else{const G={...b[U]};G.title=H.title,G.amountMSat=H.amountMSat,G.lastUpdatedAt=H.lastUpdatedAt,G.description=H.description,G.issuer=H.issuer,b.splice(U,1,G)}return{...O,offersBookmarks:b}}),(0,Ri.on)(xa.NU,(O,{payload:H})=>{const b=[...O.offersBookmarks],U=O.offersBookmarks.findIndex(G=>G.bolt12===H.bolt12);return U>-1&&b.splice(U,1),{...O,offersBookmarks:b}}),(0,Ri.on)(xa.NS,(O,{payload:H})=>{const b=[];return Wt.mu.forEach(U=>{const G=H&&H.length&&H.length>0?H.find(Oe=>Oe.pageId===U.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],U.tables.forEach(It=>{const Lt=Oe.find(oi=>oi.tableId===It.tableId)||null;G.tables.push(Lt||JSON.parse(JSON.stringify(It)))}),b.push(G)}else b.push(JSON.parse(JSON.stringify(U)))}),{...O,pageSettings:b}})),Yf=(O,H)=>(O&&O.length>0?O.forEach((b,U)=>{if(H&&H.length>0)for(let G=0;G<H.length;G++){if(H[G].short_channel_id&&H[G].short_channel_id===b.in_channel&&(b.in_channel_alias=H[G].alias?H[G].alias:b.in_channel,b.out_channel_alias)||H[G].short_channel_id&&H[G].short_channel_id?.toString()===b.out_channel&&(b.out_channel_alias=H[G].alias?H[G].alias:b.out_channel,b.in_channel_alias))return;G===H.length-1&&(b.in_channel_alias||(b.in_channel_alias=b.in_channel?b.in_channel:"-"),b.out_channel_alias||(b.out_channel_alias=b.out_channel?b.out_channel:"-"))}else b.in_channel_alias=b.in_channel?b.in_channel:"-",b.out_channel_alias=b.out_channel?b.out_channel:"-"}):O=[],O),Kf={apisCallStatus:{FetchPageSettings:{status:Wt.wn.UN_INITIATED},FetchInfo:{status:Wt.wn.UN_INITIATED},FetchFees:{status:Wt.wn.UN_INITIATED},FetchChannels:{status:Wt.wn.UN_INITIATED},FetchOnchainBalance:{status:Wt.wn.UN_INITIATED},FetchPeers:{status:Wt.wn.UN_INITIATED},FetchPayments:{status:Wt.wn.UN_INITIATED},FetchInvoices:{status:Wt.wn.UN_INITIATED},FetchTransactions:{status:Wt.wn.UN_INITIATED}},pageSettings:Wt.X8,information:{},fees:{},activeChannels:[],pendingChannels:[],inactiveChannels:[],channelsStatus:{active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0},closing:{channels:0,capacity:0}},onchainBalance:{total:0,confirmed:0,unconfirmed:0},lightningBalance:{localBalance:-1,remoteBalance:-1},peers:[],payments:{},transactions:[],invoices:[]},T4=(0,Ri.vy)(Kf,(0,Ri.on)(Ca.uL,(O,{payload:H})=>{const b=JSON.parse(JSON.stringify(O.apisCallStatus));return H.action&&(b[H.action]={status:H.status,statusCode:H.statusCode,message:H.message,URL:H.URL,filePath:H.filePath}),{...O,apisCallStatus:b}}),(0,Ri.on)(Ca.Hh,O=>({...Kf})),(0,Ri.on)(Ca.x1,(O,{payload:H})=>({...O,information:H})),(0,Ri.on)(Ca.Uo,(O,{payload:H})=>({...O,fees:H})),(0,Ri.on)(Ca.Tp,(O,{payload:H})=>({...O,activeChannels:H})),(0,Ri.on)(Ca.cU,(O,{payload:H})=>({...O,pendingChannels:H})),(0,Ri.on)(Ca.I6,(O,{payload:H})=>({...O,inactiveChannels:H})),(0,Ri.on)(Ca.ZE,(O,{payload:H})=>({...O,channelsStatus:H})),(0,Ri.on)(Ca.Xx,(O,{payload:H})=>({...O,onchainBalance:H})),(0,Ri.on)(Ca.N8,(O,{payload:H})=>({...O,lightningBalance:H})),(0,Ri.on)(Ca.Qj,(O,{payload:H})=>({...O,peers:H})),(0,Ri.on)(Ca.Zi,(O,{payload:H})=>{const b=[...O.peers],U=O.peers.findIndex(G=>G.nodeId===H.nodeId);return U>-1&&b.splice(U,1),{...O,peers:b}}),(0,Ri.on)(Ca.cR,(O,{payload:H})=>{const b=[...O.activeChannels],U=O.activeChannels.findIndex(G=>G.channelId===H.channelId);return U>-1&&b.splice(U,1),{...O,activeChannels:b}}),(0,Ri.on)(Ca.Uj,(O,{payload:H})=>{if(H&&H.sent){const b=[...O.activeChannels,...O.pendingChannels,...O.inactiveChannels];H.sent?.map(U=>{const G=O.peers.find(Oe=>Oe.nodeId===U.recipientNodeId);return U.recipientNodeAlias=G?G.alias:U.recipientNodeId,U.parts&&U.parts?.map(Oe=>{const It=b.find(Lt=>Lt.channelId===Oe.toChannelId);return Oe.toChannelAlias=It?It.alias:Oe.toChannelId,U.parts}),H.sent})}if(H&&H.relayed){const b=[...O.activeChannels,...O.pendingChannels,...O.inactiveChannels];H.relayed.forEach(U=>{U=w1(U,b)})}return{...O,payments:H}}),(0,Ri.on)(Ca.As,(O,{payload:H})=>({...O,transactions:H})),(0,Ri.on)(Ca.Jx,(O,{payload:H})=>{const b=O.invoices;return b?.unshift(H),{...O,invoices:b}}),(0,Ri.on)(Ca.$6,(O,{payload:H})=>({...O,invoices:H})),(0,Ri.on)(Ca.Dq,(O,{payload:H})=>{let b=O.invoices;return b=b?.map(U=>{if(U.paymentHash===H.paymentHash){if(H.hasOwnProperty("type")){const G=JSON.parse(JSON.stringify(U));return G.amountSettled=H.parts&&H.parts.length&&H.parts.length>0&&H.parts[0].amount?(H.parts[0].amount||0)/1e3:0,G.receivedAt=H.parts&&H.parts.length&&H.parts.length>0&&H.parts[0].timestamp?Math.round((H.parts[0].timestamp||0)/1e3):0,G.status="received",G}return H}return U}),{...O,invoices:b}}),(0,Ri.on)(Ca.gZ,(O,{payload:H})=>{let b=O.pendingChannels;return b=b?.map(U=>(U.channelId===H.channelId&&U.nodeId===H.remoteNodeId&&(H.currentState=H.currentState?.replace(/_/g," "),U.state=H.currentState),U)),{...O,pendingChannels:b}}),(0,Ri.on)(Ca.yn,(O,{payload:H})=>{const b=O.payments,U=w1(H,[...O.activeChannels,...O.pendingChannels,...O.inactiveChannels]);b.relayed?.unshift(U);const G=(H.amountIn||0)-(H.amountOut||0),Oe={localBalance:O.lightningBalance.localBalance+G,remoteBalance:O.lightningBalance.remoteBalance-G},It=O.channelsStatus;It.active&&(It.active.capacity=(O.channelsStatus?.active?.capacity||0)+G);const Lt={daily_fee:(O.fees.daily_fee||0)+G,daily_txs:(O.fees.daily_txs||0)+1,weekly_fee:(O.fees.weekly_fee||0)+G,weekly_txs:(O.fees.weekly_txs||0)+1,monthly_fee:(O.fees.monthly_fee||0)+G,monthly_txs:(O.fees.monthly_txs||0)+1},oi=O.activeChannels;let ci=!1,Ui=!1;for(const Ti of oi){if(Ti.channelId===H.fromChannelId){ci=!0;const un=(Ti.toLocal||0)+(Ti.toRemote||0);Ti.toLocal=(Ti.toLocal||0)+U.amountIn,Ti.toRemote=(Ti.toRemote||0)-U.amountIn,Ti.balancedness=0===un?1:+(1-Math.abs((Ti.toLocal-Ti.toRemote)/un)).toFixed(3)}if(Ti.channelId===H.toChannelId){Ui=!0;const un=(Ti.toLocal||0)+(Ti.toRemote||0);Ti.toLocal=(Ti.toLocal||0)-U.amountOut,Ti.toRemote=(Ti.toRemote||0)+U.amountOut,Ti.balancedness=0===un?1:+(1-Math.abs((Ti.toLocal-Ti.toRemote)/un)).toFixed(3)}if(Ui&&ci)break}return{...O,payments:b,lightningBalance:Oe,channelStatus:It,fees:Lt,activeChannels:oi}}),(0,Ri.on)(Ca.NS,(O,{payload:H})=>{const b=[];return Wt.X8.forEach(U=>{const G=H&&H.length&&H.length>0?H.find(Oe=>Oe.pageId===U.pageId):null;if(G){const Oe=JSON.parse(JSON.stringify(G.tables));G.tables=[],U.tables.forEach(It=>{const Lt=Oe.find(oi=>oi.tableId===It.tableId)||null;G.tables.push(Lt||JSON.parse(JSON.stringify(It)))}),b.push(G)}else b.push(JSON.parse(JSON.stringify(U)))}),{...O,pageSettings:b}})),w1=(O,H)=>{if("payment-relayed"===O.type)if(H&&H.length>0)for(let b=0;b<H.length;b++){if(H[b].channelId?.toString()===O.fromChannelId&&(O.fromChannelAlias=H[b].alias?H[b].alias:O.fromChannelId,O.fromShortChannelId=H[b].shortChannelId?H[b].shortChannelId:"",O.toChannelAlias)||H[b].channelId?.toString()===O.toChannelId&&(O.toChannelAlias=H[b].alias?H[b].alias:O.toChannelId,O.toShortChannelId=H[b].shortChannelId?H[b].shortChannelId:"",O.fromChannelAlias))return O;b===H.length-1&&(O.fromChannelAlias||(O.fromChannelAlias=O.fromChannelId?.substring(0,17)+"...",O.fromShortChannelId=""),O.toChannelAlias||(O.toChannelAlias=O.toChannelId?.substring(0,17)+"...",O.toShortChannelId=""))}else O.fromChannelAlias=O.fromChannelId?.substring(0,17)+"...",O.fromShortChannelId="",O.toChannelAlias=O.toChannelId?.substring(0,17)+"...",O.toShortChannelId="";else if(O.type="trampoline-payment-relayed"){if(H&&H.length>0)for(let G=0;G<H.length;G++)O.incoming?.forEach(Oe=>{H[G].channelId?.toString()===Oe.channelId&&(Oe.channelAlias=H[G].alias?H[G].alias:Oe.channelId,Oe.shortChannelId=H[G].shortChannelId?H[G].shortChannelId:"")}),O.outgoing?.forEach(Oe=>{H[G].channelId?.toString()===Oe.channelId&&(Oe.channelAlias=H[G].alias?H[G].alias:Oe.channelId,Oe.shortChannelId=H[G].shortChannelId?H[G].shortChannelId:"")}),G===H.length-1&&(O.incoming&&O.incoming.length&&O.incoming.length>0&&!O.incoming[0].channelAlias&&O.incoming?.forEach(Oe=>{Oe.channelAlias=Oe.channelId?.substring(0,17)+"...",Oe.shortChannelId=""}),O.outgoing&&O.outgoing.length&&O.outgoing.length>0&&!O.outgoing[0].channelAlias&&O.outgoing?.forEach(Oe=>{Oe.channelAlias=Oe.channelId?.substring(0,17)+"...",Oe.shortChannelId=""}));else O.incoming?.forEach(G=>{G.channelAlias=G.channelId?.substring(0,17)+"...",G.shortChannelId=""}),O.outgoing?.forEach(G=>{G.channelAlias=G.channelId?.substring(0,17)+"...",G.shortChannelId=""});const b=O.incoming?.reduce((G,Oe)=>G+Oe.amount,0)||0;O.amountIn=Math.round(b/1e3),O.fromChannelId=O.incoming&&O.incoming.length?O.incoming[0].channelId:"",O.fromChannelAlias=O.incoming&&O.incoming.length?O.incoming[0].channelAlias:"",O.fromShortChannelId=O.incoming&&O.incoming.length?O.incoming[0].shortChannelId:"";const U=O.outgoing?.reduce((G,Oe)=>G+Oe.amount,0)||0;O.amountOut=Math.round(U/1e3),O.toChannelId=O.outgoing&&O.outgoing.length?O.outgoing[0].channelId:"",O.toChannelAlias=O.outgoing&&O.outgoing.length?O.outgoing[0].channelAlias:"",O.toShortChannelId=O.outgoing&&O.outgoing.length?O.outgoing[0].shortChannelId:""}return O};let Kh=!1;(0,t.naY)()&&(Kh=!0);let D4=(()=>{class O{static#e=this.\u0275fac=function(U){return new(U||O)};static#t=this.\u0275mod=t.$C({type:O,bootstrap:[Gf]});static#i=this.\u0275inj=t.G2t({providers:[Ts({idle:Wt.bz-10,timeout:10,ping:12e3}),{provide:Ms.a7,useClass:C1,multi:!0},qa.Q,O2.u,w4.I,tf.Q,Ia.h,fd],imports:[Fr,Of.G,Rf,oa.RH,e.fM,Ri.md.forRoot({root:Ad,lnd:Wf,cln:S4,ecl:T4},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),lt.Vm.forRoot([_r.H,M4.L,E4.i,Bh.B]),Kh?Ns.instrument({connectInZone:!0}):[]]})}return O})();e.sG().bootstrapModule(D4).catch(O=>console.error(O))},426:(Qe,te)=>{"use strict";function g(X){return Object.keys(X).map(me=>X[me])}var X;Object.defineProperty(te,"__esModule",{value:!0}),(X=te.HashAlgorithms||(te.HashAlgorithms={})).SHA1="sha1",X.SHA256="sha256",X.SHA512="sha512";const e=g(te.HashAlgorithms);!function(X){X.ASCII="ascii",X.BASE64="base64",X.HEX="hex",X.LATIN1="latin1",X.UTF8="utf8"}(te.KeyEncodings||(te.KeyEncodings={}));const t=g(te.KeyEncodings);!function(X){X.HOTP="hotp",X.TOTP="totp"}(te.Strategy||(te.Strategy={}));const w=g(te.Strategy),S=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(X){return/^(\d+)$/.test(X)}function x(X,me,ce){return X.length>=me?X:`${Array(me+1).join(ce)}${X}`.slice(-1*me)}function f(X){const me=`otpauth://${X.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,ce=[];if(w.indexOf(X.type)<0)throw new Error(`Expecting options.type to be one of ${w.join(", ")}. Received ${X.type}.`);if("hotp"===X.type){if(null==X.counter||"number"!=typeof X.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');ce.push(`&counter=${X.counter}`)}return"totp"===X.type&&X.step&&ce.push(`&period=${X.step}`),X.digits&&ce.push(`&digits=${X.digits}`),X.algorithm&&ce.push(`&algorithm=${X.algorithm.toUpperCase()}`),X.issuer&&ce.push(`&issuer=${encodeURIComponent(X.issuer)}`),me.replace("{labelPrefix}",encodeURIComponent(X.issuer||X.accountName)).replace("{accountName}",encodeURIComponent(X.accountName)).replace("{secret}",X.secret).replace("{query}",ce.join(""))}class I{constructor(me={}){this._defaultOptions=Object.freeze({...me}),this._options=Object.freeze({})}create(me={}){return new I(me)}clone(me={}){const ce=this.create({...this._defaultOptions,...me});return ce.options=this._options,ce}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(me){this._options=Object.freeze({...this._options,...me})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(X){if("function"!=typeof X.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof X.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof X.digits)throw new Error("Expecting options.digits to be a number.");if(!X.algorithm||e.indexOf(X.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${X.algorithm}.`);if(!X.encoding||t.indexOf(X.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${X.encoding}.`)}const T=(X,me,ce)=>Buffer.from(me,ce).toString("hex");function y(){return{algorithm:te.HashAlgorithms.SHA1,createHmacKey:T,createDigest:S,digits:6,encoding:te.KeyEncodings.ASCII}}function F(X){const me={...y(),...X};return d(me),Object.freeze(me)}function R(X){return x(X.toString(16),16,"0")}function z(X,me){const ce=Buffer.from(X,"hex"),fe=15&ce[ce.length-1],mt=((127&ce[fe])<<24|(255&ce[fe+1])<<16|(255&ce[fe+2])<<8|255&ce[fe+3])%Math.pow(10,me);return x(String(mt),me,"0")}function $(X,me,ce){const fe=ce.digest||function W(X,me,ce){const fe=R(me),ke=ce.createHmacKey(ce.algorithm,X,ce.encoding);return ce.createDigest(ce.algorithm,ke,fe)}(X,me,ce);return z(fe,ce.digits)}function j(X,me,ce,fe){return!!l(X)&&X===$(me,ce,fe)}function Q(X,me,ce,fe,ke){return f({algorithm:ke.algorithm,digits:ke.digits,type:te.Strategy.HOTP,accountName:X,counter:fe,issuer:me,secret:ce})}class J extends I{create(me={}){return new J(me)}allOptions(){return F(this.options)}generate(me,ce){return $(me,ce,this.allOptions())}check(me,ce,fe){return j(me,ce,fe,this.allOptions())}verify(me){if("object"!=typeof me)throw new Error("Expecting argument 0 of verify to be an object");return this.check(me.token,me.secret,me.counter)}keyuri(me,ce,fe,ke){return Q(me,ce,fe,ke,this.allOptions())}}function ee(X){if("number"==typeof X)return[Math.abs(X),Math.abs(X)];if(Array.isArray(X)){const[me,ce]=X;if("number"==typeof me&&"number"==typeof ce)return[Math.abs(me),Math.abs(ce)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ie(X){if(d(X),ee(X.window),"number"!=typeof X.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof X.step)throw new Error("Expecting options.step to be a number.")}const ge=(X,me,ce)=>{const fe=X.length,ke=Buffer.from(X,me).toString("hex");if(fe<ce){const mt=new Array(ce-fe+1).join(ke);return Buffer.from(mt,"hex").slice(0,ce).toString("hex")}return ke},ae=(X,me,ce)=>{switch(X){case te.HashAlgorithms.SHA1:return ge(me,ce,20);case te.HashAlgorithms.SHA256:return ge(me,ce,32);case te.HashAlgorithms.SHA512:return ge(me,ce,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${X}.`)}};function Me(){return{algorithm:te.HashAlgorithms.SHA1,createDigest:S,createHmacKey:ae,digits:6,encoding:te.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function Te(X){const me={...Me(),...X};return ie(me),Object.freeze(me)}function de(X,me){return Math.floor(X/me/1e3)}function D(X,me){return $(X,de(me.epoch,me.step),me)}function n(X,me,ce,fe){const ke=[];if(0===fe)return ke;for(let mt=1;mt<=fe;mt++)ke.push(X+me*mt*ce);return ke}function c(X,me,ce){const fe=ee(ce),ke=1e3*me;return{current:X,past:n(X,-1,ke,fe[0]),future:n(X,1,ke,fe[1])}}function m(X,me,ce){return!!l(X)&&X===D(me,ce)}function h(X,me,ce,fe){let ke=null;return X.some((mt,_e)=>!!m(me,ce,{...fe,epoch:mt})&&(ke=_e+1,!0)),ke}function C(X,me,ce){if(m(X,me,ce))return 0;const fe=c(ce.epoch,ce.step,ce.window),ke=h(fe.past,X,me,ce);return null!==ke?-1*ke:h(fe.future,X,me,ce)}function k(X,me){return Math.floor(X/1e3)%me}function L(X,me){return me-k(X,me)}function _(X,me,ce,fe){return f({algorithm:fe.algorithm,digits:fe.digits,step:fe.step,type:te.Strategy.TOTP,accountName:X,issuer:me,secret:ce})}class r extends J{create(me={}){return new r(me)}allOptions(){return Te(this.options)}generate(me){return D(me,this.allOptions())}checkDelta(me,ce){return C(me,ce,this.allOptions())}check(me,ce){return"number"==typeof this.checkDelta(me,ce)}verify(me){if("object"!=typeof me)throw new Error("Expecting argument 0 of verify to be an object");return this.check(me.token,me.secret)}timeRemaining(){const me=this.allOptions();return L(me.epoch,me.step)}timeUsed(){const me=this.allOptions();return k(me.epoch,me.step)}keyuri(me,ce,fe){return _(me,ce,fe,this.allOptions())}}function v(X){if(ie(X),"function"!=typeof X.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(X.keyEncoder&&"function"!=typeof X.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function V(){return{algorithm:te.HashAlgorithms.SHA1,createDigest:S,createHmacKey:ae,digits:6,encoding:te.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function N(X){const me={...V(),...X};return v(me),Object.freeze(me)}function ne(X,me){return me.keyEncoder(X,me.encoding)}function Ee(X,me){return me.keyDecoder(X,me.encoding)}function ze(X,me){return ne(me.createRandomBytes(X,me.encoding),me)}function qe(X,me){return D(Ee(X,me),me)}function Ke(X,me,ce){return C(X,Ee(me,ce),ce)}class se extends r{create(me={}){return new se(me)}allOptions(){return N(this.options)}generate(me){return qe(me,this.allOptions())}checkDelta(me,ce){return Ke(me,ce,this.allOptions())}encode(me){return ne(me,this.allOptions())}decode(me){return Ee(me,this.allOptions())}generateSecret(me=10){return ze(me,this.allOptions())}}te.Authenticator=se,te.HASH_ALGORITHMS=e,te.HOTP=J,te.KEY_ENCODINGS=t,te.OTP=I,te.STRATEGY=w,te.TOTP=r,te.authenticatorCheckWithWindow=Ke,te.authenticatorDecoder=Ee,te.authenticatorDefaultOptions=V,te.authenticatorEncoder=ne,te.authenticatorGenerateSecret=ze,te.authenticatorOptionValidator=v,te.authenticatorOptions=N,te.authenticatorToken=qe,te.createDigestPlaceholder=S,te.hotpCheck=j,te.hotpCounter=R,te.hotpCreateHmacKey=T,te.hotpDefaultOptions=y,te.hotpDigestToToken=z,te.hotpKeyuri=Q,te.hotpOptions=F,te.hotpOptionsValidator=d,te.hotpToken=$,te.isTokenValid=l,te.keyuri=f,te.objectValues=g,te.padStart=x,te.totpCheck=m,te.totpCheckByEpoch=h,te.totpCheckWithWindow=C,te.totpCounter=de,te.totpCreateHmacKey=ae,te.totpDefaultOptions=Me,te.totpEpochAvailable=c,te.totpKeyuri=_,te.totpOptions=Te,te.totpOptionsValidator=ie,te.totpPadSecret=ge,te.totpTimeRemaining=L,te.totpTimeUsed=k,te.totpToken=D},7840:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(g(1426));te.createDigest=(l,x,f)=>t.createHmac(l,Buffer.from(x,"hex")).update(Buffer.from(f,"hex")).digest().toString("hex"),te.createRandomBytes=(l,x)=>t.randomBytes(l).toString(x)},5526:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(g(7851));te.keyDecoder=(l,x)=>t.decode(l).toString(x),te.keyEncoder=(l,x)=>t.encode(Buffer.from(l,x).toString("ascii")).toString().replace(/=/g,"")},4478:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var e=g(7840),t=g(5526),w=g(426);const S=new w.HOTP({createDigest:e.createDigest}),l=new w.TOTP({createDigest:e.createDigest}),x=new w.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});te.authenticator=x,te.hotp=S,te.totp=l},1990:(Qe,te,g)=>{var e=te;e.bignum=g(6867),e.define=g(6626).define,e.base=g(5066),e.constants=g(7740),e.decoders=g(1558),e.encoders=g(2714)},6626:(Qe,te,g)=>{var e=g(1990),t=g(1993);function S(l,x){this.name=l,this.body=x,this.decoders={},this.encoders={}}te.define=function(x,f){return new S(x,f)},S.prototype._createNamed=function(x){var f;try{f=g(8326).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch{f=function(d){this._initNamed(d)}}return t(f,x),f.prototype._initNamed=function(d){x.call(this,d)},new f(this)},S.prototype._getDecoder=function(x){return this.decoders.hasOwnProperty(x=x||"der")||(this.decoders[x]=this._createNamed(e.decoders[x])),this.decoders[x]},S.prototype.decode=function(x,f,I){return this._getDecoder(f).decode(x,I)},S.prototype._getEncoder=function(x){return this.encoders.hasOwnProperty(x=x||"der")||(this.encoders[x]=this._createNamed(e.encoders[x])),this.encoders[x]},S.prototype.encode=function(x,f,I){return this._getEncoder(f).encode(x,I)}},7290:(Qe,te,g)=>{var e=g(1993),t=g(5066).Reporter,w=g(3838).Buffer;function S(x,f){t.call(this,f),w.isBuffer(x)?(this.base=x,this.offset=0,this.length=x.length):this.error("Input not Buffer")}function l(x,f){if(Array.isArray(x))this.length=0,this.value=x.map(function(I){return I instanceof l||(I=new l(I,f)),this.length+=I.length,I},this);else if("number"==typeof x){if(!(0<=x&&x<=255))return f.error("non-byte EncoderBuffer value");this.value=x,this.length=1}else if("string"==typeof x)this.value=x,this.length=w.byteLength(x);else{if(!w.isBuffer(x))return f.error("Unsupported type: "+typeof x);this.value=x,this.length=x.length}}e(S,t),te.t=S,S.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},S.prototype.restore=function(f){var I=new S(this.base);return I.offset=f.offset,I.length=this.offset,this.offset=f.offset,t.prototype.restore.call(this,f.reporter),I},S.prototype.isEmpty=function(){return this.offset===this.length},S.prototype.readUInt8=function(f){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(f||"DecoderBuffer overrun")},S.prototype.skip=function(f,I){if(!(this.offset+f<=this.length))return this.error(I||"DecoderBuffer overrun");var d=new S(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+f,this.offset+=f,d},S.prototype.raw=function(f){return this.base.slice(f?f.offset:this.offset,this.length)},te.d=l,l.prototype.join=function(f,I){return f||(f=new w(this.length)),I||(I=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(f,I),I+=d.length}):("number"==typeof this.value?f[I]=this.value:"string"==typeof this.value?f.write(this.value,I):w.isBuffer(this.value)&&this.value.copy(f,I),I+=this.length)),f}},5066:(Qe,te,g)=>{var e=te;e.Reporter=g(5697).a,e.DecoderBuffer=g(7290).t,e.EncoderBuffer=g(7290).d,e.Node=g(4320)},4320:(Qe,te,g)=>{var e=g(5066).Reporter,t=g(5066).EncoderBuffer,w=g(5066).DecoderBuffer,S=g(9210),l=["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"],x=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function I(T,y){var F={};this._baseState=F,F.enc=T,F.parent=y||null,F.children=null,F.tag=null,F.args=null,F.reverseArgs=null,F.choice=null,F.optional=!1,F.any=!1,F.obj=!1,F.use=null,F.useDecoder=null,F.key=null,F.default=null,F.explicit=null,F.implicit=null,F.contains=null,F.parent||(F.children=[],this._wrap())}Qe.exports=I;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];I.prototype.clone=function(){var y=this._baseState,F={};d.forEach(function(z){F[z]=y[z]});var R=new this.constructor(F.parent);return R._baseState=F,R},I.prototype._wrap=function(){var y=this._baseState;x.forEach(function(F){this[F]=function(){var z=new this.constructor(this);return y.children.push(z),z[F].apply(z,arguments)}},this)},I.prototype._init=function(y){var F=this._baseState;S(null===F.parent),y.call(this),F.children=F.children.filter(function(R){return R._baseState.parent===this},this),S.equal(F.children.length,1,"Root node can have only one child")},I.prototype._useArgs=function(y){var F=this._baseState,R=y.filter(function(z){return z instanceof this.constructor},this);y=y.filter(function(z){return!(z instanceof this.constructor)},this),0!==R.length&&(S(null===F.children),F.children=R,R.forEach(function(z){z._baseState.parent=this},this)),0!==y.length&&(S(null===F.args),F.args=y,F.reverseArgs=y.map(function(z){if("object"!=typeof z||z.constructor!==Object)return z;var W={};return Object.keys(z).forEach(function($){$==(0|$)&&($|=0),W[z[$]]=$}),W}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(T){I.prototype[T]=function(){throw new Error(T+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(T){I.prototype[T]=function(){var F=this._baseState,R=Array.prototype.slice.call(arguments);return S(null===F.tag),F.tag=T,this._useArgs(R),this}}),I.prototype.use=function(y){S(y);var F=this._baseState;return S(null===F.use),F.use=y,this},I.prototype.optional=function(){return this._baseState.optional=!0,this},I.prototype.def=function(y){var F=this._baseState;return S(null===F.default),F.default=y,F.optional=!0,this},I.prototype.explicit=function(y){var F=this._baseState;return S(null===F.explicit&&null===F.implicit),F.explicit=y,this},I.prototype.implicit=function(y){var F=this._baseState;return S(null===F.explicit&&null===F.implicit),F.implicit=y,this},I.prototype.obj=function(){var y=this._baseState,F=Array.prototype.slice.call(arguments);return y.obj=!0,0!==F.length&&this._useArgs(F),this},I.prototype.key=function(y){var F=this._baseState;return S(null===F.key),F.key=y,this},I.prototype.any=function(){return this._baseState.any=!0,this},I.prototype.choice=function(y){var F=this._baseState;return S(null===F.choice),F.choice=y,this._useArgs(Object.keys(y).map(function(R){return y[R]})),this},I.prototype.contains=function(y){var F=this._baseState;return S(null===F.use),F.contains=y,this},I.prototype._decode=function(y,F){var R=this._baseState;if(null===R.parent)return y.wrapResult(R.children[0]._decode(y,F));var J,z=R.default,W=!0,$=null;if(null!==R.key&&($=y.enterKey(R.key)),R.optional){var j=null;if(null!==R.explicit?j=R.explicit:null!==R.implicit?j=R.implicit:null!==R.tag&&(j=R.tag),null!==j||R.any){if(W=this._peekTag(y,j,R.any),y.isError(W))return W}else{var Q=y.save();try{null===R.choice?this._decodeGeneric(R.tag,y,F):this._decodeChoice(y,F),W=!0}catch{W=!1}y.restore(Q)}}if(R.obj&&W&&(J=y.enterObject()),W){if(null!==R.explicit){var ee=this._decodeTag(y,R.explicit);if(y.isError(ee))return ee;y=ee}var ie=y.offset;if(null===R.use&&null===R.choice){R.any&&(Q=y.save());var ge=this._decodeTag(y,null!==R.implicit?R.implicit:R.tag,R.any);if(y.isError(ge))return ge;R.any?z=y.raw(Q):y=ge}if(F&&F.track&&null!==R.tag&&F.track(y.path(),ie,y.length,"tagged"),F&&F.track&&null!==R.tag&&F.track(y.path(),y.offset,y.length,"content"),R.any||(z=null===R.choice?this._decodeGeneric(R.tag,y,F):this._decodeChoice(y,F)),y.isError(z))return z;if(!R.any&&null===R.choice&&null!==R.children&&R.children.forEach(function(Te){Te._decode(y,F)}),R.contains&&("octstr"===R.tag||"bitstr"===R.tag)){var ae=new w(z);z=this._getUse(R.contains,y._reporterState.obj)._decode(ae,F)}}return R.obj&&W&&(z=y.leaveObject(J)),null===R.key||null===z&&!0!==W?null!==$&&y.exitKey($):y.leaveKey($,R.key,z),z},I.prototype._decodeGeneric=function(y,F,R){var z=this._baseState;return"seq"===y||"set"===y?null:"seqof"===y||"setof"===y?this._decodeList(F,y,z.args[0],R):/str$/.test(y)?this._decodeStr(F,y,R):"objid"===y&&z.args?this._decodeObjid(F,z.args[0],z.args[1],R):"objid"===y?this._decodeObjid(F,null,null,R):"gentime"===y||"utctime"===y?this._decodeTime(F,y,R):"null_"===y?this._decodeNull(F,R):"bool"===y?this._decodeBool(F,R):"objDesc"===y?this._decodeStr(F,y,R):"int"===y||"enum"===y?this._decodeInt(F,z.args&&z.args[0],R):null!==z.use?this._getUse(z.use,F._reporterState.obj)._decode(F,R):F.error("unknown tag: "+y)},I.prototype._getUse=function(y,F){var R=this._baseState;return R.useDecoder=this._use(y,F),S(null===R.useDecoder._baseState.parent),R.useDecoder=R.useDecoder._baseState.children[0],R.implicit!==R.useDecoder._baseState.implicit&&(R.useDecoder=R.useDecoder.clone(),R.useDecoder._baseState.implicit=R.implicit),R.useDecoder},I.prototype._decodeChoice=function(y,F){var R=this._baseState,z=null,W=!1;return Object.keys(R.choice).some(function($){var j=y.save(),Q=R.choice[$];try{var J=Q._decode(y,F);if(y.isError(J))return!1;z={type:$,value:J},W=!0}catch{return y.restore(j),!1}return!0},this),W?z:y.error("Choice not matched")},I.prototype._createEncoderBuffer=function(y){return new t(y,this.reporter)},I.prototype._encode=function(y,F,R){var z=this._baseState;if(null===z.default||z.default!==y){var W=this._encodeValue(y,F,R);if(void 0!==W&&!this._skipDefault(W,F,R))return W}},I.prototype._encodeValue=function(y,F,R){var z=this._baseState;if(null===z.parent)return z.children[0]._encode(y,F||new e);var Q=null;if(this.reporter=F,z.optional&&void 0===y){if(null===z.default)return;y=z.default}var W=null,$=!1;if(z.any)Q=this._createEncoderBuffer(y);else if(z.choice)Q=this._encodeChoice(y,F);else if(z.contains)W=this._getUse(z.contains,R)._encode(y,F),$=!0;else if(z.children)W=z.children.map(function(ie){if("null_"===ie._baseState.tag)return ie._encode(null,F,y);if(null===ie._baseState.key)return F.error("Child should have a key");var ge=F.enterKey(ie._baseState.key);if("object"!=typeof y)return F.error("Child expected, but input is not object");var ae=ie._encode(y[ie._baseState.key],F,y);return F.leaveKey(ge),ae},this).filter(function(ie){return ie}),W=this._createEncoderBuffer(W);else if("seqof"===z.tag||"setof"===z.tag){if(!z.args||1!==z.args.length)return F.error("Too many args for : "+z.tag);if(!Array.isArray(y))return F.error("seqof/setof, but data is not Array");var j=this.clone();j._baseState.implicit=null,W=this._createEncoderBuffer(y.map(function(ie){return this._getUse(this._baseState.args[0],y)._encode(ie,F)},j))}else null!==z.use?Q=this._getUse(z.use,R)._encode(y,F):(W=this._encodePrimitive(z.tag,y),$=!0);if(!z.any&&null===z.choice){var J=null!==z.implicit?z.implicit:z.tag,ee=null===z.implicit?"universal":"context";null===J?null===z.use&&F.error("Tag could be omitted only for .use()"):null===z.use&&(Q=this._encodeComposite(J,$,ee,W))}return null!==z.explicit&&(Q=this._encodeComposite(z.explicit,!1,"context",Q)),Q},I.prototype._encodeChoice=function(y,F){var R=this._baseState,z=R.choice[y.type];return z||S(!1,y.type+" not found in "+JSON.stringify(Object.keys(R.choice))),z._encode(y.value,F)},I.prototype._encodePrimitive=function(y,F){var R=this._baseState;if(/str$/.test(y))return this._encodeStr(F,y);if("objid"===y&&R.args)return this._encodeObjid(F,R.reverseArgs[0],R.args[1]);if("objid"===y)return this._encodeObjid(F,null,null);if("gentime"===y||"utctime"===y)return this._encodeTime(F,y);if("null_"===y)return this._encodeNull();if("int"===y||"enum"===y)return this._encodeInt(F,R.args&&R.reverseArgs[0]);if("bool"===y)return this._encodeBool(F);if("objDesc"===y)return this._encodeStr(F,y);throw new Error("Unsupported tag: "+y)},I.prototype._isNumstr=function(y){return/^[0-9 ]*$/.test(y)},I.prototype._isPrintstr=function(y){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(y)}},5697:(Qe,te,g)=>{var e=g(1993);function t(S){this._reporterState={obj:null,path:[],options:S||{},errors:[]}}function w(S,l){this.path=S,this.rethrow(l)}te.a=t,t.prototype.isError=function(l){return l instanceof w},t.prototype.save=function(){var l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},t.prototype.restore=function(l){var x=this._reporterState;x.obj=l.obj,x.path=x.path.slice(0,l.pathLen)},t.prototype.enterKey=function(l){return this._reporterState.path.push(l)},t.prototype.exitKey=function(l){var x=this._reporterState;x.path=x.path.slice(0,l-1)},t.prototype.leaveKey=function(l,x,f){var I=this._reporterState;this.exitKey(l),null!==I.obj&&(I.obj[x]=f)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){var l=this._reporterState,x=l.obj;return l.obj={},x},t.prototype.leaveObject=function(l){var x=this._reporterState,f=x.obj;return x.obj=l,f},t.prototype.error=function(l){var x,f=this._reporterState,I=l instanceof w;if(x=I?l:new w(f.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),l.message||l,l.stack),!f.options.partial)throw x;return I||f.errors.push(x),x},t.prototype.wrapResult=function(l){var x=this._reporterState;return x.options.partial?{result:this.isError(l)?null:l,errors:x.errors}:l},e(w,Error),w.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,w),!this.stack)try{throw new Error(this.message)}catch(x){this.stack=x.stack}return this}},6283:(Qe,te,g)=>{var e=g(7740);te.tagClass={0:"universal",1:"application",2:"context",3:"private"},te.tagClassByName=e._reverse(te.tagClass),te.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"},te.tagByName=e._reverse(te.tag)},7740:(Qe,te,g)=>{var e=te;e._reverse=function(w){var S={};return Object.keys(w).forEach(function(l){(0|l)==l&&(l|=0),S[w[l]]=l}),S},e.der=g(6283)},5941:(Qe,te,g)=>{var e=g(1993),t=g(1990),w=t.base,S=t.bignum,l=t.constants.der;function x(T){this.enc="der",this.name=T.name,this.entity=T,this.tree=new f,this.tree._init(T.body)}function f(T){w.Node.call(this,"der",T)}function I(T,y){var F=T.readUInt8(y);if(T.isError(F))return F;var R=l.tagClass[F>>6],z=!(32&F);if(31&~F)F&=31;else{var W=F;for(F=0;!(128&~W);){if(W=T.readUInt8(y),T.isError(W))return W;F<<=7,F|=127&W}}return{cls:R,primitive:z,tag:F,tagStr:l.tag[F]}}function d(T,y,F){var R=T.readUInt8(F);if(T.isError(R))return R;if(!y&&128===R)return null;if(!(128&R))return R;var z=127&R;if(z>4)return T.error("length octect is too long");R=0;for(var W=0;W<z;W++){R<<=8;var $=T.readUInt8(F);if(T.isError($))return $;R|=$}return R}Qe.exports=x,x.prototype.decode=function(y,F){return y instanceof w.DecoderBuffer||(y=new w.DecoderBuffer(y,F)),this.tree._decode(y,F)},e(f,w.Node),f.prototype._peekTag=function(y,F,R){if(y.isEmpty())return!1;var z=y.save(),W=I(y,'Failed to peek tag: "'+F+'"');return y.isError(W)?W:(y.restore(z),W.tag===F||W.tagStr===F||W.tagStr+"of"===F||R)},f.prototype._decodeTag=function(y,F,R){var z=I(y,'Failed to decode tag of "'+F+'"');if(y.isError(z))return z;var W=d(y,z.primitive,'Failed to get length of "'+F+'"');if(y.isError(W))return W;if(!R&&z.tag!==F&&z.tagStr!==F&&z.tagStr+"of"!==F)return y.error('Failed to match tag: "'+F+'"');if(z.primitive||null!==W)return y.skip(W,'Failed to match body of: "'+F+'"');var $=y.save(),j=this._skipUntilEnd(y,'Failed to skip indefinite length body: "'+this.tag+'"');return y.isError(j)?j:(W=y.offset-$.offset,y.restore($),y.skip(W,'Failed to match body of: "'+F+'"'))},f.prototype._skipUntilEnd=function(y,F){for(;;){var R=I(y,F);if(y.isError(R))return R;var W,z=d(y,R.primitive,F);if(y.isError(z))return z;if(W=R.primitive||null!==z?y.skip(z):this._skipUntilEnd(y,F),y.isError(W))return W;if("end"===R.tagStr)break}},f.prototype._decodeList=function(y,F,R,z){for(var W=[];!y.isEmpty();){var $=this._peekTag(y,"end");if(y.isError($))return $;var j=R.decode(y,"der",z);if(y.isError(j)&&$)break;W.push(j)}return W},f.prototype._decodeStr=function(y,F){if("bitstr"===F){var R=y.readUInt8();return y.isError(R)?R:{unused:R,data:y.raw()}}if("bmpstr"===F){var z=y.raw();if(z.length%2==1)return y.error("Decoding of string type: bmpstr length mismatch");for(var W="",$=0;$<z.length/2;$++)W+=String.fromCharCode(z.readUInt16BE(2*$));return W}if("numstr"===F){var j=y.raw().toString("ascii");return this._isNumstr(j)?j:y.error("Decoding of string type: numstr unsupported characters")}if("octstr"===F)return y.raw();if("objDesc"===F)return y.raw();if("printstr"===F){var Q=y.raw().toString("ascii");return this._isPrintstr(Q)?Q:y.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(F)?y.raw().toString():y.error("Decoding of string type: "+F+" unsupported")},f.prototype._decodeObjid=function(y,F,R){for(var z,W=[],$=0;!y.isEmpty();){var j=y.readUInt8();$<<=7,$|=127&j,128&j||(W.push($),$=0)}if(128&j&&W.push($),z=R?W:[W[0]/40|0,W[0]%40].concat(W.slice(1)),F){var ee=F[z.join(" ")];void 0===ee&&(ee=F[z.join(".")]),void 0!==ee&&(z=ee)}return z},f.prototype._decodeTime=function(y,F){var R=y.raw().toString();if("gentime"===F)var z=0|R.slice(0,4),W=0|R.slice(4,6),$=0|R.slice(6,8),j=0|R.slice(8,10),Q=0|R.slice(10,12),J=0|R.slice(12,14);else{if("utctime"!==F)return y.error("Decoding "+F+" time is not supported yet");z=0|R.slice(0,2),W=0|R.slice(2,4),$=0|R.slice(4,6),j=0|R.slice(6,8),Q=0|R.slice(8,10),J=0|R.slice(10,12),z=z<70?2e3+z:1900+z}return Date.UTC(z,W-1,$,j,Q,J,0)},f.prototype._decodeNull=function(y){return null},f.prototype._decodeBool=function(y){var F=y.readUInt8();return y.isError(F)?F:0!==F},f.prototype._decodeInt=function(y,F){var R=y.raw(),z=new S(R);return F&&(z=F[z.toString(10)]||z),z},f.prototype._use=function(y,F){return"function"==typeof y&&(y=y(F)),y._getDecoder("der").tree}},1558:(Qe,te,g)=>{var e=te;e.der=g(5941),e.pem=g(9316)},9316:(Qe,te,g)=>{var e=g(1993),t=g(3838).Buffer,w=g(5941);function S(l){w.call(this,l),this.enc="pem"}e(S,w),Qe.exports=S,S.prototype.decode=function(x,f){for(var I=x.toString().split(/[\r\n]+/g),d=f.label.toUpperCase(),T=/^-----(BEGIN|END) ([^-]+)-----$/,y=-1,F=-1,R=0;R<I.length;R++){var z=I[R].match(T);if(null!==z&&z[2]===d){if(-1!==y){if("END"!==z[1])break;F=R;break}if("BEGIN"!==z[1])break;y=R}}if(-1===y||-1===F)throw new Error("PEM section not found for: "+d);var W=I.slice(y+1,F).join("");W.replace(/[^a-z0-9\+\/=]+/gi,"");var $=new t(W,"base64");return w.prototype.decode.call(this,$,f)}},2193:(Qe,te,g)=>{var e=g(1993),t=g(3838).Buffer,w=g(1990),S=w.base,l=w.constants.der;function x(T){this.enc="der",this.name=T.name,this.entity=T,this.tree=new f,this.tree._init(T.body)}function f(T){S.Node.call(this,"der",T)}function I(T){return T<10?"0"+T:T}Qe.exports=x,x.prototype.encode=function(y,F){return this.tree._encode(y,F).join()},e(f,S.Node),f.prototype._encodeComposite=function(y,F,R,z){var Q,W=function d(T,y,F,R){var z;if("seqof"===T?T="seq":"setof"===T&&(T="set"),l.tagByName.hasOwnProperty(T))z=l.tagByName[T];else{if("number"!=typeof T||(0|T)!==T)return R.error("Unknown tag: "+T);z=T}return z>=31?R.error("Multi-octet tag encoding unsupported"):(y||(z|=32),z|=l.tagClassByName[F||"universal"]<<6)}(y,F,R,this.reporter);if(z.length<128)return(Q=new t(2))[0]=W,Q[1]=z.length,this._createEncoderBuffer([Q,z]);for(var $=1,j=z.length;j>=256;j>>=8)$++;(Q=new t(2+$))[0]=W,Q[1]=128|$,j=1+$;for(var J=z.length;J>0;j--,J>>=8)Q[j]=255&J;return this._createEncoderBuffer([Q,z])},f.prototype._encodeStr=function(y,F){if("bitstr"===F)return this._createEncoderBuffer([0|y.unused,y.data]);if("bmpstr"===F){for(var R=new t(2*y.length),z=0;z<y.length;z++)R.writeUInt16BE(y.charCodeAt(z),2*z);return this._createEncoderBuffer(R)}return"numstr"===F?this._isNumstr(y)?this._createEncoderBuffer(y):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===F?this._isPrintstr(y)?this._createEncoderBuffer(y):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(F)||"objDesc"===F?this._createEncoderBuffer(y):this.reporter.error("Encoding of string type: "+F+" unsupported")},f.prototype._encodeObjid=function(y,F,R){if("string"==typeof y){if(!F)return this.reporter.error("string objid given, but no values map found");if(!F.hasOwnProperty(y))return this.reporter.error("objid not found in values map");y=F[y].split(/[\s\.]+/g);for(var z=0;z<y.length;z++)y[z]|=0}else if(Array.isArray(y))for(y=y.slice(),z=0;z<y.length;z++)y[z]|=0;if(!Array.isArray(y))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(y));if(!R){if(y[1]>=40)return this.reporter.error("Second objid identifier OOB");y.splice(0,2,40*y[0]+y[1])}var W=0;for(z=0;z<y.length;z++){var $=y[z];for(W++;$>=128;$>>=7)W++}var j=new t(W),Q=j.length-1;for(z=y.length-1;z>=0;z--)for(j[Q--]=127&($=y[z]);($>>=7)>0;)j[Q--]=128|127&$;return this._createEncoderBuffer(j)},f.prototype._encodeTime=function(y,F){var R,z=new Date(y);return"gentime"===F?R=[I(z.getFullYear()),I(z.getUTCMonth()+1),I(z.getUTCDate()),I(z.getUTCHours()),I(z.getUTCMinutes()),I(z.getUTCSeconds()),"Z"].join(""):"utctime"===F?R=[I(z.getFullYear()%100),I(z.getUTCMonth()+1),I(z.getUTCDate()),I(z.getUTCHours()),I(z.getUTCMinutes()),I(z.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+F+" time is not supported yet"),this._encodeStr(R,"octstr")},f.prototype._encodeNull=function(){return this._createEncoderBuffer("")},f.prototype._encodeInt=function(y,F){if("string"==typeof y){if(!F)return this.reporter.error("String int or enum given, but no values map");if(!F.hasOwnProperty(y))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(y));y=F[y]}if("number"!=typeof y&&!t.isBuffer(y)){var R=y.toArray();!y.sign&&128&R[0]&&R.unshift(0),y=new t(R)}if(t.isBuffer(y)){var z=y.length;0===y.length&&z++;var $=new t(z);return y.copy($),0===y.length&&($[0]=0),this._createEncoderBuffer($)}if(y<128)return this._createEncoderBuffer(y);if(y<256)return this._createEncoderBuffer([0,y]);z=1;for(var W=y;W>=256;W>>=8)z++;for(W=($=new Array(z)).length-1;W>=0;W--)$[W]=255&y,y>>=8;return 128&$[0]&&$.unshift(0),this._createEncoderBuffer(new t($))},f.prototype._encodeBool=function(y){return this._createEncoderBuffer(y?255:0)},f.prototype._use=function(y,F){return"function"==typeof y&&(y=y(F)),y._getEncoder("der").tree},f.prototype._skipDefault=function(y,F,R){var W,z=this._baseState;if(null===z.default)return!1;var $=y.join();if(void 0===z.defaultBuffer&&(z.defaultBuffer=this._encodeValue(z.default,F,R).join()),$.length!==z.defaultBuffer.length)return!1;for(W=0;W<$.length;W++)if($[W]!==z.defaultBuffer[W])return!1;return!0}},2714:(Qe,te,g)=>{var e=te;e.der=g(2193),e.pem=g(4816)},4816:(Qe,te,g)=>{var e=g(1993),t=g(2193);function w(S){t.call(this,S),this.enc="pem"}e(w,t),Qe.exports=w,w.prototype.encode=function(l,x){for(var I=t.prototype.encode.call(this,l).toString("base64"),d=["-----BEGIN "+x.label+"-----"],T=0;T<I.length;T+=64)d.push(I.slice(T,T+64));return d.push("-----END "+x.label+"-----"),d.join("\n")}},6867:function(Qe,te,g){!function(e,t){"use strict";function w(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(8982).Buffer}catch{}function f(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function I(D,n,c){var m=f(D,c);return c-1>=n&&(m|=f(D,c-1)<<4),m}function d(D,n,c,m){for(var h=0,C=Math.min(D.length,c),k=n;k<C;k++){var L=D.charCodeAt(k)-48;h*=m,h+=L>=49?L-49+10:L>=17?L-17+10:L}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),w(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,m):(this._parseBase(n,c,h),"le"===m&&this._initArray(this.toArray(),c,m)))},l.prototype._initNumber=function(n,c,m){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(w(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),c,m)},l.prototype._initArray=function(n,c,m){if(w("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var C,k,L=0;if("be"===m)for(h=n.length-1,C=0;h>=0;h-=3)this.words[C]|=(k=n[h]|n[h-1]<<8|n[h-2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);else if("le"===m)for(h=0,C=0;h<n.length;h+=3)this.words[C]|=(k=n[h]|n[h+1]<<8|n[h+2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var L,C=0,k=0;if("be"===m)for(h=n.length-1;h>=c;h-=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=c)h++;h--,C=C/c|0;for(var k=n.length-m,L=k%h,_=Math.min(k,k-L)+m,r=0,v=m;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(C),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==L){var V=1;for(r=d(n,v,n.length,c),v=0;v<L;v++)V*=c;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var c=0;c<this.length;c++)n.words[c]=this.words[c];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],y=[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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(D,n,c){c.negative=n.negative^D.negative;var m=D.length+n.length|0;c.length=m,m=m-1|0;var h=0|D.words[0],C=0|n.words[0],k=h*C,_=k/67108864|0;c.words[0]=67108863&k;for(var r=1;r<m;r++){for(var v=_>>>26,V=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(k=(h=0|D.words[r-ne|0])*(C=0|n.words[ne])+V)/67108864|0,V=67108863&k;c.words[r]=0|V,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var h=0,C=0,k=0;k<this.length;k++){var L=this.words[k],_=(16777215&(L<<h|C)).toString(16);m=0!=(C=L>>>24-h&16777215)||k!==this.length-1?T[6-_.length]+_+m:_+m,(h+=2)>=26&&(h-=26,k--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=F[n];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(v).toString(n);m=(V=V.idivn(v)).isZero()?N+m:T[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}w(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&w(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,c){return w(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var h=this.byteLength(),C=m||Math.max(1,h);w(h<=C,"byte array longer than desired length"),w(C>0,"Requested array length <= 0"),this.strip();var _,r,k="le"===c,L=new n(C),v=this.clone();if(k){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[r]=_;for(;r<C;r++)L[r]=0}else{for(r=0;r<C-h;r++)L[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[C-r-1]=_}return L},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,m=0;return c>=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var m=this._zeroBits(this.words[c]);if(n+=m,26!==m)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return w(!(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var c;c=this.length>n.length?n:this;for(var m=0;m<c.length;m++)this.words[m]=this.words[m]&n.words[m];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return w(!(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var c,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var h=0;h<m.length;h++)this.words[h]=c.words[h]^m.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return w(!(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){w("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var h=0;h<c;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){w("number"==typeof n&&n>=0);var m=n/26|0,h=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,m,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(m=this,h=n):(m=n,h=this);for(var C=0,k=0;k<h.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+(0|h.words[k])+C),C=c>>>26;for(;0!==C&&k<m.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+C),C=c>>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;k<m.length;k++)this.words[k]=m.words[k];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,C=n):(h=n,C=this);for(var k=0,L=0;L<C.length;L++)k=(c=(0|h.words[L])-(0|C.words[L])+k)>>26,this.words[L]=67108863&c;for(;0!==k&&L<h.length;L++)k=(c=(0|h.words[L])+k)>>26,this.words[L]=67108863&c;if(0===k&&L<h.length&&h!==this)for(;L<h.length;L++)this.words[L]=h.words[L];return this.length=Math.max(this.length,L),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var W=function(n,c,m){var _,r,v,h=n.words,C=c.words,k=m.words,L=0,V=0|h[0],N=8191&V,ne=V>>>13,Ee=0|h[1],ze=8191&Ee,qe=Ee>>>13,Ke=0|h[2],se=8191&Ke,X=Ke>>>13,me=0|h[3],ce=8191&me,fe=me>>>13,ke=0|h[4],mt=8191&ke,_e=ke>>>13,be=0|h[5],pe=8191&be,Ze=be>>>13,_t=0|h[6],at=8191&_t,pt=_t>>>13,Xt=0|h[7],ye=8191&Xt,ue=Xt>>>13,Ie=0|h[8],He=8191&Ie,Xe=Ie>>>13,yt=0|h[9],Ye=8191&yt,rt=yt>>>13,Yt=0|C[0],Nt=8191&Yt,Et=Yt>>>13,Vt=0|C[1],oe=8191&Vt,tt=Vt>>>13,$t=0|C[2],zt=8191&$t,Jt=$t>>>13,St=0|C[3],dt=8191&St,Ae=St>>>13,we=0|C[4],he=8191&we,q=we>>>13,Re=0|C[5],Ne=8191&Re,gt=Re>>>13,$e=0|C[6],Fe=8191&$e,Ge=$e>>>13,et=0|C[7],st=8191&et,Tt=et>>>13,mi=0|C[8],Kt=8191&mi,Pt=mi>>>13,Xi=0|C[9],di=8191&Xi,fi=Xi>>>13;m.negative=n.negative^c.negative,m.length=19;var vn=(L+(_=Math.imul(N,Nt))|0)+((8191&(r=(r=Math.imul(N,Et))+Math.imul(ne,Nt)|0))<<13)|0;L=((v=Math.imul(ne,Et))+(r>>>13)|0)+(vn>>>26)|0,vn&=67108863,_=Math.imul(ze,Nt),r=(r=Math.imul(ze,Et))+Math.imul(qe,Nt)|0,v=Math.imul(qe,Et);var Qi=(L+(_=_+Math.imul(N,oe)|0)|0)+((8191&(r=(r=r+Math.imul(N,tt)|0)+Math.imul(ne,oe)|0))<<13)|0;L=((v=v+Math.imul(ne,tt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(se,Nt),r=(r=Math.imul(se,Et))+Math.imul(X,Nt)|0,v=Math.imul(X,Et),_=_+Math.imul(ze,oe)|0,r=(r=r+Math.imul(ze,tt)|0)+Math.imul(qe,oe)|0,v=v+Math.imul(qe,tt)|0;var Li=(L+(_=_+Math.imul(N,zt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Jt)|0)+Math.imul(ne,zt)|0))<<13)|0;L=((v=v+Math.imul(ne,Jt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(ce,Nt),r=(r=Math.imul(ce,Et))+Math.imul(fe,Nt)|0,v=Math.imul(fe,Et),_=_+Math.imul(se,oe)|0,r=(r=r+Math.imul(se,tt)|0)+Math.imul(X,oe)|0,v=v+Math.imul(X,tt)|0,_=_+Math.imul(ze,zt)|0,r=(r=r+Math.imul(ze,Jt)|0)+Math.imul(qe,zt)|0,v=v+Math.imul(qe,Jt)|0;var Zi=(L+(_=_+Math.imul(N,dt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ae)|0)+Math.imul(ne,dt)|0))<<13)|0;L=((v=v+Math.imul(ne,Ae)|0)+(r>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul(mt,Nt),r=(r=Math.imul(mt,Et))+Math.imul(_e,Nt)|0,v=Math.imul(_e,Et),_=_+Math.imul(ce,oe)|0,r=(r=r+Math.imul(ce,tt)|0)+Math.imul(fe,oe)|0,v=v+Math.imul(fe,tt)|0,_=_+Math.imul(se,zt)|0,r=(r=r+Math.imul(se,Jt)|0)+Math.imul(X,zt)|0,v=v+Math.imul(X,Jt)|0,_=_+Math.imul(ze,dt)|0,r=(r=r+Math.imul(ze,Ae)|0)+Math.imul(qe,dt)|0,v=v+Math.imul(qe,Ae)|0;var Qt=(L+(_=_+Math.imul(N,he)|0)|0)+((8191&(r=(r=r+Math.imul(N,q)|0)+Math.imul(ne,he)|0))<<13)|0;L=((v=v+Math.imul(ne,q)|0)+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,_=Math.imul(pe,Nt),r=(r=Math.imul(pe,Et))+Math.imul(Ze,Nt)|0,v=Math.imul(Ze,Et),_=_+Math.imul(mt,oe)|0,r=(r=r+Math.imul(mt,tt)|0)+Math.imul(_e,oe)|0,v=v+Math.imul(_e,tt)|0,_=_+Math.imul(ce,zt)|0,r=(r=r+Math.imul(ce,Jt)|0)+Math.imul(fe,zt)|0,v=v+Math.imul(fe,Jt)|0,_=_+Math.imul(se,dt)|0,r=(r=r+Math.imul(se,Ae)|0)+Math.imul(X,dt)|0,v=v+Math.imul(X,Ae)|0,_=_+Math.imul(ze,he)|0,r=(r=r+Math.imul(ze,q)|0)+Math.imul(qe,he)|0,v=v+Math.imul(qe,q)|0;var Mt=(L+(_=_+Math.imul(N,Ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(ne,Ne)|0))<<13)|0;L=((v=v+Math.imul(ne,gt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(at,Nt),r=(r=Math.imul(at,Et))+Math.imul(pt,Nt)|0,v=Math.imul(pt,Et),_=_+Math.imul(pe,oe)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(Ze,oe)|0,v=v+Math.imul(Ze,tt)|0,_=_+Math.imul(mt,zt)|0,r=(r=r+Math.imul(mt,Jt)|0)+Math.imul(_e,zt)|0,v=v+Math.imul(_e,Jt)|0,_=_+Math.imul(ce,dt)|0,r=(r=r+Math.imul(ce,Ae)|0)+Math.imul(fe,dt)|0,v=v+Math.imul(fe,Ae)|0,_=_+Math.imul(se,he)|0,r=(r=r+Math.imul(se,q)|0)+Math.imul(X,he)|0,v=v+Math.imul(X,q)|0,_=_+Math.imul(ze,Ne)|0,r=(r=r+Math.imul(ze,gt)|0)+Math.imul(qe,Ne)|0,v=v+Math.imul(qe,gt)|0;var it=(L+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ge)|0)+Math.imul(ne,Fe)|0))<<13)|0;L=((v=v+Math.imul(ne,Ge)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,_=Math.imul(ye,Nt),r=(r=Math.imul(ye,Et))+Math.imul(ue,Nt)|0,v=Math.imul(ue,Et),_=_+Math.imul(at,oe)|0,r=(r=r+Math.imul(at,tt)|0)+Math.imul(pt,oe)|0,v=v+Math.imul(pt,tt)|0,_=_+Math.imul(pe,zt)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(Ze,zt)|0,v=v+Math.imul(Ze,Jt)|0,_=_+Math.imul(mt,dt)|0,r=(r=r+Math.imul(mt,Ae)|0)+Math.imul(_e,dt)|0,v=v+Math.imul(_e,Ae)|0,_=_+Math.imul(ce,he)|0,r=(r=r+Math.imul(ce,q)|0)+Math.imul(fe,he)|0,v=v+Math.imul(fe,q)|0,_=_+Math.imul(se,Ne)|0,r=(r=r+Math.imul(se,gt)|0)+Math.imul(X,Ne)|0,v=v+Math.imul(X,gt)|0,_=_+Math.imul(ze,Fe)|0,r=(r=r+Math.imul(ze,Ge)|0)+Math.imul(qe,Fe)|0,v=v+Math.imul(qe,Ge)|0;var ct=(L+(_=_+Math.imul(N,st)|0)|0)+((8191&(r=(r=r+Math.imul(N,Tt)|0)+Math.imul(ne,st)|0))<<13)|0;L=((v=v+Math.imul(ne,Tt)|0)+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,_=Math.imul(He,Nt),r=(r=Math.imul(He,Et))+Math.imul(Xe,Nt)|0,v=Math.imul(Xe,Et),_=_+Math.imul(ye,oe)|0,r=(r=r+Math.imul(ye,tt)|0)+Math.imul(ue,oe)|0,v=v+Math.imul(ue,tt)|0,_=_+Math.imul(at,zt)|0,r=(r=r+Math.imul(at,Jt)|0)+Math.imul(pt,zt)|0,v=v+Math.imul(pt,Jt)|0,_=_+Math.imul(pe,dt)|0,r=(r=r+Math.imul(pe,Ae)|0)+Math.imul(Ze,dt)|0,v=v+Math.imul(Ze,Ae)|0,_=_+Math.imul(mt,he)|0,r=(r=r+Math.imul(mt,q)|0)+Math.imul(_e,he)|0,v=v+Math.imul(_e,q)|0,_=_+Math.imul(ce,Ne)|0,r=(r=r+Math.imul(ce,gt)|0)+Math.imul(fe,Ne)|0,v=v+Math.imul(fe,gt)|0,_=_+Math.imul(se,Fe)|0,r=(r=r+Math.imul(se,Ge)|0)+Math.imul(X,Fe)|0,v=v+Math.imul(X,Ge)|0,_=_+Math.imul(ze,st)|0,r=(r=r+Math.imul(ze,Tt)|0)+Math.imul(qe,st)|0,v=v+Math.imul(qe,Tt)|0;var wt=(L+(_=_+Math.imul(N,Kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(ne,Kt)|0))<<13)|0;L=((v=v+Math.imul(ne,Pt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,_=Math.imul(Ye,Nt),r=(r=Math.imul(Ye,Et))+Math.imul(rt,Nt)|0,v=Math.imul(rt,Et),_=_+Math.imul(He,oe)|0,r=(r=r+Math.imul(He,tt)|0)+Math.imul(Xe,oe)|0,v=v+Math.imul(Xe,tt)|0,_=_+Math.imul(ye,zt)|0,r=(r=r+Math.imul(ye,Jt)|0)+Math.imul(ue,zt)|0,v=v+Math.imul(ue,Jt)|0,_=_+Math.imul(at,dt)|0,r=(r=r+Math.imul(at,Ae)|0)+Math.imul(pt,dt)|0,v=v+Math.imul(pt,Ae)|0,_=_+Math.imul(pe,he)|0,r=(r=r+Math.imul(pe,q)|0)+Math.imul(Ze,he)|0,v=v+Math.imul(Ze,q)|0,_=_+Math.imul(mt,Ne)|0,r=(r=r+Math.imul(mt,gt)|0)+Math.imul(_e,Ne)|0,v=v+Math.imul(_e,gt)|0,_=_+Math.imul(ce,Fe)|0,r=(r=r+Math.imul(ce,Ge)|0)+Math.imul(fe,Fe)|0,v=v+Math.imul(fe,Ge)|0,_=_+Math.imul(se,st)|0,r=(r=r+Math.imul(se,Tt)|0)+Math.imul(X,st)|0,v=v+Math.imul(X,Tt)|0,_=_+Math.imul(ze,Kt)|0,r=(r=r+Math.imul(ze,Pt)|0)+Math.imul(qe,Kt)|0,v=v+Math.imul(qe,Pt)|0;var Ut=(L+(_=_+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(ne,di)|0))<<13)|0;L=((v=v+Math.imul(ne,fi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul(Ye,oe),r=(r=Math.imul(Ye,tt))+Math.imul(rt,oe)|0,v=Math.imul(rt,tt),_=_+Math.imul(He,zt)|0,r=(r=r+Math.imul(He,Jt)|0)+Math.imul(Xe,zt)|0,v=v+Math.imul(Xe,Jt)|0,_=_+Math.imul(ye,dt)|0,r=(r=r+Math.imul(ye,Ae)|0)+Math.imul(ue,dt)|0,v=v+Math.imul(ue,Ae)|0,_=_+Math.imul(at,he)|0,r=(r=r+Math.imul(at,q)|0)+Math.imul(pt,he)|0,v=v+Math.imul(pt,q)|0,_=_+Math.imul(pe,Ne)|0,r=(r=r+Math.imul(pe,gt)|0)+Math.imul(Ze,Ne)|0,v=v+Math.imul(Ze,gt)|0,_=_+Math.imul(mt,Fe)|0,r=(r=r+Math.imul(mt,Ge)|0)+Math.imul(_e,Fe)|0,v=v+Math.imul(_e,Ge)|0,_=_+Math.imul(ce,st)|0,r=(r=r+Math.imul(ce,Tt)|0)+Math.imul(fe,st)|0,v=v+Math.imul(fe,Tt)|0,_=_+Math.imul(se,Kt)|0,r=(r=r+Math.imul(se,Pt)|0)+Math.imul(X,Kt)|0,v=v+Math.imul(X,Pt)|0;var xi=(L+(_=_+Math.imul(ze,di)|0)|0)+((8191&(r=(r=r+Math.imul(ze,fi)|0)+Math.imul(qe,di)|0))<<13)|0;L=((v=v+Math.imul(qe,fi)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,_=Math.imul(Ye,zt),r=(r=Math.imul(Ye,Jt))+Math.imul(rt,zt)|0,v=Math.imul(rt,Jt),_=_+Math.imul(He,dt)|0,r=(r=r+Math.imul(He,Ae)|0)+Math.imul(Xe,dt)|0,v=v+Math.imul(Xe,Ae)|0,_=_+Math.imul(ye,he)|0,r=(r=r+Math.imul(ye,q)|0)+Math.imul(ue,he)|0,v=v+Math.imul(ue,q)|0,_=_+Math.imul(at,Ne)|0,r=(r=r+Math.imul(at,gt)|0)+Math.imul(pt,Ne)|0,v=v+Math.imul(pt,gt)|0,_=_+Math.imul(pe,Fe)|0,r=(r=r+Math.imul(pe,Ge)|0)+Math.imul(Ze,Fe)|0,v=v+Math.imul(Ze,Ge)|0,_=_+Math.imul(mt,st)|0,r=(r=r+Math.imul(mt,Tt)|0)+Math.imul(_e,st)|0,v=v+Math.imul(_e,Tt)|0,_=_+Math.imul(ce,Kt)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(fe,Kt)|0,v=v+Math.imul(fe,Pt)|0;var Si=(L+(_=_+Math.imul(se,di)|0)|0)+((8191&(r=(r=r+Math.imul(se,fi)|0)+Math.imul(X,di)|0))<<13)|0;L=((v=v+Math.imul(X,fi)|0)+(r>>>13)|0)+(Si>>>26)|0,Si&=67108863,_=Math.imul(Ye,dt),r=(r=Math.imul(Ye,Ae))+Math.imul(rt,dt)|0,v=Math.imul(rt,Ae),_=_+Math.imul(He,he)|0,r=(r=r+Math.imul(He,q)|0)+Math.imul(Xe,he)|0,v=v+Math.imul(Xe,q)|0,_=_+Math.imul(ye,Ne)|0,r=(r=r+Math.imul(ye,gt)|0)+Math.imul(ue,Ne)|0,v=v+Math.imul(ue,gt)|0,_=_+Math.imul(at,Fe)|0,r=(r=r+Math.imul(at,Ge)|0)+Math.imul(pt,Fe)|0,v=v+Math.imul(pt,Ge)|0,_=_+Math.imul(pe,st)|0,r=(r=r+Math.imul(pe,Tt)|0)+Math.imul(Ze,st)|0,v=v+Math.imul(Ze,Tt)|0,_=_+Math.imul(mt,Kt)|0,r=(r=r+Math.imul(mt,Pt)|0)+Math.imul(_e,Kt)|0,v=v+Math.imul(_e,Pt)|0;var zi=(L+(_=_+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(fe,di)|0))<<13)|0;L=((v=v+Math.imul(fe,fi)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,_=Math.imul(Ye,he),r=(r=Math.imul(Ye,q))+Math.imul(rt,he)|0,v=Math.imul(rt,q),_=_+Math.imul(He,Ne)|0,r=(r=r+Math.imul(He,gt)|0)+Math.imul(Xe,Ne)|0,v=v+Math.imul(Xe,gt)|0,_=_+Math.imul(ye,Fe)|0,r=(r=r+Math.imul(ye,Ge)|0)+Math.imul(ue,Fe)|0,v=v+Math.imul(ue,Ge)|0,_=_+Math.imul(at,st)|0,r=(r=r+Math.imul(at,Tt)|0)+Math.imul(pt,st)|0,v=v+Math.imul(pt,Tt)|0,_=_+Math.imul(pe,Kt)|0,r=(r=r+Math.imul(pe,Pt)|0)+Math.imul(Ze,Kt)|0,v=v+Math.imul(Ze,Pt)|0;var en=(L+(_=_+Math.imul(mt,di)|0)|0)+((8191&(r=(r=r+Math.imul(mt,fi)|0)+Math.imul(_e,di)|0))<<13)|0;L=((v=v+Math.imul(_e,fi)|0)+(r>>>13)|0)+(en>>>26)|0,en&=67108863,_=Math.imul(Ye,Ne),r=(r=Math.imul(Ye,gt))+Math.imul(rt,Ne)|0,v=Math.imul(rt,gt),_=_+Math.imul(He,Fe)|0,r=(r=r+Math.imul(He,Ge)|0)+Math.imul(Xe,Fe)|0,v=v+Math.imul(Xe,Ge)|0,_=_+Math.imul(ye,st)|0,r=(r=r+Math.imul(ye,Tt)|0)+Math.imul(ue,st)|0,v=v+Math.imul(ue,Tt)|0,_=_+Math.imul(at,Kt)|0,r=(r=r+Math.imul(at,Pt)|0)+Math.imul(pt,Kt)|0,v=v+Math.imul(pt,Pt)|0;var Ni=(L+(_=_+Math.imul(pe,di)|0)|0)+((8191&(r=(r=r+Math.imul(pe,fi)|0)+Math.imul(Ze,di)|0))<<13)|0;L=((v=v+Math.imul(Ze,fi)|0)+(r>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,_=Math.imul(Ye,Fe),r=(r=Math.imul(Ye,Ge))+Math.imul(rt,Fe)|0,v=Math.imul(rt,Ge),_=_+Math.imul(He,st)|0,r=(r=r+Math.imul(He,Tt)|0)+Math.imul(Xe,st)|0,v=v+Math.imul(Xe,Tt)|0,_=_+Math.imul(ye,Kt)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(ue,Kt)|0,v=v+Math.imul(ue,Pt)|0;var fn=(L+(_=_+Math.imul(at,di)|0)|0)+((8191&(r=(r=r+Math.imul(at,fi)|0)+Math.imul(pt,di)|0))<<13)|0;L=((v=v+Math.imul(pt,fi)|0)+(r>>>13)|0)+(fn>>>26)|0,fn&=67108863,_=Math.imul(Ye,st),r=(r=Math.imul(Ye,Tt))+Math.imul(rt,st)|0,v=Math.imul(rt,Tt),_=_+Math.imul(He,Kt)|0,r=(r=r+Math.imul(He,Pt)|0)+Math.imul(Xe,Kt)|0,v=v+Math.imul(Xe,Pt)|0;var Zt=(L+(_=_+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(ue,di)|0))<<13)|0;L=((v=v+Math.imul(ue,fi)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,_=Math.imul(Ye,Kt),r=(r=Math.imul(Ye,Pt))+Math.imul(rt,Kt)|0,v=Math.imul(rt,Pt);var bt=(L+(_=_+Math.imul(He,di)|0)|0)+((8191&(r=(r=r+Math.imul(He,fi)|0)+Math.imul(Xe,di)|0))<<13)|0;L=((v=v+Math.imul(Xe,fi)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863;var re=(L+(_=Math.imul(Ye,di))|0)+((8191&(r=(r=Math.imul(Ye,fi))+Math.imul(rt,di)|0))<<13)|0;return L=((v=Math.imul(rt,fi))+(r>>>13)|0)+(re>>>26)|0,re&=67108863,k[0]=vn,k[1]=Qi,k[2]=Li,k[3]=Zi,k[4]=Qt,k[5]=Mt,k[6]=it,k[7]=ct,k[8]=wt,k[9]=Ut,k[10]=xi,k[11]=Si,k[12]=zi,k[13]=en,k[14]=Ni,k[15]=fn,k[16]=Zt,k[17]=bt,k[18]=re,0!==L&&(k[19]=L,m.length++),m};function j(D,n,c){return(new Q).mulp(D,n,c)}function Q(D,n){this.x=D,this.y=n}Math.imul||(W=z),l.prototype.mulTo=function(n,c){var m,h=this.length+n.length;return m=10===this.length&&10===n.length?W(this,n,c):h<63?z(this,n,c):h<1024?function $(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var m=0,h=0,C=0;C<c.length-1;C++){var k=h;h=0;for(var L=67108863&m,_=Math.min(C,n.length-1),r=Math.max(0,C-D.length+1);r<=_;r++){var ne=(0|D.words[C-r])*(0|n.words[r]),Ee=67108863≠L=67108863&(Ee=Ee+L|0),h+=(k=(k=k+(ne/67108864|0)|0)+(Ee>>>26)|0)>>>26,k&=67108863}c.words[C]=L,m=k,k=h}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):j(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,m,n);return c},Q.prototype.revBin=function(n,c,m){if(0===n||n===m-1)return n;for(var h=0,C=0;C<c;C++)h|=(1&n)<<c-C-1,n>>=1;return h},Q.prototype.permute=function(n,c,m,h,C,k){for(var L=0;L<k;L++)h[L]=c[n[L]],C[L]=m[n[L]]},Q.prototype.transform=function(n,c,m,h,C,k){this.permute(k,n,c,m,h,C);for(var L=1;L<C;L<<=1)for(var _=L<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),V=0;V<C;V+=_)for(var N=r,ne=v,Ee=0;Ee<L;Ee++){var ze=m[V+Ee],qe=h[V+Ee],Ke=m[V+Ee+L],se=h[V+Ee+L],X=N*Ke-ne*se;se=N*se+ne*Ke,m[V+Ee]=ze+(Ke=X),h[V+Ee]=qe+se,m[V+Ee+L]=ze-Ke,h[V+Ee+L]=qe-se,Ee!==_&&(X=r*N-v*ne,ne=r*ne+v*N,N=X)}},Q.prototype.guessLen13b=function(n,c){var m=1|Math.max(c,n),h=1&m,C=0;for(m=m/2|0;m;m>>>=1)C++;return 1<<C+1+h},Q.prototype.conjugate=function(n,c,m){if(!(m<=1))for(var h=0;h<m/2;h++){var C=n[h];n[h]=n[m-h-1],n[m-h-1]=C,C=c[h],c[h]=-c[m-h-1],c[m-h-1]=-C}},Q.prototype.normalize13b=function(n,c){for(var m=0,h=0;h<c/2;h++){var C=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+m;n[h]=67108863&C,m=C<67108864?0:C/67108864|0}return n},Q.prototype.convert13b=function(n,c,m,h){for(var C=0,k=0;k<c;k++)m[2*k]=8191&(C+=0|n[k]),m[2*k+1]=8191&(C>>>=13),C>>>=13;for(k=2*c;k<h;++k)m[k]=0;w(0===C),w(!(-8192&C))},Q.prototype.stub=function(n){for(var c=new Array(n),m=0;m<n;m++)c[m]=0;return c},Q.prototype.mulp=function(n,c,m){var h=2*this.guessLen13b(n.length,c.length),C=this.makeRBT(h),k=this.stub(h),L=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),V=new Array(h),N=new Array(h),ne=m.words;ne.length=h,this.convert13b(n.words,n.length,L,h),this.convert13b(c.words,c.length,v,h),this.transform(L,k,_,r,h,C),this.transform(v,k,V,N,h,C);for(var Ee=0;Ee<h;Ee++){var ze=_[Ee]*V[Ee]-r[Ee]*N[Ee];r[Ee]=_[Ee]*N[Ee]+r[Ee]*V[Ee],_[Ee]=ze}return this.conjugate(_,r,h),this.transform(_,r,ne,k,h,C),this.conjugate(ne,k,h),this.normalize13b(ne,h),m.negative=n.negative^c.negative,m.length=n.length+c.length,m.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),j(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){w("number"==typeof n),w(n<67108864);for(var c=0,m=0;m<this.length;m++){var h=(0|this.words[m])*n,C=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var c=function R(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var m=this,h=0;h<c.length&&0===c[h];h++,m=m.sqr());if(++h<c.length)for(var C=m.sqr();h<c.length;h++,C=C.sqr())0!==c[h]&&(m=m.mul(C));return m},l.prototype.iushln=function(n){w("number"==typeof n&&n>=0);var C,c=n%26,m=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var k=0;for(C=0;C<this.length;C++){var L=this.words[C]&h;this.words[C]=(0|this.words[C])-L<<c|k,k=L>>>26-c}k&&(this.words[C]=k,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C<m;C++)this.words[C]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(n){return w(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,m){var h;w("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var C=n%26,k=Math.min((n-C)/26,this.length),L=67108863^67108863>>>C<<C,_=m;if(h-=k,h=Math.max(0,h),_){for(var r=0;r<k;r++)_.words[r]=this.words[r];_.length=k}if(0!==k)if(this.length>k)for(this.length-=k,r=0;r<this.length;r++)this.words[r]=this.words[r+k];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var V=0|this.words[r];this.words[r]=v<<26-C|V>>>C,v=V&L}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return w(0===this.negative),this.iushrn(n,c,m)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<<c))},l.prototype.imaskn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return w(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return w("number"==typeof n),w(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(w("number"==typeof n),w(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,c,m){var C;this._expand(n.length+m);var k,L=0;for(C=0;C<n.length;C++){k=(0|this.words[C+m])+L;var _=(0|n.words[C])*c;L=((k-=67108863&_)>>26)-(_/67108864|0),this.words[C+m]=67108863&k}for(;C<this.length-m;C++)L=(k=(0|this.words[C+m])+L)>>26,this.words[C+m]=67108863&k;if(0===L)return this.strip();for(w(-1===L),L=0,C=0;C<this.length;C++)L=(k=-(0|this.words[C])+L)>>26,this.words[C]=67108863&k;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,h=this.clone(),C=n,k=0|C.words[C.length-1];0!=(m=26-this._countBits(k))&&(C=C.ushln(m),h.iushln(m),k=0|C.words[C.length-1]);var r,_=h.length-C.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var V=h.clone()._ishlnsubmul(C,1,_);0===V.negative&&(h=V,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[C.length+N])+(0|h.words[C.length+N-1]);for(ne=Math.min(ne/k|0,67108863),h._ishlnsubmul(C,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(C,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,m){return w(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(k=this.neg().divmod(n,c),"mod"!==c&&(h=k.div.neg()),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(k=this.divmod(n.neg(),c),"mod"!==c&&(h=k.div.neg()),{div:h,mod:k.mod}):this.negative&n.negative?(k=this.neg().divmod(n.neg(),c),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:k.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,c);var h,C,k},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var c=this.divmod(n);if(c.mod.isZero())return c.div;var m=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),C=n.andln(1),k=m.cmp(h);return k<0||1===C&&0===k?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){w(n<=67108863);for(var c=(1<<26)%n,m=0,h=this.length-1;h>=0;h--)m=(c*m+(0|this.words[h]))%n;return m},l.prototype.idivn=function(n){w(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*c;this.words[m]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){w(0===n.negative),w(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=new l(0),L=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var r=m.clone(),v=c.clone();!c.isZero();){for(var V=0,N=1;!(c.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(c.iushrn(V);V-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(v)),h.iushrn(1),C.iushrn(1);for(var ne=0,Ee=1;!(m.words[0]&Ee)&&ne<26;++ne,Ee<<=1);if(ne>0)for(m.iushrn(ne);ne-- >0;)(k.isOdd()||L.isOdd())&&(k.iadd(r),L.isub(v)),k.iushrn(1),L.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(k),C.isub(L)):(m.isub(c),k.isub(h),L.isub(C))}return{a:k,b:L,gcd:m.iushln(_)}},l.prototype._invmp=function(n){w(0===n.negative),w(!n.isZero());var V,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var L=0,_=1;!(c.words[0]&_)&&L<26;++L,_<<=1);if(L>0)for(c.iushrn(L);L-- >0;)h.isOdd()&&h.iadd(k),h.iushrn(1);for(var r=0,v=1;!(m.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(m.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(k),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(C)):(m.isub(c),C.isub(h))}return(V=0===c.cmpn(1)?h:C).cmpn(0)<0&&V.iadd(n),V},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),m=n.clone();c.negative=0,m.negative=0;for(var h=0;c.isEven()&&m.isEven();h++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var k=c;c=m,m=k}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){w("number"==typeof n);var c=n%26,m=(n-c)/26,h=1<<c;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var C=h,k=m;0!==C&&k<this.length;k++){var L=0|this.words[k];C=(L+=C)>>>26,this.words[k]=L&=67108863}return 0!==C&&(this.words[k]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),w(n<=67108863,"Number is too big");var h=0|this.words[0];m=h===n?0:h<n?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],C=0|n.words[m];if(h!==C){h<C?c=-1:h>C&&(c=1);break}}return c},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new Te(n)},l.prototype.toRed=function(n){return w(!this.red,"Already a number in reduction context"),w(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return w(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return w(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return w(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return w(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return w(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return w(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return w(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return w(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return w(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return w(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return w(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return w(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return w(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ee(D,n){this.name=D,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ie(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ge(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Te(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else w(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function de(D){Te.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(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)}ee.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ee.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ee.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ee.prototype.imulK=function(n){return n.imul(this.k)},S(ie,ee),ie.prototype.split=function(n,c){for(var m=4194303,h=Math.min(n.length,9),C=0;C<h;C++)c.words[C]=n.words[C];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var k=n.words[9];for(c.words[c.length++]=k&m,C=10;C<n.length;C++){var L=0|n.words[C];n.words[C-10]=(L&m)<<4|k>>>22,k=L}n.words[C-10]=k>>>=22,n.length-=0===k&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m<n.length;m++){var h=0|n.words[m];n.words[m]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ge,ee),S(ae,ee),S(Me,ee),Me.prototype.imulK=function(n){for(var c=0,m=0;m<n.length;m++){var h=19*(0|n.words[m])+c,C=67108863&h;h>>>=26,n.words[m]=C,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ge;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Te.prototype._verify1=function(n){w(0===n.negative,"red works only with positives"),w(n.red,"red works only with red numbers")},Te.prototype._verify2=function(n,c){w(!(n.negative|c.negative),"red works only with positives"),w(n.red&&n.red===c.red,"red works only with red numbers")},Te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Te.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Te.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Te.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Te.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Te.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Te.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Te.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Te.prototype.isqr=function(n){return this.imul(n,n.clone())},Te.prototype.sqr=function(n){return this.mul(n,n)},Te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(w(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);w(!h.isZero());var k=new l(1).toRed(this),L=k.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(L);)r.redIAdd(L);for(var v=this.pow(r,h),V=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=C;0!==N.cmp(k);){for(var Ee=N,ze=0;0!==Ee.cmp(k);ze++)Ee=Ee.redSqr();w(ze<ne);var qe=this.pow(v,new l(1).iushln(ne-ze-1));V=V.redMul(qe),v=qe.redSqr(),N=N.redMul(v),ne=ze}return V},Te.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},Te.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var C=2;C<h.length;C++)h[C]=this.mul(h[C-1],n);var k=h[0],L=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),C=c.length-1;C>=0;C--){for(var v=c.words[C],V=r-1;V>=0;V--){var N=v>>V&1;k!==h[0]&&(k=this.sqr(k)),0!==N||0!==L?(L<<=1,L|=N,(4==++_||0===C&&0===V)&&(k=this.mul(k,h[L]),_=0,L=0)):_=0}r=26}return k},Te.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Te.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new de(n)},S(de,Te),de.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},de.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},de.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},3981:(Qe,te)=>{"use strict";te.byteLength=function f(R){var z=x(R),$=z[1];return 3*(z[0]+$)/4-$},te.toByteArray=function d(R){var z,ie,W=x(R),$=W[0],j=W[1],Q=new t(function I(R,z,W){return 3*(z+W)/4-W}(0,$,j)),J=0,ee=j>0?$-4:$;for(ie=0;ie<ee;ie+=4)z=e[R.charCodeAt(ie)]<<18|e[R.charCodeAt(ie+1)]<<12|e[R.charCodeAt(ie+2)]<<6|e[R.charCodeAt(ie+3)],Q[J++]=z>>16&255,Q[J++]=z>>8&255,Q[J++]=255&z;return 2===j&&(z=e[R.charCodeAt(ie)]<<2|e[R.charCodeAt(ie+1)]>>4,Q[J++]=255&z),1===j&&(z=e[R.charCodeAt(ie)]<<10|e[R.charCodeAt(ie+1)]<<4|e[R.charCodeAt(ie+2)]>>2,Q[J++]=z>>8&255,Q[J++]=255&z),Q},te.fromByteArray=function F(R){for(var z,W=R.length,$=W%3,j=[],Q=16383,J=0,ee=W-$;J<ee;J+=Q)j.push(y(R,J,J+Q>ee?ee:J+Q));return 1===$?j.push(g[(z=R[W-1])>>2]+g[z<<4&63]+"=="):2===$&&j.push(g[(z=(R[W-2]<<8)+R[W-1])>>10]+g[z>>4&63]+g[z<<2&63]+"="),j.join("")};for(var g=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S=0;S<64;++S)g[S]=w[S],e[w.charCodeAt(S)]=S;function x(R){var z=R.length;if(z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var W=R.indexOf("=");return-1===W&&(W=z),[W,W===z?0:4-W%4]}function T(R){return g[R>>18&63]+g[R>>12&63]+g[R>>6&63]+g[63&R]}function y(R,z,W){for(var j=[],Q=z;Q<W;Q+=3)j.push(T((R[Q]<<16&16711680)+(R[Q+1]<<8&65280)+(255&R[Q+2])));return j.join("")}e[45]=62,e[95]=63},917:function(Qe,te,g){!function(e,t){"use strict";function w(m,h){if(!m)throw new Error(h||"Assertion failed")}function S(m,h){m.super_=h;var C=function(){};C.prototype=h.prototype,m.prototype=new C,m.prototype.constructor=m}function l(m,h,C){if(l.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,null!==m&&(("le"===h||"be"===h)&&(C=h,h=10),this._init(m||0,h||10,C||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(7790).Buffer}catch{}function f(m,h){var C=m.charCodeAt(h);return C>=48&&C<=57?C-48:C>=65&&C<=70?C-55:C>=97&&C<=102?C-87:void w(!1,"Invalid character in "+m)}function I(m,h,C){var k=f(m,C);return C-1>=h&&(k|=f(m,C-1)<<4),k}function d(m,h,C,k){for(var L=0,_=0,r=Math.min(m.length,C),v=h;v<r;v++){var V=m.charCodeAt(v)-48;L*=k,_=V>=49?V-49+10:V>=17?V-17+10:V,w(V>=0&&_<k,"Invalid character"),L+=_}return L}function T(m,h){m.words=h.words,m.length=h.length,m.negative=h.negative,m.red=h.red}if(l.isBN=function(h){return h instanceof l||null!==h&&"object"==typeof h&&h.constructor.wordSize===l.wordSize&&Array.isArray(h.words)},l.max=function(h,C){return h.cmp(C)>0?h:C},l.min=function(h,C){return h.cmp(C)<0?h:C},l.prototype._init=function(h,C,k){if("number"==typeof h)return this._initNumber(h,C,k);if("object"==typeof h)return this._initArray(h,C,k);"hex"===C&&(C=16),w(C===(0|C)&&C>=2&&C<=36);var L=0;"-"===(h=h.toString().replace(/\s+/g,""))[0]&&(L++,this.negative=1),L<h.length&&(16===C?this._parseHex(h,L,k):(this._parseBase(h,C,L),"le"===k&&this._initArray(this.toArray(),C,k)))},l.prototype._initNumber=function(h,C,k){h<0&&(this.negative=1,h=-h),h<67108864?(this.words=[67108863&h],this.length=1):h<4503599627370496?(this.words=[67108863&h,h/67108864&67108863],this.length=2):(w(h<9007199254740992),this.words=[67108863&h,h/67108864&67108863,1],this.length=3),"le"===k&&this._initArray(this.toArray(),C,k)},l.prototype._initArray=function(h,C,k){if(w("number"==typeof h.length),h.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(h.length/3),this.words=new Array(this.length);for(var L=0;L<this.length;L++)this.words[L]=0;var _,r,v=0;if("be"===k)for(L=h.length-1,_=0;L>=0;L-=3)this.words[_]|=(r=h[L]|h[L-1]<<8|h[L-2]<<16)<<v&67108863,this.words[_+1]=r>>>26-v&67108863,(v+=24)>=26&&(v-=26,_++);else if("le"===k)for(L=0,_=0;L<h.length;L+=3)this.words[_]|=(r=h[L]|h[L+1]<<8|h[L+2]<<16)<<v&67108863,this.words[_+1]=r>>>26-v&67108863,(v+=24)>=26&&(v-=26,_++);return this._strip()},l.prototype._parseHex=function(h,C,k){this.length=Math.ceil((h.length-C)/6),this.words=new Array(this.length);for(var L=0;L<this.length;L++)this.words[L]=0;var v,_=0,r=0;if("be"===k)for(L=h.length-1;L>=C;L-=2)v=I(h,C,L)<<_,this.words[r]|=67108863&v,_>=18?(_-=18,this.words[r+=1]|=v>>>26):_+=8;else for(L=(h.length-C)%2==0?C+1:C;L<h.length;L+=2)v=I(h,C,L)<<_,this.words[r]|=67108863&v,_>=18?(_-=18,this.words[r+=1]|=v>>>26):_+=8;this._strip()},l.prototype._parseBase=function(h,C,k){this.words=[0],this.length=1;for(var L=0,_=1;_<=67108863;_*=C)L++;L--,_=_/C|0;for(var r=h.length-k,v=r%L,V=Math.min(r,r-v)+k,N=0,ne=k;ne<V;ne+=L)N=d(h,ne,ne+L,C),this.imuln(_),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N);if(0!==v){var Ee=1;for(N=d(h,ne,h.length,C),ne=0;ne<v;ne++)Ee*=C;this.imuln(Ee),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N)}this._strip()},l.prototype.copy=function(h){h.words=new Array(this.length);for(var C=0;C<this.length;C++)h.words[C]=this.words[C];h.length=this.length,h.negative=this.negative,h.red=this.red},l.prototype._move=function(h){T(h,this)},l.prototype.clone=function(){var h=new l(null);return this.copy(h),h},l.prototype._expand=function(h){for(;this.length<h;)this.words[this.length++]=0;return this},l.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{l.prototype[Symbol.for("nodejs.util.inspect.custom")]=y}catch{l.prototype.inspect=y}else l.prototype.inspect=y;function y(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var F=["","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"],R=[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],z=[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 j(m,h,C){C.negative=h.negative^m.negative;var k=m.length+h.length|0;C.length=k,k=k-1|0;var L=0|m.words[0],_=0|h.words[0],r=L*_,V=r/67108864|0;C.words[0]=67108863&r;for(var N=1;N<k;N++){for(var ne=V>>>26,Ee=67108863&V,ze=Math.min(N,h.length-1),qe=Math.max(0,N-m.length+1);qe<=ze;qe++)ne+=(r=(L=0|m.words[N-qe|0])*(_=0|h.words[qe])+Ee)/67108864|0,Ee=67108863&r;C.words[N]=0|Ee,V=0|ne}return 0!==V?C.words[N]=0|V:C.length--,C._strip()}l.prototype.toString=function(h,C){var k;if(C=0|C||1,16===(h=h||10)||"hex"===h){k="";for(var L=0,_=0,r=0;r<this.length;r++){var v=this.words[r],V=(16777215&(v<<L|_)).toString(16);_=v>>>24-L&16777215,(L+=2)>=26&&(L-=26,r--),k=0!==_||r!==this.length-1?F[6-V.length]+V+k:V+k}for(0!==_&&(k=_.toString(16)+k);k.length%C!=0;)k="0"+k;return 0!==this.negative&&(k="-"+k),k}if(h===(0|h)&&h>=2&&h<=36){var N=R[h],ne=z[h];k="";var Ee=this.clone();for(Ee.negative=0;!Ee.isZero();){var ze=Ee.modrn(ne).toString(h);k=(Ee=Ee.idivn(ne)).isZero()?ze+k:F[N-ze.length]+ze+k}for(this.isZero()&&(k="0"+k);k.length%C!=0;)k="0"+k;return 0!==this.negative&&(k="-"+k),k}w(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var h=this.words[0];return 2===this.length?h+=67108864*this.words[1]:3===this.length&&1===this.words[2]?h+=4503599627370496+67108864*this.words[1]:this.length>2&&w(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-h:h},l.prototype.toJSON=function(){return this.toString(16,2)},x&&(l.prototype.toBuffer=function(h,C){return this.toArrayLike(x,h,C)}),l.prototype.toArray=function(h,C){return this.toArrayLike(Array,h,C)},l.prototype.toArrayLike=function(h,C,k){this._strip();var L=this.byteLength(),_=k||Math.max(1,L);w(L<=_,"byte array longer than desired length"),w(_>0,"Requested array length <= 0");var r=function(h,C){return h.allocUnsafe?h.allocUnsafe(C):new h(C)}(h,_);return this["_toArrayLike"+("le"===C?"LE":"BE")](r,L),r},l.prototype._toArrayLikeLE=function(h,C){for(var k=0,L=0,_=0,r=0;_<this.length;_++){var v=this.words[_]<<r|L;h[k++]=255&v,k<h.length&&(h[k++]=v>>8&255),k<h.length&&(h[k++]=v>>16&255),6===r?(k<h.length&&(h[k++]=v>>24&255),L=0,r=0):(L=v>>>24,r+=2)}if(k<h.length)for(h[k++]=L;k<h.length;)h[k++]=0},l.prototype._toArrayLikeBE=function(h,C){for(var k=h.length-1,L=0,_=0,r=0;_<this.length;_++){var v=this.words[_]<<r|L;h[k--]=255&v,k>=0&&(h[k--]=v>>8&255),k>=0&&(h[k--]=v>>16&255),6===r?(k>=0&&(h[k--]=v>>24&255),L=0,r=0):(L=v>>>24,r+=2)}if(k>=0)for(h[k--]=L;k>=0;)h[k--]=0},l.prototype._countBits=Math.clz32?function(h){return 32-Math.clz32(h)}:function(h){var C=h,k=0;return C>=4096&&(k+=13,C>>>=13),C>=64&&(k+=7,C>>>=7),C>=8&&(k+=4,C>>>=4),C>=2&&(k+=2,C>>>=2),k+C},l.prototype._zeroBits=function(h){if(0===h)return 26;var C=h,k=0;return 8191&C||(k+=13,C>>>=13),127&C||(k+=7,C>>>=7),15&C||(k+=4,C>>>=4),3&C||(k+=2,C>>>=2),1&C||k++,k},l.prototype.bitLength=function(){var C=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+C},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,C=0;C<this.length;C++){var k=this._zeroBits(this.words[C]);if(h+=k,26!==k)break}return h},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(h){return 0!==this.negative?this.abs().inotn(h).iaddn(1):this.clone()},l.prototype.fromTwos=function(h){return this.testn(h-1)?this.notn(h).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(h){for(;this.length<h.length;)this.words[this.length++]=0;for(var C=0;C<h.length;C++)this.words[C]=this.words[C]|h.words[C];return this._strip()},l.prototype.ior=function(h){return w(!(this.negative|h.negative)),this.iuor(h)},l.prototype.or=function(h){return this.length>h.length?this.clone().ior(h):h.clone().ior(this)},l.prototype.uor=function(h){return this.length>h.length?this.clone().iuor(h):h.clone().iuor(this)},l.prototype.iuand=function(h){var C;C=this.length>h.length?h:this;for(var k=0;k<C.length;k++)this.words[k]=this.words[k]&h.words[k];return this.length=C.length,this._strip()},l.prototype.iand=function(h){return w(!(this.negative|h.negative)),this.iuand(h)},l.prototype.and=function(h){return this.length>h.length?this.clone().iand(h):h.clone().iand(this)},l.prototype.uand=function(h){return this.length>h.length?this.clone().iuand(h):h.clone().iuand(this)},l.prototype.iuxor=function(h){var C,k;this.length>h.length?(C=this,k=h):(C=h,k=this);for(var L=0;L<k.length;L++)this.words[L]=C.words[L]^k.words[L];if(this!==C)for(;L<C.length;L++)this.words[L]=C.words[L];return this.length=C.length,this._strip()},l.prototype.ixor=function(h){return w(!(this.negative|h.negative)),this.iuxor(h)},l.prototype.xor=function(h){return this.length>h.length?this.clone().ixor(h):h.clone().ixor(this)},l.prototype.uxor=function(h){return this.length>h.length?this.clone().iuxor(h):h.clone().iuxor(this)},l.prototype.inotn=function(h){w("number"==typeof h&&h>=0);var C=0|Math.ceil(h/26),k=h%26;this._expand(C),k>0&&C--;for(var L=0;L<C;L++)this.words[L]=67108863&~this.words[L];return k>0&&(this.words[L]=~this.words[L]&67108863>>26-k),this._strip()},l.prototype.notn=function(h){return this.clone().inotn(h)},l.prototype.setn=function(h,C){w("number"==typeof h&&h>=0);var k=h/26|0,L=h%26;return this._expand(k+1),this.words[k]=C?this.words[k]|1<<L:this.words[k]&~(1<<L),this._strip()},l.prototype.iadd=function(h){var C,k,L;if(0!==this.negative&&0===h.negative)return this.negative=0,C=this.isub(h),this.negative^=1,this._normSign();if(0===this.negative&&0!==h.negative)return h.negative=0,C=this.isub(h),h.negative=1,C._normSign();this.length>h.length?(k=this,L=h):(k=h,L=this);for(var _=0,r=0;r<L.length;r++)this.words[r]=67108863&(C=(0|k.words[r])+(0|L.words[r])+_),_=C>>>26;for(;0!==_&&r<k.length;r++)this.words[r]=67108863&(C=(0|k.words[r])+_),_=C>>>26;if(this.length=k.length,0!==_)this.words[this.length]=_,this.length++;else if(k!==this)for(;r<k.length;r++)this.words[r]=k.words[r];return this},l.prototype.add=function(h){var C;return 0!==h.negative&&0===this.negative?(h.negative=0,C=this.sub(h),h.negative^=1,C):0===h.negative&&0!==this.negative?(this.negative=0,C=h.sub(this),this.negative=1,C):this.length>h.length?this.clone().iadd(h):h.clone().iadd(this)},l.prototype.isub=function(h){if(0!==h.negative){h.negative=0;var C=this.iadd(h);return h.negative=1,C._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var L,_,k=this.cmp(h);if(0===k)return this.negative=0,this.length=1,this.words[0]=0,this;k>0?(L=this,_=h):(L=h,_=this);for(var r=0,v=0;v<_.length;v++)r=(C=(0|L.words[v])-(0|_.words[v])+r)>>26,this.words[v]=67108863&C;for(;0!==r&&v<L.length;v++)r=(C=(0|L.words[v])+r)>>26,this.words[v]=67108863&C;if(0===r&&v<L.length&&L!==this)for(;v<L.length;v++)this.words[v]=L.words[v];return this.length=Math.max(this.length,v),L!==this&&(this.negative=1),this._strip()},l.prototype.sub=function(h){return this.clone().isub(h)};var Q=function(h,C,k){var V,N,ne,L=h.words,_=C.words,r=k.words,v=0,Ee=0|L[0],ze=8191&Ee,qe=Ee>>>13,Ke=0|L[1],se=8191&Ke,X=Ke>>>13,me=0|L[2],ce=8191&me,fe=me>>>13,ke=0|L[3],mt=8191&ke,_e=ke>>>13,be=0|L[4],pe=8191&be,Ze=be>>>13,_t=0|L[5],at=8191&_t,pt=_t>>>13,Xt=0|L[6],ye=8191&Xt,ue=Xt>>>13,Ie=0|L[7],He=8191&Ie,Xe=Ie>>>13,yt=0|L[8],Ye=8191&yt,rt=yt>>>13,Yt=0|L[9],Nt=8191&Yt,Et=Yt>>>13,Vt=0|_[0],oe=8191&Vt,tt=Vt>>>13,$t=0|_[1],zt=8191&$t,Jt=$t>>>13,St=0|_[2],dt=8191&St,Ae=St>>>13,we=0|_[3],he=8191&we,q=we>>>13,Re=0|_[4],Ne=8191&Re,gt=Re>>>13,$e=0|_[5],Fe=8191&$e,Ge=$e>>>13,et=0|_[6],st=8191&et,Tt=et>>>13,mi=0|_[7],Kt=8191&mi,Pt=mi>>>13,Xi=0|_[8],di=8191&Xi,fi=Xi>>>13,vn=0|_[9],Qi=8191&vn,Li=vn>>>13;k.negative=h.negative^C.negative,k.length=19;var Zi=(v+(V=Math.imul(ze,oe))|0)+((8191&(N=(N=Math.imul(ze,tt))+Math.imul(qe,oe)|0))<<13)|0;v=((ne=Math.imul(qe,tt))+(N>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,V=Math.imul(se,oe),N=(N=Math.imul(se,tt))+Math.imul(X,oe)|0,ne=Math.imul(X,tt);var Qt=(v+(V=V+Math.imul(ze,zt)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Jt)|0)+Math.imul(qe,zt)|0))<<13)|0;v=((ne=ne+Math.imul(qe,Jt)|0)+(N>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,V=Math.imul(ce,oe),N=(N=Math.imul(ce,tt))+Math.imul(fe,oe)|0,ne=Math.imul(fe,tt),V=V+Math.imul(se,zt)|0,N=(N=N+Math.imul(se,Jt)|0)+Math.imul(X,zt)|0,ne=ne+Math.imul(X,Jt)|0;var Mt=(v+(V=V+Math.imul(ze,dt)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Ae)|0)+Math.imul(qe,dt)|0))<<13)|0;v=((ne=ne+Math.imul(qe,Ae)|0)+(N>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,V=Math.imul(mt,oe),N=(N=Math.imul(mt,tt))+Math.imul(_e,oe)|0,ne=Math.imul(_e,tt),V=V+Math.imul(ce,zt)|0,N=(N=N+Math.imul(ce,Jt)|0)+Math.imul(fe,zt)|0,ne=ne+Math.imul(fe,Jt)|0,V=V+Math.imul(se,dt)|0,N=(N=N+Math.imul(se,Ae)|0)+Math.imul(X,dt)|0,ne=ne+Math.imul(X,Ae)|0;var it=(v+(V=V+Math.imul(ze,he)|0)|0)+((8191&(N=(N=N+Math.imul(ze,q)|0)+Math.imul(qe,he)|0))<<13)|0;v=((ne=ne+Math.imul(qe,q)|0)+(N>>>13)|0)+(it>>>26)|0,it&=67108863,V=Math.imul(pe,oe),N=(N=Math.imul(pe,tt))+Math.imul(Ze,oe)|0,ne=Math.imul(Ze,tt),V=V+Math.imul(mt,zt)|0,N=(N=N+Math.imul(mt,Jt)|0)+Math.imul(_e,zt)|0,ne=ne+Math.imul(_e,Jt)|0,V=V+Math.imul(ce,dt)|0,N=(N=N+Math.imul(ce,Ae)|0)+Math.imul(fe,dt)|0,ne=ne+Math.imul(fe,Ae)|0,V=V+Math.imul(se,he)|0,N=(N=N+Math.imul(se,q)|0)+Math.imul(X,he)|0,ne=ne+Math.imul(X,q)|0;var ct=(v+(V=V+Math.imul(ze,Ne)|0)|0)+((8191&(N=(N=N+Math.imul(ze,gt)|0)+Math.imul(qe,Ne)|0))<<13)|0;v=((ne=ne+Math.imul(qe,gt)|0)+(N>>>13)|0)+(ct>>>26)|0,ct&=67108863,V=Math.imul(at,oe),N=(N=Math.imul(at,tt))+Math.imul(pt,oe)|0,ne=Math.imul(pt,tt),V=V+Math.imul(pe,zt)|0,N=(N=N+Math.imul(pe,Jt)|0)+Math.imul(Ze,zt)|0,ne=ne+Math.imul(Ze,Jt)|0,V=V+Math.imul(mt,dt)|0,N=(N=N+Math.imul(mt,Ae)|0)+Math.imul(_e,dt)|0,ne=ne+Math.imul(_e,Ae)|0,V=V+Math.imul(ce,he)|0,N=(N=N+Math.imul(ce,q)|0)+Math.imul(fe,he)|0,ne=ne+Math.imul(fe,q)|0,V=V+Math.imul(se,Ne)|0,N=(N=N+Math.imul(se,gt)|0)+Math.imul(X,Ne)|0,ne=ne+Math.imul(X,gt)|0;var wt=(v+(V=V+Math.imul(ze,Fe)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Ge)|0)+Math.imul(qe,Fe)|0))<<13)|0;v=((ne=ne+Math.imul(qe,Ge)|0)+(N>>>13)|0)+(wt>>>26)|0,wt&=67108863,V=Math.imul(ye,oe),N=(N=Math.imul(ye,tt))+Math.imul(ue,oe)|0,ne=Math.imul(ue,tt),V=V+Math.imul(at,zt)|0,N=(N=N+Math.imul(at,Jt)|0)+Math.imul(pt,zt)|0,ne=ne+Math.imul(pt,Jt)|0,V=V+Math.imul(pe,dt)|0,N=(N=N+Math.imul(pe,Ae)|0)+Math.imul(Ze,dt)|0,ne=ne+Math.imul(Ze,Ae)|0,V=V+Math.imul(mt,he)|0,N=(N=N+Math.imul(mt,q)|0)+Math.imul(_e,he)|0,ne=ne+Math.imul(_e,q)|0,V=V+Math.imul(ce,Ne)|0,N=(N=N+Math.imul(ce,gt)|0)+Math.imul(fe,Ne)|0,ne=ne+Math.imul(fe,gt)|0,V=V+Math.imul(se,Fe)|0,N=(N=N+Math.imul(se,Ge)|0)+Math.imul(X,Fe)|0,ne=ne+Math.imul(X,Ge)|0;var Ut=(v+(V=V+Math.imul(ze,st)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Tt)|0)+Math.imul(qe,st)|0))<<13)|0;v=((ne=ne+Math.imul(qe,Tt)|0)+(N>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,V=Math.imul(He,oe),N=(N=Math.imul(He,tt))+Math.imul(Xe,oe)|0,ne=Math.imul(Xe,tt),V=V+Math.imul(ye,zt)|0,N=(N=N+Math.imul(ye,Jt)|0)+Math.imul(ue,zt)|0,ne=ne+Math.imul(ue,Jt)|0,V=V+Math.imul(at,dt)|0,N=(N=N+Math.imul(at,Ae)|0)+Math.imul(pt,dt)|0,ne=ne+Math.imul(pt,Ae)|0,V=V+Math.imul(pe,he)|0,N=(N=N+Math.imul(pe,q)|0)+Math.imul(Ze,he)|0,ne=ne+Math.imul(Ze,q)|0,V=V+Math.imul(mt,Ne)|0,N=(N=N+Math.imul(mt,gt)|0)+Math.imul(_e,Ne)|0,ne=ne+Math.imul(_e,gt)|0,V=V+Math.imul(ce,Fe)|0,N=(N=N+Math.imul(ce,Ge)|0)+Math.imul(fe,Fe)|0,ne=ne+Math.imul(fe,Ge)|0,V=V+Math.imul(se,st)|0,N=(N=N+Math.imul(se,Tt)|0)+Math.imul(X,st)|0,ne=ne+Math.imul(X,Tt)|0;var xi=(v+(V=V+Math.imul(ze,Kt)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Pt)|0)+Math.imul(qe,Kt)|0))<<13)|0;v=((ne=ne+Math.imul(qe,Pt)|0)+(N>>>13)|0)+(xi>>>26)|0,xi&=67108863,V=Math.imul(Ye,oe),N=(N=Math.imul(Ye,tt))+Math.imul(rt,oe)|0,ne=Math.imul(rt,tt),V=V+Math.imul(He,zt)|0,N=(N=N+Math.imul(He,Jt)|0)+Math.imul(Xe,zt)|0,ne=ne+Math.imul(Xe,Jt)|0,V=V+Math.imul(ye,dt)|0,N=(N=N+Math.imul(ye,Ae)|0)+Math.imul(ue,dt)|0,ne=ne+Math.imul(ue,Ae)|0,V=V+Math.imul(at,he)|0,N=(N=N+Math.imul(at,q)|0)+Math.imul(pt,he)|0,ne=ne+Math.imul(pt,q)|0,V=V+Math.imul(pe,Ne)|0,N=(N=N+Math.imul(pe,gt)|0)+Math.imul(Ze,Ne)|0,ne=ne+Math.imul(Ze,gt)|0,V=V+Math.imul(mt,Fe)|0,N=(N=N+Math.imul(mt,Ge)|0)+Math.imul(_e,Fe)|0,ne=ne+Math.imul(_e,Ge)|0,V=V+Math.imul(ce,st)|0,N=(N=N+Math.imul(ce,Tt)|0)+Math.imul(fe,st)|0,ne=ne+Math.imul(fe,Tt)|0,V=V+Math.imul(se,Kt)|0,N=(N=N+Math.imul(se,Pt)|0)+Math.imul(X,Kt)|0,ne=ne+Math.imul(X,Pt)|0;var Si=(v+(V=V+Math.imul(ze,di)|0)|0)+((8191&(N=(N=N+Math.imul(ze,fi)|0)+Math.imul(qe,di)|0))<<13)|0;v=((ne=ne+Math.imul(qe,fi)|0)+(N>>>13)|0)+(Si>>>26)|0,Si&=67108863,V=Math.imul(Nt,oe),N=(N=Math.imul(Nt,tt))+Math.imul(Et,oe)|0,ne=Math.imul(Et,tt),V=V+Math.imul(Ye,zt)|0,N=(N=N+Math.imul(Ye,Jt)|0)+Math.imul(rt,zt)|0,ne=ne+Math.imul(rt,Jt)|0,V=V+Math.imul(He,dt)|0,N=(N=N+Math.imul(He,Ae)|0)+Math.imul(Xe,dt)|0,ne=ne+Math.imul(Xe,Ae)|0,V=V+Math.imul(ye,he)|0,N=(N=N+Math.imul(ye,q)|0)+Math.imul(ue,he)|0,ne=ne+Math.imul(ue,q)|0,V=V+Math.imul(at,Ne)|0,N=(N=N+Math.imul(at,gt)|0)+Math.imul(pt,Ne)|0,ne=ne+Math.imul(pt,gt)|0,V=V+Math.imul(pe,Fe)|0,N=(N=N+Math.imul(pe,Ge)|0)+Math.imul(Ze,Fe)|0,ne=ne+Math.imul(Ze,Ge)|0,V=V+Math.imul(mt,st)|0,N=(N=N+Math.imul(mt,Tt)|0)+Math.imul(_e,st)|0,ne=ne+Math.imul(_e,Tt)|0,V=V+Math.imul(ce,Kt)|0,N=(N=N+Math.imul(ce,Pt)|0)+Math.imul(fe,Kt)|0,ne=ne+Math.imul(fe,Pt)|0,V=V+Math.imul(se,di)|0,N=(N=N+Math.imul(se,fi)|0)+Math.imul(X,di)|0,ne=ne+Math.imul(X,fi)|0;var zi=(v+(V=V+Math.imul(ze,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(ze,Li)|0)+Math.imul(qe,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(qe,Li)|0)+(N>>>13)|0)+(zi>>>26)|0,zi&=67108863,V=Math.imul(Nt,zt),N=(N=Math.imul(Nt,Jt))+Math.imul(Et,zt)|0,ne=Math.imul(Et,Jt),V=V+Math.imul(Ye,dt)|0,N=(N=N+Math.imul(Ye,Ae)|0)+Math.imul(rt,dt)|0,ne=ne+Math.imul(rt,Ae)|0,V=V+Math.imul(He,he)|0,N=(N=N+Math.imul(He,q)|0)+Math.imul(Xe,he)|0,ne=ne+Math.imul(Xe,q)|0,V=V+Math.imul(ye,Ne)|0,N=(N=N+Math.imul(ye,gt)|0)+Math.imul(ue,Ne)|0,ne=ne+Math.imul(ue,gt)|0,V=V+Math.imul(at,Fe)|0,N=(N=N+Math.imul(at,Ge)|0)+Math.imul(pt,Fe)|0,ne=ne+Math.imul(pt,Ge)|0,V=V+Math.imul(pe,st)|0,N=(N=N+Math.imul(pe,Tt)|0)+Math.imul(Ze,st)|0,ne=ne+Math.imul(Ze,Tt)|0,V=V+Math.imul(mt,Kt)|0,N=(N=N+Math.imul(mt,Pt)|0)+Math.imul(_e,Kt)|0,ne=ne+Math.imul(_e,Pt)|0,V=V+Math.imul(ce,di)|0,N=(N=N+Math.imul(ce,fi)|0)+Math.imul(fe,di)|0,ne=ne+Math.imul(fe,fi)|0;var en=(v+(V=V+Math.imul(se,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(se,Li)|0)+Math.imul(X,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(X,Li)|0)+(N>>>13)|0)+(en>>>26)|0,en&=67108863,V=Math.imul(Nt,dt),N=(N=Math.imul(Nt,Ae))+Math.imul(Et,dt)|0,ne=Math.imul(Et,Ae),V=V+Math.imul(Ye,he)|0,N=(N=N+Math.imul(Ye,q)|0)+Math.imul(rt,he)|0,ne=ne+Math.imul(rt,q)|0,V=V+Math.imul(He,Ne)|0,N=(N=N+Math.imul(He,gt)|0)+Math.imul(Xe,Ne)|0,ne=ne+Math.imul(Xe,gt)|0,V=V+Math.imul(ye,Fe)|0,N=(N=N+Math.imul(ye,Ge)|0)+Math.imul(ue,Fe)|0,ne=ne+Math.imul(ue,Ge)|0,V=V+Math.imul(at,st)|0,N=(N=N+Math.imul(at,Tt)|0)+Math.imul(pt,st)|0,ne=ne+Math.imul(pt,Tt)|0,V=V+Math.imul(pe,Kt)|0,N=(N=N+Math.imul(pe,Pt)|0)+Math.imul(Ze,Kt)|0,ne=ne+Math.imul(Ze,Pt)|0,V=V+Math.imul(mt,di)|0,N=(N=N+Math.imul(mt,fi)|0)+Math.imul(_e,di)|0,ne=ne+Math.imul(_e,fi)|0;var Ni=(v+(V=V+Math.imul(ce,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(ce,Li)|0)+Math.imul(fe,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(fe,Li)|0)+(N>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,V=Math.imul(Nt,he),N=(N=Math.imul(Nt,q))+Math.imul(Et,he)|0,ne=Math.imul(Et,q),V=V+Math.imul(Ye,Ne)|0,N=(N=N+Math.imul(Ye,gt)|0)+Math.imul(rt,Ne)|0,ne=ne+Math.imul(rt,gt)|0,V=V+Math.imul(He,Fe)|0,N=(N=N+Math.imul(He,Ge)|0)+Math.imul(Xe,Fe)|0,ne=ne+Math.imul(Xe,Ge)|0,V=V+Math.imul(ye,st)|0,N=(N=N+Math.imul(ye,Tt)|0)+Math.imul(ue,st)|0,ne=ne+Math.imul(ue,Tt)|0,V=V+Math.imul(at,Kt)|0,N=(N=N+Math.imul(at,Pt)|0)+Math.imul(pt,Kt)|0,ne=ne+Math.imul(pt,Pt)|0,V=V+Math.imul(pe,di)|0,N=(N=N+Math.imul(pe,fi)|0)+Math.imul(Ze,di)|0,ne=ne+Math.imul(Ze,fi)|0;var fn=(v+(V=V+Math.imul(mt,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(mt,Li)|0)+Math.imul(_e,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(_e,Li)|0)+(N>>>13)|0)+(fn>>>26)|0,fn&=67108863,V=Math.imul(Nt,Ne),N=(N=Math.imul(Nt,gt))+Math.imul(Et,Ne)|0,ne=Math.imul(Et,gt),V=V+Math.imul(Ye,Fe)|0,N=(N=N+Math.imul(Ye,Ge)|0)+Math.imul(rt,Fe)|0,ne=ne+Math.imul(rt,Ge)|0,V=V+Math.imul(He,st)|0,N=(N=N+Math.imul(He,Tt)|0)+Math.imul(Xe,st)|0,ne=ne+Math.imul(Xe,Tt)|0,V=V+Math.imul(ye,Kt)|0,N=(N=N+Math.imul(ye,Pt)|0)+Math.imul(ue,Kt)|0,ne=ne+Math.imul(ue,Pt)|0,V=V+Math.imul(at,di)|0,N=(N=N+Math.imul(at,fi)|0)+Math.imul(pt,di)|0,ne=ne+Math.imul(pt,fi)|0;var Zt=(v+(V=V+Math.imul(pe,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(pe,Li)|0)+Math.imul(Ze,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(Ze,Li)|0)+(N>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,V=Math.imul(Nt,Fe),N=(N=Math.imul(Nt,Ge))+Math.imul(Et,Fe)|0,ne=Math.imul(Et,Ge),V=V+Math.imul(Ye,st)|0,N=(N=N+Math.imul(Ye,Tt)|0)+Math.imul(rt,st)|0,ne=ne+Math.imul(rt,Tt)|0,V=V+Math.imul(He,Kt)|0,N=(N=N+Math.imul(He,Pt)|0)+Math.imul(Xe,Kt)|0,ne=ne+Math.imul(Xe,Pt)|0,V=V+Math.imul(ye,di)|0,N=(N=N+Math.imul(ye,fi)|0)+Math.imul(ue,di)|0,ne=ne+Math.imul(ue,fi)|0;var bt=(v+(V=V+Math.imul(at,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(at,Li)|0)+Math.imul(pt,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(pt,Li)|0)+(N>>>13)|0)+(bt>>>26)|0,bt&=67108863,V=Math.imul(Nt,st),N=(N=Math.imul(Nt,Tt))+Math.imul(Et,st)|0,ne=Math.imul(Et,Tt),V=V+Math.imul(Ye,Kt)|0,N=(N=N+Math.imul(Ye,Pt)|0)+Math.imul(rt,Kt)|0,ne=ne+Math.imul(rt,Pt)|0,V=V+Math.imul(He,di)|0,N=(N=N+Math.imul(He,fi)|0)+Math.imul(Xe,di)|0,ne=ne+Math.imul(Xe,fi)|0;var re=(v+(V=V+Math.imul(ye,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(ye,Li)|0)+Math.imul(ue,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(ue,Li)|0)+(N>>>13)|0)+(re>>>26)|0,re&=67108863,V=Math.imul(Nt,Kt),N=(N=Math.imul(Nt,Pt))+Math.imul(Et,Kt)|0,ne=Math.imul(Et,Pt),V=V+Math.imul(Ye,di)|0,N=(N=N+Math.imul(Ye,fi)|0)+Math.imul(rt,di)|0,ne=ne+Math.imul(rt,fi)|0;var je=(v+(V=V+Math.imul(He,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(He,Li)|0)+Math.imul(Xe,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(Xe,Li)|0)+(N>>>13)|0)+(je>>>26)|0,je&=67108863,V=Math.imul(Nt,di),N=(N=Math.imul(Nt,fi))+Math.imul(Et,di)|0,ne=Math.imul(Et,fi);var Ce=(v+(V=V+Math.imul(Ye,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(Ye,Li)|0)+Math.imul(rt,Qi)|0))<<13)|0;v=((ne=ne+Math.imul(rt,Li)|0)+(N>>>13)|0)+(Ce>>>26)|0,Ce&=67108863;var ot=(v+(V=Math.imul(Nt,Qi))|0)+((8191&(N=(N=Math.imul(Nt,Li))+Math.imul(Et,Qi)|0))<<13)|0;return v=((ne=Math.imul(Et,Li))+(N>>>13)|0)+(ot>>>26)|0,ot&=67108863,r[0]=Zi,r[1]=Qt,r[2]=Mt,r[3]=it,r[4]=ct,r[5]=wt,r[6]=Ut,r[7]=xi,r[8]=Si,r[9]=zi,r[10]=en,r[11]=Ni,r[12]=fn,r[13]=Zt,r[14]=bt,r[15]=re,r[16]=je,r[17]=Ce,r[18]=ot,0!==v&&(r[19]=v,k.length++),k};function J(m,h,C){C.negative=h.negative^m.negative,C.length=m.length+h.length;for(var k=0,L=0,_=0;_<C.length-1;_++){var r=L;L=0;for(var v=67108863&k,V=Math.min(_,h.length-1),N=Math.max(0,_-m.length+1);N<=V;N++){var qe=(0|m.words[_-N])*(0|h.words[N]),Ke=67108863&qe;v=67108863&(Ke=Ke+v|0),L+=(r=(r=r+(qe/67108864|0)|0)+(Ke>>>26)|0)>>>26,r&=67108863}C.words[_]=v,k=r,r=L}return 0!==k?C.words[_]=k:C.length--,C._strip()}function ee(m,h,C){return J(m,h,C)}function ie(m,h){this.x=m,this.y=h}Math.imul||(Q=j),l.prototype.mulTo=function(h,C){var L=this.length+h.length;return 10===this.length&&10===h.length?Q(this,h,C):L<63?j(this,h,C):L<1024?J(this,h,C):ee(this,h,C)},ie.prototype.makeRBT=function(h){for(var C=new Array(h),k=l.prototype._countBits(h)-1,L=0;L<h;L++)C[L]=this.revBin(L,k,h);return C},ie.prototype.revBin=function(h,C,k){if(0===h||h===k-1)return h;for(var L=0,_=0;_<C;_++)L|=(1&h)<<C-_-1,h>>=1;return L},ie.prototype.permute=function(h,C,k,L,_,r){for(var v=0;v<r;v++)L[v]=C[h[v]],_[v]=k[h[v]]},ie.prototype.transform=function(h,C,k,L,_,r){this.permute(r,h,C,k,L,_);for(var v=1;v<_;v<<=1)for(var V=v<<1,N=Math.cos(2*Math.PI/V),ne=Math.sin(2*Math.PI/V),Ee=0;Ee<_;Ee+=V)for(var ze=N,qe=ne,Ke=0;Ke<v;Ke++){var se=k[Ee+Ke],X=L[Ee+Ke],me=k[Ee+Ke+v],ce=L[Ee+Ke+v],fe=ze*me-qe*ce;ce=ze*ce+qe*me,k[Ee+Ke]=se+(me=fe),L[Ee+Ke]=X+ce,k[Ee+Ke+v]=se-me,L[Ee+Ke+v]=X-ce,Ke!==V&&(fe=N*ze-ne*qe,qe=N*qe+ne*ze,ze=fe)}},ie.prototype.guessLen13b=function(h,C){var k=1|Math.max(C,h),L=1&k,_=0;for(k=k/2|0;k;k>>>=1)_++;return 1<<_+1+L},ie.prototype.conjugate=function(h,C,k){if(!(k<=1))for(var L=0;L<k/2;L++){var _=h[L];h[L]=h[k-L-1],h[k-L-1]=_,_=C[L],C[L]=-C[k-L-1],C[k-L-1]=-_}},ie.prototype.normalize13b=function(h,C){for(var k=0,L=0;L<C/2;L++){var _=8192*Math.round(h[2*L+1]/C)+Math.round(h[2*L]/C)+k;h[L]=67108863&_,k=_<67108864?0:_/67108864|0}return h},ie.prototype.convert13b=function(h,C,k,L){for(var _=0,r=0;r<C;r++)k[2*r]=8191&(_+=0|h[r]),k[2*r+1]=8191&(_>>>=13),_>>>=13;for(r=2*C;r<L;++r)k[r]=0;w(0===_),w(!(-8192&_))},ie.prototype.stub=function(h){for(var C=new Array(h),k=0;k<h;k++)C[k]=0;return C},ie.prototype.mulp=function(h,C,k){var L=2*this.guessLen13b(h.length,C.length),_=this.makeRBT(L),r=this.stub(L),v=new Array(L),V=new Array(L),N=new Array(L),ne=new Array(L),Ee=new Array(L),ze=new Array(L),qe=k.words;qe.length=L,this.convert13b(h.words,h.length,v,L),this.convert13b(C.words,C.length,ne,L),this.transform(v,r,V,N,L,_),this.transform(ne,r,Ee,ze,L,_);for(var Ke=0;Ke<L;Ke++){var se=V[Ke]*Ee[Ke]-N[Ke]*ze[Ke];N[Ke]=V[Ke]*ze[Ke]+N[Ke]*Ee[Ke],V[Ke]=se}return this.conjugate(V,N,L),this.transform(V,N,qe,r,L,_),this.conjugate(qe,r,L),this.normalize13b(qe,L),k.negative=h.negative^C.negative,k.length=h.length+C.length,k._strip()},l.prototype.mul=function(h){var C=new l(null);return C.words=new Array(this.length+h.length),this.mulTo(h,C)},l.prototype.mulf=function(h){var C=new l(null);return C.words=new Array(this.length+h.length),ee(this,h,C)},l.prototype.imul=function(h){return this.clone().mulTo(h,this)},l.prototype.imuln=function(h){var C=h<0;C&&(h=-h),w("number"==typeof h),w(h<67108864);for(var k=0,L=0;L<this.length;L++){var _=(0|this.words[L])*h,r=(67108863&_)+(67108863&k);k>>=26,k+=_/67108864|0,k+=r>>>26,this.words[L]=67108863&r}return 0!==k&&(this.words[L]=k,this.length++),C?this.ineg():this},l.prototype.muln=function(h){return this.clone().imuln(h)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(h){var C=function $(m){for(var h=new Array(m.bitLength()),C=0;C<h.length;C++)h[C]=m.words[C/26|0]>>>C%26&1;return h}(h);if(0===C.length)return new l(1);for(var k=this,L=0;L<C.length&&0===C[L];L++,k=k.sqr());if(++L<C.length)for(var _=k.sqr();L<C.length;L++,_=_.sqr())0!==C[L]&&(k=k.mul(_));return k},l.prototype.iushln=function(h){w("number"==typeof h&&h>=0);var _,C=h%26,k=(h-C)/26,L=67108863>>>26-C<<26-C;if(0!==C){var r=0;for(_=0;_<this.length;_++){var v=this.words[_]&L;this.words[_]=(0|this.words[_])-v<<C|r,r=v>>>26-C}r&&(this.words[_]=r,this.length++)}if(0!==k){for(_=this.length-1;_>=0;_--)this.words[_+k]=this.words[_];for(_=0;_<k;_++)this.words[_]=0;this.length+=k}return this._strip()},l.prototype.ishln=function(h){return w(0===this.negative),this.iushln(h)},l.prototype.iushrn=function(h,C,k){var L;w("number"==typeof h&&h>=0),L=C?(C-C%26)/26:0;var _=h%26,r=Math.min((h-_)/26,this.length),v=67108863^67108863>>>_<<_,V=k;if(L-=r,L=Math.max(0,L),V){for(var N=0;N<r;N++)V.words[N]=this.words[N];V.length=r}if(0!==r)if(this.length>r)for(this.length-=r,N=0;N<this.length;N++)this.words[N]=this.words[N+r];else this.words[0]=0,this.length=1;var ne=0;for(N=this.length-1;N>=0&&(0!==ne||N>=L);N--){var Ee=0|this.words[N];this.words[N]=ne<<26-_|Ee>>>_,ne=Ee&v}return V&&0!==ne&&(V.words[V.length++]=ne),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(h,C,k){return w(0===this.negative),this.iushrn(h,C,k)},l.prototype.shln=function(h){return this.clone().ishln(h)},l.prototype.ushln=function(h){return this.clone().iushln(h)},l.prototype.shrn=function(h){return this.clone().ishrn(h)},l.prototype.ushrn=function(h){return this.clone().iushrn(h)},l.prototype.testn=function(h){w("number"==typeof h&&h>=0);var C=h%26,k=(h-C)/26;return!(this.length<=k||!(this.words[k]&1<<C))},l.prototype.imaskn=function(h){w("number"==typeof h&&h>=0);var C=h%26,k=(h-C)/26;return w(0===this.negative,"imaskn works only with positive numbers"),this.length<=k?this:(0!==C&&k++,this.length=Math.min(k,this.length),0!==C&&(this.words[this.length-1]&=67108863^67108863>>>C<<C),this._strip())},l.prototype.maskn=function(h){return this.clone().imaskn(h)},l.prototype.iaddn=function(h){return w("number"==typeof h),w(h<67108864),h<0?this.isubn(-h):0!==this.negative?1===this.length&&(0|this.words[0])<=h?(this.words[0]=h-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(h),this.negative=1,this):this._iaddn(h)},l.prototype._iaddn=function(h){this.words[0]+=h;for(var C=0;C<this.length&&this.words[C]>=67108864;C++)this.words[C]-=67108864,C===this.length-1?this.words[C+1]=1:this.words[C+1]++;return this.length=Math.max(this.length,C+1),this},l.prototype.isubn=function(h){if(w("number"==typeof h),w(h<67108864),h<0)return this.iaddn(-h);if(0!==this.negative)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var C=0;C<this.length&&this.words[C]<0;C++)this.words[C]+=67108864,this.words[C+1]-=1;return this._strip()},l.prototype.addn=function(h){return this.clone().iaddn(h)},l.prototype.subn=function(h){return this.clone().isubn(h)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(h,C,k){var _;this._expand(h.length+k);var r,v=0;for(_=0;_<h.length;_++){r=(0|this.words[_+k])+v;var V=(0|h.words[_])*C;v=((r-=67108863&V)>>26)-(V/67108864|0),this.words[_+k]=67108863&r}for(;_<this.length-k;_++)v=(r=(0|this.words[_+k])+v)>>26,this.words[_+k]=67108863&r;if(0===v)return this._strip();for(w(-1===v),v=0,_=0;_<this.length;_++)v=(r=-(0|this.words[_])+v)>>26,this.words[_]=67108863&r;return this.negative=1,this._strip()},l.prototype._wordDiv=function(h,C){var k,L=this.clone(),_=h,r=0|_.words[_.length-1];0!=(k=26-this._countBits(r))&&(_=_.ushln(k),L.iushln(k),r=0|_.words[_.length-1]);var N,V=L.length-_.length;if("mod"!==C){(N=new l(null)).length=V+1,N.words=new Array(N.length);for(var ne=0;ne<N.length;ne++)N.words[ne]=0}var Ee=L.clone()._ishlnsubmul(_,1,V);0===Ee.negative&&(L=Ee,N&&(N.words[V]=1));for(var ze=V-1;ze>=0;ze--){var qe=67108864*(0|L.words[_.length+ze])+(0|L.words[_.length+ze-1]);for(qe=Math.min(qe/r|0,67108863),L._ishlnsubmul(_,qe,ze);0!==L.negative;)qe--,L.negative=0,L._ishlnsubmul(_,1,ze),L.isZero()||(L.negative^=1);N&&(N.words[ze]=qe)}return N&&N._strip(),L._strip(),"div"!==C&&0!==k&&L.iushrn(k),{div:N||null,mod:L}},l.prototype.divmod=function(h,C,k){return w(!h.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===h.negative?(r=this.neg().divmod(h,C),"mod"!==C&&(L=r.div.neg()),"div"!==C&&(_=r.mod.neg(),k&&0!==_.negative&&_.iadd(h)),{div:L,mod:_}):0===this.negative&&0!==h.negative?(r=this.divmod(h.neg(),C),"mod"!==C&&(L=r.div.neg()),{div:L,mod:r.mod}):this.negative&h.negative?(r=this.neg().divmod(h.neg(),C),"div"!==C&&(_=r.mod.neg(),k&&0!==_.negative&&_.isub(h)),{div:r.div,mod:_}):h.length>this.length||this.cmp(h)<0?{div:new l(0),mod:this}:1===h.length?"div"===C?{div:this.divn(h.words[0]),mod:null}:"mod"===C?{div:null,mod:new l(this.modrn(h.words[0]))}:{div:this.divn(h.words[0]),mod:new l(this.modrn(h.words[0]))}:this._wordDiv(h,C);var L,_,r},l.prototype.div=function(h){return this.divmod(h,"div",!1).div},l.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},l.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},l.prototype.divRound=function(h){var C=this.divmod(h);if(C.mod.isZero())return C.div;var k=0!==C.div.negative?C.mod.isub(h):C.mod,L=h.ushrn(1),_=h.andln(1),r=k.cmp(L);return r<0||1===_&&0===r?C.div:0!==C.div.negative?C.div.isubn(1):C.div.iaddn(1)},l.prototype.modrn=function(h){var C=h<0;C&&(h=-h),w(h<=67108863);for(var k=(1<<26)%h,L=0,_=this.length-1;_>=0;_--)L=(k*L+(0|this.words[_]))%h;return C?-L:L},l.prototype.modn=function(h){return this.modrn(h)},l.prototype.idivn=function(h){var C=h<0;C&&(h=-h),w(h<=67108863);for(var k=0,L=this.length-1;L>=0;L--){var _=(0|this.words[L])+67108864*k;this.words[L]=_/h|0,k=_%h}return this._strip(),C?this.ineg():this},l.prototype.divn=function(h){return this.clone().idivn(h)},l.prototype.egcd=function(h){w(0===h.negative),w(!h.isZero());var C=this,k=h.clone();C=0!==C.negative?C.umod(h):C.clone();for(var L=new l(1),_=new l(0),r=new l(0),v=new l(1),V=0;C.isEven()&&k.isEven();)C.iushrn(1),k.iushrn(1),++V;for(var N=k.clone(),ne=C.clone();!C.isZero();){for(var Ee=0,ze=1;!(C.words[0]&ze)&&Ee<26;++Ee,ze<<=1);if(Ee>0)for(C.iushrn(Ee);Ee-- >0;)(L.isOdd()||_.isOdd())&&(L.iadd(N),_.isub(ne)),L.iushrn(1),_.iushrn(1);for(var qe=0,Ke=1;!(k.words[0]&Ke)&&qe<26;++qe,Ke<<=1);if(qe>0)for(k.iushrn(qe);qe-- >0;)(r.isOdd()||v.isOdd())&&(r.iadd(N),v.isub(ne)),r.iushrn(1),v.iushrn(1);C.cmp(k)>=0?(C.isub(k),L.isub(r),_.isub(v)):(k.isub(C),r.isub(L),v.isub(_))}return{a:r,b:v,gcd:k.iushln(V)}},l.prototype._invmp=function(h){w(0===h.negative),w(!h.isZero());var Ee,C=this,k=h.clone();C=0!==C.negative?C.umod(h):C.clone();for(var L=new l(1),_=new l(0),r=k.clone();C.cmpn(1)>0&&k.cmpn(1)>0;){for(var v=0,V=1;!(C.words[0]&V)&&v<26;++v,V<<=1);if(v>0)for(C.iushrn(v);v-- >0;)L.isOdd()&&L.iadd(r),L.iushrn(1);for(var N=0,ne=1;!(k.words[0]&ne)&&N<26;++N,ne<<=1);if(N>0)for(k.iushrn(N);N-- >0;)_.isOdd()&&_.iadd(r),_.iushrn(1);C.cmp(k)>=0?(C.isub(k),L.isub(_)):(k.isub(C),_.isub(L))}return(Ee=0===C.cmpn(1)?L:_).cmpn(0)<0&&Ee.iadd(h),Ee},l.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var C=this.clone(),k=h.clone();C.negative=0,k.negative=0;for(var L=0;C.isEven()&&k.isEven();L++)C.iushrn(1),k.iushrn(1);for(;;){for(;C.isEven();)C.iushrn(1);for(;k.isEven();)k.iushrn(1);var _=C.cmp(k);if(_<0){var r=C;C=k,k=r}else if(0===_||0===k.cmpn(1))break;C.isub(k)}return k.iushln(L)},l.prototype.invm=function(h){return this.egcd(h).a.umod(h)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(h){return this.words[0]&h},l.prototype.bincn=function(h){w("number"==typeof h);var C=h%26,k=(h-C)/26,L=1<<C;if(this.length<=k)return this._expand(k+1),this.words[k]|=L,this;for(var _=L,r=k;0!==_&&r<this.length;r++){var v=0|this.words[r];_=(v+=_)>>>26,this.words[r]=v&=67108863}return 0!==_&&(this.words[r]=_,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(h){var k,C=h<0;if(0!==this.negative&&!C)return-1;if(0===this.negative&&C)return 1;if(this._strip(),this.length>1)k=1;else{C&&(h=-h),w(h<=67108863,"Number is too big");var L=0|this.words[0];k=L===h?0:L<h?-1:1}return 0!==this.negative?0|-k:k},l.prototype.cmp=function(h){if(0!==this.negative&&0===h.negative)return-1;if(0===this.negative&&0!==h.negative)return 1;var C=this.ucmp(h);return 0!==this.negative?0|-C:C},l.prototype.ucmp=function(h){if(this.length>h.length)return 1;if(this.length<h.length)return-1;for(var C=0,k=this.length-1;k>=0;k--){var L=0|this.words[k],_=0|h.words[k];if(L!==_){L<_?C=-1:L>_&&(C=1);break}}return C},l.prototype.gtn=function(h){return 1===this.cmpn(h)},l.prototype.gt=function(h){return 1===this.cmp(h)},l.prototype.gten=function(h){return this.cmpn(h)>=0},l.prototype.gte=function(h){return this.cmp(h)>=0},l.prototype.ltn=function(h){return-1===this.cmpn(h)},l.prototype.lt=function(h){return-1===this.cmp(h)},l.prototype.lten=function(h){return this.cmpn(h)<=0},l.prototype.lte=function(h){return this.cmp(h)<=0},l.prototype.eqn=function(h){return 0===this.cmpn(h)},l.prototype.eq=function(h){return 0===this.cmp(h)},l.red=function(h){return new n(h)},l.prototype.toRed=function(h){return w(!this.red,"Already a number in reduction context"),w(0===this.negative,"red works only with positives"),h.convertTo(this)._forceRed(h)},l.prototype.fromRed=function(){return w(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(h){return this.red=h,this},l.prototype.forceRed=function(h){return w(!this.red,"Already a number in reduction context"),this._forceRed(h)},l.prototype.redAdd=function(h){return w(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},l.prototype.redIAdd=function(h){return w(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},l.prototype.redSub=function(h){return w(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},l.prototype.redISub=function(h){return w(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},l.prototype.redShl=function(h){return w(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},l.prototype.redMul=function(h){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},l.prototype.redIMul=function(h){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},l.prototype.redSqr=function(){return w(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return w(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return w(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return w(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return w(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(h){return w(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var ge={k256:null,p224:null,p192:null,p25519:null};function ae(m,h){this.name=m,this.p=new l(h,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Me(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Te(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function de(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function D(){ae.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(m){if("string"==typeof m){var h=l._prime(m);this.m=h.p,this.prime=h}else w(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function c(m){n.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(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)}ae.prototype._tmp=function(){var h=new l(null);return h.words=new Array(Math.ceil(this.n/13)),h},ae.prototype.ireduce=function(h){var k,C=h;do{this.split(C,this.tmp),k=(C=(C=this.imulK(C)).iadd(this.tmp)).bitLength()}while(k>this.n);var L=k<this.n?-1:C.ucmp(this.p);return 0===L?(C.words[0]=0,C.length=1):L>0?C.isub(this.p):void 0!==C.strip?C.strip():C._strip(),C},ae.prototype.split=function(h,C){h.iushrn(this.n,0,C)},ae.prototype.imulK=function(h){return h.imul(this.k)},S(Me,ae),Me.prototype.split=function(h,C){for(var k=4194303,L=Math.min(h.length,9),_=0;_<L;_++)C.words[_]=h.words[_];if(C.length=L,h.length<=9)return h.words[0]=0,void(h.length=1);var r=h.words[9];for(C.words[C.length++]=r&k,_=10;_<h.length;_++){var v=0|h.words[_];h.words[_-10]=(v&k)<<4|r>>>22,r=v}h.words[_-10]=r>>>=22,h.length-=0===r&&h.length>10?10:9},Me.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var C=0,k=0;k<h.length;k++){var L=0|h.words[k];h.words[k]=67108863&(C+=977*L),C=64*L+(C/67108864|0)}return 0===h.words[h.length-1]&&(h.length--,0===h.words[h.length-1]&&h.length--),h},S(Te,ae),S(de,ae),S(D,ae),D.prototype.imulK=function(h){for(var C=0,k=0;k<h.length;k++){var L=19*(0|h.words[k])+C,_=67108863&L;L>>>=26,h.words[k]=_,C=L}return 0!==C&&(h.words[h.length++]=C),h},l._prime=function(h){if(ge[h])return ge[h];var C;if("k256"===h)C=new Me;else if("p224"===h)C=new Te;else if("p192"===h)C=new de;else{if("p25519"!==h)throw new Error("Unknown prime "+h);C=new D}return ge[h]=C,C},n.prototype._verify1=function(h){w(0===h.negative,"red works only with positives"),w(h.red,"red works only with red numbers")},n.prototype._verify2=function(h,C){w(!(h.negative|C.negative),"red works only with positives"),w(h.red&&h.red===C.red,"red works only with red numbers")},n.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(T(h,h.umod(this.m)._forceRed(this)),h)},n.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},n.prototype.add=function(h,C){this._verify2(h,C);var k=h.add(C);return k.cmp(this.m)>=0&&k.isub(this.m),k._forceRed(this)},n.prototype.iadd=function(h,C){this._verify2(h,C);var k=h.iadd(C);return k.cmp(this.m)>=0&&k.isub(this.m),k},n.prototype.sub=function(h,C){this._verify2(h,C);var k=h.sub(C);return k.cmpn(0)<0&&k.iadd(this.m),k._forceRed(this)},n.prototype.isub=function(h,C){this._verify2(h,C);var k=h.isub(C);return k.cmpn(0)<0&&k.iadd(this.m),k},n.prototype.shl=function(h,C){return this._verify1(h),this.imod(h.ushln(C))},n.prototype.imul=function(h,C){return this._verify2(h,C),this.imod(h.imul(C))},n.prototype.mul=function(h,C){return this._verify2(h,C),this.imod(h.mul(C))},n.prototype.isqr=function(h){return this.imul(h,h.clone())},n.prototype.sqr=function(h){return this.mul(h,h)},n.prototype.sqrt=function(h){if(h.isZero())return h.clone();var C=this.m.andln(3);if(w(C%2==1),3===C){var k=this.m.add(new l(1)).iushrn(2);return this.pow(h,k)}for(var L=this.m.subn(1),_=0;!L.isZero()&&0===L.andln(1);)_++,L.iushrn(1);w(!L.isZero());var r=new l(1).toRed(this),v=r.redNeg(),V=this.m.subn(1).iushrn(1),N=this.m.bitLength();for(N=new l(2*N*N).toRed(this);0!==this.pow(N,V).cmp(v);)N.redIAdd(v);for(var ne=this.pow(N,L),Ee=this.pow(h,L.addn(1).iushrn(1)),ze=this.pow(h,L),qe=_;0!==ze.cmp(r);){for(var Ke=ze,se=0;0!==Ke.cmp(r);se++)Ke=Ke.redSqr();w(se<qe);var X=this.pow(ne,new l(1).iushln(qe-se-1));Ee=Ee.redMul(X),ne=X.redSqr(),ze=ze.redMul(ne),qe=se}return Ee},n.prototype.invm=function(h){var C=h._invmp(this.m);return 0!==C.negative?(C.negative=0,this.imod(C).redNeg()):this.imod(C)},n.prototype.pow=function(h,C){if(C.isZero())return new l(1).toRed(this);if(0===C.cmpn(1))return h.clone();var L=new Array(16);L[0]=new l(1).toRed(this),L[1]=h;for(var _=2;_<L.length;_++)L[_]=this.mul(L[_-1],h);var r=L[0],v=0,V=0,N=C.bitLength()%26;for(0===N&&(N=26),_=C.length-1;_>=0;_--){for(var ne=C.words[_],Ee=N-1;Ee>=0;Ee--){var ze=ne>>Ee&1;r!==L[0]&&(r=this.sqr(r)),0!==ze||0!==v?(v<<=1,v|=ze,(4==++V||0===_&&0===Ee)&&(r=this.mul(r,L[v]),V=0,v=0)):V=0}N=26}return r},n.prototype.convertTo=function(h){var C=h.umod(this.m);return C===h?C.clone():C},n.prototype.convertFrom=function(h){var C=h.clone();return C.red=null,C},l.mont=function(h){return new c(h)},S(c,n),c.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},c.prototype.convertFrom=function(h){var C=this.imod(h.mul(this.rinv));return C.red=null,C},c.prototype.imul=function(h,C){if(h.isZero()||C.isZero())return h.words[0]=0,h.length=1,h;var k=h.imul(C),L=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=k.isub(L).iushrn(this.shift),r=_;return _.cmp(this.m)>=0?r=_.isub(this.m):_.cmpn(0)<0&&(r=_.iadd(this.m)),r._forceRed(this)},c.prototype.mul=function(h,C){if(h.isZero()||C.isZero())return new l(0)._forceRed(this);var k=h.mul(C),L=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),_=k.isub(L).iushrn(this.shift),r=_;return _.cmp(this.m)>=0?r=_.isub(this.m):_.cmpn(0)<0&&(r=_.iadd(this.m)),r._forceRed(this)},c.prototype.invm=function(h){return this.imod(h._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},5294:(Qe,te,g)=>{var e;function t(S){this.rand=S}if(Qe.exports=function(l){return e||(e=new t(null)),e.generate(l)},Qe.exports.Rand=t,t.prototype.generate=function(l){return this._rand(l)},t.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var x=new Uint8Array(l),f=0;f<x.length;f++)x[f]=this.rand.getByte();return x},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(l){var x=new Uint8Array(l);return self.crypto.getRandomValues(x),x}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(l){var x=new Uint8Array(l);return self.msCrypto.getRandomValues(x),x}:"object"==typeof window&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var w=g(1426);if("function"!=typeof w.randomBytes)throw new Error("Not supported");t.prototype._rand=function(l){return w.randomBytes(l)}}catch{}},2375:(Qe,te,g)=>{var e=g(7054).Buffer;function t(I){e.isBuffer(I)||(I=e.from(I));for(var d=I.length/4|0,T=new Array(d),y=0;y<d;y++)T[y]=I.readUInt32BE(4*y);return T}function w(I){for(;0<I.length;I++)I[0]=0}function S(I,d,T,y,F){for(var ie,ge,ae,Me,R=T[0],z=T[1],W=T[2],$=T[3],j=I[0]^d[0],Q=I[1]^d[1],J=I[2]^d[2],ee=I[3]^d[3],Te=4,de=1;de<F;de++)ie=R[j>>>24]^z[Q>>>16&255]^W[J>>>8&255]^$[255&ee]^d[Te++],ge=R[Q>>>24]^z[J>>>16&255]^W[ee>>>8&255]^$[255&j]^d[Te++],ae=R[J>>>24]^z[ee>>>16&255]^W[j>>>8&255]^$[255&Q]^d[Te++],Me=R[ee>>>24]^z[j>>>16&255]^W[Q>>>8&255]^$[255&J]^d[Te++],j=ie,Q=ge,J=ae,ee=Me;return ie=(y[j>>>24]<<24|y[Q>>>16&255]<<16|y[J>>>8&255]<<8|y[255&ee])^d[Te++],ge=(y[Q>>>24]<<24|y[J>>>16&255]<<16|y[ee>>>8&255]<<8|y[255&j])^d[Te++],ae=(y[J>>>24]<<24|y[ee>>>16&255]<<16|y[j>>>8&255]<<8|y[255&Q])^d[Te++],Me=(y[ee>>>24]<<24|y[j>>>16&255]<<16|y[Q>>>8&255]<<8|y[255&J])^d[Te++],[ie>>>=0,ge>>>=0,ae>>>=0,Me>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],x=function(){for(var I=new Array(256),d=0;d<256;d++)I[d]=d<128?d<<1:d<<1^283;for(var T=[],y=[],F=[[],[],[],[]],R=[[],[],[],[]],z=0,W=0,$=0;$<256;++$){var j=W^W<<1^W<<2^W<<3^W<<4;T[z]=j=j>>>8^255&j^99,y[j]=z;var Q=I[z],J=I[Q],ee=I[J],ie=257*I[j]^16843008*j;F[0][z]=ie<<24|ie>>>8,F[1][z]=ie<<16|ie>>>16,F[2][z]=ie<<8|ie>>>24,F[3][z]=ie,R[0][j]=(ie=16843009*ee^65537*J^257*Q^16843008*z)<<24|ie>>>8,R[1][j]=ie<<16|ie>>>16,R[2][j]=ie<<8|ie>>>24,R[3][j]=ie,0===z?z=W=1:(z=Q^I[I[I[ee^Q]]],W^=I[I[W]])}return{SBOX:T,INV_SBOX:y,SUB_MIX:F,INV_SUB_MIX:R}}();function f(I){this._key=t(I),this._reset()}f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var I=this._key,d=I.length,T=d+6,y=4*(T+1),F=[],R=0;R<d;R++)F[R]=I[R];for(R=d;R<y;R++){var z=F[R-1];R%d==0?(z=x.SBOX[(z=z<<8|z>>>24)>>>24]<<24|x.SBOX[z>>>16&255]<<16|x.SBOX[z>>>8&255]<<8|x.SBOX[255&z],z^=l[R/d|0]<<24):d>6&&R%d==4&&(z=x.SBOX[z>>>24]<<24|x.SBOX[z>>>16&255]<<16|x.SBOX[z>>>8&255]<<8|x.SBOX[255&z]),F[R]=F[R-d]^z}for(var W=[],$=0;$<y;$++){var j=y-$,Q=F[j-($%4?0:4)];W[$]=$<4||j<=4?Q:x.INV_SUB_MIX[0][x.SBOX[Q>>>24]]^x.INV_SUB_MIX[1][x.SBOX[Q>>>16&255]]^x.INV_SUB_MIX[2][x.SBOX[Q>>>8&255]]^x.INV_SUB_MIX[3][x.SBOX[255&Q]]}this._nRounds=T,this._keySchedule=F,this._invKeySchedule=W},f.prototype.encryptBlockRaw=function(I){return S(I=t(I),this._keySchedule,x.SUB_MIX,x.SBOX,this._nRounds)},f.prototype.encryptBlock=function(I){var d=this.encryptBlockRaw(I),T=e.allocUnsafe(16);return T.writeUInt32BE(d[0],0),T.writeUInt32BE(d[1],4),T.writeUInt32BE(d[2],8),T.writeUInt32BE(d[3],12),T},f.prototype.decryptBlock=function(I){var d=(I=t(I))[1];I[1]=I[3],I[3]=d;var T=S(I,this._invKeySchedule,x.INV_SUB_MIX,x.INV_SBOX,this._nRounds),y=e.allocUnsafe(16);return y.writeUInt32BE(T[0],0),y.writeUInt32BE(T[3],4),y.writeUInt32BE(T[2],8),y.writeUInt32BE(T[1],12),y},f.prototype.scrub=function(){w(this._keySchedule),w(this._invKeySchedule),w(this._key)},Qe.exports.AES=f},9307:(Qe,te,g)=>{var e=g(2375),t=g(7054).Buffer,w=g(3247),S=g(1993),l=g(5917),x=g(3546),f=g(5725);function T(y,F,R,z){w.call(this);var W=t.alloc(4,0);this._cipher=new e.AES(F);var $=this._cipher.encryptBlock(W);this._ghash=new l($),R=function d(y,F,R){if(12===F.length)return y._finID=t.concat([F,t.from([0,0,0,1])]),t.concat([F,t.from([0,0,0,2])]);var z=new l(R),W=F.length,$=W%16;z.update(F),$&&z.update(t.alloc($=16-$,0)),z.update(t.alloc(8,0));var j=8*W,Q=t.alloc(8);Q.writeUIntBE(j,0,8),z.update(Q),y._finID=z.state;var J=t.from(y._finID);return f(J),J}(this,R,$),this._prev=t.from(R),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=z,this._alen=0,this._len=0,this._mode=y,this._authTag=null,this._called=!1}S(T,w),T.prototype._update=function(y){if(!this._called&&this._alen){var F=16-this._alen%16;F<16&&(F=t.alloc(F,0),this._ghash.update(F))}this._called=!0;var R=this._mode.encrypt(this,y);return this._ghash.update(this._decrypt?y:R),this._len+=y.length,R},T.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var y=x(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function I(y,F){var R=0;y.length!==F.length&&R++;for(var z=Math.min(y.length,F.length),W=0;W<z;++W)R+=y[W]^F[W];return R}(y,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=y,this._cipher.scrub()},T.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},T.prototype.setAuthTag=function(F){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=F},T.prototype.setAAD=function(F){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(F),this._alen+=F.length},Qe.exports=T},3388:(Qe,te,g)=>{var e=g(350),t=g(102),w=g(3219);te.createCipher=te.Cipher=e.createCipher,te.createCipheriv=te.Cipheriv=e.createCipheriv,te.createDecipher=te.Decipher=t.createDecipher,te.createDecipheriv=te.Decipheriv=t.createDecipheriv,te.listCiphers=te.getCiphers=function S(){return Object.keys(w)}},102:(Qe,te,g)=>{var e=g(9307),t=g(7054).Buffer,w=g(503),S=g(1821),l=g(3247),x=g(2375),f=g(592);function d(z,W,$){l.call(this),this._cache=new T,this._last=void 0,this._cipher=new x.AES(W),this._prev=t.from($),this._mode=z,this._autopadding=!0}function T(){this.cache=t.allocUnsafe(0)}function F(z,W,$){var j=w[z.toLowerCase()];if(!j)throw new TypeError("invalid suite type");if("string"==typeof $&&($=t.from($)),"GCM"!==j.mode&&$.length!==j.iv)throw new TypeError("invalid iv length "+$.length);if("string"==typeof W&&(W=t.from(W)),W.length!==j.key/8)throw new TypeError("invalid key length "+W.length);return"stream"===j.type?new S(j.module,W,$,!0):"auth"===j.type?new e(j.module,W,$,!0):new d(j.module,W,$)}g(1993)(d,l),d.prototype._update=function(z){this._cache.add(z);for(var W,$,j=[];W=this._cache.get(this._autopadding);)$=this._mode.decrypt(this,W),j.push($);return t.concat(j)},d.prototype._final=function(){var z=this._cache.flush();if(this._autopadding)return function y(z){var W=z[15];if(W<1||W>16)throw new Error("unable to decrypt data");for(var $=-1;++$<W;)if(z[$+(16-W)]!==W)throw new Error("unable to decrypt data");if(16!==W)return z.slice(0,16-W)}(this._mode.decrypt(this,z));if(z)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(z){return this._autopadding=!!z,this},T.prototype.add=function(z){this.cache=t.concat([this.cache,z])},T.prototype.get=function(z){var W;if(z){if(this.cache.length>16)return W=this.cache.slice(0,16),this.cache=this.cache.slice(16),W}else if(this.cache.length>=16)return W=this.cache.slice(0,16),this.cache=this.cache.slice(16),W;return null},T.prototype.flush=function(){if(this.cache.length)return this.cache},te.createDecipher=function R(z,W){var $=w[z.toLowerCase()];if(!$)throw new TypeError("invalid suite type");var j=f(W,!1,$.key,$.iv);return F(z,j.key,j.iv)},te.createDecipheriv=F},350:(Qe,te,g)=>{var e=g(503),t=g(9307),w=g(7054).Buffer,S=g(1821),l=g(3247),x=g(2375),f=g(592);function d(z,W,$){l.call(this),this._cache=new y,this._cipher=new x.AES(W),this._prev=w.from($),this._mode=z,this._autopadding=!0}g(1993)(d,l),d.prototype._update=function(z){this._cache.add(z);for(var W,$,j=[];W=this._cache.get();)$=this._mode.encrypt(this,W),j.push($);return w.concat(j)};var T=w.alloc(16,16);function y(){this.cache=w.allocUnsafe(0)}function F(z,W,$){var j=e[z.toLowerCase()];if(!j)throw new TypeError("invalid suite type");if("string"==typeof W&&(W=w.from(W)),W.length!==j.key/8)throw new TypeError("invalid key length "+W.length);if("string"==typeof $&&($=w.from($)),"GCM"!==j.mode&&$.length!==j.iv)throw new TypeError("invalid iv length "+$.length);return"stream"===j.type?new S(j.module,W,$):"auth"===j.type?new t(j.module,W,$):new d(j.module,W,$)}d.prototype._final=function(){var z=this._cache.flush();if(this._autopadding)return z=this._mode.encrypt(this,z),this._cipher.scrub(),z;if(!z.equals(T))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(z){return this._autopadding=!!z,this},y.prototype.add=function(z){this.cache=w.concat([this.cache,z])},y.prototype.get=function(){if(this.cache.length>15){var z=this.cache.slice(0,16);return this.cache=this.cache.slice(16),z}return null},y.prototype.flush=function(){for(var z=16-this.cache.length,W=w.allocUnsafe(z),$=-1;++$<z;)W.writeUInt8(z,$);return w.concat([this.cache,W])},te.createCipheriv=F,te.createCipher=function R(z,W){var $=e[z.toLowerCase()];if(!$)throw new TypeError("invalid suite type");var j=f(W,!1,$.key,$.iv);return F(z,j.key,j.iv)}},5917:(Qe,te,g)=>{var e=g(7054).Buffer,t=e.alloc(16,0);function S(x){var f=e.allocUnsafe(16);return f.writeUInt32BE(x[0]>>>0,0),f.writeUInt32BE(x[1]>>>0,4),f.writeUInt32BE(x[2]>>>0,8),f.writeUInt32BE(x[3]>>>0,12),f}function l(x){this.h=x,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}l.prototype.ghash=function(x){for(var f=-1;++f<x.length;)this.state[f]^=x[f];this._multiply()},l.prototype._multiply=function(){for(var I,T,x=function w(x){return[x.readUInt32BE(0),x.readUInt32BE(4),x.readUInt32BE(8),x.readUInt32BE(12)]}(this.h),f=[0,0,0,0],y=-1;++y<128;){for(!!(this.state[~~(y/8)]&1<<7-y%8)&&(f[0]^=x[0],f[1]^=x[1],f[2]^=x[2],f[3]^=x[3]),T=!!(1&x[3]),I=3;I>0;I--)x[I]=x[I]>>>1|(1&x[I-1])<<31;x[0]=x[0]>>>1,T&&(x[0]=x[0]^225<<24)}this.state=S(f)},l.prototype.update=function(x){this.cache=e.concat([this.cache,x]);for(var f;this.cache.length>=16;)f=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(f)},l.prototype.final=function(x,f){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(S([0,x,0,f])),this.state},Qe.exports=l},5725:Qe=>{Qe.exports=function te(g){for(var t,e=g.length;e--;){if(255!==(t=g.readUInt8(e))){t++,g.writeUInt8(t,e);break}g.writeUInt8(0,e)}}},4133:(Qe,te,g)=>{var e=g(3546);te.encrypt=function(t,w){var S=e(w,t._prev);return t._prev=t._cipher.encryptBlock(S),t._prev},te.decrypt=function(t,w){var S=t._prev;t._prev=w;var l=t._cipher.decryptBlock(w);return e(l,S)}},7090:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(3546);function w(S,l,x){var f=l.length,I=t(l,S._cache);return S._cache=S._cache.slice(f),S._prev=e.concat([S._prev,x?l:I]),I}te.encrypt=function(S,l,x){for(var I,f=e.allocUnsafe(0);l.length;){if(0===S._cache.length&&(S._cache=S._cipher.encryptBlock(S._prev),S._prev=e.allocUnsafe(0)),!(S._cache.length<=l.length)){f=e.concat([f,w(S,l,x)]);break}f=e.concat([f,w(S,l.slice(0,I=S._cache.length),x)]),l=l.slice(I)}return f}},1039:(Qe,te,g)=>{var e=g(7054).Buffer;function t(S,l,x){for(var y,F,I=-1,T=0;++I<8;)T+=(128&(F=S._cipher.encryptBlock(S._prev)[0]^(y=l&1<<7-I?128:0)))>>I%8,S._prev=w(S._prev,x?y:F);return T}function w(S,l){var x=S.length,f=-1,I=e.allocUnsafe(S.length);for(S=e.concat([S,e.from([l])]);++f<x;)I[f]=S[f]<<1|S[f+1]>>7;return I}te.encrypt=function(S,l,x){for(var f=l.length,I=e.allocUnsafe(f),d=-1;++d<f;)I[d]=t(S,l[d],x);return I}},2576:(Qe,te,g)=>{var e=g(7054).Buffer;function t(w,S,l){var f=w._cipher.encryptBlock(w._prev)[0]^S;return w._prev=e.concat([w._prev.slice(1),e.from([l?S:f])]),f}te.encrypt=function(w,S,l){for(var x=S.length,f=e.allocUnsafe(x),I=-1;++I<x;)f[I]=t(w,S[I],l);return f}},336:(Qe,te,g)=>{var e=g(3546),t=g(7054).Buffer,w=g(5725);function S(x){var f=x._cipher.encryptBlockRaw(x._prev);return w(x._prev),f}te.encrypt=function(x,f){var I=Math.ceil(f.length/16),d=x._cache.length;x._cache=t.concat([x._cache,t.allocUnsafe(16*I)]);for(var T=0;T<I;T++){var y=S(x),F=d+16*T;x._cache.writeUInt32BE(y[0],F+0),x._cache.writeUInt32BE(y[1],F+4),x._cache.writeUInt32BE(y[2],F+8),x._cache.writeUInt32BE(y[3],F+12)}var R=x._cache.slice(0,f.length);return x._cache=x._cache.slice(f.length),e(f,R)}},7513:(Qe,te)=>{te.encrypt=function(g,e){return g._cipher.encryptBlock(e)},te.decrypt=function(g,e){return g._cipher.decryptBlock(e)}},503:(Qe,te,g)=>{var e={ECB:g(7513),CBC:g(4133),CFB:g(7090),CFB8:g(2576),CFB1:g(1039),OFB:g(6854),CTR:g(336),GCM:g(336)},t=g(3219);for(var w in t)t[w].module=e[t[w].mode];Qe.exports=t},6854:(Qe,te,g)=>{var e=g(3546);function t(w){return w._prev=w._cipher.encryptBlock(w._prev),w._prev}te.encrypt=function(w,S){for(;w._cache.length<S.length;)w._cache=Buffer.concat([w._cache,t(w)]);var l=w._cache.slice(0,S.length);return w._cache=w._cache.slice(S.length),e(S,l)}},1821:(Qe,te,g)=>{var e=g(2375),t=g(7054).Buffer,w=g(3247);function l(x,f,I,d){w.call(this),this._cipher=new e.AES(f),this._prev=t.from(I),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=d,this._mode=x}g(1993)(l,w),l.prototype._update=function(x){return this._mode.encrypt(this,x,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},Qe.exports=l},8862:(Qe,te,g)=>{var e=g(9799),t=g(3388),w=g(503),S=g(9571),l=g(592);function I(y,F,R){if(y=y.toLowerCase(),w[y])return t.createCipheriv(y,F,R);if(S[y])return new e({key:F,iv:R,mode:y});throw new TypeError("invalid suite type")}function d(y,F,R){if(y=y.toLowerCase(),w[y])return t.createDecipheriv(y,F,R);if(S[y])return new e({key:F,iv:R,mode:y,decrypt:!0});throw new TypeError("invalid suite type")}te.createCipher=te.Cipher=function x(y,F){var R,z;if(y=y.toLowerCase(),w[y])R=w[y].key,z=w[y].iv;else{if(!S[y])throw new TypeError("invalid suite type");R=8*S[y].key,z=S[y].iv}var W=l(F,!1,R,z);return I(y,W.key,W.iv)},te.createCipheriv=te.Cipheriv=I,te.createDecipher=te.Decipher=function f(y,F){var R,z;if(y=y.toLowerCase(),w[y])R=w[y].key,z=w[y].iv;else{if(!S[y])throw new TypeError("invalid suite type");R=8*S[y].key,z=S[y].iv}var W=l(F,!1,R,z);return d(y,W.key,W.iv)},te.createDecipheriv=te.Decipheriv=d,te.listCiphers=te.getCiphers=function T(){return Object.keys(S).concat(t.getCiphers())}},9799:(Qe,te,g)=>{var e=g(3247),t=g(1549),w=g(1993),S=g(7054).Buffer,l={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function x(f){e.call(this);var T,I=f.mode.toLowerCase(),d=l[I];T=f.decrypt?"decrypt":"encrypt";var y=f.key;S.isBuffer(y)||(y=S.from(y)),("des-ede"===I||"des-ede-cbc"===I)&&(y=S.concat([y,y.slice(0,8)]));var F=f.iv;S.isBuffer(F)||(F=S.from(F)),this._des=d.create({key:y,iv:F,type:T})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],Qe.exports=x,w(x,e),x.prototype._update=function(f){return S.from(this._des.update(f))},x.prototype._final=function(){return S.from(this._des.final())}},9571:(Qe,te)=>{te["des-ecb"]={key:8,iv:0},te["des-cbc"]=te.des={key:8,iv:8},te["des-ede3-cbc"]=te.des3={key:24,iv:8},te["des-ede3"]={key:24,iv:0},te["des-ede-cbc"]={key:16,iv:8},te["des-ede"]={key:16,iv:0}},4105:(Qe,te,g)=>{var e=g(917),t=g(3342);function S(x){var I,f=x.modulus.byteLength();do{I=new e(t(f))}while(I.cmp(x.modulus)>=0||!I.umod(x.prime1)||!I.umod(x.prime2));return I}function l(x,f){var I=function w(x){var f=S(x);return{blinder:f.toRed(e.mont(x.modulus)).redPow(new e(x.publicExponent)).fromRed(),unblinder:f.invm(x.modulus)}}(f),d=f.modulus.byteLength(),T=new e(x).mul(I.blinder).umod(f.modulus),y=T.toRed(e.mont(f.prime1)),F=T.toRed(e.mont(f.prime2)),R=f.coefficient,z=f.prime1,W=f.prime2,$=y.redPow(f.exponent1).fromRed(),j=F.redPow(f.exponent2).fromRed(),Q=$.isub(j).imul(R).umod(z).imul(W);return j.iadd(Q).imul(I.unblinder).umod(f.modulus).toArrayLike(Buffer,"be",d)}l.getr=S,Qe.exports=l},9560:(Qe,te,g)=>{"use strict";Qe.exports=g(2951)},9143:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(7211),w=g(5942),S=g(1993),l=g(3150),x=g(4754),f=g(2951);function I(F){w.Writable.call(this);var R=f[F];if(!R)throw new Error("Unknown message digest");this._hashType=R.hash,this._hash=t(R.hash),this._tag=R.id,this._signType=R.sign}function d(F){w.Writable.call(this);var R=f[F];if(!R)throw new Error("Unknown message digest");this._hash=t(R.hash),this._tag=R.id,this._signType=R.sign}function T(F){return new I(F)}function y(F){return new d(F)}Object.keys(f).forEach(function(F){f[F].id=e.from(f[F].id,"hex"),f[F.toLowerCase()]=f[F]}),S(I,w.Writable),I.prototype._write=function(R,z,W){this._hash.update(R),W()},I.prototype.update=function(R,z){return this._hash.update("string"==typeof R?e.from(R,z):R),this},I.prototype.sign=function(R,z){this.end();var W=this._hash.digest(),$=l(W,R,this._hashType,this._signType,this._tag);return z?$.toString(z):$},S(d,w.Writable),d.prototype._write=function(R,z,W){this._hash.update(R),W()},d.prototype.update=function(R,z){return this._hash.update("string"==typeof R?e.from(R,z):R),this},d.prototype.verify=function(R,z,W){var $="string"==typeof z?e.from(z,W):z;this.end();var j=this._hash.digest();return x($,j,R,this._signType,this._tag)},Qe.exports={Sign:T,Verify:y,createSign:T,createVerify:y}},3150:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(6432),w=g(4105),S=g(518).ec,l=g(917),x=g(5667),f=g(4589);function R(Q,J,ee,ie){if((Q=e.from(Q.toArray())).length<J.byteLength()){var ge=e.alloc(J.byteLength()-Q.length);Q=e.concat([ge,Q])}var ae=ee.length,Me=function W(Q,J){Q=(Q=z(Q,J)).mod(J);var ee=e.from(Q.toArray());if(ee.length<J.byteLength()){var ie=e.alloc(J.byteLength()-ee.length);ee=e.concat([ie,ee])}return ee}(ee,J),Te=e.alloc(ae);Te.fill(1);var de=e.alloc(ae);return de=t(ie,de).update(Te).update(e.from([0])).update(Q).update(Me).digest(),Te=t(ie,de).update(Te).digest(),{k:de=t(ie,de).update(Te).update(e.from([1])).update(Q).update(Me).digest(),v:Te=t(ie,de).update(Te).digest()}}function z(Q,J){var ee=new l(Q),ie=(Q.length<<3)-J.bitLength();return ie>0&&ee.ishrn(ie),ee}function $(Q,J,ee){var ie,ge;do{for(ie=e.alloc(0);8*ie.length<Q.bitLength();)J.v=t(ee,J.k).update(J.v).digest(),ie=e.concat([ie,J.v]);ge=z(ie,Q),J.k=t(ee,J.k).update(J.v).update(e.from([0])).digest(),J.v=t(ee,J.k).update(J.v).digest()}while(-1!==ge.cmp(Q));return ge}function j(Q,J,ee,ie){return Q.toRed(l.mont(ee)).redPow(J).fromRed().mod(ie)}Qe.exports=function d(Q,J,ee,ie,ge){var ae=x(J);if(ae.curve){if("ecdsa"!==ie&&"ecdsa/rsa"!==ie)throw new Error("wrong private key type");return function T(Q,J){var ee=f[J.curve.join(".")];if(!ee)throw new Error("unknown curve "+J.curve.join("."));var ae=new S(ee).keyFromPrivate(J.privateKey).sign(Q);return e.from(ae.toDER())}(Q,ae)}if("dsa"===ae.type){if("dsa"!==ie)throw new Error("wrong private key type");return function y(Q,J,ee){for(var de,ie=J.params.priv_key,ge=J.params.p,ae=J.params.q,Me=J.params.g,Te=new l(0),D=z(Q,ae).mod(ae),n=!1,c=R(ie,ae,Q,ee);!1===n;)Te=j(Me,de=$(ae,c,ee),ge,ae),0===(n=de.invm(ae).imul(D.add(ie.mul(Te))).mod(ae)).cmpn(0)&&(n=!1,Te=new l(0));return function F(Q,J){Q=Q.toArray(),J=J.toArray(),128&Q[0]&&(Q=[0].concat(Q)),128&J[0]&&(J=[0].concat(J));var ie=[48,Q.length+J.length+4,2,Q.length];return ie=ie.concat(Q,[2,J.length],J),e.from(ie)}(Te,n)}(Q,ae,ee)}if("rsa"!==ie&&"ecdsa/rsa"!==ie)throw new Error("wrong private key type");if(void 0!==J.padding&&1!==J.padding)throw new Error("illegal or unsupported padding mode");Q=e.concat([ge,Q]);for(var Me=ae.modulus.byteLength(),Te=[0,1];Q.length+Te.length+1<Me;)Te.push(255);Te.push(0);for(var de=-1;++de<Q.length;)Te.push(Q[de]);return w(Te,ae)},Qe.exports.getKey=R,Qe.exports.makeKey=$},4754:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(917),w=g(518).ec,S=g(5667),l=g(4589);function d(T,y){if(T.cmpn(0)<=0)throw new Error("invalid sig");if(T.cmp(y)>=0)throw new Error("invalid sig")}Qe.exports=function x(T,y,F,R,z){var W=S(F);if("ec"===W.type){if("ecdsa"!==R&&"ecdsa/rsa"!==R)throw new Error("wrong public key type");return function f(T,y,F){var R=l[F.data.algorithm.curve.join(".")];if(!R)throw new Error("unknown curve "+F.data.algorithm.curve.join("."));return new w(R).verify(y,T,F.data.subjectPrivateKey.data)}(T,y,W)}if("dsa"===W.type){if("dsa"!==R)throw new Error("wrong public key type");return function I(T,y,F){var R=F.data.p,z=F.data.q,W=F.data.g,$=F.data.pub_key,j=S.signature.decode(T,"der"),Q=j.s,J=j.r;d(Q,z),d(J,z);var ee=t.mont(R),ie=Q.invm(z);return 0===W.toRed(ee).redPow(new t(y).mul(ie).mod(z)).fromRed().mul($.toRed(ee).redPow(J.mul(ie).mod(z)).fromRed()).mod(R).mod(z).cmp(J)}(T,y,W)}if("rsa"!==R&&"ecdsa/rsa"!==R)throw new Error("wrong public key type");y=e.concat([z,y]);for(var $=W.modulus.byteLength(),j=[1],Q=0;y.length+j.length+2<$;)j.push(255),Q+=1;j.push(0);for(var J=-1;++J<y.length;)j.push(y[J]);j=e.from(j);var ee=t.mont(W.modulus);T=(T=new t(T).toRed(ee)).redPow(new t(W.publicExponent)),T=e.from(T.fromRed().toArray());var ie=Q<8?1:0;for($=Math.min(T.length,j.length),T.length!==j.length&&(ie=1),J=-1;++J<$;)ie|=T[J]^j[J];return 0===ie}},3546:Qe=>{Qe.exports=function(g,e){for(var t=Math.min(g.length,e.length),w=new Buffer(t),S=0;S<t;++S)w[S]=g[S]^e[S];return w}},3838:(Qe,te,g)=>{"use strict";var e=g(3981),t=g(2020),w="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;te.Buffer=f,te.SlowBuffer=function Q(_e){return+_e!=_e&&(_e=0),f.alloc(+_e)},te.INSPECT_MAX_BYTES=50;var S=2147483647;function x(_e){if(_e>S)throw new RangeError('The value "'+_e+'" is invalid for option "size"');var be=new Uint8Array(_e);return Object.setPrototypeOf(be,f.prototype),be}function f(_e,be,pe){if("number"==typeof _e){if("string"==typeof be)throw new TypeError('The "string" argument must be of type string. Received type number');return y(_e)}return I(_e,be,pe)}function I(_e,be,pe){if("string"==typeof _e)return function F(_e,be){if(("string"!=typeof be||""===be)&&(be="utf8"),!f.isEncoding(be))throw new TypeError("Unknown encoding: "+be);var pe=0|J(_e,be),Ze=x(pe),_t=Ze.write(_e,be);return _t!==pe&&(Ze=Ze.slice(0,_t)),Ze}(_e,be);if(ArrayBuffer.isView(_e))return function z(_e){if(fe(_e,Uint8Array)){var be=new Uint8Array(_e);return W(be.buffer,be.byteOffset,be.byteLength)}return R(_e)}(_e);if(null==_e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _e);if(fe(_e,ArrayBuffer)||_e&&fe(_e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(fe(_e,SharedArrayBuffer)||_e&&fe(_e.buffer,SharedArrayBuffer)))return W(_e,be,pe);if("number"==typeof _e)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ze=_e.valueOf&&_e.valueOf();if(null!=Ze&&Ze!==_e)return f.from(Ze,be,pe);var _t=function $(_e){if(f.isBuffer(_e)){var be=0|j(_e.length),pe=x(be);return 0===pe.length||_e.copy(pe,0,0,be),pe}return void 0!==_e.length?"number"!=typeof _e.length||ke(_e.length)?x(0):R(_e):"Buffer"===_e.type&&Array.isArray(_e.data)?R(_e.data):void 0}(_e);if(_t)return _t;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof _e[Symbol.toPrimitive])return f.from(_e[Symbol.toPrimitive]("string"),be,pe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _e)}function d(_e){if("number"!=typeof _e)throw new TypeError('"size" argument must be of type number');if(_e<0)throw new RangeError('The value "'+_e+'" is invalid for option "size"')}function y(_e){return d(_e),x(_e<0?0:0|j(_e))}function R(_e){for(var be=_e.length<0?0:0|j(_e.length),pe=x(be),Ze=0;Ze<be;Ze+=1)pe[Ze]=255&_e[Ze];return pe}function W(_e,be,pe){if(be<0||_e.byteLength<be)throw new RangeError('"offset" is outside of buffer bounds');if(_e.byteLength<be+(pe||0))throw new RangeError('"length" is outside of buffer bounds');var Ze;return Ze=void 0===be&&void 0===pe?new Uint8Array(_e):void 0===pe?new Uint8Array(_e,be):new Uint8Array(_e,be,pe),Object.setPrototypeOf(Ze,f.prototype),Ze}function j(_e){if(_e>=S)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+S.toString(16)+" bytes");return 0|_e}function J(_e,be){if(f.isBuffer(_e))return _e.length;if(ArrayBuffer.isView(_e)||fe(_e,ArrayBuffer))return _e.byteLength;if("string"!=typeof _e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof _e);var pe=_e.length,Ze=arguments.length>2&&!0===arguments[2];if(!Ze&&0===pe)return 0;for(var _t=!1;;)switch(be){case"ascii":case"latin1":case"binary":return pe;case"utf8":case"utf-8":return Ke(_e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*pe;case"hex":return pe>>>1;case"base64":return me(_e).length;default:if(_t)return Ze?-1:Ke(_e).length;be=(""+be).toLowerCase(),_t=!0}}function ee(_e,be,pe){var Ze=!1;if((void 0===be||be<0)&&(be=0),be>this.length||((void 0===pe||pe>this.length)&&(pe=this.length),pe<=0)||(pe>>>=0)<=(be>>>=0))return"";for(_e||(_e="utf8");;)switch(_e){case"hex":return _(this,be,pe);case"utf8":case"utf-8":return m(this,be,pe);case"ascii":return k(this,be,pe);case"latin1":case"binary":return L(this,be,pe);case"base64":return c(this,be,pe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,be,pe);default:if(Ze)throw new TypeError("Unknown encoding: "+_e);_e=(_e+"").toLowerCase(),Ze=!0}}function ie(_e,be,pe){var Ze=_e[be];_e[be]=_e[pe],_e[pe]=Ze}function ge(_e,be,pe,Ze,_t){if(0===_e.length)return-1;if("string"==typeof pe?(Ze=pe,pe=0):pe>2147483647?pe=2147483647:pe<-2147483648&&(pe=-2147483648),ke(pe=+pe)&&(pe=_t?0:_e.length-1),pe<0&&(pe=_e.length+pe),pe>=_e.length){if(_t)return-1;pe=_e.length-1}else if(pe<0){if(!_t)return-1;pe=0}if("string"==typeof be&&(be=f.from(be,Ze)),f.isBuffer(be))return 0===be.length?-1:ae(_e,be,pe,Ze,_t);if("number"==typeof be)return be&=255,"function"==typeof Uint8Array.prototype.indexOf?_t?Uint8Array.prototype.indexOf.call(_e,be,pe):Uint8Array.prototype.lastIndexOf.call(_e,be,pe):ae(_e,[be],pe,Ze,_t);throw new TypeError("val must be string, number or Buffer")}function ae(_e,be,pe,Ze,_t){var ue,at=1,pt=_e.length,Xt=be.length;if(void 0!==Ze&&("ucs2"===(Ze=String(Ze).toLowerCase())||"ucs-2"===Ze||"utf16le"===Ze||"utf-16le"===Ze)){if(_e.length<2||be.length<2)return-1;at=2,pt/=2,Xt/=2,pe/=2}function ye(yt,Ye){return 1===at?yt[Ye]:yt.readUInt16BE(Ye*at)}if(_t){var Ie=-1;for(ue=pe;ue<pt;ue++)if(ye(_e,ue)===ye(be,-1===Ie?0:ue-Ie)){if(-1===Ie&&(Ie=ue),ue-Ie+1===Xt)return Ie*at}else-1!==Ie&&(ue-=ue-Ie),Ie=-1}else for(pe+Xt>pt&&(pe=pt-Xt),ue=pe;ue>=0;ue--){for(var He=!0,Xe=0;Xe<Xt;Xe++)if(ye(_e,ue+Xe)!==ye(be,Xe)){He=!1;break}if(He)return ue}return-1}function Me(_e,be,pe,Ze){pe=Number(pe)||0;var _t=_e.length-pe;Ze?(Ze=Number(Ze))>_t&&(Ze=_t):Ze=_t;var at=be.length;Ze>at/2&&(Ze=at/2);for(var pt=0;pt<Ze;++pt){var Xt=parseInt(be.substr(2*pt,2),16);if(ke(Xt))return pt;_e[pe+pt]=Xt}return pt}function Te(_e,be,pe,Ze){return ce(Ke(be,_e.length-pe),_e,pe,Ze)}function de(_e,be,pe,Ze){return ce(function se(_e){for(var be=[],pe=0;pe<_e.length;++pe)be.push(255&_e.charCodeAt(pe));return be}(be),_e,pe,Ze)}function D(_e,be,pe,Ze){return ce(me(be),_e,pe,Ze)}function n(_e,be,pe,Ze){return ce(function X(_e,be){for(var pe,Ze,at=[],pt=0;pt<_e.length&&!((be-=2)<0);++pt)Ze=(pe=_e.charCodeAt(pt))>>8,at.push(pe%256),at.push(Ze);return at}(be,_e.length-pe),_e,pe,Ze)}function c(_e,be,pe){return e.fromByteArray(0===be&&pe===_e.length?_e:_e.slice(be,pe))}function m(_e,be,pe){pe=Math.min(_e.length,pe);for(var Ze=[],_t=be;_t<pe;){var ye,ue,Ie,He,at=_e[_t],pt=null,Xt=at>239?4:at>223?3:at>191?2:1;if(_t+Xt<=pe)switch(Xt){case 1:at<128&&(pt=at);break;case 2:128==(192&(ye=_e[_t+1]))&&(He=(31&at)<<6|63&ye)>127&&(pt=He);break;case 3:ue=_e[_t+2],128==(192&(ye=_e[_t+1]))&&128==(192&ue)&&(He=(15&at)<<12|(63&ye)<<6|63&ue)>2047&&(He<55296||He>57343)&&(pt=He);break;case 4:ue=_e[_t+2],Ie=_e[_t+3],128==(192&(ye=_e[_t+1]))&&128==(192&ue)&&128==(192&Ie)&&(He=(15&at)<<18|(63&ye)<<12|(63&ue)<<6|63&Ie)>65535&&He<1114112&&(pt=He)}null===pt?(pt=65533,Xt=1):pt>65535&&(Ze.push((pt-=65536)>>>10&1023|55296),pt=56320|1023&pt),Ze.push(pt),_t+=Xt}return function C(_e){var be=_e.length;if(be<=h)return String.fromCharCode.apply(String,_e);for(var pe="",Ze=0;Ze<be;)pe+=String.fromCharCode.apply(String,_e.slice(Ze,Ze+=h));return pe}(Ze)}te.kMaxLength=S,!(f.TYPED_ARRAY_SUPPORT=function l(){try{var _e=new Uint8Array(1),be={foo:function(){return 42}};return Object.setPrototypeOf(be,Uint8Array.prototype),Object.setPrototypeOf(_e,be),42===_e.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(_e,be,pe){return I(_e,be,pe)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(_e,be,pe){return function T(_e,be,pe){return d(_e),_e<=0?x(_e):void 0!==be?"string"==typeof pe?x(_e).fill(be,pe):x(_e).fill(be):x(_e)}(_e,be,pe)},f.allocUnsafe=function(_e){return y(_e)},f.allocUnsafeSlow=function(_e){return y(_e)},f.isBuffer=function(be){return null!=be&&!0===be._isBuffer&&be!==f.prototype},f.compare=function(be,pe){if(fe(be,Uint8Array)&&(be=f.from(be,be.offset,be.byteLength)),fe(pe,Uint8Array)&&(pe=f.from(pe,pe.offset,pe.byteLength)),!f.isBuffer(be)||!f.isBuffer(pe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(be===pe)return 0;for(var Ze=be.length,_t=pe.length,at=0,pt=Math.min(Ze,_t);at<pt;++at)if(be[at]!==pe[at]){Ze=be[at],_t=pe[at];break}return Ze<_t?-1:_t<Ze?1:0},f.isEncoding=function(be){switch(String(be).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}},f.concat=function(be,pe){if(!Array.isArray(be))throw new TypeError('"list" argument must be an Array of Buffers');if(0===be.length)return f.alloc(0);var Ze;if(void 0===pe)for(pe=0,Ze=0;Ze<be.length;++Ze)pe+=be[Ze].length;var _t=f.allocUnsafe(pe),at=0;for(Ze=0;Ze<be.length;++Ze){var pt=be[Ze];if(fe(pt,Uint8Array))at+pt.length>_t.length?f.from(pt).copy(_t,at):Uint8Array.prototype.set.call(_t,pt,at);else{if(!f.isBuffer(pt))throw new TypeError('"list" argument must be an Array of Buffers');pt.copy(_t,at)}at+=pt.length}return _t},f.byteLength=J,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var be=this.length;if(be%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var pe=0;pe<be;pe+=2)ie(this,pe,pe+1);return this},f.prototype.swap32=function(){var be=this.length;if(be%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var pe=0;pe<be;pe+=4)ie(this,pe,pe+3),ie(this,pe+1,pe+2);return this},f.prototype.swap64=function(){var be=this.length;if(be%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var pe=0;pe<be;pe+=8)ie(this,pe,pe+7),ie(this,pe+1,pe+6),ie(this,pe+2,pe+5),ie(this,pe+3,pe+4);return this},f.prototype.toLocaleString=f.prototype.toString=function(){var be=this.length;return 0===be?"":0===arguments.length?m(this,0,be):ee.apply(this,arguments)},f.prototype.equals=function(be){if(!f.isBuffer(be))throw new TypeError("Argument must be a Buffer");return this===be||0===f.compare(this,be)},f.prototype.inspect=function(){var be="",pe=te.INSPECT_MAX_BYTES;return be=this.toString("hex",0,pe).replace(/(.{2})/g,"$1 ").trim(),this.length>pe&&(be+=" ... "),"<Buffer "+be+">"},w&&(f.prototype[w]=f.prototype.inspect),f.prototype.compare=function(be,pe,Ze,_t,at){if(fe(be,Uint8Array)&&(be=f.from(be,be.offset,be.byteLength)),!f.isBuffer(be))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof be);if(void 0===pe&&(pe=0),void 0===Ze&&(Ze=be?be.length:0),void 0===_t&&(_t=0),void 0===at&&(at=this.length),pe<0||Ze>be.length||_t<0||at>this.length)throw new RangeError("out of range index");if(_t>=at&&pe>=Ze)return 0;if(_t>=at)return-1;if(pe>=Ze)return 1;if(this===be)return 0;for(var pt=(at>>>=0)-(_t>>>=0),Xt=(Ze>>>=0)-(pe>>>=0),ye=Math.min(pt,Xt),ue=this.slice(_t,at),Ie=be.slice(pe,Ze),He=0;He<ye;++He)if(ue[He]!==Ie[He]){pt=ue[He],Xt=Ie[He];break}return pt<Xt?-1:Xt<pt?1:0},f.prototype.includes=function(be,pe,Ze){return-1!==this.indexOf(be,pe,Ze)},f.prototype.indexOf=function(be,pe,Ze){return ge(this,be,pe,Ze,!0)},f.prototype.lastIndexOf=function(be,pe,Ze){return ge(this,be,pe,Ze,!1)},f.prototype.write=function(be,pe,Ze,_t){if(void 0===pe)_t="utf8",Ze=this.length,pe=0;else if(void 0===Ze&&"string"==typeof pe)_t=pe,Ze=this.length,pe=0;else{if(!isFinite(pe))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");pe>>>=0,isFinite(Ze)?(Ze>>>=0,void 0===_t&&(_t="utf8")):(_t=Ze,Ze=void 0)}var at=this.length-pe;if((void 0===Ze||Ze>at)&&(Ze=at),be.length>0&&(Ze<0||pe<0)||pe>this.length)throw new RangeError("Attempt to write outside buffer bounds");_t||(_t="utf8");for(var pt=!1;;)switch(_t){case"hex":return Me(this,be,pe,Ze);case"utf8":case"utf-8":return Te(this,be,pe,Ze);case"ascii":case"latin1":case"binary":return de(this,be,pe,Ze);case"base64":return D(this,be,pe,Ze);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,be,pe,Ze);default:if(pt)throw new TypeError("Unknown encoding: "+_t);_t=(""+_t).toLowerCase(),pt=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var h=4096;function k(_e,be,pe){var Ze="";pe=Math.min(_e.length,pe);for(var _t=be;_t<pe;++_t)Ze+=String.fromCharCode(127&_e[_t]);return Ze}function L(_e,be,pe){var Ze="";pe=Math.min(_e.length,pe);for(var _t=be;_t<pe;++_t)Ze+=String.fromCharCode(_e[_t]);return Ze}function _(_e,be,pe){var Ze=_e.length;(!be||be<0)&&(be=0),(!pe||pe<0||pe>Ze)&&(pe=Ze);for(var _t="",at=be;at<pe;++at)_t+=mt[_e[at]];return _t}function r(_e,be,pe){for(var Ze=_e.slice(be,pe),_t="",at=0;at<Ze.length-1;at+=2)_t+=String.fromCharCode(Ze[at]+256*Ze[at+1]);return _t}function v(_e,be,pe){if(_e%1!=0||_e<0)throw new RangeError("offset is not uint");if(_e+be>pe)throw new RangeError("Trying to access beyond buffer length")}function V(_e,be,pe,Ze,_t,at){if(!f.isBuffer(_e))throw new TypeError('"buffer" argument must be a Buffer instance');if(be>_t||be<at)throw new RangeError('"value" argument is out of bounds');if(pe+Ze>_e.length)throw new RangeError("Index out of range")}function N(_e,be,pe,Ze,_t,at){if(pe+Ze>_e.length)throw new RangeError("Index out of range");if(pe<0)throw new RangeError("Index out of range")}function ne(_e,be,pe,Ze,_t){return be=+be,pe>>>=0,_t||N(_e,0,pe,4),t.write(_e,be,pe,Ze,23,4),pe+4}function Ee(_e,be,pe,Ze,_t){return be=+be,pe>>>=0,_t||N(_e,0,pe,8),t.write(_e,be,pe,Ze,52,8),pe+8}f.prototype.slice=function(be,pe){var Ze=this.length;(be=~~be)<0?(be+=Ze)<0&&(be=0):be>Ze&&(be=Ze),(pe=void 0===pe?Ze:~~pe)<0?(pe+=Ze)<0&&(pe=0):pe>Ze&&(pe=Ze),pe<be&&(pe=be);var _t=this.subarray(be,pe);return Object.setPrototypeOf(_t,f.prototype),_t},f.prototype.readUintLE=f.prototype.readUIntLE=function(be,pe,Ze){be>>>=0,pe>>>=0,Ze||v(be,pe,this.length);for(var _t=this[be],at=1,pt=0;++pt<pe&&(at*=256);)_t+=this[be+pt]*at;return _t},f.prototype.readUintBE=f.prototype.readUIntBE=function(be,pe,Ze){be>>>=0,pe>>>=0,Ze||v(be,pe,this.length);for(var _t=this[be+--pe],at=1;pe>0&&(at*=256);)_t+=this[be+--pe]*at;return _t},f.prototype.readUint8=f.prototype.readUInt8=function(be,pe){return be>>>=0,pe||v(be,1,this.length),this[be]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(be,pe){return be>>>=0,pe||v(be,2,this.length),this[be]|this[be+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(be,pe){return be>>>=0,pe||v(be,2,this.length),this[be]<<8|this[be+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(be,pe){return be>>>=0,pe||v(be,4,this.length),(this[be]|this[be+1]<<8|this[be+2]<<16)+16777216*this[be+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(be,pe){return be>>>=0,pe||v(be,4,this.length),16777216*this[be]+(this[be+1]<<16|this[be+2]<<8|this[be+3])},f.prototype.readIntLE=function(be,pe,Ze){be>>>=0,pe>>>=0,Ze||v(be,pe,this.length);for(var _t=this[be],at=1,pt=0;++pt<pe&&(at*=256);)_t+=this[be+pt]*at;return _t>=(at*=128)&&(_t-=Math.pow(2,8*pe)),_t},f.prototype.readIntBE=function(be,pe,Ze){be>>>=0,pe>>>=0,Ze||v(be,pe,this.length);for(var _t=pe,at=1,pt=this[be+--_t];_t>0&&(at*=256);)pt+=this[be+--_t]*at;return pt>=(at*=128)&&(pt-=Math.pow(2,8*pe)),pt},f.prototype.readInt8=function(be,pe){return be>>>=0,pe||v(be,1,this.length),128&this[be]?-1*(255-this[be]+1):this[be]},f.prototype.readInt16LE=function(be,pe){be>>>=0,pe||v(be,2,this.length);var Ze=this[be]|this[be+1]<<8;return 32768&Ze?4294901760|Ze:Ze},f.prototype.readInt16BE=function(be,pe){be>>>=0,pe||v(be,2,this.length);var Ze=this[be+1]|this[be]<<8;return 32768&Ze?4294901760|Ze:Ze},f.prototype.readInt32LE=function(be,pe){return be>>>=0,pe||v(be,4,this.length),this[be]|this[be+1]<<8|this[be+2]<<16|this[be+3]<<24},f.prototype.readInt32BE=function(be,pe){return be>>>=0,pe||v(be,4,this.length),this[be]<<24|this[be+1]<<16|this[be+2]<<8|this[be+3]},f.prototype.readFloatLE=function(be,pe){return be>>>=0,pe||v(be,4,this.length),t.read(this,be,!0,23,4)},f.prototype.readFloatBE=function(be,pe){return be>>>=0,pe||v(be,4,this.length),t.read(this,be,!1,23,4)},f.prototype.readDoubleLE=function(be,pe){return be>>>=0,pe||v(be,8,this.length),t.read(this,be,!0,52,8)},f.prototype.readDoubleBE=function(be,pe){return be>>>=0,pe||v(be,8,this.length),t.read(this,be,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(be,pe,Ze,_t){be=+be,pe>>>=0,Ze>>>=0,_t||V(this,be,pe,Ze,Math.pow(2,8*Ze)-1,0);var pt=1,Xt=0;for(this[pe]=255&be;++Xt<Ze&&(pt*=256);)this[pe+Xt]=be/pt&255;return pe+Ze},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(be,pe,Ze,_t){be=+be,pe>>>=0,Ze>>>=0,_t||V(this,be,pe,Ze,Math.pow(2,8*Ze)-1,0);var pt=Ze-1,Xt=1;for(this[pe+pt]=255&be;--pt>=0&&(Xt*=256);)this[pe+pt]=be/Xt&255;return pe+Ze},f.prototype.writeUint8=f.prototype.writeUInt8=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,1,255,0),this[pe]=255&be,pe+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,2,65535,0),this[pe]=255&be,this[pe+1]=be>>>8,pe+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,2,65535,0),this[pe]=be>>>8,this[pe+1]=255&be,pe+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,4,4294967295,0),this[pe+3]=be>>>24,this[pe+2]=be>>>16,this[pe+1]=be>>>8,this[pe]=255&be,pe+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,4,4294967295,0),this[pe]=be>>>24,this[pe+1]=be>>>16,this[pe+2]=be>>>8,this[pe+3]=255&be,pe+4},f.prototype.writeIntLE=function(be,pe,Ze,_t){if(be=+be,pe>>>=0,!_t){var at=Math.pow(2,8*Ze-1);V(this,be,pe,Ze,at-1,-at)}var pt=0,Xt=1,ye=0;for(this[pe]=255&be;++pt<Ze&&(Xt*=256);)be<0&&0===ye&&0!==this[pe+pt-1]&&(ye=1),this[pe+pt]=(be/Xt|0)-ye&255;return pe+Ze},f.prototype.writeIntBE=function(be,pe,Ze,_t){if(be=+be,pe>>>=0,!_t){var at=Math.pow(2,8*Ze-1);V(this,be,pe,Ze,at-1,-at)}var pt=Ze-1,Xt=1,ye=0;for(this[pe+pt]=255&be;--pt>=0&&(Xt*=256);)be<0&&0===ye&&0!==this[pe+pt+1]&&(ye=1),this[pe+pt]=(be/Xt|0)-ye&255;return pe+Ze},f.prototype.writeInt8=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,1,127,-128),be<0&&(be=255+be+1),this[pe]=255&be,pe+1},f.prototype.writeInt16LE=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,2,32767,-32768),this[pe]=255&be,this[pe+1]=be>>>8,pe+2},f.prototype.writeInt16BE=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,2,32767,-32768),this[pe]=be>>>8,this[pe+1]=255&be,pe+2},f.prototype.writeInt32LE=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,4,2147483647,-2147483648),this[pe]=255&be,this[pe+1]=be>>>8,this[pe+2]=be>>>16,this[pe+3]=be>>>24,pe+4},f.prototype.writeInt32BE=function(be,pe,Ze){return be=+be,pe>>>=0,Ze||V(this,be,pe,4,2147483647,-2147483648),be<0&&(be=4294967295+be+1),this[pe]=be>>>24,this[pe+1]=be>>>16,this[pe+2]=be>>>8,this[pe+3]=255&be,pe+4},f.prototype.writeFloatLE=function(be,pe,Ze){return ne(this,be,pe,!0,Ze)},f.prototype.writeFloatBE=function(be,pe,Ze){return ne(this,be,pe,!1,Ze)},f.prototype.writeDoubleLE=function(be,pe,Ze){return Ee(this,be,pe,!0,Ze)},f.prototype.writeDoubleBE=function(be,pe,Ze){return Ee(this,be,pe,!1,Ze)},f.prototype.copy=function(be,pe,Ze,_t){if(!f.isBuffer(be))throw new TypeError("argument should be a Buffer");if(Ze||(Ze=0),!_t&&0!==_t&&(_t=this.length),pe>=be.length&&(pe=be.length),pe||(pe=0),_t>0&&_t<Ze&&(_t=Ze),_t===Ze||0===be.length||0===this.length)return 0;if(pe<0)throw new RangeError("targetStart out of bounds");if(Ze<0||Ze>=this.length)throw new RangeError("Index out of range");if(_t<0)throw new RangeError("sourceEnd out of bounds");_t>this.length&&(_t=this.length),be.length-pe<_t-Ze&&(_t=be.length-pe+Ze);var at=_t-Ze;return this===be&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(pe,Ze,_t):Uint8Array.prototype.set.call(be,this.subarray(Ze,_t),pe),at},f.prototype.fill=function(be,pe,Ze,_t){if("string"==typeof be){if("string"==typeof pe?(_t=pe,pe=0,Ze=this.length):"string"==typeof Ze&&(_t=Ze,Ze=this.length),void 0!==_t&&"string"!=typeof _t)throw new TypeError("encoding must be a string");if("string"==typeof _t&&!f.isEncoding(_t))throw new TypeError("Unknown encoding: "+_t);if(1===be.length){var at=be.charCodeAt(0);("utf8"===_t&&at<128||"latin1"===_t)&&(be=at)}}else"number"==typeof be?be&=255:"boolean"==typeof be&&(be=Number(be));if(pe<0||this.length<pe||this.length<Ze)throw new RangeError("Out of range index");if(Ze<=pe)return this;var pt;if(pe>>>=0,Ze=void 0===Ze?this.length:Ze>>>0,be||(be=0),"number"==typeof be)for(pt=pe;pt<Ze;++pt)this[pt]=be;else{var Xt=f.isBuffer(be)?be:f.from(be,_t),ye=Xt.length;if(0===ye)throw new TypeError('The value "'+be+'" is invalid for argument "value"');for(pt=0;pt<Ze-pe;++pt)this[pt+pe]=Xt[pt%ye]}return this};var ze=/[^+/0-9A-Za-z-_]/g;function Ke(_e,be){be=be||1/0;for(var pe,Ze=_e.length,_t=null,at=[],pt=0;pt<Ze;++pt){if((pe=_e.charCodeAt(pt))>55295&&pe<57344){if(!_t){if(pe>56319){(be-=3)>-1&&at.push(239,191,189);continue}if(pt+1===Ze){(be-=3)>-1&&at.push(239,191,189);continue}_t=pe;continue}if(pe<56320){(be-=3)>-1&&at.push(239,191,189),_t=pe;continue}pe=65536+(_t-55296<<10|pe-56320)}else _t&&(be-=3)>-1&&at.push(239,191,189);if(_t=null,pe<128){if((be-=1)<0)break;at.push(pe)}else if(pe<2048){if((be-=2)<0)break;at.push(pe>>6|192,63&pe|128)}else if(pe<65536){if((be-=3)<0)break;at.push(pe>>12|224,pe>>6&63|128,63&pe|128)}else{if(!(pe<1114112))throw new Error("Invalid code point");if((be-=4)<0)break;at.push(pe>>18|240,pe>>12&63|128,pe>>6&63|128,63&pe|128)}}return at}function me(_e){return e.toByteArray(function qe(_e){if((_e=(_e=_e.split("=")[0]).trim().replace(ze,"")).length<2)return"";for(;_e.length%4!=0;)_e+="=";return _e}(_e))}function ce(_e,be,pe,Ze){for(var _t=0;_t<Ze&&!(_t+pe>=be.length||_t>=_e.length);++_t)be[_t+pe]=_e[_t];return _t}function fe(_e,be){return _e instanceof be||null!=_e&&null!=_e.constructor&&null!=_e.constructor.name&&_e.constructor.name===be.name}function ke(_e){return _e!=_e}var mt=function(){for(var _e="0123456789abcdef",be=new Array(256),pe=0;pe<16;++pe)for(var Ze=16*pe,_t=0;_t<16;++_t)be[Ze+_t]=_e[pe]+_e[_t];return be}()},3247:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(7045).Transform,w=g(8454).I;function l(x){t.call(this),this.hashMode="string"==typeof x,this.hashMode?this[x]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}g(1993)(l,t),l.prototype.update=function(x,f,I){"string"==typeof x&&(x=e.from(x,f));var d=this._update(x);return this.hashMode?this:(I&&(d=this._toString(d,I)),d)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(x,f,I){var d;try{this.hashMode?this._update(x):this.push(this._update(x))}catch(T){d=T}finally{I(d)}},l.prototype._flush=function(x){var f;try{this.push(this.__final())}catch(I){f=I}x(f)},l.prototype._finalOrDigest=function(x){var f=this.__final()||e.alloc(0);return x&&(f=this._toString(f,x,!0)),f},l.prototype._toString=function(x,f,I){if(this._decoder||(this._decoder=new w(f),this._encoding=f),this._encoding!==f)throw new Error("can't switch encodings");var d=this._decoder.write(x);return I&&(d+=this._decoder.end()),d},Qe.exports=l},4740:function(Qe){!function(te){"use strict";var g={bytesToHex:function(w){return function e(w){return w.map(function(S){return function t(w,S){return w.length>S?w:Array(S-w.length+1).join("0")+w}(S.toString(16),2)}).join("")}(w)},hexToBytes:function(w){if(w.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===w.indexOf("0x")&&(w=w.slice(2)),w.match(/../g).map(function(S){return parseInt(S,16)})}};Qe.exports?Qe.exports=g:te.convertHex=g}(this)},820:function(Qe){!function(te){"use strict";var g={bytesToString:function(e){return e.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(e){return e.split("").map(function(t){return t.charCodeAt(0)})}};g.UTF8={bytesToString:function(e){return decodeURIComponent(escape(g.bytesToString(e)))},stringToBytes:function(e){return g.stringToBytes(unescape(encodeURIComponent(e)))}},Qe.exports?Qe.exports=g:te.convertString=g}(this)},7637:(Qe,te,g)=>{function W($){return Object.prototype.toString.call($)}te.isArray=function e($){return Array.isArray?Array.isArray($):"[object Array]"===W($)},te.isBoolean=function t($){return"boolean"==typeof $},te.isNull=function w($){return null===$},te.isNullOrUndefined=function S($){return null==$},te.isNumber=function l($){return"number"==typeof $},te.isString=function x($){return"string"==typeof $},te.isSymbol=function f($){return"symbol"==typeof $},te.isUndefined=function I($){return void 0===$},te.isRegExp=function d($){return"[object RegExp]"===W($)},te.isObject=function T($){return"object"==typeof $&&null!==$},te.isDate=function y($){return"[object Date]"===W($)},te.isError=function F($){return"[object Error]"===W($)||$ instanceof Error},te.isFunction=function R($){return"function"==typeof $},te.isPrimitive=function z($){return null===$||"boolean"==typeof $||"number"==typeof $||"string"==typeof $||"symbol"==typeof $||typeof $>"u"},te.isBuffer=g(3838).Buffer.isBuffer},7303:(Qe,te,g)=>{var e=g(518),t=g(9606);Qe.exports=function(f){return new S(f)};var w={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 S(x){this.curveType=w[x],this.curveType||(this.curveType={name:x}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function l(x,f,I){Array.isArray(x)||(x=x.toArray());var d=new Buffer(x);if(I&&d.length<I){var T=new Buffer(I-d.length);T.fill(0),d=Buffer.concat([T,d])}return f?d.toString(f):d}w.p224=w.secp224r1,w.p256=w.secp256r1=w.prime256v1,w.p192=w.secp192r1=w.prime192v1,w.p384=w.secp384r1,w.p521=w.secp521r1,S.prototype.generateKeys=function(x,f){return this.keys=this.curve.genKeyPair(),this.getPublicKey(x,f)},S.prototype.computeSecret=function(x,f,I){return f=f||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,f)),l(this.curve.keyFromPublic(x).getPublic().mul(this.keys.getPrivate()).getX(),I,this.curveType.byteLength)},S.prototype.getPublicKey=function(x,f){var I=this.keys.getPublic("compressed"===f,!0);return"hybrid"===f&&(I[0]=I[I.length-1]%2?7:6),l(I,x)},S.prototype.getPrivateKey=function(x){return l(this.keys.getPrivate(),x)},S.prototype.setPublicKey=function(x,f){return f=f||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,f)),this.keys._importPublic(x),this},S.prototype.setPrivateKey=function(x,f){f=f||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,f));var I=new t(x);return I=I.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(I),this}},9606:function(Qe,te,g){!function(e,t){"use strict";function w(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(7965).Buffer}catch{}function f(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function I(D,n,c){var m=f(D,c);return c-1>=n&&(m|=f(D,c-1)<<4),m}function d(D,n,c,m){for(var h=0,C=Math.min(D.length,c),k=n;k<C;k++){var L=D.charCodeAt(k)-48;h*=m,h+=L>=49?L-49+10:L>=17?L-17+10:L}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),w(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,m):(this._parseBase(n,c,h),"le"===m&&this._initArray(this.toArray(),c,m)))},l.prototype._initNumber=function(n,c,m){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(w(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),c,m)},l.prototype._initArray=function(n,c,m){if(w("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var C,k,L=0;if("be"===m)for(h=n.length-1,C=0;h>=0;h-=3)this.words[C]|=(k=n[h]|n[h-1]<<8|n[h-2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);else if("le"===m)for(h=0,C=0;h<n.length;h+=3)this.words[C]|=(k=n[h]|n[h+1]<<8|n[h+2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var L,C=0,k=0;if("be"===m)for(h=n.length-1;h>=c;h-=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=c)h++;h--,C=C/c|0;for(var k=n.length-m,L=k%h,_=Math.min(k,k-L)+m,r=0,v=m;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(C),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==L){var V=1;for(r=d(n,v,n.length,c),v=0;v<L;v++)V*=c;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var c=0;c<this.length;c++)n.words[c]=this.words[c];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],y=[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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(D,n,c){c.negative=n.negative^D.negative;var m=D.length+n.length|0;c.length=m,m=m-1|0;var h=0|D.words[0],C=0|n.words[0],k=h*C,_=k/67108864|0;c.words[0]=67108863&k;for(var r=1;r<m;r++){for(var v=_>>>26,V=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(k=(h=0|D.words[r-ne|0])*(C=0|n.words[ne])+V)/67108864|0,V=67108863&k;c.words[r]=0|V,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var h=0,C=0,k=0;k<this.length;k++){var L=this.words[k],_=(16777215&(L<<h|C)).toString(16);m=0!=(C=L>>>24-h&16777215)||k!==this.length-1?T[6-_.length]+_+m:_+m,(h+=2)>=26&&(h-=26,k--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=F[n];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(v).toString(n);m=(V=V.idivn(v)).isZero()?N+m:T[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}w(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&w(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,c){return w(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var h=this.byteLength(),C=m||Math.max(1,h);w(h<=C,"byte array longer than desired length"),w(C>0,"Requested array length <= 0"),this.strip();var _,r,k="le"===c,L=new n(C),v=this.clone();if(k){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[r]=_;for(;r<C;r++)L[r]=0}else{for(r=0;r<C-h;r++)L[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[C-r-1]=_}return L},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,m=0;return c>=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var m=this._zeroBits(this.words[c]);if(n+=m,26!==m)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return w(!(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var c;c=this.length>n.length?n:this;for(var m=0;m<c.length;m++)this.words[m]=this.words[m]&n.words[m];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return w(!(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var c,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var h=0;h<m.length;h++)this.words[h]=c.words[h]^m.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return w(!(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){w("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var h=0;h<c;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){w("number"==typeof n&&n>=0);var m=n/26|0,h=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,m,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(m=this,h=n):(m=n,h=this);for(var C=0,k=0;k<h.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+(0|h.words[k])+C),C=c>>>26;for(;0!==C&&k<m.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+C),C=c>>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;k<m.length;k++)this.words[k]=m.words[k];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,C=n):(h=n,C=this);for(var k=0,L=0;L<C.length;L++)k=(c=(0|h.words[L])-(0|C.words[L])+k)>>26,this.words[L]=67108863&c;for(;0!==k&&L<h.length;L++)k=(c=(0|h.words[L])+k)>>26,this.words[L]=67108863&c;if(0===k&&L<h.length&&h!==this)for(;L<h.length;L++)this.words[L]=h.words[L];return this.length=Math.max(this.length,L),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var W=function(n,c,m){var _,r,v,h=n.words,C=c.words,k=m.words,L=0,V=0|h[0],N=8191&V,ne=V>>>13,Ee=0|h[1],ze=8191&Ee,qe=Ee>>>13,Ke=0|h[2],se=8191&Ke,X=Ke>>>13,me=0|h[3],ce=8191&me,fe=me>>>13,ke=0|h[4],mt=8191&ke,_e=ke>>>13,be=0|h[5],pe=8191&be,Ze=be>>>13,_t=0|h[6],at=8191&_t,pt=_t>>>13,Xt=0|h[7],ye=8191&Xt,ue=Xt>>>13,Ie=0|h[8],He=8191&Ie,Xe=Ie>>>13,yt=0|h[9],Ye=8191&yt,rt=yt>>>13,Yt=0|C[0],Nt=8191&Yt,Et=Yt>>>13,Vt=0|C[1],oe=8191&Vt,tt=Vt>>>13,$t=0|C[2],zt=8191&$t,Jt=$t>>>13,St=0|C[3],dt=8191&St,Ae=St>>>13,we=0|C[4],he=8191&we,q=we>>>13,Re=0|C[5],Ne=8191&Re,gt=Re>>>13,$e=0|C[6],Fe=8191&$e,Ge=$e>>>13,et=0|C[7],st=8191&et,Tt=et>>>13,mi=0|C[8],Kt=8191&mi,Pt=mi>>>13,Xi=0|C[9],di=8191&Xi,fi=Xi>>>13;m.negative=n.negative^c.negative,m.length=19;var vn=(L+(_=Math.imul(N,Nt))|0)+((8191&(r=(r=Math.imul(N,Et))+Math.imul(ne,Nt)|0))<<13)|0;L=((v=Math.imul(ne,Et))+(r>>>13)|0)+(vn>>>26)|0,vn&=67108863,_=Math.imul(ze,Nt),r=(r=Math.imul(ze,Et))+Math.imul(qe,Nt)|0,v=Math.imul(qe,Et);var Qi=(L+(_=_+Math.imul(N,oe)|0)|0)+((8191&(r=(r=r+Math.imul(N,tt)|0)+Math.imul(ne,oe)|0))<<13)|0;L=((v=v+Math.imul(ne,tt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(se,Nt),r=(r=Math.imul(se,Et))+Math.imul(X,Nt)|0,v=Math.imul(X,Et),_=_+Math.imul(ze,oe)|0,r=(r=r+Math.imul(ze,tt)|0)+Math.imul(qe,oe)|0,v=v+Math.imul(qe,tt)|0;var Li=(L+(_=_+Math.imul(N,zt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Jt)|0)+Math.imul(ne,zt)|0))<<13)|0;L=((v=v+Math.imul(ne,Jt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(ce,Nt),r=(r=Math.imul(ce,Et))+Math.imul(fe,Nt)|0,v=Math.imul(fe,Et),_=_+Math.imul(se,oe)|0,r=(r=r+Math.imul(se,tt)|0)+Math.imul(X,oe)|0,v=v+Math.imul(X,tt)|0,_=_+Math.imul(ze,zt)|0,r=(r=r+Math.imul(ze,Jt)|0)+Math.imul(qe,zt)|0,v=v+Math.imul(qe,Jt)|0;var Zi=(L+(_=_+Math.imul(N,dt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ae)|0)+Math.imul(ne,dt)|0))<<13)|0;L=((v=v+Math.imul(ne,Ae)|0)+(r>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul(mt,Nt),r=(r=Math.imul(mt,Et))+Math.imul(_e,Nt)|0,v=Math.imul(_e,Et),_=_+Math.imul(ce,oe)|0,r=(r=r+Math.imul(ce,tt)|0)+Math.imul(fe,oe)|0,v=v+Math.imul(fe,tt)|0,_=_+Math.imul(se,zt)|0,r=(r=r+Math.imul(se,Jt)|0)+Math.imul(X,zt)|0,v=v+Math.imul(X,Jt)|0,_=_+Math.imul(ze,dt)|0,r=(r=r+Math.imul(ze,Ae)|0)+Math.imul(qe,dt)|0,v=v+Math.imul(qe,Ae)|0;var Qt=(L+(_=_+Math.imul(N,he)|0)|0)+((8191&(r=(r=r+Math.imul(N,q)|0)+Math.imul(ne,he)|0))<<13)|0;L=((v=v+Math.imul(ne,q)|0)+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,_=Math.imul(pe,Nt),r=(r=Math.imul(pe,Et))+Math.imul(Ze,Nt)|0,v=Math.imul(Ze,Et),_=_+Math.imul(mt,oe)|0,r=(r=r+Math.imul(mt,tt)|0)+Math.imul(_e,oe)|0,v=v+Math.imul(_e,tt)|0,_=_+Math.imul(ce,zt)|0,r=(r=r+Math.imul(ce,Jt)|0)+Math.imul(fe,zt)|0,v=v+Math.imul(fe,Jt)|0,_=_+Math.imul(se,dt)|0,r=(r=r+Math.imul(se,Ae)|0)+Math.imul(X,dt)|0,v=v+Math.imul(X,Ae)|0,_=_+Math.imul(ze,he)|0,r=(r=r+Math.imul(ze,q)|0)+Math.imul(qe,he)|0,v=v+Math.imul(qe,q)|0;var Mt=(L+(_=_+Math.imul(N,Ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(ne,Ne)|0))<<13)|0;L=((v=v+Math.imul(ne,gt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(at,Nt),r=(r=Math.imul(at,Et))+Math.imul(pt,Nt)|0,v=Math.imul(pt,Et),_=_+Math.imul(pe,oe)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(Ze,oe)|0,v=v+Math.imul(Ze,tt)|0,_=_+Math.imul(mt,zt)|0,r=(r=r+Math.imul(mt,Jt)|0)+Math.imul(_e,zt)|0,v=v+Math.imul(_e,Jt)|0,_=_+Math.imul(ce,dt)|0,r=(r=r+Math.imul(ce,Ae)|0)+Math.imul(fe,dt)|0,v=v+Math.imul(fe,Ae)|0,_=_+Math.imul(se,he)|0,r=(r=r+Math.imul(se,q)|0)+Math.imul(X,he)|0,v=v+Math.imul(X,q)|0,_=_+Math.imul(ze,Ne)|0,r=(r=r+Math.imul(ze,gt)|0)+Math.imul(qe,Ne)|0,v=v+Math.imul(qe,gt)|0;var it=(L+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ge)|0)+Math.imul(ne,Fe)|0))<<13)|0;L=((v=v+Math.imul(ne,Ge)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,_=Math.imul(ye,Nt),r=(r=Math.imul(ye,Et))+Math.imul(ue,Nt)|0,v=Math.imul(ue,Et),_=_+Math.imul(at,oe)|0,r=(r=r+Math.imul(at,tt)|0)+Math.imul(pt,oe)|0,v=v+Math.imul(pt,tt)|0,_=_+Math.imul(pe,zt)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(Ze,zt)|0,v=v+Math.imul(Ze,Jt)|0,_=_+Math.imul(mt,dt)|0,r=(r=r+Math.imul(mt,Ae)|0)+Math.imul(_e,dt)|0,v=v+Math.imul(_e,Ae)|0,_=_+Math.imul(ce,he)|0,r=(r=r+Math.imul(ce,q)|0)+Math.imul(fe,he)|0,v=v+Math.imul(fe,q)|0,_=_+Math.imul(se,Ne)|0,r=(r=r+Math.imul(se,gt)|0)+Math.imul(X,Ne)|0,v=v+Math.imul(X,gt)|0,_=_+Math.imul(ze,Fe)|0,r=(r=r+Math.imul(ze,Ge)|0)+Math.imul(qe,Fe)|0,v=v+Math.imul(qe,Ge)|0;var ct=(L+(_=_+Math.imul(N,st)|0)|0)+((8191&(r=(r=r+Math.imul(N,Tt)|0)+Math.imul(ne,st)|0))<<13)|0;L=((v=v+Math.imul(ne,Tt)|0)+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,_=Math.imul(He,Nt),r=(r=Math.imul(He,Et))+Math.imul(Xe,Nt)|0,v=Math.imul(Xe,Et),_=_+Math.imul(ye,oe)|0,r=(r=r+Math.imul(ye,tt)|0)+Math.imul(ue,oe)|0,v=v+Math.imul(ue,tt)|0,_=_+Math.imul(at,zt)|0,r=(r=r+Math.imul(at,Jt)|0)+Math.imul(pt,zt)|0,v=v+Math.imul(pt,Jt)|0,_=_+Math.imul(pe,dt)|0,r=(r=r+Math.imul(pe,Ae)|0)+Math.imul(Ze,dt)|0,v=v+Math.imul(Ze,Ae)|0,_=_+Math.imul(mt,he)|0,r=(r=r+Math.imul(mt,q)|0)+Math.imul(_e,he)|0,v=v+Math.imul(_e,q)|0,_=_+Math.imul(ce,Ne)|0,r=(r=r+Math.imul(ce,gt)|0)+Math.imul(fe,Ne)|0,v=v+Math.imul(fe,gt)|0,_=_+Math.imul(se,Fe)|0,r=(r=r+Math.imul(se,Ge)|0)+Math.imul(X,Fe)|0,v=v+Math.imul(X,Ge)|0,_=_+Math.imul(ze,st)|0,r=(r=r+Math.imul(ze,Tt)|0)+Math.imul(qe,st)|0,v=v+Math.imul(qe,Tt)|0;var wt=(L+(_=_+Math.imul(N,Kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(ne,Kt)|0))<<13)|0;L=((v=v+Math.imul(ne,Pt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,_=Math.imul(Ye,Nt),r=(r=Math.imul(Ye,Et))+Math.imul(rt,Nt)|0,v=Math.imul(rt,Et),_=_+Math.imul(He,oe)|0,r=(r=r+Math.imul(He,tt)|0)+Math.imul(Xe,oe)|0,v=v+Math.imul(Xe,tt)|0,_=_+Math.imul(ye,zt)|0,r=(r=r+Math.imul(ye,Jt)|0)+Math.imul(ue,zt)|0,v=v+Math.imul(ue,Jt)|0,_=_+Math.imul(at,dt)|0,r=(r=r+Math.imul(at,Ae)|0)+Math.imul(pt,dt)|0,v=v+Math.imul(pt,Ae)|0,_=_+Math.imul(pe,he)|0,r=(r=r+Math.imul(pe,q)|0)+Math.imul(Ze,he)|0,v=v+Math.imul(Ze,q)|0,_=_+Math.imul(mt,Ne)|0,r=(r=r+Math.imul(mt,gt)|0)+Math.imul(_e,Ne)|0,v=v+Math.imul(_e,gt)|0,_=_+Math.imul(ce,Fe)|0,r=(r=r+Math.imul(ce,Ge)|0)+Math.imul(fe,Fe)|0,v=v+Math.imul(fe,Ge)|0,_=_+Math.imul(se,st)|0,r=(r=r+Math.imul(se,Tt)|0)+Math.imul(X,st)|0,v=v+Math.imul(X,Tt)|0,_=_+Math.imul(ze,Kt)|0,r=(r=r+Math.imul(ze,Pt)|0)+Math.imul(qe,Kt)|0,v=v+Math.imul(qe,Pt)|0;var Ut=(L+(_=_+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(ne,di)|0))<<13)|0;L=((v=v+Math.imul(ne,fi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul(Ye,oe),r=(r=Math.imul(Ye,tt))+Math.imul(rt,oe)|0,v=Math.imul(rt,tt),_=_+Math.imul(He,zt)|0,r=(r=r+Math.imul(He,Jt)|0)+Math.imul(Xe,zt)|0,v=v+Math.imul(Xe,Jt)|0,_=_+Math.imul(ye,dt)|0,r=(r=r+Math.imul(ye,Ae)|0)+Math.imul(ue,dt)|0,v=v+Math.imul(ue,Ae)|0,_=_+Math.imul(at,he)|0,r=(r=r+Math.imul(at,q)|0)+Math.imul(pt,he)|0,v=v+Math.imul(pt,q)|0,_=_+Math.imul(pe,Ne)|0,r=(r=r+Math.imul(pe,gt)|0)+Math.imul(Ze,Ne)|0,v=v+Math.imul(Ze,gt)|0,_=_+Math.imul(mt,Fe)|0,r=(r=r+Math.imul(mt,Ge)|0)+Math.imul(_e,Fe)|0,v=v+Math.imul(_e,Ge)|0,_=_+Math.imul(ce,st)|0,r=(r=r+Math.imul(ce,Tt)|0)+Math.imul(fe,st)|0,v=v+Math.imul(fe,Tt)|0,_=_+Math.imul(se,Kt)|0,r=(r=r+Math.imul(se,Pt)|0)+Math.imul(X,Kt)|0,v=v+Math.imul(X,Pt)|0;var xi=(L+(_=_+Math.imul(ze,di)|0)|0)+((8191&(r=(r=r+Math.imul(ze,fi)|0)+Math.imul(qe,di)|0))<<13)|0;L=((v=v+Math.imul(qe,fi)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,_=Math.imul(Ye,zt),r=(r=Math.imul(Ye,Jt))+Math.imul(rt,zt)|0,v=Math.imul(rt,Jt),_=_+Math.imul(He,dt)|0,r=(r=r+Math.imul(He,Ae)|0)+Math.imul(Xe,dt)|0,v=v+Math.imul(Xe,Ae)|0,_=_+Math.imul(ye,he)|0,r=(r=r+Math.imul(ye,q)|0)+Math.imul(ue,he)|0,v=v+Math.imul(ue,q)|0,_=_+Math.imul(at,Ne)|0,r=(r=r+Math.imul(at,gt)|0)+Math.imul(pt,Ne)|0,v=v+Math.imul(pt,gt)|0,_=_+Math.imul(pe,Fe)|0,r=(r=r+Math.imul(pe,Ge)|0)+Math.imul(Ze,Fe)|0,v=v+Math.imul(Ze,Ge)|0,_=_+Math.imul(mt,st)|0,r=(r=r+Math.imul(mt,Tt)|0)+Math.imul(_e,st)|0,v=v+Math.imul(_e,Tt)|0,_=_+Math.imul(ce,Kt)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(fe,Kt)|0,v=v+Math.imul(fe,Pt)|0;var Si=(L+(_=_+Math.imul(se,di)|0)|0)+((8191&(r=(r=r+Math.imul(se,fi)|0)+Math.imul(X,di)|0))<<13)|0;L=((v=v+Math.imul(X,fi)|0)+(r>>>13)|0)+(Si>>>26)|0,Si&=67108863,_=Math.imul(Ye,dt),r=(r=Math.imul(Ye,Ae))+Math.imul(rt,dt)|0,v=Math.imul(rt,Ae),_=_+Math.imul(He,he)|0,r=(r=r+Math.imul(He,q)|0)+Math.imul(Xe,he)|0,v=v+Math.imul(Xe,q)|0,_=_+Math.imul(ye,Ne)|0,r=(r=r+Math.imul(ye,gt)|0)+Math.imul(ue,Ne)|0,v=v+Math.imul(ue,gt)|0,_=_+Math.imul(at,Fe)|0,r=(r=r+Math.imul(at,Ge)|0)+Math.imul(pt,Fe)|0,v=v+Math.imul(pt,Ge)|0,_=_+Math.imul(pe,st)|0,r=(r=r+Math.imul(pe,Tt)|0)+Math.imul(Ze,st)|0,v=v+Math.imul(Ze,Tt)|0,_=_+Math.imul(mt,Kt)|0,r=(r=r+Math.imul(mt,Pt)|0)+Math.imul(_e,Kt)|0,v=v+Math.imul(_e,Pt)|0;var zi=(L+(_=_+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(fe,di)|0))<<13)|0;L=((v=v+Math.imul(fe,fi)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,_=Math.imul(Ye,he),r=(r=Math.imul(Ye,q))+Math.imul(rt,he)|0,v=Math.imul(rt,q),_=_+Math.imul(He,Ne)|0,r=(r=r+Math.imul(He,gt)|0)+Math.imul(Xe,Ne)|0,v=v+Math.imul(Xe,gt)|0,_=_+Math.imul(ye,Fe)|0,r=(r=r+Math.imul(ye,Ge)|0)+Math.imul(ue,Fe)|0,v=v+Math.imul(ue,Ge)|0,_=_+Math.imul(at,st)|0,r=(r=r+Math.imul(at,Tt)|0)+Math.imul(pt,st)|0,v=v+Math.imul(pt,Tt)|0,_=_+Math.imul(pe,Kt)|0,r=(r=r+Math.imul(pe,Pt)|0)+Math.imul(Ze,Kt)|0,v=v+Math.imul(Ze,Pt)|0;var en=(L+(_=_+Math.imul(mt,di)|0)|0)+((8191&(r=(r=r+Math.imul(mt,fi)|0)+Math.imul(_e,di)|0))<<13)|0;L=((v=v+Math.imul(_e,fi)|0)+(r>>>13)|0)+(en>>>26)|0,en&=67108863,_=Math.imul(Ye,Ne),r=(r=Math.imul(Ye,gt))+Math.imul(rt,Ne)|0,v=Math.imul(rt,gt),_=_+Math.imul(He,Fe)|0,r=(r=r+Math.imul(He,Ge)|0)+Math.imul(Xe,Fe)|0,v=v+Math.imul(Xe,Ge)|0,_=_+Math.imul(ye,st)|0,r=(r=r+Math.imul(ye,Tt)|0)+Math.imul(ue,st)|0,v=v+Math.imul(ue,Tt)|0,_=_+Math.imul(at,Kt)|0,r=(r=r+Math.imul(at,Pt)|0)+Math.imul(pt,Kt)|0,v=v+Math.imul(pt,Pt)|0;var Ni=(L+(_=_+Math.imul(pe,di)|0)|0)+((8191&(r=(r=r+Math.imul(pe,fi)|0)+Math.imul(Ze,di)|0))<<13)|0;L=((v=v+Math.imul(Ze,fi)|0)+(r>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,_=Math.imul(Ye,Fe),r=(r=Math.imul(Ye,Ge))+Math.imul(rt,Fe)|0,v=Math.imul(rt,Ge),_=_+Math.imul(He,st)|0,r=(r=r+Math.imul(He,Tt)|0)+Math.imul(Xe,st)|0,v=v+Math.imul(Xe,Tt)|0,_=_+Math.imul(ye,Kt)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(ue,Kt)|0,v=v+Math.imul(ue,Pt)|0;var fn=(L+(_=_+Math.imul(at,di)|0)|0)+((8191&(r=(r=r+Math.imul(at,fi)|0)+Math.imul(pt,di)|0))<<13)|0;L=((v=v+Math.imul(pt,fi)|0)+(r>>>13)|0)+(fn>>>26)|0,fn&=67108863,_=Math.imul(Ye,st),r=(r=Math.imul(Ye,Tt))+Math.imul(rt,st)|0,v=Math.imul(rt,Tt),_=_+Math.imul(He,Kt)|0,r=(r=r+Math.imul(He,Pt)|0)+Math.imul(Xe,Kt)|0,v=v+Math.imul(Xe,Pt)|0;var Zt=(L+(_=_+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(ue,di)|0))<<13)|0;L=((v=v+Math.imul(ue,fi)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,_=Math.imul(Ye,Kt),r=(r=Math.imul(Ye,Pt))+Math.imul(rt,Kt)|0,v=Math.imul(rt,Pt);var bt=(L+(_=_+Math.imul(He,di)|0)|0)+((8191&(r=(r=r+Math.imul(He,fi)|0)+Math.imul(Xe,di)|0))<<13)|0;L=((v=v+Math.imul(Xe,fi)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863;var re=(L+(_=Math.imul(Ye,di))|0)+((8191&(r=(r=Math.imul(Ye,fi))+Math.imul(rt,di)|0))<<13)|0;return L=((v=Math.imul(rt,fi))+(r>>>13)|0)+(re>>>26)|0,re&=67108863,k[0]=vn,k[1]=Qi,k[2]=Li,k[3]=Zi,k[4]=Qt,k[5]=Mt,k[6]=it,k[7]=ct,k[8]=wt,k[9]=Ut,k[10]=xi,k[11]=Si,k[12]=zi,k[13]=en,k[14]=Ni,k[15]=fn,k[16]=Zt,k[17]=bt,k[18]=re,0!==L&&(k[19]=L,m.length++),m};function j(D,n,c){return(new Q).mulp(D,n,c)}function Q(D,n){this.x=D,this.y=n}Math.imul||(W=z),l.prototype.mulTo=function(n,c){var m,h=this.length+n.length;return m=10===this.length&&10===n.length?W(this,n,c):h<63?z(this,n,c):h<1024?function $(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var m=0,h=0,C=0;C<c.length-1;C++){var k=h;h=0;for(var L=67108863&m,_=Math.min(C,n.length-1),r=Math.max(0,C-D.length+1);r<=_;r++){var ne=(0|D.words[C-r])*(0|n.words[r]),Ee=67108863≠L=67108863&(Ee=Ee+L|0),h+=(k=(k=k+(ne/67108864|0)|0)+(Ee>>>26)|0)>>>26,k&=67108863}c.words[C]=L,m=k,k=h}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):j(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,m,n);return c},Q.prototype.revBin=function(n,c,m){if(0===n||n===m-1)return n;for(var h=0,C=0;C<c;C++)h|=(1&n)<<c-C-1,n>>=1;return h},Q.prototype.permute=function(n,c,m,h,C,k){for(var L=0;L<k;L++)h[L]=c[n[L]],C[L]=m[n[L]]},Q.prototype.transform=function(n,c,m,h,C,k){this.permute(k,n,c,m,h,C);for(var L=1;L<C;L<<=1)for(var _=L<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),V=0;V<C;V+=_)for(var N=r,ne=v,Ee=0;Ee<L;Ee++){var ze=m[V+Ee],qe=h[V+Ee],Ke=m[V+Ee+L],se=h[V+Ee+L],X=N*Ke-ne*se;se=N*se+ne*Ke,m[V+Ee]=ze+(Ke=X),h[V+Ee]=qe+se,m[V+Ee+L]=ze-Ke,h[V+Ee+L]=qe-se,Ee!==_&&(X=r*N-v*ne,ne=r*ne+v*N,N=X)}},Q.prototype.guessLen13b=function(n,c){var m=1|Math.max(c,n),h=1&m,C=0;for(m=m/2|0;m;m>>>=1)C++;return 1<<C+1+h},Q.prototype.conjugate=function(n,c,m){if(!(m<=1))for(var h=0;h<m/2;h++){var C=n[h];n[h]=n[m-h-1],n[m-h-1]=C,C=c[h],c[h]=-c[m-h-1],c[m-h-1]=-C}},Q.prototype.normalize13b=function(n,c){for(var m=0,h=0;h<c/2;h++){var C=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+m;n[h]=67108863&C,m=C<67108864?0:C/67108864|0}return n},Q.prototype.convert13b=function(n,c,m,h){for(var C=0,k=0;k<c;k++)m[2*k]=8191&(C+=0|n[k]),m[2*k+1]=8191&(C>>>=13),C>>>=13;for(k=2*c;k<h;++k)m[k]=0;w(0===C),w(!(-8192&C))},Q.prototype.stub=function(n){for(var c=new Array(n),m=0;m<n;m++)c[m]=0;return c},Q.prototype.mulp=function(n,c,m){var h=2*this.guessLen13b(n.length,c.length),C=this.makeRBT(h),k=this.stub(h),L=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),V=new Array(h),N=new Array(h),ne=m.words;ne.length=h,this.convert13b(n.words,n.length,L,h),this.convert13b(c.words,c.length,v,h),this.transform(L,k,_,r,h,C),this.transform(v,k,V,N,h,C);for(var Ee=0;Ee<h;Ee++){var ze=_[Ee]*V[Ee]-r[Ee]*N[Ee];r[Ee]=_[Ee]*N[Ee]+r[Ee]*V[Ee],_[Ee]=ze}return this.conjugate(_,r,h),this.transform(_,r,ne,k,h,C),this.conjugate(ne,k,h),this.normalize13b(ne,h),m.negative=n.negative^c.negative,m.length=n.length+c.length,m.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),j(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){w("number"==typeof n),w(n<67108864);for(var c=0,m=0;m<this.length;m++){var h=(0|this.words[m])*n,C=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var c=function R(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var m=this,h=0;h<c.length&&0===c[h];h++,m=m.sqr());if(++h<c.length)for(var C=m.sqr();h<c.length;h++,C=C.sqr())0!==c[h]&&(m=m.mul(C));return m},l.prototype.iushln=function(n){w("number"==typeof n&&n>=0);var C,c=n%26,m=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var k=0;for(C=0;C<this.length;C++){var L=this.words[C]&h;this.words[C]=(0|this.words[C])-L<<c|k,k=L>>>26-c}k&&(this.words[C]=k,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C<m;C++)this.words[C]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(n){return w(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,m){var h;w("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var C=n%26,k=Math.min((n-C)/26,this.length),L=67108863^67108863>>>C<<C,_=m;if(h-=k,h=Math.max(0,h),_){for(var r=0;r<k;r++)_.words[r]=this.words[r];_.length=k}if(0!==k)if(this.length>k)for(this.length-=k,r=0;r<this.length;r++)this.words[r]=this.words[r+k];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var V=0|this.words[r];this.words[r]=v<<26-C|V>>>C,v=V&L}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return w(0===this.negative),this.iushrn(n,c,m)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<<c))},l.prototype.imaskn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return w(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return w("number"==typeof n),w(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(w("number"==typeof n),w(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,c,m){var C;this._expand(n.length+m);var k,L=0;for(C=0;C<n.length;C++){k=(0|this.words[C+m])+L;var _=(0|n.words[C])*c;L=((k-=67108863&_)>>26)-(_/67108864|0),this.words[C+m]=67108863&k}for(;C<this.length-m;C++)L=(k=(0|this.words[C+m])+L)>>26,this.words[C+m]=67108863&k;if(0===L)return this.strip();for(w(-1===L),L=0,C=0;C<this.length;C++)L=(k=-(0|this.words[C])+L)>>26,this.words[C]=67108863&k;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,h=this.clone(),C=n,k=0|C.words[C.length-1];0!=(m=26-this._countBits(k))&&(C=C.ushln(m),h.iushln(m),k=0|C.words[C.length-1]);var r,_=h.length-C.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var V=h.clone()._ishlnsubmul(C,1,_);0===V.negative&&(h=V,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[C.length+N])+(0|h.words[C.length+N-1]);for(ne=Math.min(ne/k|0,67108863),h._ishlnsubmul(C,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(C,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,m){return w(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(k=this.neg().divmod(n,c),"mod"!==c&&(h=k.div.neg()),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(k=this.divmod(n.neg(),c),"mod"!==c&&(h=k.div.neg()),{div:h,mod:k.mod}):this.negative&n.negative?(k=this.neg().divmod(n.neg(),c),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:k.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,c);var h,C,k},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var c=this.divmod(n);if(c.mod.isZero())return c.div;var m=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),C=n.andln(1),k=m.cmp(h);return k<0||1===C&&0===k?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){w(n<=67108863);for(var c=(1<<26)%n,m=0,h=this.length-1;h>=0;h--)m=(c*m+(0|this.words[h]))%n;return m},l.prototype.idivn=function(n){w(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*c;this.words[m]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){w(0===n.negative),w(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=new l(0),L=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var r=m.clone(),v=c.clone();!c.isZero();){for(var V=0,N=1;!(c.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(c.iushrn(V);V-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(v)),h.iushrn(1),C.iushrn(1);for(var ne=0,Ee=1;!(m.words[0]&Ee)&&ne<26;++ne,Ee<<=1);if(ne>0)for(m.iushrn(ne);ne-- >0;)(k.isOdd()||L.isOdd())&&(k.iadd(r),L.isub(v)),k.iushrn(1),L.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(k),C.isub(L)):(m.isub(c),k.isub(h),L.isub(C))}return{a:k,b:L,gcd:m.iushln(_)}},l.prototype._invmp=function(n){w(0===n.negative),w(!n.isZero());var V,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var L=0,_=1;!(c.words[0]&_)&&L<26;++L,_<<=1);if(L>0)for(c.iushrn(L);L-- >0;)h.isOdd()&&h.iadd(k),h.iushrn(1);for(var r=0,v=1;!(m.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(m.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(k),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(C)):(m.isub(c),C.isub(h))}return(V=0===c.cmpn(1)?h:C).cmpn(0)<0&&V.iadd(n),V},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),m=n.clone();c.negative=0,m.negative=0;for(var h=0;c.isEven()&&m.isEven();h++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var k=c;c=m,m=k}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){w("number"==typeof n);var c=n%26,m=(n-c)/26,h=1<<c;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var C=h,k=m;0!==C&&k<this.length;k++){var L=0|this.words[k];C=(L+=C)>>>26,this.words[k]=L&=67108863}return 0!==C&&(this.words[k]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),w(n<=67108863,"Number is too big");var h=0|this.words[0];m=h===n?0:h<n?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],C=0|n.words[m];if(h!==C){h<C?c=-1:h>C&&(c=1);break}}return c},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new Te(n)},l.prototype.toRed=function(n){return w(!this.red,"Already a number in reduction context"),w(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return w(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return w(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return w(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return w(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return w(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return w(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return w(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return w(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return w(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return w(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return w(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return w(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return w(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ee(D,n){this.name=D,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ie(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ge(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Te(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else w(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function de(D){Te.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(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)}ee.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ee.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ee.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ee.prototype.imulK=function(n){return n.imul(this.k)},S(ie,ee),ie.prototype.split=function(n,c){for(var m=4194303,h=Math.min(n.length,9),C=0;C<h;C++)c.words[C]=n.words[C];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var k=n.words[9];for(c.words[c.length++]=k&m,C=10;C<n.length;C++){var L=0|n.words[C];n.words[C-10]=(L&m)<<4|k>>>22,k=L}n.words[C-10]=k>>>=22,n.length-=0===k&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m<n.length;m++){var h=0|n.words[m];n.words[m]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ge,ee),S(ae,ee),S(Me,ee),Me.prototype.imulK=function(n){for(var c=0,m=0;m<n.length;m++){var h=19*(0|n.words[m])+c,C=67108863&h;h>>>=26,n.words[m]=C,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ge;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Te.prototype._verify1=function(n){w(0===n.negative,"red works only with positives"),w(n.red,"red works only with red numbers")},Te.prototype._verify2=function(n,c){w(!(n.negative|c.negative),"red works only with positives"),w(n.red&&n.red===c.red,"red works only with red numbers")},Te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Te.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Te.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Te.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Te.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Te.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Te.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Te.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Te.prototype.isqr=function(n){return this.imul(n,n.clone())},Te.prototype.sqr=function(n){return this.mul(n,n)},Te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(w(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);w(!h.isZero());var k=new l(1).toRed(this),L=k.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(L);)r.redIAdd(L);for(var v=this.pow(r,h),V=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=C;0!==N.cmp(k);){for(var Ee=N,ze=0;0!==Ee.cmp(k);ze++)Ee=Ee.redSqr();w(ze<ne);var qe=this.pow(v,new l(1).iushln(ne-ze-1));V=V.redMul(qe),v=qe.redSqr(),N=N.redMul(v),ne=ze}return V},Te.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},Te.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var C=2;C<h.length;C++)h[C]=this.mul(h[C-1],n);var k=h[0],L=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),C=c.length-1;C>=0;C--){for(var v=c.words[C],V=r-1;V>=0;V--){var N=v>>V&1;k!==h[0]&&(k=this.sqr(k)),0!==N||0!==L?(L<<=1,L|=N,(4==++_||0===C&&0===V)&&(k=this.mul(k,h[L]),_=0,L=0)):_=0}r=26}return k},Te.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Te.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new de(n)},S(de,Te),de.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},de.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},de.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},7211:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(4725),w=g(6636),S=g(5443),l=g(3247);function x(f){l.call(this,"digest"),this._hash=f}e(x,l),x.prototype._update=function(f){this._hash.update(f)},x.prototype._final=function(){return this._hash.digest()},Qe.exports=function(I){return"md5"===(I=I.toLowerCase())?new t:"rmd160"===I||"ripemd160"===I?new w:new x(S(I))}},3407:(Qe,te,g)=>{var e=g(4725);Qe.exports=function(t){return(new e).update(t).digest()}},6432:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(509),w=g(3247),S=g(7054).Buffer,l=g(3407),x=g(6636),f=g(5443),I=S.alloc(128);function d(T,y){w.call(this,"digest"),"string"==typeof y&&(y=S.from(y));var F="sha512"===T||"sha384"===T?128:64;this._alg=T,this._key=y,y.length>F?y=("rmd160"===T?new x:f(T)).update(y).digest():y.length<F&&(y=S.concat([y,I],F));for(var z=this._ipad=S.allocUnsafe(F),W=this._opad=S.allocUnsafe(F),$=0;$<F;$++)z[$]=54^y[$],W[$]=92^y[$];this._hash="rmd160"===T?new x:f(T),this._hash.update(z)}e(d,w),d.prototype._update=function(T){this._hash.update(T)},d.prototype._final=function(){var T=this._hash.digest();return("rmd160"===this._alg?new x:f(this._alg)).update(this._opad).update(T).digest()},Qe.exports=function(y,F){return"rmd160"===(y=y.toLowerCase())||"ripemd160"===y?new d("rmd160",F):"md5"===y?new t(l,F):new d(y,F)}},509:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(7054).Buffer,w=g(3247),S=t.alloc(128),l=64;function x(f,I){w.call(this,"digest"),"string"==typeof I&&(I=t.from(I)),this._alg=f,this._key=I,I.length>l?I=f(I):I.length<l&&(I=t.concat([I,S],l));for(var d=this._ipad=t.allocUnsafe(l),T=this._opad=t.allocUnsafe(l),y=0;y<l;y++)d[y]=54^I[y],T[y]=92^I[y];this._hash=[d]}e(x,w),x.prototype._update=function(f){this._hash.push(f)},x.prototype._final=function(){var f=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,f]))},Qe.exports=x},1426:(Qe,te,g)=>{"use strict";te.randomBytes=te.rng=te.pseudoRandomBytes=te.prng=g(3342),te.createHash=te.Hash=g(7211),te.createHmac=te.Hmac=g(6432);var e=g(9560),t=Object.keys(e),w=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);te.getHashes=function(){return w};var S=g(3397);te.pbkdf2=S.pbkdf2,te.pbkdf2Sync=S.pbkdf2Sync;var l=g(8862);te.Cipher=l.Cipher,te.createCipher=l.createCipher,te.Cipheriv=l.Cipheriv,te.createCipheriv=l.createCipheriv,te.Decipher=l.Decipher,te.createDecipher=l.createDecipher,te.Decipheriv=l.Decipheriv,te.createDecipheriv=l.createDecipheriv,te.getCiphers=l.getCiphers,te.listCiphers=l.listCiphers;var x=g(4377);te.DiffieHellmanGroup=x.DiffieHellmanGroup,te.createDiffieHellmanGroup=x.createDiffieHellmanGroup,te.getDiffieHellman=x.getDiffieHellman,te.createDiffieHellman=x.createDiffieHellman,te.DiffieHellman=x.DiffieHellman;var f=g(9143);te.createSign=f.createSign,te.Sign=f.Sign,te.createVerify=f.createVerify,te.Verify=f.Verify,te.createECDH=g(7303);var I=g(2965);te.publicEncrypt=I.publicEncrypt,te.privateEncrypt=I.privateEncrypt,te.publicDecrypt=I.publicDecrypt,te.privateDecrypt=I.privateDecrypt;var d=g(9682);te.randomFill=d.randomFill,te.randomFillSync=d.randomFillSync,te.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},te.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}},1549:(Qe,te,g)=>{"use strict";te.utils=g(5671),te.Cipher=g(219),te.DES=g(4166),te.CBC=g(8800),te.EDE=g(2122)},8800:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993),w={};function S(x){e.equal(x.length,8,"Invalid IV length"),this.iv=new Array(8);for(var f=0;f<this.iv.length;f++)this.iv[f]=x[f]}te.instantiate=function l(x){function f(y){x.call(this,y),this._cbcInit()}t(f,x);for(var I=Object.keys(w),d=0;d<I.length;d++){var T=I[d];f.prototype[T]=w[T]}return f.create=function(F){return new f(F)},f},w._cbcInit=function(){var f=new S(this.options.iv);this._cbcState=f},w._update=function(f,I,d,T){var F=this.constructor.super_.prototype,R=this._cbcState.iv;if("encrypt"===this.type){for(var z=0;z<this.blockSize;z++)R[z]^=f[I+z];for(F._update.call(this,R,0,d,T),z=0;z<this.blockSize;z++)R[z]=d[T+z]}else{for(F._update.call(this,f,I,d,T),z=0;z<this.blockSize;z++)d[T+z]^=R[z];for(z=0;z<this.blockSize;z++)R[z]=f[I+z]}}},219:(Qe,te,g)=>{"use strict";var e=g(9210);function t(w){this.options=w,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==w.padding}Qe.exports=t,t.prototype._init=function(){},t.prototype.update=function(S){return 0===S.length?[]:"decrypt"===this.type?this._updateDecrypt(S):this._updateEncrypt(S)},t.prototype._buffer=function(S,l){for(var x=Math.min(this.buffer.length-this.bufferOff,S.length-l),f=0;f<x;f++)this.buffer[this.bufferOff+f]=S[l+f];return this.bufferOff+=x,x},t.prototype._flushBuffer=function(S,l){return this._update(this.buffer,0,S,l),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(S){var l=0,x=0,I=new Array(((this.bufferOff+S.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(l+=this._buffer(S,l),this.bufferOff===this.buffer.length&&(x+=this._flushBuffer(I,x)));for(var d=S.length-(S.length-l)%this.blockSize;l<d;l+=this.blockSize)this._update(S,l,I,x),x+=this.blockSize;for(;l<S.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=S[l];return I},t.prototype._updateDecrypt=function(S){for(var l=0,x=0,f=Math.ceil((this.bufferOff+S.length)/this.blockSize)-1,I=new Array(f*this.blockSize);f>0;f--)l+=this._buffer(S,l),x+=this._flushBuffer(I,x);return l+=this._buffer(S,l),I},t.prototype.final=function(S){var l,x;return S&&(l=this.update(S)),x="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(x):x},t.prototype._pad=function(S,l){if(0===l)return!1;for(;l<S.length;)S[l++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var S=new Array(this.blockSize);return this._update(this.buffer,0,S,0),S},t.prototype._unpad=function(S){return S},t.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var S=new Array(this.blockSize);return this._flushBuffer(S,0),this._unpad(S)}},4166:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993),w=g(5671),S=g(219);function l(){this.tmp=new Array(2),this.keys=null}function x(I){S.call(this,I);var d=new l;this._desState=d,this.deriveKeys(d,I.key)}t(x,S),Qe.exports=x,x.create=function(d){return new x(d)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];x.prototype.deriveKeys=function(d,T){d.keys=new Array(32),e.equal(T.length,this.blockSize,"Invalid key length");var y=w.readUInt32BE(T,0),F=w.readUInt32BE(T,4);w.pc1(y,F,d.tmp,0),y=d.tmp[0],F=d.tmp[1];for(var R=0;R<d.keys.length;R+=2){var z=f[R>>>1];y=w.r28shl(y,z),F=w.r28shl(F,z),w.pc2(y,F,d.keys,R)}},x.prototype._update=function(d,T,y,F){var R=this._desState,z=w.readUInt32BE(d,T),W=w.readUInt32BE(d,T+4);w.ip(z,W,R.tmp,0),z=R.tmp[0],W=R.tmp[1],"encrypt"===this.type?this._encrypt(R,z,W,R.tmp,0):this._decrypt(R,z,W,R.tmp,0),W=R.tmp[1],w.writeUInt32BE(y,z=R.tmp[0],F),w.writeUInt32BE(y,W,F+4)},x.prototype._pad=function(d,T){if(!1===this.padding)return!1;for(var y=d.length-T,F=T;F<d.length;F++)d[F]=y;return!0},x.prototype._unpad=function(d){if(!1===this.padding)return d;for(var T=d[d.length-1],y=d.length-T;y<d.length;y++)e.equal(d[y],T);return d.slice(0,d.length-T)},x.prototype._encrypt=function(d,T,y,F,R){for(var z=T,W=y,$=0;$<d.keys.length;$+=2){var j=d.keys[$],Q=d.keys[$+1];w.expand(W,d.tmp,0);var J=w.substitute(j^=d.tmp[0],Q^=d.tmp[1]),ie=W;W=(z^w.permute(J))>>>0,z=ie}w.rip(W,z,F,R)},x.prototype._decrypt=function(d,T,y,F,R){for(var z=y,W=T,$=d.keys.length-2;$>=0;$-=2){var j=d.keys[$],Q=d.keys[$+1];w.expand(z,d.tmp,0);var J=w.substitute(j^=d.tmp[0],Q^=d.tmp[1]),ie=z;z=(W^w.permute(J))>>>0,W=ie}w.rip(z,W,F,R)}},2122:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993),w=g(219),S=g(4166);function l(f,I){e.equal(I.length,24,"Invalid key length");var d=I.slice(0,8),T=I.slice(8,16),y=I.slice(16,24);this.ciphers="encrypt"===f?[S.create({type:"encrypt",key:d}),S.create({type:"decrypt",key:T}),S.create({type:"encrypt",key:y})]:[S.create({type:"decrypt",key:y}),S.create({type:"encrypt",key:T}),S.create({type:"decrypt",key:d})]}function x(f){w.call(this,f);var I=new l(this.type,this.options.key);this._edeState=I}t(x,w),Qe.exports=x,x.create=function(I){return new x(I)},x.prototype._update=function(I,d,T,y){var F=this._edeState;F.ciphers[0]._update(I,d,T,y),F.ciphers[1]._update(T,y,T,y),F.ciphers[2]._update(T,y,T,y)},x.prototype._pad=S.prototype._pad,x.prototype._unpad=S.prototype._unpad},5671:(Qe,te)=>{"use strict";te.readUInt32BE=function(S,l){return(S[0+l]<<24|S[1+l]<<16|S[2+l]<<8|S[3+l])>>>0},te.writeUInt32BE=function(S,l,x){S[0+x]=l>>>24,S[1+x]=l>>>16&255,S[2+x]=l>>>8&255,S[3+x]=255&l},te.ip=function(S,l,x,f){for(var I=0,d=0,T=6;T>=0;T-=2){for(var y=0;y<=24;y+=8)I<<=1,I|=l>>>y+T&1;for(y=0;y<=24;y+=8)I<<=1,I|=S>>>y+T&1}for(T=6;T>=0;T-=2){for(y=1;y<=25;y+=8)d<<=1,d|=l>>>y+T&1;for(y=1;y<=25;y+=8)d<<=1,d|=S>>>y+T&1}x[f+0]=I>>>0,x[f+1]=d>>>0},te.rip=function(S,l,x,f){for(var I=0,d=0,T=0;T<4;T++)for(var y=24;y>=0;y-=8)I<<=1,I|=l>>>y+T&1,I<<=1,I|=S>>>y+T&1;for(T=4;T<8;T++)for(y=24;y>=0;y-=8)d<<=1,d|=l>>>y+T&1,d<<=1,d|=S>>>y+T&1;x[f+0]=I>>>0,x[f+1]=d>>>0},te.pc1=function(S,l,x,f){for(var I=0,d=0,T=7;T>=5;T--){for(var y=0;y<=24;y+=8)I<<=1,I|=l>>y+T&1;for(y=0;y<=24;y+=8)I<<=1,I|=S>>y+T&1}for(y=0;y<=24;y+=8)I<<=1,I|=l>>y+T&1;for(T=1;T<=3;T++){for(y=0;y<=24;y+=8)d<<=1,d|=l>>y+T&1;for(y=0;y<=24;y+=8)d<<=1,d|=S>>y+T&1}for(y=0;y<=24;y+=8)d<<=1,d|=S>>y+T&1;x[f+0]=I>>>0,x[f+1]=d>>>0},te.r28shl=function(S,l){return S<<l&268435455|S>>>28-l};var g=[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];te.pc2=function(S,l,x,f){for(var I=0,d=0,T=g.length>>>1,y=0;y<T;y++)I<<=1,I|=S>>>g[y]&1;for(y=T;y<g.length;y++)d<<=1,d|=l>>>g[y]&1;x[f+0]=I>>>0,x[f+1]=d>>>0},te.expand=function(S,l,x){var f=0,I=0;f=(1&S)<<5|S>>>27;for(var d=23;d>=15;d-=4)f<<=6,f|=S>>>d&63;for(d=11;d>=3;d-=4)I|=S>>>d&63,I<<=6;I|=(31&S)<<1|S>>>31,l[x+0]=f>>>0,l[x+1]=I>>>0};var e=[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];te.substitute=function(S,l){for(var x=0,f=0;f<4;f++)x<<=4,x|=e[64*f+(S>>>18-6*f&63)];for(f=0;f<4;f++)x<<=4,x|=e[256+64*f+(l>>>18-6*f&63)];return x>>>0};var t=[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];te.permute=function(S){for(var l=0,x=0;x<t.length;x++)l<<=1,l|=S>>>t[x]&1;return l>>>0},te.padSplit=function(S,l,x){for(var f=S.toString(2);f.length<l;)f="0"+f;for(var I=[],d=0;d<l;d+=x)I.push(f.slice(d,d+x));return I.join(" ")}},4377:(Qe,te,g)=>{var e=g(2727),t=g(3241),w=g(4593),l={binary:!0,hex:!0,base64:!0};te.DiffieHellmanGroup=te.createDiffieHellmanGroup=te.getDiffieHellman=function S(f){var I=new Buffer(t[f].prime,"hex"),d=new Buffer(t[f].gen,"hex");return new w(I,d)},te.createDiffieHellman=te.DiffieHellman=function x(f,I,d,T){return Buffer.isBuffer(I)||void 0===l[I]?x(f,"binary",I,d):(I=I||"binary",T=T||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,T)),"number"==typeof f?new w(e(f,d),d,!0):(Buffer.isBuffer(f)||(f=new Buffer(f,I)),new w(f,d,!0)))}},4593:(Qe,te,g)=>{var e=g(8280),w=new(g(3459)),S=new e(24),l=new e(11),x=new e(10),f=new e(3),I=new e(7),d=g(2727),T=g(3342);function y(j,Q){return Q=Q||"utf8",Buffer.isBuffer(j)||(j=new Buffer(j,Q)),this._pub=new e(j),this}function F(j,Q){return Q=Q||"utf8",Buffer.isBuffer(j)||(j=new Buffer(j,Q)),this._priv=new e(j),this}Qe.exports=W;var R={};function W(j,Q,J){this.setGenerator(Q),this.__prime=new e(j),this._prime=e.mont(this.__prime),this._primeLen=j.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,J?(this.setPublicKey=y,this.setPrivateKey=F):this._primeCode=8}function $(j,Q){var J=new Buffer(j.toArray());return Q?J.toString(Q):J}Object.defineProperty(W.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function z(j,Q){var J=Q.toString("hex"),ee=[J,j.toString(16)].join("_");if(ee in R)return R[ee];var ge,ie=0;if(j.isEven()||!d.simpleSieve||!d.fermatTest(j)||!w.test(j))return ie+=1,R[ee]=ie+="02"===J||"05"===J?8:4,ie;switch(w.test(j.shrn(1))||(ie+=2),J){case"02":j.mod(S).cmp(l)&&(ie+=8);break;case"05":(ge=j.mod(x)).cmp(f)&&ge.cmp(I)&&(ie+=8);break;default:ie+=4}return R[ee]=ie,ie}(this.__prime,this.__gen)),this._primeCode}}),W.prototype.generateKeys=function(){return this._priv||(this._priv=new e(T(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},W.prototype.computeSecret=function(j){var Q=(j=(j=new e(j)).toRed(this._prime)).redPow(this._priv).fromRed(),J=new Buffer(Q.toArray()),ee=this.getPrime();if(J.length<ee.length){var ie=new Buffer(ee.length-J.length);ie.fill(0),J=Buffer.concat([ie,J])}return J},W.prototype.getPublicKey=function(Q){return $(this._pub,Q)},W.prototype.getPrivateKey=function(Q){return $(this._priv,Q)},W.prototype.getPrime=function(j){return $(this.__prime,j)},W.prototype.getGenerator=function(j){return $(this._gen,j)},W.prototype.setGenerator=function(j,Q){return Q=Q||"utf8",Buffer.isBuffer(j)||(j=new Buffer(j,Q)),this.__gen=j,this._gen=new e(j),this}},2727:(Qe,te,g)=>{var e=g(3342);Qe.exports=ie,ie.simpleSieve=J,ie.fermatTest=ee;var t=g(8280),w=new t(24),l=new(g(3459)),x=new t(1),f=new t(2),I=new t(5),y=(new t(16),new t(8),new t(10)),F=new t(3),z=(new t(7),new t(11)),W=new t(4),j=(new t(12),null);function J(ge){for(var ae=function Q(){if(null!==j)return j;var ae=[];ae[0]=2;for(var Me=1,Te=3;Te<1048576;Te+=2){for(var de=Math.ceil(Math.sqrt(Te)),D=0;D<Me&&ae[D]<=de&&Te%ae[D]!=0;D++);Me!==D&&ae[D]<=de||(ae[Me++]=Te)}return j=ae,ae}(),Me=0;Me<ae.length;Me++)if(0===ge.modn(ae[Me]))return 0===ge.cmpn(ae[Me]);return!0}function ee(ge){var ae=t.mont(ge);return 0===f.toRed(ae).redPow(ge.subn(1)).fromRed().cmpn(1)}function ie(ge,ae){if(ge<16)return new t(2===ae||5===ae?[140,123]:[140,39]);ae=new t(ae);for(var Me,Te;;){for(Me=new t(e(Math.ceil(ge/8)));Me.bitLength()>ge;)Me.ishrn(1);if(Me.isEven()&&Me.iadd(x),Me.testn(1)||Me.iadd(f),ae.cmp(f)){if(!ae.cmp(I))for(;Me.mod(y).cmp(F);)Me.iadd(W)}else for(;Me.mod(w).cmp(z);)Me.iadd(W);if(J(Te=Me.shrn(1))&&J(Me)&&ee(Te)&&ee(Me)&&l.test(Te)&&l.test(Me))return Me}}},8280:function(Qe,te,g){!function(e,t){"use strict";function w(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(6089).Buffer}catch{}function f(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function I(D,n,c){var m=f(D,c);return c-1>=n&&(m|=f(D,c-1)<<4),m}function d(D,n,c,m){for(var h=0,C=Math.min(D.length,c),k=n;k<C;k++){var L=D.charCodeAt(k)-48;h*=m,h+=L>=49?L-49+10:L>=17?L-17+10:L}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),w(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,m):(this._parseBase(n,c,h),"le"===m&&this._initArray(this.toArray(),c,m)))},l.prototype._initNumber=function(n,c,m){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(w(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),c,m)},l.prototype._initArray=function(n,c,m){if(w("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var C,k,L=0;if("be"===m)for(h=n.length-1,C=0;h>=0;h-=3)this.words[C]|=(k=n[h]|n[h-1]<<8|n[h-2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);else if("le"===m)for(h=0,C=0;h<n.length;h+=3)this.words[C]|=(k=n[h]|n[h+1]<<8|n[h+2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var L,C=0,k=0;if("be"===m)for(h=n.length-1;h>=c;h-=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=c)h++;h--,C=C/c|0;for(var k=n.length-m,L=k%h,_=Math.min(k,k-L)+m,r=0,v=m;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(C),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==L){var V=1;for(r=d(n,v,n.length,c),v=0;v<L;v++)V*=c;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var c=0;c<this.length;c++)n.words[c]=this.words[c];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],y=[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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(D,n,c){c.negative=n.negative^D.negative;var m=D.length+n.length|0;c.length=m,m=m-1|0;var h=0|D.words[0],C=0|n.words[0],k=h*C,_=k/67108864|0;c.words[0]=67108863&k;for(var r=1;r<m;r++){for(var v=_>>>26,V=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(k=(h=0|D.words[r-ne|0])*(C=0|n.words[ne])+V)/67108864|0,V=67108863&k;c.words[r]=0|V,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var h=0,C=0,k=0;k<this.length;k++){var L=this.words[k],_=(16777215&(L<<h|C)).toString(16);m=0!=(C=L>>>24-h&16777215)||k!==this.length-1?T[6-_.length]+_+m:_+m,(h+=2)>=26&&(h-=26,k--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=F[n];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(v).toString(n);m=(V=V.idivn(v)).isZero()?N+m:T[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}w(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&w(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,c){return w(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var h=this.byteLength(),C=m||Math.max(1,h);w(h<=C,"byte array longer than desired length"),w(C>0,"Requested array length <= 0"),this.strip();var _,r,k="le"===c,L=new n(C),v=this.clone();if(k){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[r]=_;for(;r<C;r++)L[r]=0}else{for(r=0;r<C-h;r++)L[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[C-r-1]=_}return L},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,m=0;return c>=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var m=this._zeroBits(this.words[c]);if(n+=m,26!==m)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return w(!(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var c;c=this.length>n.length?n:this;for(var m=0;m<c.length;m++)this.words[m]=this.words[m]&n.words[m];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return w(!(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var c,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var h=0;h<m.length;h++)this.words[h]=c.words[h]^m.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return w(!(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){w("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var h=0;h<c;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){w("number"==typeof n&&n>=0);var m=n/26|0,h=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,m,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(m=this,h=n):(m=n,h=this);for(var C=0,k=0;k<h.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+(0|h.words[k])+C),C=c>>>26;for(;0!==C&&k<m.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+C),C=c>>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;k<m.length;k++)this.words[k]=m.words[k];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,C=n):(h=n,C=this);for(var k=0,L=0;L<C.length;L++)k=(c=(0|h.words[L])-(0|C.words[L])+k)>>26,this.words[L]=67108863&c;for(;0!==k&&L<h.length;L++)k=(c=(0|h.words[L])+k)>>26,this.words[L]=67108863&c;if(0===k&&L<h.length&&h!==this)for(;L<h.length;L++)this.words[L]=h.words[L];return this.length=Math.max(this.length,L),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var W=function(n,c,m){var _,r,v,h=n.words,C=c.words,k=m.words,L=0,V=0|h[0],N=8191&V,ne=V>>>13,Ee=0|h[1],ze=8191&Ee,qe=Ee>>>13,Ke=0|h[2],se=8191&Ke,X=Ke>>>13,me=0|h[3],ce=8191&me,fe=me>>>13,ke=0|h[4],mt=8191&ke,_e=ke>>>13,be=0|h[5],pe=8191&be,Ze=be>>>13,_t=0|h[6],at=8191&_t,pt=_t>>>13,Xt=0|h[7],ye=8191&Xt,ue=Xt>>>13,Ie=0|h[8],He=8191&Ie,Xe=Ie>>>13,yt=0|h[9],Ye=8191&yt,rt=yt>>>13,Yt=0|C[0],Nt=8191&Yt,Et=Yt>>>13,Vt=0|C[1],oe=8191&Vt,tt=Vt>>>13,$t=0|C[2],zt=8191&$t,Jt=$t>>>13,St=0|C[3],dt=8191&St,Ae=St>>>13,we=0|C[4],he=8191&we,q=we>>>13,Re=0|C[5],Ne=8191&Re,gt=Re>>>13,$e=0|C[6],Fe=8191&$e,Ge=$e>>>13,et=0|C[7],st=8191&et,Tt=et>>>13,mi=0|C[8],Kt=8191&mi,Pt=mi>>>13,Xi=0|C[9],di=8191&Xi,fi=Xi>>>13;m.negative=n.negative^c.negative,m.length=19;var vn=(L+(_=Math.imul(N,Nt))|0)+((8191&(r=(r=Math.imul(N,Et))+Math.imul(ne,Nt)|0))<<13)|0;L=((v=Math.imul(ne,Et))+(r>>>13)|0)+(vn>>>26)|0,vn&=67108863,_=Math.imul(ze,Nt),r=(r=Math.imul(ze,Et))+Math.imul(qe,Nt)|0,v=Math.imul(qe,Et);var Qi=(L+(_=_+Math.imul(N,oe)|0)|0)+((8191&(r=(r=r+Math.imul(N,tt)|0)+Math.imul(ne,oe)|0))<<13)|0;L=((v=v+Math.imul(ne,tt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(se,Nt),r=(r=Math.imul(se,Et))+Math.imul(X,Nt)|0,v=Math.imul(X,Et),_=_+Math.imul(ze,oe)|0,r=(r=r+Math.imul(ze,tt)|0)+Math.imul(qe,oe)|0,v=v+Math.imul(qe,tt)|0;var Li=(L+(_=_+Math.imul(N,zt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Jt)|0)+Math.imul(ne,zt)|0))<<13)|0;L=((v=v+Math.imul(ne,Jt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(ce,Nt),r=(r=Math.imul(ce,Et))+Math.imul(fe,Nt)|0,v=Math.imul(fe,Et),_=_+Math.imul(se,oe)|0,r=(r=r+Math.imul(se,tt)|0)+Math.imul(X,oe)|0,v=v+Math.imul(X,tt)|0,_=_+Math.imul(ze,zt)|0,r=(r=r+Math.imul(ze,Jt)|0)+Math.imul(qe,zt)|0,v=v+Math.imul(qe,Jt)|0;var Zi=(L+(_=_+Math.imul(N,dt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ae)|0)+Math.imul(ne,dt)|0))<<13)|0;L=((v=v+Math.imul(ne,Ae)|0)+(r>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul(mt,Nt),r=(r=Math.imul(mt,Et))+Math.imul(_e,Nt)|0,v=Math.imul(_e,Et),_=_+Math.imul(ce,oe)|0,r=(r=r+Math.imul(ce,tt)|0)+Math.imul(fe,oe)|0,v=v+Math.imul(fe,tt)|0,_=_+Math.imul(se,zt)|0,r=(r=r+Math.imul(se,Jt)|0)+Math.imul(X,zt)|0,v=v+Math.imul(X,Jt)|0,_=_+Math.imul(ze,dt)|0,r=(r=r+Math.imul(ze,Ae)|0)+Math.imul(qe,dt)|0,v=v+Math.imul(qe,Ae)|0;var Qt=(L+(_=_+Math.imul(N,he)|0)|0)+((8191&(r=(r=r+Math.imul(N,q)|0)+Math.imul(ne,he)|0))<<13)|0;L=((v=v+Math.imul(ne,q)|0)+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,_=Math.imul(pe,Nt),r=(r=Math.imul(pe,Et))+Math.imul(Ze,Nt)|0,v=Math.imul(Ze,Et),_=_+Math.imul(mt,oe)|0,r=(r=r+Math.imul(mt,tt)|0)+Math.imul(_e,oe)|0,v=v+Math.imul(_e,tt)|0,_=_+Math.imul(ce,zt)|0,r=(r=r+Math.imul(ce,Jt)|0)+Math.imul(fe,zt)|0,v=v+Math.imul(fe,Jt)|0,_=_+Math.imul(se,dt)|0,r=(r=r+Math.imul(se,Ae)|0)+Math.imul(X,dt)|0,v=v+Math.imul(X,Ae)|0,_=_+Math.imul(ze,he)|0,r=(r=r+Math.imul(ze,q)|0)+Math.imul(qe,he)|0,v=v+Math.imul(qe,q)|0;var Mt=(L+(_=_+Math.imul(N,Ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(ne,Ne)|0))<<13)|0;L=((v=v+Math.imul(ne,gt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(at,Nt),r=(r=Math.imul(at,Et))+Math.imul(pt,Nt)|0,v=Math.imul(pt,Et),_=_+Math.imul(pe,oe)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(Ze,oe)|0,v=v+Math.imul(Ze,tt)|0,_=_+Math.imul(mt,zt)|0,r=(r=r+Math.imul(mt,Jt)|0)+Math.imul(_e,zt)|0,v=v+Math.imul(_e,Jt)|0,_=_+Math.imul(ce,dt)|0,r=(r=r+Math.imul(ce,Ae)|0)+Math.imul(fe,dt)|0,v=v+Math.imul(fe,Ae)|0,_=_+Math.imul(se,he)|0,r=(r=r+Math.imul(se,q)|0)+Math.imul(X,he)|0,v=v+Math.imul(X,q)|0,_=_+Math.imul(ze,Ne)|0,r=(r=r+Math.imul(ze,gt)|0)+Math.imul(qe,Ne)|0,v=v+Math.imul(qe,gt)|0;var it=(L+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ge)|0)+Math.imul(ne,Fe)|0))<<13)|0;L=((v=v+Math.imul(ne,Ge)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,_=Math.imul(ye,Nt),r=(r=Math.imul(ye,Et))+Math.imul(ue,Nt)|0,v=Math.imul(ue,Et),_=_+Math.imul(at,oe)|0,r=(r=r+Math.imul(at,tt)|0)+Math.imul(pt,oe)|0,v=v+Math.imul(pt,tt)|0,_=_+Math.imul(pe,zt)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(Ze,zt)|0,v=v+Math.imul(Ze,Jt)|0,_=_+Math.imul(mt,dt)|0,r=(r=r+Math.imul(mt,Ae)|0)+Math.imul(_e,dt)|0,v=v+Math.imul(_e,Ae)|0,_=_+Math.imul(ce,he)|0,r=(r=r+Math.imul(ce,q)|0)+Math.imul(fe,he)|0,v=v+Math.imul(fe,q)|0,_=_+Math.imul(se,Ne)|0,r=(r=r+Math.imul(se,gt)|0)+Math.imul(X,Ne)|0,v=v+Math.imul(X,gt)|0,_=_+Math.imul(ze,Fe)|0,r=(r=r+Math.imul(ze,Ge)|0)+Math.imul(qe,Fe)|0,v=v+Math.imul(qe,Ge)|0;var ct=(L+(_=_+Math.imul(N,st)|0)|0)+((8191&(r=(r=r+Math.imul(N,Tt)|0)+Math.imul(ne,st)|0))<<13)|0;L=((v=v+Math.imul(ne,Tt)|0)+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,_=Math.imul(He,Nt),r=(r=Math.imul(He,Et))+Math.imul(Xe,Nt)|0,v=Math.imul(Xe,Et),_=_+Math.imul(ye,oe)|0,r=(r=r+Math.imul(ye,tt)|0)+Math.imul(ue,oe)|0,v=v+Math.imul(ue,tt)|0,_=_+Math.imul(at,zt)|0,r=(r=r+Math.imul(at,Jt)|0)+Math.imul(pt,zt)|0,v=v+Math.imul(pt,Jt)|0,_=_+Math.imul(pe,dt)|0,r=(r=r+Math.imul(pe,Ae)|0)+Math.imul(Ze,dt)|0,v=v+Math.imul(Ze,Ae)|0,_=_+Math.imul(mt,he)|0,r=(r=r+Math.imul(mt,q)|0)+Math.imul(_e,he)|0,v=v+Math.imul(_e,q)|0,_=_+Math.imul(ce,Ne)|0,r=(r=r+Math.imul(ce,gt)|0)+Math.imul(fe,Ne)|0,v=v+Math.imul(fe,gt)|0,_=_+Math.imul(se,Fe)|0,r=(r=r+Math.imul(se,Ge)|0)+Math.imul(X,Fe)|0,v=v+Math.imul(X,Ge)|0,_=_+Math.imul(ze,st)|0,r=(r=r+Math.imul(ze,Tt)|0)+Math.imul(qe,st)|0,v=v+Math.imul(qe,Tt)|0;var wt=(L+(_=_+Math.imul(N,Kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(ne,Kt)|0))<<13)|0;L=((v=v+Math.imul(ne,Pt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,_=Math.imul(Ye,Nt),r=(r=Math.imul(Ye,Et))+Math.imul(rt,Nt)|0,v=Math.imul(rt,Et),_=_+Math.imul(He,oe)|0,r=(r=r+Math.imul(He,tt)|0)+Math.imul(Xe,oe)|0,v=v+Math.imul(Xe,tt)|0,_=_+Math.imul(ye,zt)|0,r=(r=r+Math.imul(ye,Jt)|0)+Math.imul(ue,zt)|0,v=v+Math.imul(ue,Jt)|0,_=_+Math.imul(at,dt)|0,r=(r=r+Math.imul(at,Ae)|0)+Math.imul(pt,dt)|0,v=v+Math.imul(pt,Ae)|0,_=_+Math.imul(pe,he)|0,r=(r=r+Math.imul(pe,q)|0)+Math.imul(Ze,he)|0,v=v+Math.imul(Ze,q)|0,_=_+Math.imul(mt,Ne)|0,r=(r=r+Math.imul(mt,gt)|0)+Math.imul(_e,Ne)|0,v=v+Math.imul(_e,gt)|0,_=_+Math.imul(ce,Fe)|0,r=(r=r+Math.imul(ce,Ge)|0)+Math.imul(fe,Fe)|0,v=v+Math.imul(fe,Ge)|0,_=_+Math.imul(se,st)|0,r=(r=r+Math.imul(se,Tt)|0)+Math.imul(X,st)|0,v=v+Math.imul(X,Tt)|0,_=_+Math.imul(ze,Kt)|0,r=(r=r+Math.imul(ze,Pt)|0)+Math.imul(qe,Kt)|0,v=v+Math.imul(qe,Pt)|0;var Ut=(L+(_=_+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(ne,di)|0))<<13)|0;L=((v=v+Math.imul(ne,fi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul(Ye,oe),r=(r=Math.imul(Ye,tt))+Math.imul(rt,oe)|0,v=Math.imul(rt,tt),_=_+Math.imul(He,zt)|0,r=(r=r+Math.imul(He,Jt)|0)+Math.imul(Xe,zt)|0,v=v+Math.imul(Xe,Jt)|0,_=_+Math.imul(ye,dt)|0,r=(r=r+Math.imul(ye,Ae)|0)+Math.imul(ue,dt)|0,v=v+Math.imul(ue,Ae)|0,_=_+Math.imul(at,he)|0,r=(r=r+Math.imul(at,q)|0)+Math.imul(pt,he)|0,v=v+Math.imul(pt,q)|0,_=_+Math.imul(pe,Ne)|0,r=(r=r+Math.imul(pe,gt)|0)+Math.imul(Ze,Ne)|0,v=v+Math.imul(Ze,gt)|0,_=_+Math.imul(mt,Fe)|0,r=(r=r+Math.imul(mt,Ge)|0)+Math.imul(_e,Fe)|0,v=v+Math.imul(_e,Ge)|0,_=_+Math.imul(ce,st)|0,r=(r=r+Math.imul(ce,Tt)|0)+Math.imul(fe,st)|0,v=v+Math.imul(fe,Tt)|0,_=_+Math.imul(se,Kt)|0,r=(r=r+Math.imul(se,Pt)|0)+Math.imul(X,Kt)|0,v=v+Math.imul(X,Pt)|0;var xi=(L+(_=_+Math.imul(ze,di)|0)|0)+((8191&(r=(r=r+Math.imul(ze,fi)|0)+Math.imul(qe,di)|0))<<13)|0;L=((v=v+Math.imul(qe,fi)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,_=Math.imul(Ye,zt),r=(r=Math.imul(Ye,Jt))+Math.imul(rt,zt)|0,v=Math.imul(rt,Jt),_=_+Math.imul(He,dt)|0,r=(r=r+Math.imul(He,Ae)|0)+Math.imul(Xe,dt)|0,v=v+Math.imul(Xe,Ae)|0,_=_+Math.imul(ye,he)|0,r=(r=r+Math.imul(ye,q)|0)+Math.imul(ue,he)|0,v=v+Math.imul(ue,q)|0,_=_+Math.imul(at,Ne)|0,r=(r=r+Math.imul(at,gt)|0)+Math.imul(pt,Ne)|0,v=v+Math.imul(pt,gt)|0,_=_+Math.imul(pe,Fe)|0,r=(r=r+Math.imul(pe,Ge)|0)+Math.imul(Ze,Fe)|0,v=v+Math.imul(Ze,Ge)|0,_=_+Math.imul(mt,st)|0,r=(r=r+Math.imul(mt,Tt)|0)+Math.imul(_e,st)|0,v=v+Math.imul(_e,Tt)|0,_=_+Math.imul(ce,Kt)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(fe,Kt)|0,v=v+Math.imul(fe,Pt)|0;var Si=(L+(_=_+Math.imul(se,di)|0)|0)+((8191&(r=(r=r+Math.imul(se,fi)|0)+Math.imul(X,di)|0))<<13)|0;L=((v=v+Math.imul(X,fi)|0)+(r>>>13)|0)+(Si>>>26)|0,Si&=67108863,_=Math.imul(Ye,dt),r=(r=Math.imul(Ye,Ae))+Math.imul(rt,dt)|0,v=Math.imul(rt,Ae),_=_+Math.imul(He,he)|0,r=(r=r+Math.imul(He,q)|0)+Math.imul(Xe,he)|0,v=v+Math.imul(Xe,q)|0,_=_+Math.imul(ye,Ne)|0,r=(r=r+Math.imul(ye,gt)|0)+Math.imul(ue,Ne)|0,v=v+Math.imul(ue,gt)|0,_=_+Math.imul(at,Fe)|0,r=(r=r+Math.imul(at,Ge)|0)+Math.imul(pt,Fe)|0,v=v+Math.imul(pt,Ge)|0,_=_+Math.imul(pe,st)|0,r=(r=r+Math.imul(pe,Tt)|0)+Math.imul(Ze,st)|0,v=v+Math.imul(Ze,Tt)|0,_=_+Math.imul(mt,Kt)|0,r=(r=r+Math.imul(mt,Pt)|0)+Math.imul(_e,Kt)|0,v=v+Math.imul(_e,Pt)|0;var zi=(L+(_=_+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(fe,di)|0))<<13)|0;L=((v=v+Math.imul(fe,fi)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,_=Math.imul(Ye,he),r=(r=Math.imul(Ye,q))+Math.imul(rt,he)|0,v=Math.imul(rt,q),_=_+Math.imul(He,Ne)|0,r=(r=r+Math.imul(He,gt)|0)+Math.imul(Xe,Ne)|0,v=v+Math.imul(Xe,gt)|0,_=_+Math.imul(ye,Fe)|0,r=(r=r+Math.imul(ye,Ge)|0)+Math.imul(ue,Fe)|0,v=v+Math.imul(ue,Ge)|0,_=_+Math.imul(at,st)|0,r=(r=r+Math.imul(at,Tt)|0)+Math.imul(pt,st)|0,v=v+Math.imul(pt,Tt)|0,_=_+Math.imul(pe,Kt)|0,r=(r=r+Math.imul(pe,Pt)|0)+Math.imul(Ze,Kt)|0,v=v+Math.imul(Ze,Pt)|0;var en=(L+(_=_+Math.imul(mt,di)|0)|0)+((8191&(r=(r=r+Math.imul(mt,fi)|0)+Math.imul(_e,di)|0))<<13)|0;L=((v=v+Math.imul(_e,fi)|0)+(r>>>13)|0)+(en>>>26)|0,en&=67108863,_=Math.imul(Ye,Ne),r=(r=Math.imul(Ye,gt))+Math.imul(rt,Ne)|0,v=Math.imul(rt,gt),_=_+Math.imul(He,Fe)|0,r=(r=r+Math.imul(He,Ge)|0)+Math.imul(Xe,Fe)|0,v=v+Math.imul(Xe,Ge)|0,_=_+Math.imul(ye,st)|0,r=(r=r+Math.imul(ye,Tt)|0)+Math.imul(ue,st)|0,v=v+Math.imul(ue,Tt)|0,_=_+Math.imul(at,Kt)|0,r=(r=r+Math.imul(at,Pt)|0)+Math.imul(pt,Kt)|0,v=v+Math.imul(pt,Pt)|0;var Ni=(L+(_=_+Math.imul(pe,di)|0)|0)+((8191&(r=(r=r+Math.imul(pe,fi)|0)+Math.imul(Ze,di)|0))<<13)|0;L=((v=v+Math.imul(Ze,fi)|0)+(r>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,_=Math.imul(Ye,Fe),r=(r=Math.imul(Ye,Ge))+Math.imul(rt,Fe)|0,v=Math.imul(rt,Ge),_=_+Math.imul(He,st)|0,r=(r=r+Math.imul(He,Tt)|0)+Math.imul(Xe,st)|0,v=v+Math.imul(Xe,Tt)|0,_=_+Math.imul(ye,Kt)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(ue,Kt)|0,v=v+Math.imul(ue,Pt)|0;var fn=(L+(_=_+Math.imul(at,di)|0)|0)+((8191&(r=(r=r+Math.imul(at,fi)|0)+Math.imul(pt,di)|0))<<13)|0;L=((v=v+Math.imul(pt,fi)|0)+(r>>>13)|0)+(fn>>>26)|0,fn&=67108863,_=Math.imul(Ye,st),r=(r=Math.imul(Ye,Tt))+Math.imul(rt,st)|0,v=Math.imul(rt,Tt),_=_+Math.imul(He,Kt)|0,r=(r=r+Math.imul(He,Pt)|0)+Math.imul(Xe,Kt)|0,v=v+Math.imul(Xe,Pt)|0;var Zt=(L+(_=_+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(ue,di)|0))<<13)|0;L=((v=v+Math.imul(ue,fi)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,_=Math.imul(Ye,Kt),r=(r=Math.imul(Ye,Pt))+Math.imul(rt,Kt)|0,v=Math.imul(rt,Pt);var bt=(L+(_=_+Math.imul(He,di)|0)|0)+((8191&(r=(r=r+Math.imul(He,fi)|0)+Math.imul(Xe,di)|0))<<13)|0;L=((v=v+Math.imul(Xe,fi)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863;var re=(L+(_=Math.imul(Ye,di))|0)+((8191&(r=(r=Math.imul(Ye,fi))+Math.imul(rt,di)|0))<<13)|0;return L=((v=Math.imul(rt,fi))+(r>>>13)|0)+(re>>>26)|0,re&=67108863,k[0]=vn,k[1]=Qi,k[2]=Li,k[3]=Zi,k[4]=Qt,k[5]=Mt,k[6]=it,k[7]=ct,k[8]=wt,k[9]=Ut,k[10]=xi,k[11]=Si,k[12]=zi,k[13]=en,k[14]=Ni,k[15]=fn,k[16]=Zt,k[17]=bt,k[18]=re,0!==L&&(k[19]=L,m.length++),m};function j(D,n,c){return(new Q).mulp(D,n,c)}function Q(D,n){this.x=D,this.y=n}Math.imul||(W=z),l.prototype.mulTo=function(n,c){var m,h=this.length+n.length;return m=10===this.length&&10===n.length?W(this,n,c):h<63?z(this,n,c):h<1024?function $(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var m=0,h=0,C=0;C<c.length-1;C++){var k=h;h=0;for(var L=67108863&m,_=Math.min(C,n.length-1),r=Math.max(0,C-D.length+1);r<=_;r++){var ne=(0|D.words[C-r])*(0|n.words[r]),Ee=67108863≠L=67108863&(Ee=Ee+L|0),h+=(k=(k=k+(ne/67108864|0)|0)+(Ee>>>26)|0)>>>26,k&=67108863}c.words[C]=L,m=k,k=h}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):j(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,m,n);return c},Q.prototype.revBin=function(n,c,m){if(0===n||n===m-1)return n;for(var h=0,C=0;C<c;C++)h|=(1&n)<<c-C-1,n>>=1;return h},Q.prototype.permute=function(n,c,m,h,C,k){for(var L=0;L<k;L++)h[L]=c[n[L]],C[L]=m[n[L]]},Q.prototype.transform=function(n,c,m,h,C,k){this.permute(k,n,c,m,h,C);for(var L=1;L<C;L<<=1)for(var _=L<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),V=0;V<C;V+=_)for(var N=r,ne=v,Ee=0;Ee<L;Ee++){var ze=m[V+Ee],qe=h[V+Ee],Ke=m[V+Ee+L],se=h[V+Ee+L],X=N*Ke-ne*se;se=N*se+ne*Ke,m[V+Ee]=ze+(Ke=X),h[V+Ee]=qe+se,m[V+Ee+L]=ze-Ke,h[V+Ee+L]=qe-se,Ee!==_&&(X=r*N-v*ne,ne=r*ne+v*N,N=X)}},Q.prototype.guessLen13b=function(n,c){var m=1|Math.max(c,n),h=1&m,C=0;for(m=m/2|0;m;m>>>=1)C++;return 1<<C+1+h},Q.prototype.conjugate=function(n,c,m){if(!(m<=1))for(var h=0;h<m/2;h++){var C=n[h];n[h]=n[m-h-1],n[m-h-1]=C,C=c[h],c[h]=-c[m-h-1],c[m-h-1]=-C}},Q.prototype.normalize13b=function(n,c){for(var m=0,h=0;h<c/2;h++){var C=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+m;n[h]=67108863&C,m=C<67108864?0:C/67108864|0}return n},Q.prototype.convert13b=function(n,c,m,h){for(var C=0,k=0;k<c;k++)m[2*k]=8191&(C+=0|n[k]),m[2*k+1]=8191&(C>>>=13),C>>>=13;for(k=2*c;k<h;++k)m[k]=0;w(0===C),w(!(-8192&C))},Q.prototype.stub=function(n){for(var c=new Array(n),m=0;m<n;m++)c[m]=0;return c},Q.prototype.mulp=function(n,c,m){var h=2*this.guessLen13b(n.length,c.length),C=this.makeRBT(h),k=this.stub(h),L=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),V=new Array(h),N=new Array(h),ne=m.words;ne.length=h,this.convert13b(n.words,n.length,L,h),this.convert13b(c.words,c.length,v,h),this.transform(L,k,_,r,h,C),this.transform(v,k,V,N,h,C);for(var Ee=0;Ee<h;Ee++){var ze=_[Ee]*V[Ee]-r[Ee]*N[Ee];r[Ee]=_[Ee]*N[Ee]+r[Ee]*V[Ee],_[Ee]=ze}return this.conjugate(_,r,h),this.transform(_,r,ne,k,h,C),this.conjugate(ne,k,h),this.normalize13b(ne,h),m.negative=n.negative^c.negative,m.length=n.length+c.length,m.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),j(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){w("number"==typeof n),w(n<67108864);for(var c=0,m=0;m<this.length;m++){var h=(0|this.words[m])*n,C=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var c=function R(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var m=this,h=0;h<c.length&&0===c[h];h++,m=m.sqr());if(++h<c.length)for(var C=m.sqr();h<c.length;h++,C=C.sqr())0!==c[h]&&(m=m.mul(C));return m},l.prototype.iushln=function(n){w("number"==typeof n&&n>=0);var C,c=n%26,m=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var k=0;for(C=0;C<this.length;C++){var L=this.words[C]&h;this.words[C]=(0|this.words[C])-L<<c|k,k=L>>>26-c}k&&(this.words[C]=k,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C<m;C++)this.words[C]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(n){return w(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,m){var h;w("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var C=n%26,k=Math.min((n-C)/26,this.length),L=67108863^67108863>>>C<<C,_=m;if(h-=k,h=Math.max(0,h),_){for(var r=0;r<k;r++)_.words[r]=this.words[r];_.length=k}if(0!==k)if(this.length>k)for(this.length-=k,r=0;r<this.length;r++)this.words[r]=this.words[r+k];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var V=0|this.words[r];this.words[r]=v<<26-C|V>>>C,v=V&L}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return w(0===this.negative),this.iushrn(n,c,m)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<<c))},l.prototype.imaskn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return w(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return w("number"==typeof n),w(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(w("number"==typeof n),w(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,c,m){var C;this._expand(n.length+m);var k,L=0;for(C=0;C<n.length;C++){k=(0|this.words[C+m])+L;var _=(0|n.words[C])*c;L=((k-=67108863&_)>>26)-(_/67108864|0),this.words[C+m]=67108863&k}for(;C<this.length-m;C++)L=(k=(0|this.words[C+m])+L)>>26,this.words[C+m]=67108863&k;if(0===L)return this.strip();for(w(-1===L),L=0,C=0;C<this.length;C++)L=(k=-(0|this.words[C])+L)>>26,this.words[C]=67108863&k;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,h=this.clone(),C=n,k=0|C.words[C.length-1];0!=(m=26-this._countBits(k))&&(C=C.ushln(m),h.iushln(m),k=0|C.words[C.length-1]);var r,_=h.length-C.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var V=h.clone()._ishlnsubmul(C,1,_);0===V.negative&&(h=V,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[C.length+N])+(0|h.words[C.length+N-1]);for(ne=Math.min(ne/k|0,67108863),h._ishlnsubmul(C,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(C,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,m){return w(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(k=this.neg().divmod(n,c),"mod"!==c&&(h=k.div.neg()),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(k=this.divmod(n.neg(),c),"mod"!==c&&(h=k.div.neg()),{div:h,mod:k.mod}):this.negative&n.negative?(k=this.neg().divmod(n.neg(),c),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:k.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,c);var h,C,k},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var c=this.divmod(n);if(c.mod.isZero())return c.div;var m=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),C=n.andln(1),k=m.cmp(h);return k<0||1===C&&0===k?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){w(n<=67108863);for(var c=(1<<26)%n,m=0,h=this.length-1;h>=0;h--)m=(c*m+(0|this.words[h]))%n;return m},l.prototype.idivn=function(n){w(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*c;this.words[m]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){w(0===n.negative),w(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=new l(0),L=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var r=m.clone(),v=c.clone();!c.isZero();){for(var V=0,N=1;!(c.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(c.iushrn(V);V-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(v)),h.iushrn(1),C.iushrn(1);for(var ne=0,Ee=1;!(m.words[0]&Ee)&&ne<26;++ne,Ee<<=1);if(ne>0)for(m.iushrn(ne);ne-- >0;)(k.isOdd()||L.isOdd())&&(k.iadd(r),L.isub(v)),k.iushrn(1),L.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(k),C.isub(L)):(m.isub(c),k.isub(h),L.isub(C))}return{a:k,b:L,gcd:m.iushln(_)}},l.prototype._invmp=function(n){w(0===n.negative),w(!n.isZero());var V,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var L=0,_=1;!(c.words[0]&_)&&L<26;++L,_<<=1);if(L>0)for(c.iushrn(L);L-- >0;)h.isOdd()&&h.iadd(k),h.iushrn(1);for(var r=0,v=1;!(m.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(m.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(k),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(C)):(m.isub(c),C.isub(h))}return(V=0===c.cmpn(1)?h:C).cmpn(0)<0&&V.iadd(n),V},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),m=n.clone();c.negative=0,m.negative=0;for(var h=0;c.isEven()&&m.isEven();h++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var k=c;c=m,m=k}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){w("number"==typeof n);var c=n%26,m=(n-c)/26,h=1<<c;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var C=h,k=m;0!==C&&k<this.length;k++){var L=0|this.words[k];C=(L+=C)>>>26,this.words[k]=L&=67108863}return 0!==C&&(this.words[k]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),w(n<=67108863,"Number is too big");var h=0|this.words[0];m=h===n?0:h<n?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],C=0|n.words[m];if(h!==C){h<C?c=-1:h>C&&(c=1);break}}return c},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new Te(n)},l.prototype.toRed=function(n){return w(!this.red,"Already a number in reduction context"),w(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return w(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return w(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return w(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return w(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return w(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return w(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return w(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return w(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return w(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return w(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return w(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return w(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return w(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ee(D,n){this.name=D,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ie(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ge(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Te(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else w(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function de(D){Te.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(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)}ee.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ee.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ee.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ee.prototype.imulK=function(n){return n.imul(this.k)},S(ie,ee),ie.prototype.split=function(n,c){for(var m=4194303,h=Math.min(n.length,9),C=0;C<h;C++)c.words[C]=n.words[C];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var k=n.words[9];for(c.words[c.length++]=k&m,C=10;C<n.length;C++){var L=0|n.words[C];n.words[C-10]=(L&m)<<4|k>>>22,k=L}n.words[C-10]=k>>>=22,n.length-=0===k&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m<n.length;m++){var h=0|n.words[m];n.words[m]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ge,ee),S(ae,ee),S(Me,ee),Me.prototype.imulK=function(n){for(var c=0,m=0;m<n.length;m++){var h=19*(0|n.words[m])+c,C=67108863&h;h>>>=26,n.words[m]=C,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ge;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Te.prototype._verify1=function(n){w(0===n.negative,"red works only with positives"),w(n.red,"red works only with red numbers")},Te.prototype._verify2=function(n,c){w(!(n.negative|c.negative),"red works only with positives"),w(n.red&&n.red===c.red,"red works only with red numbers")},Te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Te.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Te.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Te.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Te.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Te.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Te.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Te.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Te.prototype.isqr=function(n){return this.imul(n,n.clone())},Te.prototype.sqr=function(n){return this.mul(n,n)},Te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(w(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);w(!h.isZero());var k=new l(1).toRed(this),L=k.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(L);)r.redIAdd(L);for(var v=this.pow(r,h),V=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=C;0!==N.cmp(k);){for(var Ee=N,ze=0;0!==Ee.cmp(k);ze++)Ee=Ee.redSqr();w(ze<ne);var qe=this.pow(v,new l(1).iushln(ne-ze-1));V=V.redMul(qe),v=qe.redSqr(),N=N.redMul(v),ne=ze}return V},Te.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},Te.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var C=2;C<h.length;C++)h[C]=this.mul(h[C-1],n);var k=h[0],L=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),C=c.length-1;C>=0;C--){for(var v=c.words[C],V=r-1;V>=0;V--){var N=v>>V&1;k!==h[0]&&(k=this.sqr(k)),0!==N||0!==L?(L<<=1,L|=N,(4==++_||0===C&&0===V)&&(k=this.mul(k,h[L]),_=0,L=0)):_=0}r=26}return k},Te.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Te.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new de(n)},S(de,Te),de.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},de.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},de.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},243:Qe=>{"use strict";var te={single_source_shortest_paths:function(g,e,t){var w={},S={};S[e]=0;var x,f,I,d,T,F,l=te.PriorityQueue.make();for(l.push(e,0);!l.empty();)for(I in d=(x=l.pop()).cost,T=g[f=x.value]||{})T.hasOwnProperty(I)&&(F=d+T[I],(typeof S[I]>"u"||S[I]>F)&&(S[I]=F,l.push(I,F),w[I]=f));if(typeof t<"u"&&typeof S[t]>"u"){var W=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(W)}return w},extract_shortest_path_from_predecessor_list:function(g,e){for(var t=[],w=e;w;)t.push(w),w=g[w];return t.reverse(),t},find_path:function(g,e,t){var w=te.single_source_shortest_paths(g,e,t);return te.extract_shortest_path_from_predecessor_list(w,t)},PriorityQueue:{make:function(g){var w,e=te.PriorityQueue,t={};for(w in g=g||{},e)e.hasOwnProperty(w)&&(t[w]=e[w]);return t.queue=[],t.sorter=g.sorter||e.default_sorter,t},default_sorter:function(g,e){return g.cost-e.cost},push:function(g,e){this.queue.push({value:g,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Qe.exports=te},518:(Qe,te,g)=>{"use strict";var e=te;e.version=g(1636).rE,e.utils=g(3136),e.rand=g(5294),e.curve=g(8729),e.curves=g(3401),e.ec=g(9042),e.eddsa=g(3045)},8828:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),w=t.getNAF,S=t.getJSF,l=t.assert;function x(I,d){this.type=I,this.p=new e(d.p,16),this.red=d.prime?e.red(d.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=d.n&&new e(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.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 T=this.n&&this.p.div(this.n);!T||T.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(I,d){this.curve=I,this.type=d,this.precomputed=null}Qe.exports=x,x.prototype.point=function(){throw new Error("Not implemented")},x.prototype.validate=function(){throw new Error("Not implemented")},x.prototype._fixedNafMul=function(d,T){l(d.precomputed);var y=d._getDoubles(),F=w(T,1,this._bitLength),R=(1<<y.step+1)-(y.step%2==0?2:1);R/=3;var W,$,z=[];for(W=0;W<F.length;W+=y.step){$=0;for(var j=W+y.step-1;j>=W;j--)$=($<<1)+F[j];z.push($)}for(var Q=this.jpoint(null,null,null),J=this.jpoint(null,null,null),ee=R;ee>0;ee--){for(W=0;W<z.length;W++)($=z[W])===ee?J=J.mixedAdd(y.points[W]):$===-ee&&(J=J.mixedAdd(y.points[W].neg()));Q=Q.add(J)}return Q.toP()},x.prototype._wnafMul=function(d,T){for(var y=4,F=d._getNAFPoints(y),R=F.points,z=w(T,y=F.wnd,this._bitLength),W=this.jpoint(null,null,null),$=z.length-1;$>=0;$--){for(var j=0;$>=0&&0===z[$];$--)j++;if($>=0&&j++,W=W.dblp(j),$<0)break;var Q=z[$];l(0!==Q),W="affine"===d.type?W.mixedAdd(Q>0?R[Q-1>>1]:R[-Q-1>>1].neg()):W.add(Q>0?R[Q-1>>1]:R[-Q-1>>1].neg())}return"affine"===d.type?W.toP():W},x.prototype._wnafMulAdd=function(d,T,y,F,R){var Q,J,ee,z=this._wnafT1,W=this._wnafT2,$=this._wnafT3,j=0;for(Q=0;Q<F;Q++){var ie=(ee=T[Q])._getNAFPoints(d);z[Q]=ie.wnd,W[Q]=ie.points}for(Q=F-1;Q>=1;Q-=2){var ge=Q-1,ae=Q;if(1===z[ge]&&1===z[ae]){var Me=[T[ge],null,null,T[ae]];0===T[ge].y.cmp(T[ae].y)?(Me[1]=T[ge].add(T[ae]),Me[2]=T[ge].toJ().mixedAdd(T[ae].neg())):0===T[ge].y.cmp(T[ae].y.redNeg())?(Me[1]=T[ge].toJ().mixedAdd(T[ae]),Me[2]=T[ge].add(T[ae].neg())):(Me[1]=T[ge].toJ().mixedAdd(T[ae]),Me[2]=T[ge].toJ().mixedAdd(T[ae].neg()));var Te=[-3,-1,-5,-7,0,7,5,1,3],de=S(y[ge],y[ae]);for(j=Math.max(de[0].length,j),$[ge]=new Array(j),$[ae]=new Array(j),J=0;J<j;J++)$[ge][J]=Te[3*(1+(0|de[0][J]))+(1+(0|de[1][J]))],$[ae][J]=0,W[ge]=Me}else $[ge]=w(y[ge],z[ge],this._bitLength),$[ae]=w(y[ae],z[ae],this._bitLength),j=Math.max($[ge].length,j),j=Math.max($[ae].length,j)}var c=this.jpoint(null,null,null),m=this._wnafT4;for(Q=j;Q>=0;Q--){for(var h=0;Q>=0;){var C=!0;for(J=0;J<F;J++)m[J]=0|$[J][Q],0!==m[J]&&(C=!1);if(!C)break;h++,Q--}if(Q>=0&&h++,c=c.dblp(h),Q<0)break;for(J=0;J<F;J++){var k=m[J];0!==k&&(k>0?ee=W[J][k-1>>1]:k<0&&(ee=W[J][-k-1>>1].neg()),c="affine"===ee.type?c.mixedAdd(ee):c.add(ee))}}for(Q=0;Q<F;Q++)W[Q]=null;return R?c:c.toP()},x.BasePoint=f,f.prototype.eq=function(){throw new Error("Not implemented")},f.prototype.validate=function(){return this.curve.validate(this)},x.prototype.decodePoint=function(d,T){d=t.toArray(d,T);var y=this.p.byteLength();if((4===d[0]||6===d[0]||7===d[0])&&d.length-1==2*y)return 6===d[0]?l(d[d.length-1]%2==0):7===d[0]&&l(d[d.length-1]%2==1),this.point(d.slice(1,1+y),d.slice(1+y,1+2*y));if((2===d[0]||3===d[0])&&d.length-1===y)return this.pointFromX(d.slice(1,1+y),3===d[0]);throw new Error("Unknown point format")},f.prototype.encodeCompressed=function(d){return this.encode(d,!0)},f.prototype._encode=function(d){var T=this.curve.p.byteLength(),y=this.getX().toArray("be",T);return d?[this.getY().isEven()?2:3].concat(y):[4].concat(y,this.getY().toArray("be",T))},f.prototype.encode=function(d,T){return t.encode(this._encode(T),d)},f.prototype.precompute=function(d){if(this.precomputed)return this;var T={doubles:null,naf:null,beta:null};return T.naf=this._getNAFPoints(8),T.doubles=this._getDoubles(4,d),T.beta=this._getBeta(),this.precomputed=T,this},f.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var T=this.precomputed.doubles;return!!T&&T.points.length>=Math.ceil((d.bitLength()+1)/T.step)},f.prototype._getDoubles=function(d,T){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var y=[this],F=this,R=0;R<T;R+=d){for(var z=0;z<d;z++)F=F.dbl();y.push(F)}return{step:d,points:y}},f.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var T=[this],y=(1<<d)-1,F=1===y?null:this.dbl(),R=1;R<y;R++)T[R]=T[R-1].add(F);return{wnd:d,points:T}},f.prototype._getBeta=function(){return null},f.prototype.dblp=function(d){for(var T=this,y=0;y<d;y++)T=T.dbl();return T}},5537:(Qe,te,g)=>{"use strict";var e=g(3136),t=g(8723),w=g(1993),S=g(8828),l=e.assert;function x(I){this.twisted=1!=(0|I.a),this.mOneA=this.twisted&&-1==(0|I.a),this.extended=this.mOneA,S.call(this,"edwards",I),this.a=new t(I.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(I.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(I.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|I.c)}function f(I,d,T,y,F){S.BasePoint.call(this,I,"projective"),null===d&&null===T&&null===y?(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 t(d,16),this.y=new t(T,16),this.z=y?new t(y,16):this.curve.one,this.t=F&&new t(F,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()))))}w(x,S),Qe.exports=x,x.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},x.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},x.prototype.jpoint=function(d,T,y,F){return this.point(d,T,y,F)},x.prototype.pointFromX=function(d,T){(d=new t(d,16)).red||(d=d.toRed(this.red));var y=d.redSqr(),F=this.c2.redSub(this.a.redMul(y)),R=this.one.redSub(this.c2.redMul(this.d).redMul(y)),z=F.redMul(R.redInvm()),W=z.redSqrt();if(0!==W.redSqr().redSub(z).cmp(this.zero))throw new Error("invalid point");var $=W.fromRed().isOdd();return(T&&!$||!T&&$)&&(W=W.redNeg()),this.point(d,W)},x.prototype.pointFromY=function(d,T){(d=new t(d,16)).red||(d=d.toRed(this.red));var y=d.redSqr(),F=y.redSub(this.c2),R=y.redMul(this.d).redMul(this.c2).redSub(this.a),z=F.redMul(R.redInvm());if(0===z.cmp(this.zero)){if(T)throw new Error("invalid point");return this.point(this.zero,d)}var W=z.redSqrt();if(0!==W.redSqr().redSub(z).cmp(this.zero))throw new Error("invalid point");return W.fromRed().isOdd()!==T&&(W=W.redNeg()),this.point(W,d)},x.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var T=d.x.redSqr(),y=d.y.redSqr(),F=T.redMul(this.a).redAdd(y),R=this.c2.redMul(this.one.redAdd(this.d.redMul(T).redMul(y)));return 0===F.cmp(R)},w(f,S.BasePoint),x.prototype.pointFromJSON=function(d){return f.fromJSON(this,d)},x.prototype.point=function(d,T,y,F){return new f(this,d,T,y,F)},f.fromJSON=function(d,T){return new f(d,T[0],T[1],T[2])},f.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)+">"},f.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},f.prototype._extDbl=function(){var d=this.x.redSqr(),T=this.y.redSqr(),y=this.z.redSqr();y=y.redIAdd(y);var F=this.curve._mulA(d),R=this.x.redAdd(this.y).redSqr().redISub(d).redISub(T),z=F.redAdd(T),W=z.redSub(y),$=F.redSub(T),j=R.redMul(W),Q=z.redMul($),J=R.redMul($),ee=W.redMul(z);return this.curve.point(j,Q,ee,J)},f.prototype._projDbl=function(){var F,R,z,W,$,j,d=this.x.redAdd(this.y).redSqr(),T=this.x.redSqr(),y=this.y.redSqr();if(this.curve.twisted){var Q=(W=this.curve._mulA(T)).redAdd(y);this.zOne?(F=d.redSub(T).redSub(y).redMul(Q.redSub(this.curve.two)),R=Q.redMul(W.redSub(y)),z=Q.redSqr().redSub(Q).redSub(Q)):($=this.z.redSqr(),j=Q.redSub($).redISub($),F=d.redSub(T).redISub(y).redMul(j),R=Q.redMul(W.redSub(y)),z=Q.redMul(j))}else W=T.redAdd(y),$=this.curve._mulC(this.z).redSqr(),j=W.redSub($).redSub($),F=this.curve._mulC(d.redISub(W)).redMul(j),R=this.curve._mulC(W).redMul(T.redISub(y)),z=W.redMul(j);return this.curve.point(F,R,z)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(d){var T=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),y=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),F=this.t.redMul(this.curve.dd).redMul(d.t),R=this.z.redMul(d.z.redAdd(d.z)),z=y.redSub(T),W=R.redSub(F),$=R.redAdd(F),j=y.redAdd(T),Q=z.redMul(W),J=$.redMul(j),ee=z.redMul(j),ie=W.redMul($);return this.curve.point(Q,J,ie,ee)},f.prototype._projAdd=function(d){var J,ee,T=this.z.redMul(d.z),y=T.redSqr(),F=this.x.redMul(d.x),R=this.y.redMul(d.y),z=this.curve.d.redMul(F).redMul(R),W=y.redSub(z),$=y.redAdd(z),j=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(F).redISub(R),Q=T.redMul(W).redMul(j);return this.curve.twisted?(J=T.redMul($).redMul(R.redSub(this.curve._mulA(F))),ee=W.redMul($)):(J=T.redMul($).redMul(R.redSub(F)),ee=this.curve._mulC(W).redMul($)),this.curve.point(Q,J,ee)},f.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},f.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},f.prototype.mulAdd=function(d,T,y){return this.curve._wnafMulAdd(1,[this,T],[d,y],2,!1)},f.prototype.jmulAdd=function(d,T,y){return this.curve._wnafMulAdd(1,[this,T],[d,y],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var d=this.z.redInvm();return this.x=this.x.redMul(d),this.y=this.y.redMul(d),this.t&&(this.t=this.t.redMul(d)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},f.prototype.eqXToP=function(d){var T=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(T))return!0;for(var y=d.clone(),F=this.curve.redN.redMul(this.z);;){if(y.iadd(this.curve.n),y.cmp(this.curve.p)>=0)return!1;if(T.redIAdd(F),0===this.x.cmp(T))return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},8729:(Qe,te,g)=>{"use strict";var e=te;e.base=g(8828),e.short=g(8075),e.mont=g(4947),e.edwards=g(5537)},4947:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(1993),w=g(8828),S=g(3136);function l(f){w.call(this,"mont",f),this.a=new e(f.a,16).toRed(this.red),this.b=new e(f.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function x(f,I,d){w.BasePoint.call(this,f,"projective"),null===I&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(I,16),this.z=new e(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(l,w),Qe.exports=l,l.prototype.validate=function(I){var d=I.normalize().x,T=d.redSqr(),y=T.redMul(d).redAdd(T.redMul(this.a)).redAdd(d);return 0===y.redSqrt().redSqr().cmp(y)},t(x,w.BasePoint),l.prototype.decodePoint=function(I,d){return this.point(S.toArray(I,d),1)},l.prototype.point=function(I,d){return new x(this,I,d)},l.prototype.pointFromJSON=function(I){return x.fromJSON(this,I)},x.prototype.precompute=function(){},x.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},x.fromJSON=function(I,d){return new x(I,d[0],d[1]||I.one)},x.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},x.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},x.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),y=this.x.redSub(this.z).redSqr(),F=d.redSub(y),R=d.redMul(y),z=F.redMul(y.redAdd(this.curve.a24.redMul(F)));return this.curve.point(R,z)},x.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.diffAdd=function(I,d){var T=this.x.redAdd(this.z),y=this.x.redSub(this.z),F=I.x.redAdd(I.z),z=I.x.redSub(I.z).redMul(T),W=F.redMul(y),$=d.z.redMul(z.redAdd(W).redSqr()),j=d.x.redMul(z.redISub(W).redSqr());return this.curve.point($,j)},x.prototype.mul=function(I){for(var d=I.clone(),T=this,y=this.curve.point(null,null),R=[];0!==d.cmpn(0);d.iushrn(1))R.push(d.andln(1));for(var z=R.length-1;z>=0;z--)0===R[z]?(T=T.diffAdd(y,this),y=y.dbl()):(y=T.diffAdd(y,this),T=T.dbl());return y},x.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.eq=function(I){return 0===this.getX().cmp(I.getX())},x.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},x.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},8075:(Qe,te,g)=>{"use strict";var e=g(3136),t=g(8723),w=g(1993),S=g(8828),l=e.assert;function x(d){S.call(this,"short",d),this.a=new t(d.a,16).toRed(this.red),this.b=new t(d.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(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(d,T,y,F){S.BasePoint.call(this,d,"affine"),null===T&&null===y?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(T,16),this.y=new t(y,16),F&&(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 I(d,T,y,F){S.BasePoint.call(this,d,"jacobian"),null===T&&null===y&&null===F?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(T,16),this.y=new t(y,16),this.z=new t(F,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}w(x,S),Qe.exports=x,x.prototype._getEndomorphism=function(T){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var y,F;if(T.beta)y=new t(T.beta,16).toRed(this.red);else{var R=this._getEndoRoots(this.p);y=(y=R[0].cmp(R[1])<0?R[0]:R[1]).toRed(this.red)}if(T.lambda)F=new t(T.lambda,16);else{var z=this._getEndoRoots(this.n);0===this.g.mul(z[0]).x.cmp(this.g.x.redMul(y))?F=z[0]:l(0===this.g.mul(F=z[1]).x.cmp(this.g.x.redMul(y)))}return{beta:y,lambda:F,basis:T.basis?T.basis.map(function($){return{a:new t($.a,16),b:new t($.b,16)}}):this._getEndoBasis(F)}}},x.prototype._getEndoRoots=function(T){var y=T===this.p?this.red:t.mont(T),F=new t(2).toRed(y).redInvm(),R=F.redNeg(),z=new t(3).toRed(y).redNeg().redSqrt().redMul(F);return[R.redAdd(z).fromRed(),R.redSub(z).fromRed()]},x.prototype._getEndoBasis=function(T){for(var Q,J,ee,ie,ge,ae,Me,de,D,y=this.n.ushrn(Math.floor(this.n.bitLength()/2)),F=T,R=this.n.clone(),z=new t(1),W=new t(0),$=new t(0),j=new t(1),Te=0;0!==F.cmpn(0);){var n=R.div(F);de=R.sub(n.mul(F)),D=$.sub(n.mul(z));var c=j.sub(n.mul(W));if(!ee&&de.cmp(y)<0)Q=Me.neg(),J=z,ee=de.neg(),ie=D;else if(ee&&2==++Te)break;Me=de,R=F,F=de,$=z,z=D,j=W,W=c}ge=de.neg(),ae=D;var m=ee.sqr().add(ie.sqr());return ge.sqr().add(ae.sqr()).cmp(m)>=0&&(ge=Q,ae=J),ee.negative&&(ee=ee.neg(),ie=ie.neg()),ge.negative&&(ge=ge.neg(),ae=ae.neg()),[{a:ee,b:ie},{a:ge,b:ae}]},x.prototype._endoSplit=function(T){var y=this.endo.basis,F=y[0],R=y[1],z=R.b.mul(T).divRound(this.n),W=F.b.neg().mul(T).divRound(this.n),$=z.mul(F.a),j=W.mul(R.a),Q=z.mul(F.b),J=W.mul(R.b);return{k1:T.sub($).sub(j),k2:Q.add(J).neg()}},x.prototype.pointFromX=function(T,y){(T=new t(T,16)).red||(T=T.toRed(this.red));var F=T.redSqr().redMul(T).redIAdd(T.redMul(this.a)).redIAdd(this.b),R=F.redSqrt();if(0!==R.redSqr().redSub(F).cmp(this.zero))throw new Error("invalid point");var z=R.fromRed().isOdd();return(y&&!z||!y&&z)&&(R=R.redNeg()),this.point(T,R)},x.prototype.validate=function(T){if(T.inf)return!0;var y=T.x,F=T.y,R=this.a.redMul(y),z=y.redSqr().redMul(y).redIAdd(R).redIAdd(this.b);return 0===F.redSqr().redISub(z).cmpn(0)},x.prototype._endoWnafMulAdd=function(T,y,F){for(var R=this._endoWnafT1,z=this._endoWnafT2,W=0;W<T.length;W++){var $=this._endoSplit(y[W]),j=T[W],Q=j._getBeta();$.k1.negative&&($.k1.ineg(),j=j.neg(!0)),$.k2.negative&&($.k2.ineg(),Q=Q.neg(!0)),R[2*W]=j,R[2*W+1]=Q,z[2*W]=$.k1,z[2*W+1]=$.k2}for(var J=this._wnafMulAdd(1,R,z,2*W,F),ee=0;ee<2*W;ee++)R[ee]=null,z[ee]=null;return J},w(f,S.BasePoint),x.prototype.point=function(T,y,F){return new f(this,T,y,F)},x.prototype.pointFromJSON=function(T,y){return f.fromJSON(this,T,y)},f.prototype._getBeta=function(){if(this.curve.endo){var T=this.precomputed;if(T&&T.beta)return T.beta;var y=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(T){var F=this.curve,R=function(z){return F.point(z.x.redMul(F.endo.beta),z.y)};T.beta=y,y.precomputed={beta:null,naf:T.naf&&{wnd:T.naf.wnd,points:T.naf.points.map(R)},doubles:T.doubles&&{step:T.doubles.step,points:T.doubles.points.map(R)}}}return y}},f.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]},f.fromJSON=function(T,y,F){"string"==typeof y&&(y=JSON.parse(y));var R=T.point(y[0],y[1],F);if(!y[2])return R;function z($){return T.point($[0],$[1],F)}var W=y[2];return R.precomputed={beta:null,doubles:W.doubles&&{step:W.doubles.step,points:[R].concat(W.doubles.points.map(z))},naf:W.naf&&{wnd:W.naf.wnd,points:[R].concat(W.naf.points.map(z))}},R},f.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)+">"},f.prototype.isInfinity=function(){return this.inf},f.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 y=this.y.redSub(T.y);0!==y.cmpn(0)&&(y=y.redMul(this.x.redSub(T.x).redInvm()));var F=y.redSqr().redISub(this.x).redISub(T.x),R=y.redMul(this.x.redSub(F)).redISub(this.y);return this.curve.point(F,R)},f.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 y=this.curve.a,F=this.x.redSqr(),R=T.redInvm(),z=F.redAdd(F).redIAdd(F).redIAdd(y).redMul(R),W=z.redSqr().redISub(this.x.redAdd(this.x)),$=z.redMul(this.x.redSub(W)).redISub(this.y);return this.curve.point(W,$)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(T){return T=new t(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)},f.prototype.mulAdd=function(T,y,F){var R=[this,y],z=[T,F];return this.curve.endo?this.curve._endoWnafMulAdd(R,z):this.curve._wnafMulAdd(1,R,z,2)},f.prototype.jmulAdd=function(T,y,F){var R=[this,y],z=[T,F];return this.curve.endo?this.curve._endoWnafMulAdd(R,z,!0):this.curve._wnafMulAdd(1,R,z,2,!0)},f.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))},f.prototype.neg=function(T){if(this.inf)return this;var y=this.curve.point(this.x,this.y.redNeg());if(T&&this.precomputed){var F=this.precomputed,R=function(z){return z.neg()};y.precomputed={naf:F.naf&&{wnd:F.naf.wnd,points:F.naf.points.map(R)},doubles:F.doubles&&{step:F.doubles.step,points:F.doubles.points.map(R)}}}return y},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},w(I,S.BasePoint),x.prototype.jpoint=function(T,y,F){return new I(this,T,y,F)},I.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var T=this.z.redInvm(),y=T.redSqr(),F=this.x.redMul(y),R=this.y.redMul(y).redMul(T);return this.curve.point(F,R)},I.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},I.prototype.add=function(T){if(this.isInfinity())return T;if(T.isInfinity())return this;var y=T.z.redSqr(),F=this.z.redSqr(),R=this.x.redMul(y),z=T.x.redMul(F),W=this.y.redMul(y.redMul(T.z)),$=T.y.redMul(F.redMul(this.z)),j=R.redSub(z),Q=W.redSub($);if(0===j.cmpn(0))return 0!==Q.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var J=j.redSqr(),ee=J.redMul(j),ie=R.redMul(J),ge=Q.redSqr().redIAdd(ee).redISub(ie).redISub(ie),ae=Q.redMul(ie.redISub(ge)).redISub(W.redMul(ee)),Me=this.z.redMul(T.z).redMul(j);return this.curve.jpoint(ge,ae,Me)},I.prototype.mixedAdd=function(T){if(this.isInfinity())return T.toJ();if(T.isInfinity())return this;var y=this.z.redSqr(),F=this.x,R=T.x.redMul(y),z=this.y,W=T.y.redMul(y).redMul(this.z),$=F.redSub(R),j=z.redSub(W);if(0===$.cmpn(0))return 0!==j.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var Q=$.redSqr(),J=Q.redMul($),ee=F.redMul(Q),ie=j.redSqr().redIAdd(J).redISub(ee).redISub(ee),ge=j.redMul(ee.redISub(ie)).redISub(z.redMul(J)),ae=this.z.redMul($);return this.curve.jpoint(ie,ge,ae)},I.prototype.dblp=function(T){if(0===T)return this;if(this.isInfinity())return this;if(!T)return this.dbl();var y;if(this.curve.zeroA||this.curve.threeA){var F=this;for(y=0;y<T;y++)F=F.dbl();return F}var R=this.curve.a,z=this.curve.tinv,W=this.x,$=this.y,j=this.z,Q=j.redSqr().redSqr(),J=$.redAdd($);for(y=0;y<T;y++){var ee=W.redSqr(),ie=J.redSqr(),ge=ie.redSqr(),ae=ee.redAdd(ee).redIAdd(ee).redIAdd(R.redMul(Q)),Me=W.redMul(ie),Te=ae.redSqr().redISub(Me.redAdd(Me)),de=Me.redISub(Te),D=ae.redMul(de);D=D.redIAdd(D).redISub(ge);var n=J.redMul(j);y+1<T&&(Q=Q.redMul(ge)),W=Te,j=n,J=D}return this.curve.jpoint(W,J.redMul(z),j)},I.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},I.prototype._zeroDbl=function(){var T,y,F;if(this.zOne){var R=this.x.redSqr(),z=this.y.redSqr(),W=z.redSqr(),$=this.x.redAdd(z).redSqr().redISub(R).redISub(W);$=$.redIAdd($);var j=R.redAdd(R).redIAdd(R),Q=j.redSqr().redISub($).redISub($),J=W.redIAdd(W);J=(J=J.redIAdd(J)).redIAdd(J),T=Q,y=j.redMul($.redISub(Q)).redISub(J),F=this.y.redAdd(this.y)}else{var ee=this.x.redSqr(),ie=this.y.redSqr(),ge=ie.redSqr(),ae=this.x.redAdd(ie).redSqr().redISub(ee).redISub(ge);ae=ae.redIAdd(ae);var Me=ee.redAdd(ee).redIAdd(ee),Te=Me.redSqr(),de=ge.redIAdd(ge);de=(de=de.redIAdd(de)).redIAdd(de),T=Te.redISub(ae).redISub(ae),y=Me.redMul(ae.redISub(T)).redISub(de),F=(F=this.y.redMul(this.z)).redIAdd(F)}return this.curve.jpoint(T,y,F)},I.prototype._threeDbl=function(){var T,y,F;if(this.zOne){var R=this.x.redSqr(),z=this.y.redSqr(),W=z.redSqr(),$=this.x.redAdd(z).redSqr().redISub(R).redISub(W);$=$.redIAdd($);var j=R.redAdd(R).redIAdd(R).redIAdd(this.curve.a),Q=j.redSqr().redISub($).redISub($);T=Q;var J=W.redIAdd(W);J=(J=J.redIAdd(J)).redIAdd(J),y=j.redMul($.redISub(Q)).redISub(J),F=this.y.redAdd(this.y)}else{var ee=this.z.redSqr(),ie=this.y.redSqr(),ge=this.x.redMul(ie),ae=this.x.redSub(ee).redMul(this.x.redAdd(ee));ae=ae.redAdd(ae).redIAdd(ae);var Me=ge.redIAdd(ge),Te=(Me=Me.redIAdd(Me)).redAdd(Me);T=ae.redSqr().redISub(Te),F=this.y.redAdd(this.z).redSqr().redISub(ie).redISub(ee);var de=ie.redSqr();de=(de=(de=de.redIAdd(de)).redIAdd(de)).redIAdd(de),y=ae.redMul(Me.redISub(T)).redISub(de)}return this.curve.jpoint(T,y,F)},I.prototype._dbl=function(){var T=this.curve.a,y=this.x,F=this.y,R=this.z,z=R.redSqr().redSqr(),W=y.redSqr(),$=F.redSqr(),j=W.redAdd(W).redIAdd(W).redIAdd(T.redMul(z)),Q=y.redAdd(y),J=(Q=Q.redIAdd(Q)).redMul($),ee=j.redSqr().redISub(J.redAdd(J)),ie=J.redISub(ee),ge=$.redSqr();ge=(ge=(ge=ge.redIAdd(ge)).redIAdd(ge)).redIAdd(ge);var ae=j.redMul(ie).redISub(ge),Me=F.redAdd(F).redMul(R);return this.curve.jpoint(ee,ae,Me)},I.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var T=this.x.redSqr(),y=this.y.redSqr(),F=this.z.redSqr(),R=y.redSqr(),z=T.redAdd(T).redIAdd(T),W=z.redSqr(),$=this.x.redAdd(y).redSqr().redISub(T).redISub(R),j=($=($=($=$.redIAdd($)).redAdd($).redIAdd($)).redISub(W)).redSqr(),Q=R.redIAdd(R);Q=(Q=(Q=Q.redIAdd(Q)).redIAdd(Q)).redIAdd(Q);var J=z.redIAdd($).redSqr().redISub(W).redISub(j).redISub(Q),ee=y.redMul(J);ee=(ee=ee.redIAdd(ee)).redIAdd(ee);var ie=this.x.redMul(j).redISub(ee);ie=(ie=ie.redIAdd(ie)).redIAdd(ie);var ge=this.y.redMul(J.redMul(Q.redISub(J)).redISub($.redMul(j)));ge=(ge=(ge=ge.redIAdd(ge)).redIAdd(ge)).redIAdd(ge);var ae=this.z.redAdd($).redSqr().redISub(F).redISub(j);return this.curve.jpoint(ie,ge,ae)},I.prototype.mul=function(T,y){return T=new t(T,y),this.curve._wnafMul(this,T)},I.prototype.eq=function(T){if("affine"===T.type)return this.eq(T.toJ());if(this===T)return!0;var y=this.z.redSqr(),F=T.z.redSqr();if(0!==this.x.redMul(F).redISub(T.x.redMul(y)).cmpn(0))return!1;var R=y.redMul(this.z),z=F.redMul(T.z);return 0===this.y.redMul(z).redISub(T.y.redMul(R)).cmpn(0)},I.prototype.eqXToP=function(T){var y=this.z.redSqr(),F=T.toRed(this.curve.red).redMul(y);if(0===this.x.cmp(F))return!0;for(var R=T.clone(),z=this.curve.redN.redMul(y);;){if(R.iadd(this.curve.n),R.cmp(this.curve.p)>=0)return!1;if(F.redIAdd(z),0===this.x.cmp(F))return!0}},I.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)+">"},I.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(Qe,te,g)=>{"use strict";var I,e=te,t=g(2529),w=g(8729),l=g(3136).assert;function x(d){this.curve="short"===d.type?new w.short(d):"edwards"===d.type?new w.edwards(d):new w.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function f(d,T){Object.defineProperty(e,d,{configurable:!0,enumerable:!0,get:function(){var y=new x(T);return Object.defineProperty(e,d,{configurable:!0,enumerable:!0,value:y}),y}})}e.PresetCurve=x,f("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:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),f("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:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),f("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:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),f("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:t.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"]}),f("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:t.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"]}),f("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),f("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:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{I=g(1416)}catch{I=void 0}f("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:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",I]})},9042:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3556),w=g(3136),S=g(3401),l=g(5294),x=w.assert,f=g(541),I=g(484);function d(T){if(!(this instanceof d))return new d(T);"string"==typeof T&&(x(Object.prototype.hasOwnProperty.call(S,T),"Unknown curve "+T),T=S[T]),T instanceof S.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}Qe.exports=d,d.prototype.keyPair=function(y){return new f(this,y)},d.prototype.keyFromPrivate=function(y,F){return f.fromPrivate(this,y,F)},d.prototype.keyFromPublic=function(y,F){return f.fromPublic(this,y,F)},d.prototype.genKeyPair=function(y){y||(y={});for(var F=new t({hash:this.hash,pers:y.pers,persEnc:y.persEnc||"utf8",entropy:y.entropy||l(this.hash.hmacStrength),entropyEnc:y.entropy&&y.entropyEnc||"utf8",nonce:this.n.toArray()}),R=this.n.byteLength(),z=this.n.sub(new e(2));;){var W=new e(F.generate(R));if(!(W.cmp(z)>0))return W.iaddn(1),this.keyFromPrivate(W)}},d.prototype._truncateToN=function(y,F){var R=8*y.byteLength()-this.n.bitLength();return R>0&&(y=y.ushrn(R)),!F&&y.cmp(this.n)>=0?y.sub(this.n):y},d.prototype.sign=function(y,F,R,z){"object"==typeof R&&(z=R,R=null),z||(z={}),F=this.keyFromPrivate(F,R),y=this._truncateToN(new e(y,16));for(var W=this.n.byteLength(),$=F.getPrivate().toArray("be",W),j=y.toArray("be",W),Q=new t({hash:this.hash,entropy:$,nonce:j,pers:z.pers,persEnc:z.persEnc||"utf8"}),J=this.n.sub(new e(1)),ee=0;;ee++){var ie=z.k?z.k(ee):new e(Q.generate(this.n.byteLength()));if(!((ie=this._truncateToN(ie,!0)).cmpn(1)<=0||ie.cmp(J)>=0)){var ge=this.g.mul(ie);if(!ge.isInfinity()){var ae=ge.getX(),Me=ae.umod(this.n);if(0!==Me.cmpn(0)){var Te=ie.invm(this.n).mul(Me.mul(F.getPrivate()).iadd(y));if(0!==(Te=Te.umod(this.n)).cmpn(0)){var de=(ge.getY().isOdd()?1:0)|(0!==ae.cmp(Me)?2:0);return z.canonical&&Te.cmp(this.nh)>0&&(Te=this.n.sub(Te),de^=1),new I({r:Me,s:Te,recoveryParam:de})}}}}}},d.prototype.verify=function(y,F,R,z){y=this._truncateToN(new e(y,16)),R=this.keyFromPublic(R,z);var W=(F=new I(F,"hex")).r,$=F.s;if(W.cmpn(1)<0||W.cmp(this.n)>=0||$.cmpn(1)<0||$.cmp(this.n)>=0)return!1;var ee,j=$.invm(this.n),Q=j.mul(y).umod(this.n),J=j.mul(W).umod(this.n);return this.curve._maxwellTrick?!(ee=this.g.jmulAdd(Q,R.getPublic(),J)).isInfinity()&&ee.eqXToP(W):!(ee=this.g.mulAdd(Q,R.getPublic(),J)).isInfinity()&&0===ee.getX().umod(this.n).cmp(W)},d.prototype.recoverPubKey=function(T,y,F,R){x((3&F)===F,"The recovery param is more than two bits"),y=new I(y,R);var z=this.n,W=new e(T),$=y.r,j=y.s,Q=1&F,J=F>>1;if($.cmp(this.curve.p.umod(this.curve.n))>=0&&J)throw new Error("Unable to find sencond key candinate");$=this.curve.pointFromX(J?$.add(this.curve.n):$,Q);var ee=y.r.invm(z),ie=z.sub(W).mul(ee).umod(z),ge=j.mul(ee).umod(z);return this.g.mulAdd(ie,$,ge)},d.prototype.getKeyRecoveryParam=function(T,y,F,R){if(null!==(y=new I(y,R)).recoveryParam)return y.recoveryParam;for(var z=0;z<4;z++){var W;try{W=this.recoverPubKey(T,y,z)}catch{continue}if(W.eq(F))return z}throw new Error("Unable to find valid recovery factor")}},541:(Qe,te,g)=>{"use strict";var e=g(8723),w=g(3136).assert;function S(l,x){this.ec=l,this.priv=null,this.pub=null,x.priv&&this._importPrivate(x.priv,x.privEnc),x.pub&&this._importPublic(x.pub,x.pubEnc)}Qe.exports=S,S.fromPublic=function(x,f,I){return f instanceof S?f:new S(x,{pub:f,pubEnc:I})},S.fromPrivate=function(x,f,I){return f instanceof S?f:new S(x,{priv:f,privEnc:I})},S.prototype.validate=function(){var x=this.getPublic();return x.isInfinity()?{result:!1,reason:"Invalid public key"}:x.validate()?x.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"}},S.prototype.getPublic=function(x,f){return"string"==typeof x&&(f=x,x=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),f?this.pub.encode(f,x):this.pub},S.prototype.getPrivate=function(x){return"hex"===x?this.priv.toString(16,2):this.priv},S.prototype._importPrivate=function(x,f){this.priv=new e(x,f||16),this.priv=this.priv.umod(this.ec.curve.n)},S.prototype._importPublic=function(x,f){if(x.x||x.y)return"mont"===this.ec.curve.type?w(x.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&w(x.x&&x.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(x.x,x.y));this.pub=this.ec.curve.decodePoint(x,f)},S.prototype.derive=function(x){return x.validate()||w(x.validate(),"public point not validated"),x.mul(this.priv).getX()},S.prototype.sign=function(x,f,I){return this.ec.sign(x,this,f,I)},S.prototype.verify=function(x,f){return this.ec.verify(x,f,this)},S.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},484:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),w=t.assert;function S(d,T){if(d instanceof S)return d;this._importDER(d,T)||(w(d.r&&d.s,"Signature without r or s"),this.r=new e(d.r,16),this.s=new e(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function l(){this.place=0}function x(d,T){var y=d[T.place++];if(!(128&y))return y;var F=15&y;if(0===F||F>4)return!1;for(var R=0,z=0,W=T.place;z<F;z++,W++)R<<=8,R|=d[W],R>>>=0;return!(R<=127)&&(T.place=W,R)}function f(d){for(var T=0,y=d.length-1;!d[T]&&!(128&d[T+1])&&T<y;)T++;return 0===T?d:d.slice(T)}function I(d,T){if(T<128)d.push(T);else{var y=1+(Math.log(T)/Math.LN2>>>3);for(d.push(128|y);--y;)d.push(T>>>(y<<3)&255);d.push(T)}}Qe.exports=S,S.prototype._importDER=function(T,y){T=t.toArray(T,y);var F=new l;if(48!==T[F.place++])return!1;var R=x(T,F);if(!1===R||R+F.place!==T.length||2!==T[F.place++])return!1;var z=x(T,F);if(!1===z)return!1;var W=T.slice(F.place,z+F.place);if(F.place+=z,2!==T[F.place++])return!1;var $=x(T,F);if(!1===$||T.length!==$+F.place)return!1;var j=T.slice(F.place,$+F.place);if(0===W[0]){if(!(128&W[1]))return!1;W=W.slice(1)}if(0===j[0]){if(!(128&j[1]))return!1;j=j.slice(1)}return this.r=new e(W),this.s=new e(j),this.recoveryParam=null,!0},S.prototype.toDER=function(T){var y=this.r.toArray(),F=this.s.toArray();for(128&y[0]&&(y=[0].concat(y)),128&F[0]&&(F=[0].concat(F)),y=f(y),F=f(F);!(F[0]||128&F[1]);)F=F.slice(1);var R=[2];I(R,y.length),(R=R.concat(y)).push(2),I(R,F.length);var z=R.concat(F),W=[48];return I(W,z.length),W=W.concat(z),t.encode(W,T)}},3045:(Qe,te,g)=>{"use strict";var e=g(2529),t=g(3401),w=g(3136),S=w.assert,l=w.parseBytes,x=g(7222),f=g(5451);function I(d){if(S("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof I))return new I(d);this.curve=d=t[d].curve,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=e.sha512}Qe.exports=I,I.prototype.sign=function(T,y){T=l(T);var F=this.keyFromSecret(y),R=this.hashInt(F.messagePrefix(),T),z=this.g.mul(R),W=this.encodePoint(z),$=this.hashInt(W,F.pubBytes(),T).mul(F.priv()),j=R.add($).umod(this.curve.n);return this.makeSignature({R:z,S:j,Rencoded:W})},I.prototype.verify=function(T,y,F){T=l(T),y=this.makeSignature(y);var R=this.keyFromPublic(F),z=this.hashInt(y.Rencoded(),R.pubBytes(),T),W=this.g.mul(y.S());return y.R().add(R.pub().mul(z)).eq(W)},I.prototype.hashInt=function(){for(var T=this.hash(),y=0;y<arguments.length;y++)T.update(arguments[y]);return w.intFromLE(T.digest()).umod(this.curve.n)},I.prototype.keyFromPublic=function(T){return x.fromPublic(this,T)},I.prototype.keyFromSecret=function(T){return x.fromSecret(this,T)},I.prototype.makeSignature=function(T){return T instanceof f?T:new f(this,T)},I.prototype.encodePoint=function(T){var y=T.getY().toArray("le",this.encodingLength);return y[this.encodingLength-1]|=T.getX().isOdd()?128:0,y},I.prototype.decodePoint=function(T){var y=(T=w.parseBytes(T)).length-1,F=T.slice(0,y).concat(-129&T[y]),R=!!(128&T[y]),z=w.intFromLE(F);return this.curve.pointFromY(z,R)},I.prototype.encodeInt=function(T){return T.toArray("le",this.encodingLength)},I.prototype.decodeInt=function(T){return w.intFromLE(T)},I.prototype.isPoint=function(T){return T instanceof this.pointClass}},7222:(Qe,te,g)=>{"use strict";var e=g(3136),t=e.assert,w=e.parseBytes,S=e.cachedProperty;function l(x,f){this.eddsa=x,this._secret=w(f.secret),x.isPoint(f.pub)?this._pub=f.pub:this._pubBytes=w(f.pub)}l.fromPublic=function(f,I){return I instanceof l?I:new l(f,{pub:I})},l.fromSecret=function(f,I){return I instanceof l?I:new l(f,{secret:I})},l.prototype.secret=function(){return this._secret},S(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),S(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),S(l,"privBytes",function(){var f=this.eddsa,I=this.hash(),d=f.encodingLength-1,T=I.slice(0,f.encodingLength);return T[0]&=248,T[d]&=127,T[d]|=64,T}),S(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),S(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),S(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(f){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(f,this)},l.prototype.verify=function(f,I){return this.eddsa.verify(f,I,this)},l.prototype.getSecret=function(f){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),f)},l.prototype.getPublic=function(f){return e.encode(this.pubBytes(),f)},Qe.exports=l},5451:(Qe,te,g)=>{"use strict";var e=g(8723),t=g(3136),w=t.assert,S=t.cachedProperty,l=t.parseBytes;function x(f,I){this.eddsa=f,"object"!=typeof I&&(I=l(I)),Array.isArray(I)&&(I={R:I.slice(0,f.encodingLength),S:I.slice(f.encodingLength)}),w(I.R&&I.S,"Signature without R or S"),f.isPoint(I.R)&&(this._R=I.R),I.S instanceof e&&(this._S=I.S),this._Rencoded=Array.isArray(I.R)?I.R:I.Rencoded,this._Sencoded=Array.isArray(I.S)?I.S:I.Sencoded}S(x,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),S(x,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),S(x,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),S(x,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),x.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},x.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},Qe.exports=x},1416:Qe=>{Qe.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"]]}}},3136:(Qe,te,g)=>{"use strict";var e=te,t=g(8723),w=g(9210),S=g(1832);e.assert=w,e.toArray=S.toArray,e.zero2=S.zero2,e.toHex=S.toHex,e.encode=S.encode,e.getNAF=function l(T,y,F){var z,R=new Array(Math.max(T.bitLength(),F)+1);for(z=0;z<R.length;z+=1)R[z]=0;var W=1<<y+1,$=T.clone();for(z=0;z<R.length;z++){var j,Q=$.andln(W-1);$.isOdd()?$.isubn(j=Q>(W>>1)-1?(W>>1)-Q:Q):j=0,R[z]=j,$.iushrn(1)}return R},e.getJSF=function x(T,y){var F=[[],[]];T=T.clone(),y=y.clone();for(var W,R=0,z=0;T.cmpn(-R)>0||y.cmpn(-z)>0;){var Q,J,$=T.andln(3)+R&3,j=y.andln(3)+z&3;3===$&&($=-1),3===j&&(j=-1),Q=1&$?3!=(W=T.andln(7)+R&7)&&5!==W||2!==j?$:-$:0,F[0].push(Q),J=1&j?3!=(W=y.andln(7)+z&7)&&5!==W||2!==$?j:-j:0,F[1].push(J),2*R===Q+1&&(R=1-R),2*z===J+1&&(z=1-z),T.iushrn(1),y.iushrn(1)}return F},e.cachedProperty=function f(T,y,F){var R="_"+y;T.prototype[y]=function(){return void 0!==this[R]?this[R]:this[R]=F.call(this)}},e.parseBytes=function I(T){return"string"==typeof T?e.toArray(T,"hex"):T},e.intFromLE=function d(T){return new t(T,"hex","le")}},8723:function(Qe,te,g){!function(e,t){"use strict";function w(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(9368).Buffer}catch{}function f(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function I(D,n,c){var m=f(D,c);return c-1>=n&&(m|=f(D,c-1)<<4),m}function d(D,n,c,m){for(var h=0,C=Math.min(D.length,c),k=n;k<C;k++){var L=D.charCodeAt(k)-48;h*=m,h+=L>=49?L-49+10:L>=17?L-17+10:L}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),w(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,m):(this._parseBase(n,c,h),"le"===m&&this._initArray(this.toArray(),c,m)))},l.prototype._initNumber=function(n,c,m){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(w(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),c,m)},l.prototype._initArray=function(n,c,m){if(w("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var C,k,L=0;if("be"===m)for(h=n.length-1,C=0;h>=0;h-=3)this.words[C]|=(k=n[h]|n[h-1]<<8|n[h-2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);else if("le"===m)for(h=0,C=0;h<n.length;h+=3)this.words[C]|=(k=n[h]|n[h+1]<<8|n[h+2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var L,C=0,k=0;if("be"===m)for(h=n.length-1;h>=c;h-=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=c)h++;h--,C=C/c|0;for(var k=n.length-m,L=k%h,_=Math.min(k,k-L)+m,r=0,v=m;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(C),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==L){var V=1;for(r=d(n,v,n.length,c),v=0;v<L;v++)V*=c;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var c=0;c<this.length;c++)n.words[c]=this.words[c];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],y=[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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(D,n,c){c.negative=n.negative^D.negative;var m=D.length+n.length|0;c.length=m,m=m-1|0;var h=0|D.words[0],C=0|n.words[0],k=h*C,_=k/67108864|0;c.words[0]=67108863&k;for(var r=1;r<m;r++){for(var v=_>>>26,V=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(k=(h=0|D.words[r-ne|0])*(C=0|n.words[ne])+V)/67108864|0,V=67108863&k;c.words[r]=0|V,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var h=0,C=0,k=0;k<this.length;k++){var L=this.words[k],_=(16777215&(L<<h|C)).toString(16);m=0!=(C=L>>>24-h&16777215)||k!==this.length-1?T[6-_.length]+_+m:_+m,(h+=2)>=26&&(h-=26,k--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=F[n];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(v).toString(n);m=(V=V.idivn(v)).isZero()?N+m:T[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}w(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&w(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,c){return w(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var h=this.byteLength(),C=m||Math.max(1,h);w(h<=C,"byte array longer than desired length"),w(C>0,"Requested array length <= 0"),this.strip();var _,r,k="le"===c,L=new n(C),v=this.clone();if(k){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[r]=_;for(;r<C;r++)L[r]=0}else{for(r=0;r<C-h;r++)L[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[C-r-1]=_}return L},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,m=0;return c>=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var m=this._zeroBits(this.words[c]);if(n+=m,26!==m)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return w(!(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var c;c=this.length>n.length?n:this;for(var m=0;m<c.length;m++)this.words[m]=this.words[m]&n.words[m];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return w(!(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var c,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var h=0;h<m.length;h++)this.words[h]=c.words[h]^m.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return w(!(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){w("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var h=0;h<c;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){w("number"==typeof n&&n>=0);var m=n/26|0,h=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,m,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(m=this,h=n):(m=n,h=this);for(var C=0,k=0;k<h.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+(0|h.words[k])+C),C=c>>>26;for(;0!==C&&k<m.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+C),C=c>>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;k<m.length;k++)this.words[k]=m.words[k];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,C=n):(h=n,C=this);for(var k=0,L=0;L<C.length;L++)k=(c=(0|h.words[L])-(0|C.words[L])+k)>>26,this.words[L]=67108863&c;for(;0!==k&&L<h.length;L++)k=(c=(0|h.words[L])+k)>>26,this.words[L]=67108863&c;if(0===k&&L<h.length&&h!==this)for(;L<h.length;L++)this.words[L]=h.words[L];return this.length=Math.max(this.length,L),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var W=function(n,c,m){var _,r,v,h=n.words,C=c.words,k=m.words,L=0,V=0|h[0],N=8191&V,ne=V>>>13,Ee=0|h[1],ze=8191&Ee,qe=Ee>>>13,Ke=0|h[2],se=8191&Ke,X=Ke>>>13,me=0|h[3],ce=8191&me,fe=me>>>13,ke=0|h[4],mt=8191&ke,_e=ke>>>13,be=0|h[5],pe=8191&be,Ze=be>>>13,_t=0|h[6],at=8191&_t,pt=_t>>>13,Xt=0|h[7],ye=8191&Xt,ue=Xt>>>13,Ie=0|h[8],He=8191&Ie,Xe=Ie>>>13,yt=0|h[9],Ye=8191&yt,rt=yt>>>13,Yt=0|C[0],Nt=8191&Yt,Et=Yt>>>13,Vt=0|C[1],oe=8191&Vt,tt=Vt>>>13,$t=0|C[2],zt=8191&$t,Jt=$t>>>13,St=0|C[3],dt=8191&St,Ae=St>>>13,we=0|C[4],he=8191&we,q=we>>>13,Re=0|C[5],Ne=8191&Re,gt=Re>>>13,$e=0|C[6],Fe=8191&$e,Ge=$e>>>13,et=0|C[7],st=8191&et,Tt=et>>>13,mi=0|C[8],Kt=8191&mi,Pt=mi>>>13,Xi=0|C[9],di=8191&Xi,fi=Xi>>>13;m.negative=n.negative^c.negative,m.length=19;var vn=(L+(_=Math.imul(N,Nt))|0)+((8191&(r=(r=Math.imul(N,Et))+Math.imul(ne,Nt)|0))<<13)|0;L=((v=Math.imul(ne,Et))+(r>>>13)|0)+(vn>>>26)|0,vn&=67108863,_=Math.imul(ze,Nt),r=(r=Math.imul(ze,Et))+Math.imul(qe,Nt)|0,v=Math.imul(qe,Et);var Qi=(L+(_=_+Math.imul(N,oe)|0)|0)+((8191&(r=(r=r+Math.imul(N,tt)|0)+Math.imul(ne,oe)|0))<<13)|0;L=((v=v+Math.imul(ne,tt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(se,Nt),r=(r=Math.imul(se,Et))+Math.imul(X,Nt)|0,v=Math.imul(X,Et),_=_+Math.imul(ze,oe)|0,r=(r=r+Math.imul(ze,tt)|0)+Math.imul(qe,oe)|0,v=v+Math.imul(qe,tt)|0;var Li=(L+(_=_+Math.imul(N,zt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Jt)|0)+Math.imul(ne,zt)|0))<<13)|0;L=((v=v+Math.imul(ne,Jt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(ce,Nt),r=(r=Math.imul(ce,Et))+Math.imul(fe,Nt)|0,v=Math.imul(fe,Et),_=_+Math.imul(se,oe)|0,r=(r=r+Math.imul(se,tt)|0)+Math.imul(X,oe)|0,v=v+Math.imul(X,tt)|0,_=_+Math.imul(ze,zt)|0,r=(r=r+Math.imul(ze,Jt)|0)+Math.imul(qe,zt)|0,v=v+Math.imul(qe,Jt)|0;var Zi=(L+(_=_+Math.imul(N,dt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ae)|0)+Math.imul(ne,dt)|0))<<13)|0;L=((v=v+Math.imul(ne,Ae)|0)+(r>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul(mt,Nt),r=(r=Math.imul(mt,Et))+Math.imul(_e,Nt)|0,v=Math.imul(_e,Et),_=_+Math.imul(ce,oe)|0,r=(r=r+Math.imul(ce,tt)|0)+Math.imul(fe,oe)|0,v=v+Math.imul(fe,tt)|0,_=_+Math.imul(se,zt)|0,r=(r=r+Math.imul(se,Jt)|0)+Math.imul(X,zt)|0,v=v+Math.imul(X,Jt)|0,_=_+Math.imul(ze,dt)|0,r=(r=r+Math.imul(ze,Ae)|0)+Math.imul(qe,dt)|0,v=v+Math.imul(qe,Ae)|0;var Qt=(L+(_=_+Math.imul(N,he)|0)|0)+((8191&(r=(r=r+Math.imul(N,q)|0)+Math.imul(ne,he)|0))<<13)|0;L=((v=v+Math.imul(ne,q)|0)+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,_=Math.imul(pe,Nt),r=(r=Math.imul(pe,Et))+Math.imul(Ze,Nt)|0,v=Math.imul(Ze,Et),_=_+Math.imul(mt,oe)|0,r=(r=r+Math.imul(mt,tt)|0)+Math.imul(_e,oe)|0,v=v+Math.imul(_e,tt)|0,_=_+Math.imul(ce,zt)|0,r=(r=r+Math.imul(ce,Jt)|0)+Math.imul(fe,zt)|0,v=v+Math.imul(fe,Jt)|0,_=_+Math.imul(se,dt)|0,r=(r=r+Math.imul(se,Ae)|0)+Math.imul(X,dt)|0,v=v+Math.imul(X,Ae)|0,_=_+Math.imul(ze,he)|0,r=(r=r+Math.imul(ze,q)|0)+Math.imul(qe,he)|0,v=v+Math.imul(qe,q)|0;var Mt=(L+(_=_+Math.imul(N,Ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(ne,Ne)|0))<<13)|0;L=((v=v+Math.imul(ne,gt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(at,Nt),r=(r=Math.imul(at,Et))+Math.imul(pt,Nt)|0,v=Math.imul(pt,Et),_=_+Math.imul(pe,oe)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(Ze,oe)|0,v=v+Math.imul(Ze,tt)|0,_=_+Math.imul(mt,zt)|0,r=(r=r+Math.imul(mt,Jt)|0)+Math.imul(_e,zt)|0,v=v+Math.imul(_e,Jt)|0,_=_+Math.imul(ce,dt)|0,r=(r=r+Math.imul(ce,Ae)|0)+Math.imul(fe,dt)|0,v=v+Math.imul(fe,Ae)|0,_=_+Math.imul(se,he)|0,r=(r=r+Math.imul(se,q)|0)+Math.imul(X,he)|0,v=v+Math.imul(X,q)|0,_=_+Math.imul(ze,Ne)|0,r=(r=r+Math.imul(ze,gt)|0)+Math.imul(qe,Ne)|0,v=v+Math.imul(qe,gt)|0;var it=(L+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ge)|0)+Math.imul(ne,Fe)|0))<<13)|0;L=((v=v+Math.imul(ne,Ge)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,_=Math.imul(ye,Nt),r=(r=Math.imul(ye,Et))+Math.imul(ue,Nt)|0,v=Math.imul(ue,Et),_=_+Math.imul(at,oe)|0,r=(r=r+Math.imul(at,tt)|0)+Math.imul(pt,oe)|0,v=v+Math.imul(pt,tt)|0,_=_+Math.imul(pe,zt)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(Ze,zt)|0,v=v+Math.imul(Ze,Jt)|0,_=_+Math.imul(mt,dt)|0,r=(r=r+Math.imul(mt,Ae)|0)+Math.imul(_e,dt)|0,v=v+Math.imul(_e,Ae)|0,_=_+Math.imul(ce,he)|0,r=(r=r+Math.imul(ce,q)|0)+Math.imul(fe,he)|0,v=v+Math.imul(fe,q)|0,_=_+Math.imul(se,Ne)|0,r=(r=r+Math.imul(se,gt)|0)+Math.imul(X,Ne)|0,v=v+Math.imul(X,gt)|0,_=_+Math.imul(ze,Fe)|0,r=(r=r+Math.imul(ze,Ge)|0)+Math.imul(qe,Fe)|0,v=v+Math.imul(qe,Ge)|0;var ct=(L+(_=_+Math.imul(N,st)|0)|0)+((8191&(r=(r=r+Math.imul(N,Tt)|0)+Math.imul(ne,st)|0))<<13)|0;L=((v=v+Math.imul(ne,Tt)|0)+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,_=Math.imul(He,Nt),r=(r=Math.imul(He,Et))+Math.imul(Xe,Nt)|0,v=Math.imul(Xe,Et),_=_+Math.imul(ye,oe)|0,r=(r=r+Math.imul(ye,tt)|0)+Math.imul(ue,oe)|0,v=v+Math.imul(ue,tt)|0,_=_+Math.imul(at,zt)|0,r=(r=r+Math.imul(at,Jt)|0)+Math.imul(pt,zt)|0,v=v+Math.imul(pt,Jt)|0,_=_+Math.imul(pe,dt)|0,r=(r=r+Math.imul(pe,Ae)|0)+Math.imul(Ze,dt)|0,v=v+Math.imul(Ze,Ae)|0,_=_+Math.imul(mt,he)|0,r=(r=r+Math.imul(mt,q)|0)+Math.imul(_e,he)|0,v=v+Math.imul(_e,q)|0,_=_+Math.imul(ce,Ne)|0,r=(r=r+Math.imul(ce,gt)|0)+Math.imul(fe,Ne)|0,v=v+Math.imul(fe,gt)|0,_=_+Math.imul(se,Fe)|0,r=(r=r+Math.imul(se,Ge)|0)+Math.imul(X,Fe)|0,v=v+Math.imul(X,Ge)|0,_=_+Math.imul(ze,st)|0,r=(r=r+Math.imul(ze,Tt)|0)+Math.imul(qe,st)|0,v=v+Math.imul(qe,Tt)|0;var wt=(L+(_=_+Math.imul(N,Kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(ne,Kt)|0))<<13)|0;L=((v=v+Math.imul(ne,Pt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,_=Math.imul(Ye,Nt),r=(r=Math.imul(Ye,Et))+Math.imul(rt,Nt)|0,v=Math.imul(rt,Et),_=_+Math.imul(He,oe)|0,r=(r=r+Math.imul(He,tt)|0)+Math.imul(Xe,oe)|0,v=v+Math.imul(Xe,tt)|0,_=_+Math.imul(ye,zt)|0,r=(r=r+Math.imul(ye,Jt)|0)+Math.imul(ue,zt)|0,v=v+Math.imul(ue,Jt)|0,_=_+Math.imul(at,dt)|0,r=(r=r+Math.imul(at,Ae)|0)+Math.imul(pt,dt)|0,v=v+Math.imul(pt,Ae)|0,_=_+Math.imul(pe,he)|0,r=(r=r+Math.imul(pe,q)|0)+Math.imul(Ze,he)|0,v=v+Math.imul(Ze,q)|0,_=_+Math.imul(mt,Ne)|0,r=(r=r+Math.imul(mt,gt)|0)+Math.imul(_e,Ne)|0,v=v+Math.imul(_e,gt)|0,_=_+Math.imul(ce,Fe)|0,r=(r=r+Math.imul(ce,Ge)|0)+Math.imul(fe,Fe)|0,v=v+Math.imul(fe,Ge)|0,_=_+Math.imul(se,st)|0,r=(r=r+Math.imul(se,Tt)|0)+Math.imul(X,st)|0,v=v+Math.imul(X,Tt)|0,_=_+Math.imul(ze,Kt)|0,r=(r=r+Math.imul(ze,Pt)|0)+Math.imul(qe,Kt)|0,v=v+Math.imul(qe,Pt)|0;var Ut=(L+(_=_+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(ne,di)|0))<<13)|0;L=((v=v+Math.imul(ne,fi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul(Ye,oe),r=(r=Math.imul(Ye,tt))+Math.imul(rt,oe)|0,v=Math.imul(rt,tt),_=_+Math.imul(He,zt)|0,r=(r=r+Math.imul(He,Jt)|0)+Math.imul(Xe,zt)|0,v=v+Math.imul(Xe,Jt)|0,_=_+Math.imul(ye,dt)|0,r=(r=r+Math.imul(ye,Ae)|0)+Math.imul(ue,dt)|0,v=v+Math.imul(ue,Ae)|0,_=_+Math.imul(at,he)|0,r=(r=r+Math.imul(at,q)|0)+Math.imul(pt,he)|0,v=v+Math.imul(pt,q)|0,_=_+Math.imul(pe,Ne)|0,r=(r=r+Math.imul(pe,gt)|0)+Math.imul(Ze,Ne)|0,v=v+Math.imul(Ze,gt)|0,_=_+Math.imul(mt,Fe)|0,r=(r=r+Math.imul(mt,Ge)|0)+Math.imul(_e,Fe)|0,v=v+Math.imul(_e,Ge)|0,_=_+Math.imul(ce,st)|0,r=(r=r+Math.imul(ce,Tt)|0)+Math.imul(fe,st)|0,v=v+Math.imul(fe,Tt)|0,_=_+Math.imul(se,Kt)|0,r=(r=r+Math.imul(se,Pt)|0)+Math.imul(X,Kt)|0,v=v+Math.imul(X,Pt)|0;var xi=(L+(_=_+Math.imul(ze,di)|0)|0)+((8191&(r=(r=r+Math.imul(ze,fi)|0)+Math.imul(qe,di)|0))<<13)|0;L=((v=v+Math.imul(qe,fi)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,_=Math.imul(Ye,zt),r=(r=Math.imul(Ye,Jt))+Math.imul(rt,zt)|0,v=Math.imul(rt,Jt),_=_+Math.imul(He,dt)|0,r=(r=r+Math.imul(He,Ae)|0)+Math.imul(Xe,dt)|0,v=v+Math.imul(Xe,Ae)|0,_=_+Math.imul(ye,he)|0,r=(r=r+Math.imul(ye,q)|0)+Math.imul(ue,he)|0,v=v+Math.imul(ue,q)|0,_=_+Math.imul(at,Ne)|0,r=(r=r+Math.imul(at,gt)|0)+Math.imul(pt,Ne)|0,v=v+Math.imul(pt,gt)|0,_=_+Math.imul(pe,Fe)|0,r=(r=r+Math.imul(pe,Ge)|0)+Math.imul(Ze,Fe)|0,v=v+Math.imul(Ze,Ge)|0,_=_+Math.imul(mt,st)|0,r=(r=r+Math.imul(mt,Tt)|0)+Math.imul(_e,st)|0,v=v+Math.imul(_e,Tt)|0,_=_+Math.imul(ce,Kt)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(fe,Kt)|0,v=v+Math.imul(fe,Pt)|0;var Si=(L+(_=_+Math.imul(se,di)|0)|0)+((8191&(r=(r=r+Math.imul(se,fi)|0)+Math.imul(X,di)|0))<<13)|0;L=((v=v+Math.imul(X,fi)|0)+(r>>>13)|0)+(Si>>>26)|0,Si&=67108863,_=Math.imul(Ye,dt),r=(r=Math.imul(Ye,Ae))+Math.imul(rt,dt)|0,v=Math.imul(rt,Ae),_=_+Math.imul(He,he)|0,r=(r=r+Math.imul(He,q)|0)+Math.imul(Xe,he)|0,v=v+Math.imul(Xe,q)|0,_=_+Math.imul(ye,Ne)|0,r=(r=r+Math.imul(ye,gt)|0)+Math.imul(ue,Ne)|0,v=v+Math.imul(ue,gt)|0,_=_+Math.imul(at,Fe)|0,r=(r=r+Math.imul(at,Ge)|0)+Math.imul(pt,Fe)|0,v=v+Math.imul(pt,Ge)|0,_=_+Math.imul(pe,st)|0,r=(r=r+Math.imul(pe,Tt)|0)+Math.imul(Ze,st)|0,v=v+Math.imul(Ze,Tt)|0,_=_+Math.imul(mt,Kt)|0,r=(r=r+Math.imul(mt,Pt)|0)+Math.imul(_e,Kt)|0,v=v+Math.imul(_e,Pt)|0;var zi=(L+(_=_+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(fe,di)|0))<<13)|0;L=((v=v+Math.imul(fe,fi)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,_=Math.imul(Ye,he),r=(r=Math.imul(Ye,q))+Math.imul(rt,he)|0,v=Math.imul(rt,q),_=_+Math.imul(He,Ne)|0,r=(r=r+Math.imul(He,gt)|0)+Math.imul(Xe,Ne)|0,v=v+Math.imul(Xe,gt)|0,_=_+Math.imul(ye,Fe)|0,r=(r=r+Math.imul(ye,Ge)|0)+Math.imul(ue,Fe)|0,v=v+Math.imul(ue,Ge)|0,_=_+Math.imul(at,st)|0,r=(r=r+Math.imul(at,Tt)|0)+Math.imul(pt,st)|0,v=v+Math.imul(pt,Tt)|0,_=_+Math.imul(pe,Kt)|0,r=(r=r+Math.imul(pe,Pt)|0)+Math.imul(Ze,Kt)|0,v=v+Math.imul(Ze,Pt)|0;var en=(L+(_=_+Math.imul(mt,di)|0)|0)+((8191&(r=(r=r+Math.imul(mt,fi)|0)+Math.imul(_e,di)|0))<<13)|0;L=((v=v+Math.imul(_e,fi)|0)+(r>>>13)|0)+(en>>>26)|0,en&=67108863,_=Math.imul(Ye,Ne),r=(r=Math.imul(Ye,gt))+Math.imul(rt,Ne)|0,v=Math.imul(rt,gt),_=_+Math.imul(He,Fe)|0,r=(r=r+Math.imul(He,Ge)|0)+Math.imul(Xe,Fe)|0,v=v+Math.imul(Xe,Ge)|0,_=_+Math.imul(ye,st)|0,r=(r=r+Math.imul(ye,Tt)|0)+Math.imul(ue,st)|0,v=v+Math.imul(ue,Tt)|0,_=_+Math.imul(at,Kt)|0,r=(r=r+Math.imul(at,Pt)|0)+Math.imul(pt,Kt)|0,v=v+Math.imul(pt,Pt)|0;var Ni=(L+(_=_+Math.imul(pe,di)|0)|0)+((8191&(r=(r=r+Math.imul(pe,fi)|0)+Math.imul(Ze,di)|0))<<13)|0;L=((v=v+Math.imul(Ze,fi)|0)+(r>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,_=Math.imul(Ye,Fe),r=(r=Math.imul(Ye,Ge))+Math.imul(rt,Fe)|0,v=Math.imul(rt,Ge),_=_+Math.imul(He,st)|0,r=(r=r+Math.imul(He,Tt)|0)+Math.imul(Xe,st)|0,v=v+Math.imul(Xe,Tt)|0,_=_+Math.imul(ye,Kt)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(ue,Kt)|0,v=v+Math.imul(ue,Pt)|0;var fn=(L+(_=_+Math.imul(at,di)|0)|0)+((8191&(r=(r=r+Math.imul(at,fi)|0)+Math.imul(pt,di)|0))<<13)|0;L=((v=v+Math.imul(pt,fi)|0)+(r>>>13)|0)+(fn>>>26)|0,fn&=67108863,_=Math.imul(Ye,st),r=(r=Math.imul(Ye,Tt))+Math.imul(rt,st)|0,v=Math.imul(rt,Tt),_=_+Math.imul(He,Kt)|0,r=(r=r+Math.imul(He,Pt)|0)+Math.imul(Xe,Kt)|0,v=v+Math.imul(Xe,Pt)|0;var Zt=(L+(_=_+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(ue,di)|0))<<13)|0;L=((v=v+Math.imul(ue,fi)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,_=Math.imul(Ye,Kt),r=(r=Math.imul(Ye,Pt))+Math.imul(rt,Kt)|0,v=Math.imul(rt,Pt);var bt=(L+(_=_+Math.imul(He,di)|0)|0)+((8191&(r=(r=r+Math.imul(He,fi)|0)+Math.imul(Xe,di)|0))<<13)|0;L=((v=v+Math.imul(Xe,fi)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863;var re=(L+(_=Math.imul(Ye,di))|0)+((8191&(r=(r=Math.imul(Ye,fi))+Math.imul(rt,di)|0))<<13)|0;return L=((v=Math.imul(rt,fi))+(r>>>13)|0)+(re>>>26)|0,re&=67108863,k[0]=vn,k[1]=Qi,k[2]=Li,k[3]=Zi,k[4]=Qt,k[5]=Mt,k[6]=it,k[7]=ct,k[8]=wt,k[9]=Ut,k[10]=xi,k[11]=Si,k[12]=zi,k[13]=en,k[14]=Ni,k[15]=fn,k[16]=Zt,k[17]=bt,k[18]=re,0!==L&&(k[19]=L,m.length++),m};function j(D,n,c){return(new Q).mulp(D,n,c)}function Q(D,n){this.x=D,this.y=n}Math.imul||(W=z),l.prototype.mulTo=function(n,c){var m,h=this.length+n.length;return m=10===this.length&&10===n.length?W(this,n,c):h<63?z(this,n,c):h<1024?function $(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var m=0,h=0,C=0;C<c.length-1;C++){var k=h;h=0;for(var L=67108863&m,_=Math.min(C,n.length-1),r=Math.max(0,C-D.length+1);r<=_;r++){var ne=(0|D.words[C-r])*(0|n.words[r]),Ee=67108863≠L=67108863&(Ee=Ee+L|0),h+=(k=(k=k+(ne/67108864|0)|0)+(Ee>>>26)|0)>>>26,k&=67108863}c.words[C]=L,m=k,k=h}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):j(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,m,n);return c},Q.prototype.revBin=function(n,c,m){if(0===n||n===m-1)return n;for(var h=0,C=0;C<c;C++)h|=(1&n)<<c-C-1,n>>=1;return h},Q.prototype.permute=function(n,c,m,h,C,k){for(var L=0;L<k;L++)h[L]=c[n[L]],C[L]=m[n[L]]},Q.prototype.transform=function(n,c,m,h,C,k){this.permute(k,n,c,m,h,C);for(var L=1;L<C;L<<=1)for(var _=L<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),V=0;V<C;V+=_)for(var N=r,ne=v,Ee=0;Ee<L;Ee++){var ze=m[V+Ee],qe=h[V+Ee],Ke=m[V+Ee+L],se=h[V+Ee+L],X=N*Ke-ne*se;se=N*se+ne*Ke,m[V+Ee]=ze+(Ke=X),h[V+Ee]=qe+se,m[V+Ee+L]=ze-Ke,h[V+Ee+L]=qe-se,Ee!==_&&(X=r*N-v*ne,ne=r*ne+v*N,N=X)}},Q.prototype.guessLen13b=function(n,c){var m=1|Math.max(c,n),h=1&m,C=0;for(m=m/2|0;m;m>>>=1)C++;return 1<<C+1+h},Q.prototype.conjugate=function(n,c,m){if(!(m<=1))for(var h=0;h<m/2;h++){var C=n[h];n[h]=n[m-h-1],n[m-h-1]=C,C=c[h],c[h]=-c[m-h-1],c[m-h-1]=-C}},Q.prototype.normalize13b=function(n,c){for(var m=0,h=0;h<c/2;h++){var C=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+m;n[h]=67108863&C,m=C<67108864?0:C/67108864|0}return n},Q.prototype.convert13b=function(n,c,m,h){for(var C=0,k=0;k<c;k++)m[2*k]=8191&(C+=0|n[k]),m[2*k+1]=8191&(C>>>=13),C>>>=13;for(k=2*c;k<h;++k)m[k]=0;w(0===C),w(!(-8192&C))},Q.prototype.stub=function(n){for(var c=new Array(n),m=0;m<n;m++)c[m]=0;return c},Q.prototype.mulp=function(n,c,m){var h=2*this.guessLen13b(n.length,c.length),C=this.makeRBT(h),k=this.stub(h),L=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),V=new Array(h),N=new Array(h),ne=m.words;ne.length=h,this.convert13b(n.words,n.length,L,h),this.convert13b(c.words,c.length,v,h),this.transform(L,k,_,r,h,C),this.transform(v,k,V,N,h,C);for(var Ee=0;Ee<h;Ee++){var ze=_[Ee]*V[Ee]-r[Ee]*N[Ee];r[Ee]=_[Ee]*N[Ee]+r[Ee]*V[Ee],_[Ee]=ze}return this.conjugate(_,r,h),this.transform(_,r,ne,k,h,C),this.conjugate(ne,k,h),this.normalize13b(ne,h),m.negative=n.negative^c.negative,m.length=n.length+c.length,m.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),j(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){w("number"==typeof n),w(n<67108864);for(var c=0,m=0;m<this.length;m++){var h=(0|this.words[m])*n,C=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var c=function R(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var m=this,h=0;h<c.length&&0===c[h];h++,m=m.sqr());if(++h<c.length)for(var C=m.sqr();h<c.length;h++,C=C.sqr())0!==c[h]&&(m=m.mul(C));return m},l.prototype.iushln=function(n){w("number"==typeof n&&n>=0);var C,c=n%26,m=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var k=0;for(C=0;C<this.length;C++){var L=this.words[C]&h;this.words[C]=(0|this.words[C])-L<<c|k,k=L>>>26-c}k&&(this.words[C]=k,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C<m;C++)this.words[C]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(n){return w(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,m){var h;w("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var C=n%26,k=Math.min((n-C)/26,this.length),L=67108863^67108863>>>C<<C,_=m;if(h-=k,h=Math.max(0,h),_){for(var r=0;r<k;r++)_.words[r]=this.words[r];_.length=k}if(0!==k)if(this.length>k)for(this.length-=k,r=0;r<this.length;r++)this.words[r]=this.words[r+k];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var V=0|this.words[r];this.words[r]=v<<26-C|V>>>C,v=V&L}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return w(0===this.negative),this.iushrn(n,c,m)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<<c))},l.prototype.imaskn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return w(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return w("number"==typeof n),w(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(w("number"==typeof n),w(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,c,m){var C;this._expand(n.length+m);var k,L=0;for(C=0;C<n.length;C++){k=(0|this.words[C+m])+L;var _=(0|n.words[C])*c;L=((k-=67108863&_)>>26)-(_/67108864|0),this.words[C+m]=67108863&k}for(;C<this.length-m;C++)L=(k=(0|this.words[C+m])+L)>>26,this.words[C+m]=67108863&k;if(0===L)return this.strip();for(w(-1===L),L=0,C=0;C<this.length;C++)L=(k=-(0|this.words[C])+L)>>26,this.words[C]=67108863&k;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,h=this.clone(),C=n,k=0|C.words[C.length-1];0!=(m=26-this._countBits(k))&&(C=C.ushln(m),h.iushln(m),k=0|C.words[C.length-1]);var r,_=h.length-C.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var V=h.clone()._ishlnsubmul(C,1,_);0===V.negative&&(h=V,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[C.length+N])+(0|h.words[C.length+N-1]);for(ne=Math.min(ne/k|0,67108863),h._ishlnsubmul(C,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(C,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,m){return w(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(k=this.neg().divmod(n,c),"mod"!==c&&(h=k.div.neg()),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(k=this.divmod(n.neg(),c),"mod"!==c&&(h=k.div.neg()),{div:h,mod:k.mod}):this.negative&n.negative?(k=this.neg().divmod(n.neg(),c),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:k.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,c);var h,C,k},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var c=this.divmod(n);if(c.mod.isZero())return c.div;var m=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),C=n.andln(1),k=m.cmp(h);return k<0||1===C&&0===k?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){w(n<=67108863);for(var c=(1<<26)%n,m=0,h=this.length-1;h>=0;h--)m=(c*m+(0|this.words[h]))%n;return m},l.prototype.idivn=function(n){w(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*c;this.words[m]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){w(0===n.negative),w(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=new l(0),L=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var r=m.clone(),v=c.clone();!c.isZero();){for(var V=0,N=1;!(c.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(c.iushrn(V);V-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(v)),h.iushrn(1),C.iushrn(1);for(var ne=0,Ee=1;!(m.words[0]&Ee)&&ne<26;++ne,Ee<<=1);if(ne>0)for(m.iushrn(ne);ne-- >0;)(k.isOdd()||L.isOdd())&&(k.iadd(r),L.isub(v)),k.iushrn(1),L.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(k),C.isub(L)):(m.isub(c),k.isub(h),L.isub(C))}return{a:k,b:L,gcd:m.iushln(_)}},l.prototype._invmp=function(n){w(0===n.negative),w(!n.isZero());var V,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var L=0,_=1;!(c.words[0]&_)&&L<26;++L,_<<=1);if(L>0)for(c.iushrn(L);L-- >0;)h.isOdd()&&h.iadd(k),h.iushrn(1);for(var r=0,v=1;!(m.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(m.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(k),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(C)):(m.isub(c),C.isub(h))}return(V=0===c.cmpn(1)?h:C).cmpn(0)<0&&V.iadd(n),V},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),m=n.clone();c.negative=0,m.negative=0;for(var h=0;c.isEven()&&m.isEven();h++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var k=c;c=m,m=k}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){w("number"==typeof n);var c=n%26,m=(n-c)/26,h=1<<c;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var C=h,k=m;0!==C&&k<this.length;k++){var L=0|this.words[k];C=(L+=C)>>>26,this.words[k]=L&=67108863}return 0!==C&&(this.words[k]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),w(n<=67108863,"Number is too big");var h=0|this.words[0];m=h===n?0:h<n?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],C=0|n.words[m];if(h!==C){h<C?c=-1:h>C&&(c=1);break}}return c},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new Te(n)},l.prototype.toRed=function(n){return w(!this.red,"Already a number in reduction context"),w(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return w(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return w(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return w(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return w(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return w(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return w(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return w(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return w(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return w(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return w(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return w(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return w(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return w(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ee(D,n){this.name=D,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ie(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ge(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Te(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else w(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function de(D){Te.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(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)}ee.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ee.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ee.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ee.prototype.imulK=function(n){return n.imul(this.k)},S(ie,ee),ie.prototype.split=function(n,c){for(var m=4194303,h=Math.min(n.length,9),C=0;C<h;C++)c.words[C]=n.words[C];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var k=n.words[9];for(c.words[c.length++]=k&m,C=10;C<n.length;C++){var L=0|n.words[C];n.words[C-10]=(L&m)<<4|k>>>22,k=L}n.words[C-10]=k>>>=22,n.length-=0===k&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m<n.length;m++){var h=0|n.words[m];n.words[m]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ge,ee),S(ae,ee),S(Me,ee),Me.prototype.imulK=function(n){for(var c=0,m=0;m<n.length;m++){var h=19*(0|n.words[m])+c,C=67108863&h;h>>>=26,n.words[m]=C,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ge;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Te.prototype._verify1=function(n){w(0===n.negative,"red works only with positives"),w(n.red,"red works only with red numbers")},Te.prototype._verify2=function(n,c){w(!(n.negative|c.negative),"red works only with positives"),w(n.red&&n.red===c.red,"red works only with red numbers")},Te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Te.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Te.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Te.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Te.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Te.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Te.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Te.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Te.prototype.isqr=function(n){return this.imul(n,n.clone())},Te.prototype.sqr=function(n){return this.mul(n,n)},Te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(w(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);w(!h.isZero());var k=new l(1).toRed(this),L=k.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(L);)r.redIAdd(L);for(var v=this.pow(r,h),V=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=C;0!==N.cmp(k);){for(var Ee=N,ze=0;0!==Ee.cmp(k);ze++)Ee=Ee.redSqr();w(ze<ne);var qe=this.pow(v,new l(1).iushln(ne-ze-1));V=V.redMul(qe),v=qe.redSqr(),N=N.redMul(v),ne=ze}return V},Te.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},Te.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var C=2;C<h.length;C++)h[C]=this.mul(h[C-1],n);var k=h[0],L=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),C=c.length-1;C>=0;C--){for(var v=c.words[C],V=r-1;V>=0;V--){var N=v>>V&1;k!==h[0]&&(k=this.sqr(k)),0!==N||0!==L?(L<<=1,L|=N,(4==++_||0===C&&0===V)&&(k=this.mul(k,h[L]),_=0,L=0)):_=0}r=26}return k},Te.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Te.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new de(n)},S(de,Te),de.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},de.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},de.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},3174:Qe=>{"use strict";Qe.exports=function(g){for(var e=[],t=g.length,w=0;w<t;w++){var S=g.charCodeAt(w);if(S>=55296&&S<=56319&&t>w+1){var l=g.charCodeAt(w+1);l>=56320&&l<=57343&&(S=1024*(S-55296)+l-56320+65536,w+=1)}S<128?e.push(S):S<2048?(e.push(S>>6|192),e.push(63&S|128)):S<55296||S>=57344&&S<65536?(e.push(S>>12|224),e.push(S>>6&63|128),e.push(63&S|128)):S>=65536&&S<=1114111?(e.push(S>>18|240),e.push(S>>12&63|128),e.push(S>>6&63|128),e.push(63&S|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},4356:Qe=>{"use strict";var e,te="object"==typeof Reflect?Reflect:null,g=te&&"function"==typeof te.apply?te.apply:function(ee,ie,ge){return Function.prototype.apply.call(ee,ie,ge)};e=te&&"function"==typeof te.ownKeys?te.ownKeys:Object.getOwnPropertySymbols?function(ee){return Object.getOwnPropertyNames(ee).concat(Object.getOwnPropertySymbols(ee))}:function(ee){return Object.getOwnPropertyNames(ee)};var w=Number.isNaN||function(ee){return ee!=ee};function S(){S.init.call(this)}Qe.exports=S,Qe.exports.once=function $(J,ee){return new Promise(function(ie,ge){function ae(Te){J.removeListener(ee,Me),ge(Te)}function Me(){"function"==typeof J.removeListener&&J.removeListener("error",ae),ie([].slice.call(arguments))}Q(J,ee,Me,{once:!0}),"error"!==ee&&function j(J,ee,ie){"function"==typeof J.on&&Q(J,"error",ee,ie)}(J,ae,{once:!0})})},S.EventEmitter=S,S.prototype._events=void 0,S.prototype._eventsCount=0,S.prototype._maxListeners=void 0;var l=10;function x(J){if("function"!=typeof J)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof J)}function f(J){return void 0===J._maxListeners?S.defaultMaxListeners:J._maxListeners}function I(J,ee,ie,ge){var ae,Me,Te;if(x(ie),void 0===(Me=J._events)?(Me=J._events=Object.create(null),J._eventsCount=0):(void 0!==Me.newListener&&(J.emit("newListener",ee,ie.listener?ie.listener:ie),Me=J._events),Te=Me[ee]),void 0===Te)Te=Me[ee]=ie,++J._eventsCount;else if("function"==typeof Te?Te=Me[ee]=ge?[ie,Te]:[Te,ie]:ge?Te.unshift(ie):Te.push(ie),(ae=f(J))>0&&Te.length>ae&&!Te.warned){Te.warned=!0;var de=new Error("Possible EventEmitter memory leak detected. "+Te.length+" "+String(ee)+" listeners added. Use emitter.setMaxListeners() to increase limit");de.name="MaxListenersExceededWarning",de.emitter=J,de.type=ee,de.count=Te.length,function t(J){console&&console.warn&&console.warn(J)}(de)}return J}function d(){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 T(J,ee,ie){var ge={fired:!1,wrapFn:void 0,target:J,type:ee,listener:ie},ae=d.bind(ge);return ae.listener=ie,ge.wrapFn=ae,ae}function y(J,ee,ie){var ge=J._events;if(void 0===ge)return[];var ae=ge[ee];return void 0===ae?[]:"function"==typeof ae?ie?[ae.listener||ae]:[ae]:ie?function W(J){for(var ee=new Array(J.length),ie=0;ie<ee.length;++ie)ee[ie]=J[ie].listener||J[ie];return ee}(ae):R(ae,ae.length)}function F(J){var ee=this._events;if(void 0!==ee){var ie=ee[J];if("function"==typeof ie)return 1;if(void 0!==ie)return ie.length}return 0}function R(J,ee){for(var ie=new Array(ee),ge=0;ge<ee;++ge)ie[ge]=J[ge];return ie}function Q(J,ee,ie,ge){if("function"==typeof J.on)ge.once?J.once(ee,ie):J.on(ee,ie);else{if("function"!=typeof J.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof J);J.addEventListener(ee,function ae(Me){ge.once&&J.removeEventListener(ee,ae),ie(Me)})}}Object.defineProperty(S,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(J){if("number"!=typeof J||J<0||w(J))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+J+".");l=J}}),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(ee){if("number"!=typeof ee||ee<0||w(ee))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ee+".");return this._maxListeners=ee,this},S.prototype.getMaxListeners=function(){return f(this)},S.prototype.emit=function(ee){for(var ie=[],ge=1;ge<arguments.length;ge++)ie.push(arguments[ge]);var ae="error"===ee,Me=this._events;if(void 0!==Me)ae=ae&&void 0===Me.error;else if(!ae)return!1;if(ae){var Te;if(ie.length>0&&(Te=ie[0]),Te instanceof Error)throw Te;var de=new Error("Unhandled error."+(Te?" ("+Te.message+")":""));throw de.context=Te,de}var D=Me[ee];if(void 0===D)return!1;if("function"==typeof D)g(D,this,ie);else{var n=D.length,c=R(D,n);for(ge=0;ge<n;++ge)g(c[ge],this,ie)}return!0},S.prototype.on=S.prototype.addListener=function(ee,ie){return I(this,ee,ie,!1)},S.prototype.prependListener=function(ee,ie){return I(this,ee,ie,!0)},S.prototype.once=function(ee,ie){return x(ie),this.on(ee,T(this,ee,ie)),this},S.prototype.prependOnceListener=function(ee,ie){return x(ie),this.prependListener(ee,T(this,ee,ie)),this},S.prototype.off=S.prototype.removeListener=function(ee,ie){var ge,ae,Me,Te,de;if(x(ie),void 0===(ae=this._events))return this;if(void 0===(ge=ae[ee]))return this;if(ge===ie||ge.listener===ie)0==--this._eventsCount?this._events=Object.create(null):(delete ae[ee],ae.removeListener&&this.emit("removeListener",ee,ge.listener||ie));else if("function"!=typeof ge){for(Me=-1,Te=ge.length-1;Te>=0;Te--)if(ge[Te]===ie||ge[Te].listener===ie){de=ge[Te].listener,Me=Te;break}if(Me<0)return this;0===Me?ge.shift():function z(J,ee){for(;ee+1<J.length;ee++)J[ee]=J[ee+1];J.pop()}(ge,Me),1===ge.length&&(ae[ee]=ge[0]),void 0!==ae.removeListener&&this.emit("removeListener",ee,de||ie)}return this},S.prototype.removeAllListeners=function(ee){var ie,ge,ae;if(void 0===(ge=this._events))return this;if(void 0===ge.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==ge[ee]&&(0==--this._eventsCount?this._events=Object.create(null):delete ge[ee]),this;if(0===arguments.length){var Te,Me=Object.keys(ge);for(ae=0;ae<Me.length;++ae)"removeListener"!==(Te=Me[ae])&&this.removeAllListeners(Te);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ie=ge[ee]))this.removeListener(ee,ie);else if(void 0!==ie)for(ae=ie.length-1;ae>=0;ae--)this.removeListener(ee,ie[ae]);return this},S.prototype.listeners=function(ee){return y(this,ee,!0)},S.prototype.rawListeners=function(ee){return y(this,ee,!1)},S.listenerCount=function(J,ee){return"function"==typeof J.listenerCount?J.listenerCount(ee):F.call(J,ee)},S.prototype.listenerCount=F,S.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},592:(Qe,te,g)=>{var e=g(7054).Buffer,t=g(4725);Qe.exports=function w(S,l,x,f){if(e.isBuffer(S)||(S=e.from(S,"binary")),l&&(e.isBuffer(l)||(l=e.from(l,"binary")),8!==l.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var I=x/8,d=e.alloc(I),T=e.alloc(f||0),y=e.alloc(0);I>0||f>0;){var F=new t;F.update(y),F.update(S),l&&F.update(l),y=F.digest();var R=0;if(I>0){var z=d.length-I;R=Math.min(I,y.length),y.copy(d,z,0,R),I-=R}if(R<y.length&&f>0){var W=T.length-f,$=Math.min(f,y.length-R);y.copy(T,W,R,R+$),f-=$}}return y.fill(0),{key:d,iv:T}}},3686:(Qe,te,g)=>{"use strict";var e=g(7054).Buffer,t=g(7045).Transform;function l(x){t.call(this),this._block=e.allocUnsafe(x),this._blockSize=x,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}g(1993)(l,t),l.prototype._transform=function(x,f,I){var d=null;try{this.update(x,f)}catch(T){d=T}I(d)},l.prototype._flush=function(x){var f=null;try{this.push(this.digest())}catch(I){f=I}x(f)},l.prototype.update=function(x,f){if(function S(x,f){if(!e.isBuffer(x)&&"string"!=typeof x)throw new TypeError(f+" must be a string or a buffer")}(x,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(x)||(x=e.from(x,f));for(var I=this._block,d=0;this._blockOffset+x.length-d>=this._blockSize;){for(var T=this._blockOffset;T<this._blockSize;)I[T++]=x[d++];this._update(),this._blockOffset=0}for(;d<x.length;)I[this._blockOffset++]=x[d++];for(var y=0,F=8*x.length;F>0;++y)this._length[y]+=F,(F=this._length[y]/4294967296|0)>0&&(this._length[y]-=4294967296*F);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(x){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var f=this._digest();void 0!==x&&(f=f.toString(x)),this._block.fill(0),this._blockOffset=0;for(var I=0;I<4;++I)this._length[I]=0;return f},l.prototype._digest=function(){throw new Error("_digest is not implemented")},Qe.exports=l},2529:(Qe,te,g)=>{var e=te;e.utils=g(8283),e.common=g(2901),e.sha=g(8528),e.ripemd=g(5283),e.hmac=g(7163),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160},2901:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(9210);function w(){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}te.BlockHash=w,w.prototype.update=function(l,x){if(l=e.toArray(l,x),this.pending=this.pending?this.pending.concat(l):l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var f=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-f,l.length),0===this.pending.length&&(this.pending=null),l=e.join32(l,0,l.length-f,this.endian);for(var I=0;I<l.length;I+=this._delta32)this._update(l,I,I+this._delta32)}return this},w.prototype.digest=function(l){return this.update(this._pad()),t(null===this.pending),this._digest(l)},w.prototype._pad=function(){var l=this.pendingTotal,x=this._delta8,f=x-(l+this.padLength)%x,I=new Array(f+this.padLength);I[0]=128;for(var d=1;d<f;d++)I[d]=0;if(l<<=3,"big"===this.endian){for(var T=8;T<this.padLength;T++)I[d++]=0;I[d++]=0,I[d++]=0,I[d++]=0,I[d++]=0,I[d++]=l>>>24&255,I[d++]=l>>>16&255,I[d++]=l>>>8&255,I[d++]=255&l}else for(I[d++]=255&l,I[d++]=l>>>8&255,I[d++]=l>>>16&255,I[d++]=l>>>24&255,I[d++]=0,I[d++]=0,I[d++]=0,I[d++]=0,T=8;T<this.padLength;T++)I[d++]=0;return I}},7163:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(9210);function w(S,l,x){if(!(this instanceof w))return new w(S,l,x);this.Hash=S,this.blockSize=S.blockSize/8,this.outSize=S.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(l,x))}Qe.exports=w,w.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),t(l.length<=this.blockSize);for(var x=l.length;x<this.blockSize;x++)l.push(0);for(x=0;x<l.length;x++)l[x]^=54;for(this.inner=(new this.Hash).update(l),x=0;x<l.length;x++)l[x]^=106;this.outer=(new this.Hash).update(l)},w.prototype.update=function(l,x){return this.inner.update(l,x),this},w.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},5283:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),w=e.rotl32,S=e.sum32,l=e.sum32_3,x=e.sum32_4,f=t.BlockHash;function I(){if(!(this instanceof I))return new I;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d($,j,Q,J){return $<=15?j^Q^J:$<=31?j&Q|~j&J:$<=47?(j|~Q)^J:$<=63?j&J|Q&~J:j^(Q|~J)}function y($){return $<=15?1352829926:$<=31?1548603684:$<=47?1836072691:$<=63?2053994217:0}e.inherits(I,f),te.ripemd160=I,I.blockSize=512,I.outSize=160,I.hmacStrength=192,I.padLength=64,I.prototype._update=function(j,Q){for(var J=this.h[0],ee=this.h[1],ie=this.h[2],ge=this.h[3],ae=this.h[4],Me=J,Te=ee,de=ie,D=ge,n=ae,c=0;c<80;c++){var m=S(w(x(J,d(c,ee,ie,ge),j[F[c]+Q],($=c)<=15?0:$<=31?1518500249:$<=47?1859775393:$<=63?2400959708:2840853838),z[c]),ae);J=ae,ae=ge,ge=w(ie,10),ie=ee,ee=m,m=S(w(x(Me,d(79-c,Te,de,D),j[R[c]+Q],y(c)),W[c]),n),Me=n,n=D,D=w(de,10),de=Te,Te=m}var $;m=l(this.h[1],ie,D),this.h[1]=l(this.h[2],ge,n),this.h[2]=l(this.h[3],ae,Me),this.h[3]=l(this.h[4],J,Te),this.h[4]=l(this.h[0],ee,de),this.h[0]=m},I.prototype._digest=function(j){return"hex"===j?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var F=[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],R=[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],z=[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],W=[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]},8528:(Qe,te,g)=>{"use strict";te.sha1=g(3468),te.sha224=g(5563),te.sha256=g(7138),te.sha384=g(3898),te.sha512=g(827)},3468:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),w=g(3161),S=e.rotl32,l=e.sum32,x=e.sum32_5,f=w.ft_1,I=t.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function T(){if(!(this instanceof T))return new T;I.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(T,I),Qe.exports=T,T.blockSize=512,T.outSize=160,T.hmacStrength=80,T.padLength=64,T.prototype._update=function(F,R){for(var z=this.W,W=0;W<16;W++)z[W]=F[R+W];for(;W<z.length;W++)z[W]=S(z[W-3]^z[W-8]^z[W-14]^z[W-16],1);var $=this.h[0],j=this.h[1],Q=this.h[2],J=this.h[3],ee=this.h[4];for(W=0;W<z.length;W++){var ie=~~(W/20),ge=x(S($,5),f(ie,j,Q,J),ee,z[W],d[ie]);ee=J,J=Q,Q=S(j,30),j=$,$=ge}this.h[0]=l(this.h[0],$),this.h[1]=l(this.h[1],j),this.h[2]=l(this.h[2],Q),this.h[3]=l(this.h[3],J),this.h[4]=l(this.h[4],ee)},T.prototype._digest=function(F){return"hex"===F?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},5563:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(7138);function w(){if(!(this instanceof w))return new w;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(w,t),Qe.exports=w,w.blockSize=512,w.outSize=224,w.hmacStrength=192,w.padLength=64,w.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},7138:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),w=g(3161),S=g(9210),l=e.sum32,x=e.sum32_4,f=e.sum32_5,I=w.ch32,d=w.maj32,T=w.s0_256,y=w.s1_256,F=w.g0_256,R=w.g1_256,z=t.BlockHash,W=[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 $(){if(!(this instanceof $))return new $;z.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=W,this.W=new Array(64)}e.inherits($,z),Qe.exports=$,$.blockSize=512,$.outSize=256,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(Q,J){for(var ee=this.W,ie=0;ie<16;ie++)ee[ie]=Q[J+ie];for(;ie<ee.length;ie++)ee[ie]=x(R(ee[ie-2]),ee[ie-7],F(ee[ie-15]),ee[ie-16]);var ge=this.h[0],ae=this.h[1],Me=this.h[2],Te=this.h[3],de=this.h[4],D=this.h[5],n=this.h[6],c=this.h[7];for(S(this.k.length===ee.length),ie=0;ie<ee.length;ie++){var m=f(c,y(de),I(de,D,n),this.k[ie],ee[ie]),h=l(T(ge),d(ge,ae,Me));c=n,n=D,D=de,de=l(Te,m),Te=Me,Me=ae,ae=ge,ge=l(m,h)}this.h[0]=l(this.h[0],ge),this.h[1]=l(this.h[1],ae),this.h[2]=l(this.h[2],Me),this.h[3]=l(this.h[3],Te),this.h[4]=l(this.h[4],de),this.h[5]=l(this.h[5],D),this.h[6]=l(this.h[6],n),this.h[7]=l(this.h[7],c)},$.prototype._digest=function(Q){return"hex"===Q?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},3898:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(827);function w(){if(!(this instanceof w))return new w;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(w,t),Qe.exports=w,w.blockSize=1024,w.outSize=384,w.hmacStrength=192,w.padLength=128,w.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},827:(Qe,te,g)=>{"use strict";var e=g(8283),t=g(2901),w=g(9210),S=e.rotr64_hi,l=e.rotr64_lo,x=e.shr64_hi,f=e.shr64_lo,I=e.sum64,d=e.sum64_hi,T=e.sum64_lo,y=e.sum64_4_hi,F=e.sum64_4_lo,R=e.sum64_5_hi,z=e.sum64_5_lo,W=t.BlockHash,$=[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,1322822218,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 j(){if(!(this instanceof j))return new j;W.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=$,this.W=new Array(160)}function Q(m,h,C,k,L){var _=m&C^~m&L;return _<0&&(_+=4294967296),_}function J(m,h,C,k,L,_){var r=h&k^~h&_;return r<0&&(r+=4294967296),r}function ee(m,h,C,k,L){var _=m&C^m&L^C&L;return _<0&&(_+=4294967296),_}function ie(m,h,C,k,L,_){var r=h&k^h&_^k&_;return r<0&&(r+=4294967296),r}function ge(m,h){var _=S(m,h,28)^S(h,m,2)^S(h,m,7);return _<0&&(_+=4294967296),_}function ae(m,h){var _=l(m,h,28)^l(h,m,2)^l(h,m,7);return _<0&&(_+=4294967296),_}function Me(m,h){var _=S(m,h,14)^S(m,h,18)^S(h,m,9);return _<0&&(_+=4294967296),_}function Te(m,h){var _=l(m,h,14)^l(m,h,18)^l(h,m,9);return _<0&&(_+=4294967296),_}function de(m,h){var _=S(m,h,1)^S(m,h,8)^x(m,h,7);return _<0&&(_+=4294967296),_}function D(m,h){var _=l(m,h,1)^l(m,h,8)^f(m,h,7);return _<0&&(_+=4294967296),_}function n(m,h){var _=S(m,h,19)^S(h,m,29)^x(m,h,6);return _<0&&(_+=4294967296),_}function c(m,h){var _=l(m,h,19)^l(h,m,29)^f(m,h,6);return _<0&&(_+=4294967296),_}e.inherits(j,W),Qe.exports=j,j.blockSize=1024,j.outSize=512,j.hmacStrength=192,j.padLength=128,j.prototype._prepareBlock=function(h,C){for(var k=this.W,L=0;L<32;L++)k[L]=h[C+L];for(;L<k.length;L+=2){var _=n(k[L-4],k[L-3]),r=c(k[L-4],k[L-3]),v=k[L-14],V=k[L-13],N=de(k[L-30],k[L-29]),ne=D(k[L-30],k[L-29]),Ee=k[L-32],ze=k[L-31];k[L]=y(_,r,v,V,N,ne,Ee,ze),k[L+1]=F(_,r,v,V,N,ne,Ee,ze)}},j.prototype._update=function(h,C){this._prepareBlock(h,C);var k=this.W,L=this.h[0],_=this.h[1],r=this.h[2],v=this.h[3],V=this.h[4],N=this.h[5],ne=this.h[6],Ee=this.h[7],ze=this.h[8],qe=this.h[9],Ke=this.h[10],se=this.h[11],X=this.h[12],me=this.h[13],ce=this.h[14],fe=this.h[15];w(this.k.length===k.length);for(var ke=0;ke<k.length;ke+=2){var mt=ce,_e=fe,be=Me(ze,qe),pe=Te(ze,qe),Ze=Q(ze,0,Ke,0,X),_t=J(0,qe,0,se,0,me),at=this.k[ke],pt=this.k[ke+1],Xt=k[ke],ye=k[ke+1],ue=R(mt,_e,be,pe,Ze,_t,at,pt,Xt,ye),Ie=z(mt,_e,be,pe,Ze,_t,at,pt,Xt,ye);mt=ge(L,_),_e=ae(L,_),be=ee(L,0,r,0,V),pe=ie(0,_,0,v,0,N);var He=d(mt,_e,be,pe),Xe=T(mt,_e,be,pe);ce=X,fe=me,X=Ke,me=se,Ke=ze,se=qe,ze=d(ne,Ee,ue,Ie),qe=T(Ee,Ee,ue,Ie),ne=V,Ee=N,V=r,N=v,r=L,v=_,L=d(ue,Ie,He,Xe),_=T(ue,Ie,He,Xe)}I(this.h,0,L,_),I(this.h,2,r,v),I(this.h,4,V,N),I(this.h,6,ne,Ee),I(this.h,8,ze,qe),I(this.h,10,Ke,se),I(this.h,12,X,me),I(this.h,14,ce,fe)},j.prototype._digest=function(h){return"hex"===h?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},3161:(Qe,te,g)=>{"use strict";var t=g(8283).rotr32;function S(y,F,R){return y&F^~y&R}function l(y,F,R){return y&F^y&R^F&R}function x(y,F,R){return y^F^R}te.ft_1=function w(y,F,R,z){return 0===y?S(F,R,z):1===y||3===y?x(F,R,z):2===y?l(F,R,z):void 0},te.ch32=S,te.maj32=l,te.p32=x,te.s0_256=function f(y){return t(y,2)^t(y,13)^t(y,22)},te.s1_256=function I(y){return t(y,6)^t(y,11)^t(y,25)},te.g0_256=function d(y){return t(y,7)^t(y,18)^y>>>3},te.g1_256=function T(y){return t(y,17)^t(y,19)^y>>>10}},8283:(Qe,te,g)=>{"use strict";var e=g(9210),t=g(1993);function w(c,m){return!(55296!=(64512&c.charCodeAt(m))||m<0||m+1>=c.length)&&56320==(64512&c.charCodeAt(m+1))}function x(c){return(c>>>24|c>>>8&65280|c<<8&16711680|(255&c)<<24)>>>0}function I(c){return 1===c.length?"0"+c:c}function d(c){return 7===c.length?"0"+c:6===c.length?"00"+c:5===c.length?"000"+c:4===c.length?"0000"+c:3===c.length?"00000"+c:2===c.length?"000000"+c:1===c.length?"0000000"+c:c}te.inherits=t,te.toArray=function S(c,m){if(Array.isArray(c))return c.slice();if(!c)return[];var h=[];if("string"==typeof c)if(m){if("hex"===m)for((c=c.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(c="0"+c),k=0;k<c.length;k+=2)h.push(parseInt(c[k]+c[k+1],16))}else for(var C=0,k=0;k<c.length;k++){var L=c.charCodeAt(k);L<128?h[C++]=L:L<2048?(h[C++]=L>>6|192,h[C++]=63&L|128):w(c,k)?(L=65536+((1023&L)<<10)+(1023&c.charCodeAt(++k)),h[C++]=L>>18|240,h[C++]=L>>12&63|128,h[C++]=L>>6&63|128,h[C++]=63&L|128):(h[C++]=L>>12|224,h[C++]=L>>6&63|128,h[C++]=63&L|128)}else for(k=0;k<c.length;k++)h[k]=0|c[k];return h},te.toHex=function l(c){for(var m="",h=0;h<c.length;h++)m+=I(c[h].toString(16));return m},te.htonl=x,te.toHex32=function f(c,m){for(var h="",C=0;C<c.length;C++){var k=c[C];"little"===m&&(k=x(k)),h+=d(k.toString(16))}return h},te.zero2=I,te.zero8=d,te.join32=function T(c,m,h,C){var k=h-m;e(k%4==0);for(var L=new Array(k/4),_=0,r=m;_<L.length;_++,r+=4)L[_]=("big"===C?c[r]<<24|c[r+1]<<16|c[r+2]<<8|c[r+3]:c[r+3]<<24|c[r+2]<<16|c[r+1]<<8|c[r])>>>0;return L},te.split32=function y(c,m){for(var h=new Array(4*c.length),C=0,k=0;C<c.length;C++,k+=4){var L=c[C];"big"===m?(h[k]=L>>>24,h[k+1]=L>>>16&255,h[k+2]=L>>>8&255,h[k+3]=255&L):(h[k+3]=L>>>24,h[k+2]=L>>>16&255,h[k+1]=L>>>8&255,h[k]=255&L)}return h},te.rotr32=function F(c,m){return c>>>m|c<<32-m},te.rotl32=function R(c,m){return c<<m|c>>>32-m},te.sum32=function z(c,m){return c+m>>>0},te.sum32_3=function W(c,m,h){return c+m+h>>>0},te.sum32_4=function $(c,m,h,C){return c+m+h+C>>>0},te.sum32_5=function j(c,m,h,C,k){return c+m+h+C+k>>>0},te.sum64=function Q(c,m,h,C){var _=C+c[m+1]>>>0;c[m]=(_<C?1:0)+h+c[m]>>>0,c[m+1]=_},te.sum64_hi=function J(c,m,h,C){return(m+C>>>0<m?1:0)+c+h>>>0},te.sum64_lo=function ee(c,m,h,C){return m+C>>>0},te.sum64_4_hi=function ie(c,m,h,C,k,L,_,r){var v=0,V=m;return v+=(V=V+C>>>0)<m?1:0,v+=(V=V+L>>>0)<L?1:0,c+h+k+_+(v+=(V=V+r>>>0)<r?1:0)>>>0},te.sum64_4_lo=function ge(c,m,h,C,k,L,_,r){return m+C+L+r>>>0},te.sum64_5_hi=function ae(c,m,h,C,k,L,_,r,v,V){var N=0,ne=m;return N+=(ne=ne+C>>>0)<m?1:0,N+=(ne=ne+L>>>0)<L?1:0,N+=(ne=ne+r>>>0)<r?1:0,c+h+k+_+v+(N+=(ne=ne+V>>>0)<V?1:0)>>>0},te.sum64_5_lo=function Me(c,m,h,C,k,L,_,r,v,V){return m+C+L+r+V>>>0},te.rotr64_hi=function Te(c,m,h){return(m<<32-h|c>>>h)>>>0},te.rotr64_lo=function de(c,m,h){return(c<<32-h|m>>>h)>>>0},te.shr64_hi=function D(c,m,h){return c>>>h},te.shr64_lo=function n(c,m,h){return(c<<32-h|m>>>h)>>>0}},3556:(Qe,te,g)=>{"use strict";var e=g(2529),t=g(1832),w=g(9210);function S(l){if(!(this instanceof S))return new S(l);this.hash=l.hash,this.predResist=!!l.predResist,this.outLen=this.hash.outSize,this.minEntropy=l.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var x=t.toArray(l.entropy,l.entropyEnc||"hex"),f=t.toArray(l.nonce,l.nonceEnc||"hex"),I=t.toArray(l.pers,l.persEnc||"hex");w(x.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(x,f,I)}Qe.exports=S,S.prototype._init=function(x,f,I){var d=x.concat(f).concat(I);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var T=0;T<this.V.length;T++)this.K[T]=0,this.V[T]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},S.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},S.prototype._update=function(x){var f=this._hmac().update(this.V).update([0]);x&&(f=f.update(x)),this.K=f.digest(),this.V=this._hmac().update(this.V).digest(),x&&(this.K=this._hmac().update(this.V).update([1]).update(x).digest(),this.V=this._hmac().update(this.V).digest())},S.prototype.reseed=function(x,f,I,d){"string"!=typeof f&&(d=I,I=f,f=null),x=t.toArray(x,f),I=t.toArray(I,d),w(x.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(x.concat(I||[])),this._reseed=1},S.prototype.generate=function(x,f,I,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof f&&(d=I,I=f,f=null),I&&(I=t.toArray(I,d||"hex"),this._update(I));for(var T=[];T.length<x;)this.V=this._hmac().update(this.V).digest(),T=T.concat(this.V);var y=T.slice(0,x);return this._update(I),this._reseed++,t.encode(y,f)}},2020:(Qe,te)=>{te.read=function(g,e,t,w,S){var l,x,f=8*S-w-1,I=(1<<f)-1,d=I>>1,T=-7,y=t?S-1:0,F=t?-1:1,R=g[e+y];for(y+=F,l=R&(1<<-T)-1,R>>=-T,T+=f;T>0;l=256*l+g[e+y],y+=F,T-=8);for(x=l&(1<<-T)-1,l>>=-T,T+=w;T>0;x=256*x+g[e+y],y+=F,T-=8);if(0===l)l=1-d;else{if(l===I)return x?NaN:1/0*(R?-1:1);x+=Math.pow(2,w),l-=d}return(R?-1:1)*x*Math.pow(2,l-w)},te.write=function(g,e,t,w,S,l){var x,f,I,d=8*l-S-1,T=(1<<d)-1,y=T>>1,F=23===S?Math.pow(2,-24)-Math.pow(2,-77):0,R=w?0:l-1,z=w?1:-1,W=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,x=T):(x=Math.floor(Math.log(e)/Math.LN2),e*(I=Math.pow(2,-x))<1&&(x--,I*=2),(e+=x+y>=1?F/I:F*Math.pow(2,1-y))*I>=2&&(x++,I/=2),x+y>=T?(f=0,x=T):x+y>=1?(f=(e*I-1)*Math.pow(2,S),x+=y):(f=e*Math.pow(2,y-1)*Math.pow(2,S),x=0));S>=8;g[t+R]=255&f,R+=z,f/=256,S-=8);for(x=x<<S|f,d+=S;d>0;g[t+R]=255&x,R+=z,x/=256,d-=8);g[t+R-z]|=128*W}},1993:Qe=>{Qe.exports="function"==typeof Object.create?function(g,e){e&&(g.super_=e,g.prototype=Object.create(e.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}))}:function(g,e){if(e){g.super_=e;var t=function(){};t.prototype=e.prototype,g.prototype=new t,g.prototype.constructor=g}}},53:Qe=>{var te={}.toString;Qe.exports=Array.isArray||function(g){return"[object Array]"==te.call(g)}},4725:(Qe,te,g)=>{"use strict";var e=g(1993),t=g(3686),w=g(7054).Buffer,S=new Array(16);function l(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function x(y,F){return y<<F|y>>>32-F}function f(y,F,R,z,W,$,j){return x(y+(F&R|~F&z)+W+$|0,j)+F|0}function I(y,F,R,z,W,$,j){return x(y+(F&z|R&~z)+W+$|0,j)+F|0}function d(y,F,R,z,W,$,j){return x(y+(F^R^z)+W+$|0,j)+F|0}function T(y,F,R,z,W,$,j){return x(y+(R^(F|~z))+W+$|0,j)+F|0}e(l,t),l.prototype._update=function(){for(var y=S,F=0;F<16;++F)y[F]=this._block.readInt32LE(4*F);var R=this._a,z=this._b,W=this._c,$=this._d;R=f(R,z,W,$,y[0],3614090360,7),$=f($,R,z,W,y[1],3905402710,12),W=f(W,$,R,z,y[2],606105819,17),z=f(z,W,$,R,y[3],3250441966,22),R=f(R,z,W,$,y[4],4118548399,7),$=f($,R,z,W,y[5],1200080426,12),W=f(W,$,R,z,y[6],2821735955,17),z=f(z,W,$,R,y[7],4249261313,22),R=f(R,z,W,$,y[8],1770035416,7),$=f($,R,z,W,y[9],2336552879,12),W=f(W,$,R,z,y[10],4294925233,17),z=f(z,W,$,R,y[11],2304563134,22),R=f(R,z,W,$,y[12],1804603682,7),$=f($,R,z,W,y[13],4254626195,12),W=f(W,$,R,z,y[14],2792965006,17),R=I(R,z=f(z,W,$,R,y[15],1236535329,22),W,$,y[1],4129170786,5),$=I($,R,z,W,y[6],3225465664,9),W=I(W,$,R,z,y[11],643717713,14),z=I(z,W,$,R,y[0],3921069994,20),R=I(R,z,W,$,y[5],3593408605,5),$=I($,R,z,W,y[10],38016083,9),W=I(W,$,R,z,y[15],3634488961,14),z=I(z,W,$,R,y[4],3889429448,20),R=I(R,z,W,$,y[9],568446438,5),$=I($,R,z,W,y[14],3275163606,9),W=I(W,$,R,z,y[3],4107603335,14),z=I(z,W,$,R,y[8],1163531501,20),R=I(R,z,W,$,y[13],2850285829,5),$=I($,R,z,W,y[2],4243563512,9),W=I(W,$,R,z,y[7],1735328473,14),R=d(R,z=I(z,W,$,R,y[12],2368359562,20),W,$,y[5],4294588738,4),$=d($,R,z,W,y[8],2272392833,11),W=d(W,$,R,z,y[11],1839030562,16),z=d(z,W,$,R,y[14],4259657740,23),R=d(R,z,W,$,y[1],2763975236,4),$=d($,R,z,W,y[4],1272893353,11),W=d(W,$,R,z,y[7],4139469664,16),z=d(z,W,$,R,y[10],3200236656,23),R=d(R,z,W,$,y[13],681279174,4),$=d($,R,z,W,y[0],3936430074,11),W=d(W,$,R,z,y[3],3572445317,16),z=d(z,W,$,R,y[6],76029189,23),R=d(R,z,W,$,y[9],3654602809,4),$=d($,R,z,W,y[12],3873151461,11),W=d(W,$,R,z,y[15],530742520,16),R=T(R,z=d(z,W,$,R,y[2],3299628645,23),W,$,y[0],4096336452,6),$=T($,R,z,W,y[7],1126891415,10),W=T(W,$,R,z,y[14],2878612391,15),z=T(z,W,$,R,y[5],4237533241,21),R=T(R,z,W,$,y[12],1700485571,6),$=T($,R,z,W,y[3],2399980690,10),W=T(W,$,R,z,y[10],4293915773,15),z=T(z,W,$,R,y[1],2240044497,21),R=T(R,z,W,$,y[8],1873313359,6),$=T($,R,z,W,y[15],4264355552,10),W=T(W,$,R,z,y[6],2734768916,15),z=T(z,W,$,R,y[13],1309151649,21),R=T(R,z,W,$,y[4],4149444226,6),$=T($,R,z,W,y[11],3174756917,10),W=T(W,$,R,z,y[2],718787259,15),z=T(z,W,$,R,y[9],3951481745,21),this._a=this._a+R|0,this._b=this._b+z|0,this._c=this._c+W|0,this._d=this._d+$|0},l.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 y=w.allocUnsafe(16);return y.writeInt32LE(this._a,0),y.writeInt32LE(this._b,4),y.writeInt32LE(this._c,8),y.writeInt32LE(this._d,12),y},Qe.exports=l},3459:(Qe,te,g)=>{var e=g(7223),t=g(5294);function w(S){this.rand=S||new t.Rand}Qe.exports=w,w.create=function(l){return new w(l)},w.prototype._randbelow=function(l){var x=l.bitLength(),f=Math.ceil(x/8);do{var I=new e(this.rand.generate(f))}while(I.cmp(l)>=0);return I},w.prototype._randrange=function(l,x){var f=x.sub(l);return l.add(this._randbelow(f))},w.prototype.test=function(l,x,f){var I=l.bitLength(),d=e.mont(l),T=new e(1).toRed(d);x||(x=Math.max(1,I/48|0));for(var y=l.subn(1),F=0;!y.testn(F);F++);for(var R=l.shrn(F),z=y.toRed(d);x>0;x--){var $=this._randrange(new e(2),y);f&&f($);var j=$.toRed(d).redPow(R);if(0!==j.cmp(T)&&0!==j.cmp(z)){for(var Q=1;Q<F;Q++){if(0===(j=j.redSqr()).cmp(T))return!1;if(0===j.cmp(z))break}if(Q===F)return!1}}return!0},w.prototype.getDivisor=function(l,x){var f=l.bitLength(),I=e.mont(l),d=new e(1).toRed(I);x||(x=Math.max(1,f/48|0));for(var T=l.subn(1),y=0;!T.testn(y);y++);for(var F=l.shrn(y),R=T.toRed(I);x>0;x--){var z=this._randrange(new e(2),T),W=l.gcd(z);if(0!==W.cmpn(1))return W;var $=z.toRed(I).redPow(F);if(0!==$.cmp(d)&&0!==$.cmp(R)){for(var j=1;j<y;j++){if(0===($=$.redSqr()).cmp(d))return $.fromRed().subn(1).gcd(l);if(0===$.cmp(R))break}if(j===y)return($=$.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},7223:function(Qe,te,g){!function(e,t){"use strict";function w(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(4688).Buffer}catch{}function f(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function I(D,n,c){var m=f(D,c);return c-1>=n&&(m|=f(D,c-1)<<4),m}function d(D,n,c,m){for(var h=0,C=Math.min(D.length,c),k=n;k<C;k++){var L=D.charCodeAt(k)-48;h*=m,h+=L>=49?L-49+10:L>=17?L-17+10:L}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),w(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,m):(this._parseBase(n,c,h),"le"===m&&this._initArray(this.toArray(),c,m)))},l.prototype._initNumber=function(n,c,m){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(w(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),c,m)},l.prototype._initArray=function(n,c,m){if(w("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var C,k,L=0;if("be"===m)for(h=n.length-1,C=0;h>=0;h-=3)this.words[C]|=(k=n[h]|n[h-1]<<8|n[h-2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);else if("le"===m)for(h=0,C=0;h<n.length;h+=3)this.words[C]|=(k=n[h]|n[h+1]<<8|n[h+2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var L,C=0,k=0;if("be"===m)for(h=n.length-1;h>=c;h-=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=c)h++;h--,C=C/c|0;for(var k=n.length-m,L=k%h,_=Math.min(k,k-L)+m,r=0,v=m;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(C),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==L){var V=1;for(r=d(n,v,n.length,c),v=0;v<L;v++)V*=c;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var c=0;c<this.length;c++)n.words[c]=this.words[c];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],y=[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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(D,n,c){c.negative=n.negative^D.negative;var m=D.length+n.length|0;c.length=m,m=m-1|0;var h=0|D.words[0],C=0|n.words[0],k=h*C,_=k/67108864|0;c.words[0]=67108863&k;for(var r=1;r<m;r++){for(var v=_>>>26,V=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(k=(h=0|D.words[r-ne|0])*(C=0|n.words[ne])+V)/67108864|0,V=67108863&k;c.words[r]=0|V,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var h=0,C=0,k=0;k<this.length;k++){var L=this.words[k],_=(16777215&(L<<h|C)).toString(16);m=0!=(C=L>>>24-h&16777215)||k!==this.length-1?T[6-_.length]+_+m:_+m,(h+=2)>=26&&(h-=26,k--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=F[n];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(v).toString(n);m=(V=V.idivn(v)).isZero()?N+m:T[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}w(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&w(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,c){return w(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var h=this.byteLength(),C=m||Math.max(1,h);w(h<=C,"byte array longer than desired length"),w(C>0,"Requested array length <= 0"),this.strip();var _,r,k="le"===c,L=new n(C),v=this.clone();if(k){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[r]=_;for(;r<C;r++)L[r]=0}else{for(r=0;r<C-h;r++)L[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[C-r-1]=_}return L},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,m=0;return c>=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var m=this._zeroBits(this.words[c]);if(n+=m,26!==m)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return w(!(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var c;c=this.length>n.length?n:this;for(var m=0;m<c.length;m++)this.words[m]=this.words[m]&n.words[m];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return w(!(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var c,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var h=0;h<m.length;h++)this.words[h]=c.words[h]^m.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return w(!(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){w("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var h=0;h<c;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){w("number"==typeof n&&n>=0);var m=n/26|0,h=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,m,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(m=this,h=n):(m=n,h=this);for(var C=0,k=0;k<h.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+(0|h.words[k])+C),C=c>>>26;for(;0!==C&&k<m.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+C),C=c>>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;k<m.length;k++)this.words[k]=m.words[k];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,C=n):(h=n,C=this);for(var k=0,L=0;L<C.length;L++)k=(c=(0|h.words[L])-(0|C.words[L])+k)>>26,this.words[L]=67108863&c;for(;0!==k&&L<h.length;L++)k=(c=(0|h.words[L])+k)>>26,this.words[L]=67108863&c;if(0===k&&L<h.length&&h!==this)for(;L<h.length;L++)this.words[L]=h.words[L];return this.length=Math.max(this.length,L),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var W=function(n,c,m){var _,r,v,h=n.words,C=c.words,k=m.words,L=0,V=0|h[0],N=8191&V,ne=V>>>13,Ee=0|h[1],ze=8191&Ee,qe=Ee>>>13,Ke=0|h[2],se=8191&Ke,X=Ke>>>13,me=0|h[3],ce=8191&me,fe=me>>>13,ke=0|h[4],mt=8191&ke,_e=ke>>>13,be=0|h[5],pe=8191&be,Ze=be>>>13,_t=0|h[6],at=8191&_t,pt=_t>>>13,Xt=0|h[7],ye=8191&Xt,ue=Xt>>>13,Ie=0|h[8],He=8191&Ie,Xe=Ie>>>13,yt=0|h[9],Ye=8191&yt,rt=yt>>>13,Yt=0|C[0],Nt=8191&Yt,Et=Yt>>>13,Vt=0|C[1],oe=8191&Vt,tt=Vt>>>13,$t=0|C[2],zt=8191&$t,Jt=$t>>>13,St=0|C[3],dt=8191&St,Ae=St>>>13,we=0|C[4],he=8191&we,q=we>>>13,Re=0|C[5],Ne=8191&Re,gt=Re>>>13,$e=0|C[6],Fe=8191&$e,Ge=$e>>>13,et=0|C[7],st=8191&et,Tt=et>>>13,mi=0|C[8],Kt=8191&mi,Pt=mi>>>13,Xi=0|C[9],di=8191&Xi,fi=Xi>>>13;m.negative=n.negative^c.negative,m.length=19;var vn=(L+(_=Math.imul(N,Nt))|0)+((8191&(r=(r=Math.imul(N,Et))+Math.imul(ne,Nt)|0))<<13)|0;L=((v=Math.imul(ne,Et))+(r>>>13)|0)+(vn>>>26)|0,vn&=67108863,_=Math.imul(ze,Nt),r=(r=Math.imul(ze,Et))+Math.imul(qe,Nt)|0,v=Math.imul(qe,Et);var Qi=(L+(_=_+Math.imul(N,oe)|0)|0)+((8191&(r=(r=r+Math.imul(N,tt)|0)+Math.imul(ne,oe)|0))<<13)|0;L=((v=v+Math.imul(ne,tt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(se,Nt),r=(r=Math.imul(se,Et))+Math.imul(X,Nt)|0,v=Math.imul(X,Et),_=_+Math.imul(ze,oe)|0,r=(r=r+Math.imul(ze,tt)|0)+Math.imul(qe,oe)|0,v=v+Math.imul(qe,tt)|0;var Li=(L+(_=_+Math.imul(N,zt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Jt)|0)+Math.imul(ne,zt)|0))<<13)|0;L=((v=v+Math.imul(ne,Jt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(ce,Nt),r=(r=Math.imul(ce,Et))+Math.imul(fe,Nt)|0,v=Math.imul(fe,Et),_=_+Math.imul(se,oe)|0,r=(r=r+Math.imul(se,tt)|0)+Math.imul(X,oe)|0,v=v+Math.imul(X,tt)|0,_=_+Math.imul(ze,zt)|0,r=(r=r+Math.imul(ze,Jt)|0)+Math.imul(qe,zt)|0,v=v+Math.imul(qe,Jt)|0;var Zi=(L+(_=_+Math.imul(N,dt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ae)|0)+Math.imul(ne,dt)|0))<<13)|0;L=((v=v+Math.imul(ne,Ae)|0)+(r>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul(mt,Nt),r=(r=Math.imul(mt,Et))+Math.imul(_e,Nt)|0,v=Math.imul(_e,Et),_=_+Math.imul(ce,oe)|0,r=(r=r+Math.imul(ce,tt)|0)+Math.imul(fe,oe)|0,v=v+Math.imul(fe,tt)|0,_=_+Math.imul(se,zt)|0,r=(r=r+Math.imul(se,Jt)|0)+Math.imul(X,zt)|0,v=v+Math.imul(X,Jt)|0,_=_+Math.imul(ze,dt)|0,r=(r=r+Math.imul(ze,Ae)|0)+Math.imul(qe,dt)|0,v=v+Math.imul(qe,Ae)|0;var Qt=(L+(_=_+Math.imul(N,he)|0)|0)+((8191&(r=(r=r+Math.imul(N,q)|0)+Math.imul(ne,he)|0))<<13)|0;L=((v=v+Math.imul(ne,q)|0)+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,_=Math.imul(pe,Nt),r=(r=Math.imul(pe,Et))+Math.imul(Ze,Nt)|0,v=Math.imul(Ze,Et),_=_+Math.imul(mt,oe)|0,r=(r=r+Math.imul(mt,tt)|0)+Math.imul(_e,oe)|0,v=v+Math.imul(_e,tt)|0,_=_+Math.imul(ce,zt)|0,r=(r=r+Math.imul(ce,Jt)|0)+Math.imul(fe,zt)|0,v=v+Math.imul(fe,Jt)|0,_=_+Math.imul(se,dt)|0,r=(r=r+Math.imul(se,Ae)|0)+Math.imul(X,dt)|0,v=v+Math.imul(X,Ae)|0,_=_+Math.imul(ze,he)|0,r=(r=r+Math.imul(ze,q)|0)+Math.imul(qe,he)|0,v=v+Math.imul(qe,q)|0;var Mt=(L+(_=_+Math.imul(N,Ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(ne,Ne)|0))<<13)|0;L=((v=v+Math.imul(ne,gt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(at,Nt),r=(r=Math.imul(at,Et))+Math.imul(pt,Nt)|0,v=Math.imul(pt,Et),_=_+Math.imul(pe,oe)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(Ze,oe)|0,v=v+Math.imul(Ze,tt)|0,_=_+Math.imul(mt,zt)|0,r=(r=r+Math.imul(mt,Jt)|0)+Math.imul(_e,zt)|0,v=v+Math.imul(_e,Jt)|0,_=_+Math.imul(ce,dt)|0,r=(r=r+Math.imul(ce,Ae)|0)+Math.imul(fe,dt)|0,v=v+Math.imul(fe,Ae)|0,_=_+Math.imul(se,he)|0,r=(r=r+Math.imul(se,q)|0)+Math.imul(X,he)|0,v=v+Math.imul(X,q)|0,_=_+Math.imul(ze,Ne)|0,r=(r=r+Math.imul(ze,gt)|0)+Math.imul(qe,Ne)|0,v=v+Math.imul(qe,gt)|0;var it=(L+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ge)|0)+Math.imul(ne,Fe)|0))<<13)|0;L=((v=v+Math.imul(ne,Ge)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,_=Math.imul(ye,Nt),r=(r=Math.imul(ye,Et))+Math.imul(ue,Nt)|0,v=Math.imul(ue,Et),_=_+Math.imul(at,oe)|0,r=(r=r+Math.imul(at,tt)|0)+Math.imul(pt,oe)|0,v=v+Math.imul(pt,tt)|0,_=_+Math.imul(pe,zt)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(Ze,zt)|0,v=v+Math.imul(Ze,Jt)|0,_=_+Math.imul(mt,dt)|0,r=(r=r+Math.imul(mt,Ae)|0)+Math.imul(_e,dt)|0,v=v+Math.imul(_e,Ae)|0,_=_+Math.imul(ce,he)|0,r=(r=r+Math.imul(ce,q)|0)+Math.imul(fe,he)|0,v=v+Math.imul(fe,q)|0,_=_+Math.imul(se,Ne)|0,r=(r=r+Math.imul(se,gt)|0)+Math.imul(X,Ne)|0,v=v+Math.imul(X,gt)|0,_=_+Math.imul(ze,Fe)|0,r=(r=r+Math.imul(ze,Ge)|0)+Math.imul(qe,Fe)|0,v=v+Math.imul(qe,Ge)|0;var ct=(L+(_=_+Math.imul(N,st)|0)|0)+((8191&(r=(r=r+Math.imul(N,Tt)|0)+Math.imul(ne,st)|0))<<13)|0;L=((v=v+Math.imul(ne,Tt)|0)+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,_=Math.imul(He,Nt),r=(r=Math.imul(He,Et))+Math.imul(Xe,Nt)|0,v=Math.imul(Xe,Et),_=_+Math.imul(ye,oe)|0,r=(r=r+Math.imul(ye,tt)|0)+Math.imul(ue,oe)|0,v=v+Math.imul(ue,tt)|0,_=_+Math.imul(at,zt)|0,r=(r=r+Math.imul(at,Jt)|0)+Math.imul(pt,zt)|0,v=v+Math.imul(pt,Jt)|0,_=_+Math.imul(pe,dt)|0,r=(r=r+Math.imul(pe,Ae)|0)+Math.imul(Ze,dt)|0,v=v+Math.imul(Ze,Ae)|0,_=_+Math.imul(mt,he)|0,r=(r=r+Math.imul(mt,q)|0)+Math.imul(_e,he)|0,v=v+Math.imul(_e,q)|0,_=_+Math.imul(ce,Ne)|0,r=(r=r+Math.imul(ce,gt)|0)+Math.imul(fe,Ne)|0,v=v+Math.imul(fe,gt)|0,_=_+Math.imul(se,Fe)|0,r=(r=r+Math.imul(se,Ge)|0)+Math.imul(X,Fe)|0,v=v+Math.imul(X,Ge)|0,_=_+Math.imul(ze,st)|0,r=(r=r+Math.imul(ze,Tt)|0)+Math.imul(qe,st)|0,v=v+Math.imul(qe,Tt)|0;var wt=(L+(_=_+Math.imul(N,Kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(ne,Kt)|0))<<13)|0;L=((v=v+Math.imul(ne,Pt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,_=Math.imul(Ye,Nt),r=(r=Math.imul(Ye,Et))+Math.imul(rt,Nt)|0,v=Math.imul(rt,Et),_=_+Math.imul(He,oe)|0,r=(r=r+Math.imul(He,tt)|0)+Math.imul(Xe,oe)|0,v=v+Math.imul(Xe,tt)|0,_=_+Math.imul(ye,zt)|0,r=(r=r+Math.imul(ye,Jt)|0)+Math.imul(ue,zt)|0,v=v+Math.imul(ue,Jt)|0,_=_+Math.imul(at,dt)|0,r=(r=r+Math.imul(at,Ae)|0)+Math.imul(pt,dt)|0,v=v+Math.imul(pt,Ae)|0,_=_+Math.imul(pe,he)|0,r=(r=r+Math.imul(pe,q)|0)+Math.imul(Ze,he)|0,v=v+Math.imul(Ze,q)|0,_=_+Math.imul(mt,Ne)|0,r=(r=r+Math.imul(mt,gt)|0)+Math.imul(_e,Ne)|0,v=v+Math.imul(_e,gt)|0,_=_+Math.imul(ce,Fe)|0,r=(r=r+Math.imul(ce,Ge)|0)+Math.imul(fe,Fe)|0,v=v+Math.imul(fe,Ge)|0,_=_+Math.imul(se,st)|0,r=(r=r+Math.imul(se,Tt)|0)+Math.imul(X,st)|0,v=v+Math.imul(X,Tt)|0,_=_+Math.imul(ze,Kt)|0,r=(r=r+Math.imul(ze,Pt)|0)+Math.imul(qe,Kt)|0,v=v+Math.imul(qe,Pt)|0;var Ut=(L+(_=_+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(ne,di)|0))<<13)|0;L=((v=v+Math.imul(ne,fi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul(Ye,oe),r=(r=Math.imul(Ye,tt))+Math.imul(rt,oe)|0,v=Math.imul(rt,tt),_=_+Math.imul(He,zt)|0,r=(r=r+Math.imul(He,Jt)|0)+Math.imul(Xe,zt)|0,v=v+Math.imul(Xe,Jt)|0,_=_+Math.imul(ye,dt)|0,r=(r=r+Math.imul(ye,Ae)|0)+Math.imul(ue,dt)|0,v=v+Math.imul(ue,Ae)|0,_=_+Math.imul(at,he)|0,r=(r=r+Math.imul(at,q)|0)+Math.imul(pt,he)|0,v=v+Math.imul(pt,q)|0,_=_+Math.imul(pe,Ne)|0,r=(r=r+Math.imul(pe,gt)|0)+Math.imul(Ze,Ne)|0,v=v+Math.imul(Ze,gt)|0,_=_+Math.imul(mt,Fe)|0,r=(r=r+Math.imul(mt,Ge)|0)+Math.imul(_e,Fe)|0,v=v+Math.imul(_e,Ge)|0,_=_+Math.imul(ce,st)|0,r=(r=r+Math.imul(ce,Tt)|0)+Math.imul(fe,st)|0,v=v+Math.imul(fe,Tt)|0,_=_+Math.imul(se,Kt)|0,r=(r=r+Math.imul(se,Pt)|0)+Math.imul(X,Kt)|0,v=v+Math.imul(X,Pt)|0;var xi=(L+(_=_+Math.imul(ze,di)|0)|0)+((8191&(r=(r=r+Math.imul(ze,fi)|0)+Math.imul(qe,di)|0))<<13)|0;L=((v=v+Math.imul(qe,fi)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,_=Math.imul(Ye,zt),r=(r=Math.imul(Ye,Jt))+Math.imul(rt,zt)|0,v=Math.imul(rt,Jt),_=_+Math.imul(He,dt)|0,r=(r=r+Math.imul(He,Ae)|0)+Math.imul(Xe,dt)|0,v=v+Math.imul(Xe,Ae)|0,_=_+Math.imul(ye,he)|0,r=(r=r+Math.imul(ye,q)|0)+Math.imul(ue,he)|0,v=v+Math.imul(ue,q)|0,_=_+Math.imul(at,Ne)|0,r=(r=r+Math.imul(at,gt)|0)+Math.imul(pt,Ne)|0,v=v+Math.imul(pt,gt)|0,_=_+Math.imul(pe,Fe)|0,r=(r=r+Math.imul(pe,Ge)|0)+Math.imul(Ze,Fe)|0,v=v+Math.imul(Ze,Ge)|0,_=_+Math.imul(mt,st)|0,r=(r=r+Math.imul(mt,Tt)|0)+Math.imul(_e,st)|0,v=v+Math.imul(_e,Tt)|0,_=_+Math.imul(ce,Kt)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(fe,Kt)|0,v=v+Math.imul(fe,Pt)|0;var Si=(L+(_=_+Math.imul(se,di)|0)|0)+((8191&(r=(r=r+Math.imul(se,fi)|0)+Math.imul(X,di)|0))<<13)|0;L=((v=v+Math.imul(X,fi)|0)+(r>>>13)|0)+(Si>>>26)|0,Si&=67108863,_=Math.imul(Ye,dt),r=(r=Math.imul(Ye,Ae))+Math.imul(rt,dt)|0,v=Math.imul(rt,Ae),_=_+Math.imul(He,he)|0,r=(r=r+Math.imul(He,q)|0)+Math.imul(Xe,he)|0,v=v+Math.imul(Xe,q)|0,_=_+Math.imul(ye,Ne)|0,r=(r=r+Math.imul(ye,gt)|0)+Math.imul(ue,Ne)|0,v=v+Math.imul(ue,gt)|0,_=_+Math.imul(at,Fe)|0,r=(r=r+Math.imul(at,Ge)|0)+Math.imul(pt,Fe)|0,v=v+Math.imul(pt,Ge)|0,_=_+Math.imul(pe,st)|0,r=(r=r+Math.imul(pe,Tt)|0)+Math.imul(Ze,st)|0,v=v+Math.imul(Ze,Tt)|0,_=_+Math.imul(mt,Kt)|0,r=(r=r+Math.imul(mt,Pt)|0)+Math.imul(_e,Kt)|0,v=v+Math.imul(_e,Pt)|0;var zi=(L+(_=_+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(fe,di)|0))<<13)|0;L=((v=v+Math.imul(fe,fi)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,_=Math.imul(Ye,he),r=(r=Math.imul(Ye,q))+Math.imul(rt,he)|0,v=Math.imul(rt,q),_=_+Math.imul(He,Ne)|0,r=(r=r+Math.imul(He,gt)|0)+Math.imul(Xe,Ne)|0,v=v+Math.imul(Xe,gt)|0,_=_+Math.imul(ye,Fe)|0,r=(r=r+Math.imul(ye,Ge)|0)+Math.imul(ue,Fe)|0,v=v+Math.imul(ue,Ge)|0,_=_+Math.imul(at,st)|0,r=(r=r+Math.imul(at,Tt)|0)+Math.imul(pt,st)|0,v=v+Math.imul(pt,Tt)|0,_=_+Math.imul(pe,Kt)|0,r=(r=r+Math.imul(pe,Pt)|0)+Math.imul(Ze,Kt)|0,v=v+Math.imul(Ze,Pt)|0;var en=(L+(_=_+Math.imul(mt,di)|0)|0)+((8191&(r=(r=r+Math.imul(mt,fi)|0)+Math.imul(_e,di)|0))<<13)|0;L=((v=v+Math.imul(_e,fi)|0)+(r>>>13)|0)+(en>>>26)|0,en&=67108863,_=Math.imul(Ye,Ne),r=(r=Math.imul(Ye,gt))+Math.imul(rt,Ne)|0,v=Math.imul(rt,gt),_=_+Math.imul(He,Fe)|0,r=(r=r+Math.imul(He,Ge)|0)+Math.imul(Xe,Fe)|0,v=v+Math.imul(Xe,Ge)|0,_=_+Math.imul(ye,st)|0,r=(r=r+Math.imul(ye,Tt)|0)+Math.imul(ue,st)|0,v=v+Math.imul(ue,Tt)|0,_=_+Math.imul(at,Kt)|0,r=(r=r+Math.imul(at,Pt)|0)+Math.imul(pt,Kt)|0,v=v+Math.imul(pt,Pt)|0;var Ni=(L+(_=_+Math.imul(pe,di)|0)|0)+((8191&(r=(r=r+Math.imul(pe,fi)|0)+Math.imul(Ze,di)|0))<<13)|0;L=((v=v+Math.imul(Ze,fi)|0)+(r>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,_=Math.imul(Ye,Fe),r=(r=Math.imul(Ye,Ge))+Math.imul(rt,Fe)|0,v=Math.imul(rt,Ge),_=_+Math.imul(He,st)|0,r=(r=r+Math.imul(He,Tt)|0)+Math.imul(Xe,st)|0,v=v+Math.imul(Xe,Tt)|0,_=_+Math.imul(ye,Kt)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(ue,Kt)|0,v=v+Math.imul(ue,Pt)|0;var fn=(L+(_=_+Math.imul(at,di)|0)|0)+((8191&(r=(r=r+Math.imul(at,fi)|0)+Math.imul(pt,di)|0))<<13)|0;L=((v=v+Math.imul(pt,fi)|0)+(r>>>13)|0)+(fn>>>26)|0,fn&=67108863,_=Math.imul(Ye,st),r=(r=Math.imul(Ye,Tt))+Math.imul(rt,st)|0,v=Math.imul(rt,Tt),_=_+Math.imul(He,Kt)|0,r=(r=r+Math.imul(He,Pt)|0)+Math.imul(Xe,Kt)|0,v=v+Math.imul(Xe,Pt)|0;var Zt=(L+(_=_+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(ue,di)|0))<<13)|0;L=((v=v+Math.imul(ue,fi)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,_=Math.imul(Ye,Kt),r=(r=Math.imul(Ye,Pt))+Math.imul(rt,Kt)|0,v=Math.imul(rt,Pt);var bt=(L+(_=_+Math.imul(He,di)|0)|0)+((8191&(r=(r=r+Math.imul(He,fi)|0)+Math.imul(Xe,di)|0))<<13)|0;L=((v=v+Math.imul(Xe,fi)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863;var re=(L+(_=Math.imul(Ye,di))|0)+((8191&(r=(r=Math.imul(Ye,fi))+Math.imul(rt,di)|0))<<13)|0;return L=((v=Math.imul(rt,fi))+(r>>>13)|0)+(re>>>26)|0,re&=67108863,k[0]=vn,k[1]=Qi,k[2]=Li,k[3]=Zi,k[4]=Qt,k[5]=Mt,k[6]=it,k[7]=ct,k[8]=wt,k[9]=Ut,k[10]=xi,k[11]=Si,k[12]=zi,k[13]=en,k[14]=Ni,k[15]=fn,k[16]=Zt,k[17]=bt,k[18]=re,0!==L&&(k[19]=L,m.length++),m};function j(D,n,c){return(new Q).mulp(D,n,c)}function Q(D,n){this.x=D,this.y=n}Math.imul||(W=z),l.prototype.mulTo=function(n,c){var m,h=this.length+n.length;return m=10===this.length&&10===n.length?W(this,n,c):h<63?z(this,n,c):h<1024?function $(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var m=0,h=0,C=0;C<c.length-1;C++){var k=h;h=0;for(var L=67108863&m,_=Math.min(C,n.length-1),r=Math.max(0,C-D.length+1);r<=_;r++){var ne=(0|D.words[C-r])*(0|n.words[r]),Ee=67108863≠L=67108863&(Ee=Ee+L|0),h+=(k=(k=k+(ne/67108864|0)|0)+(Ee>>>26)|0)>>>26,k&=67108863}c.words[C]=L,m=k,k=h}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):j(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,m,n);return c},Q.prototype.revBin=function(n,c,m){if(0===n||n===m-1)return n;for(var h=0,C=0;C<c;C++)h|=(1&n)<<c-C-1,n>>=1;return h},Q.prototype.permute=function(n,c,m,h,C,k){for(var L=0;L<k;L++)h[L]=c[n[L]],C[L]=m[n[L]]},Q.prototype.transform=function(n,c,m,h,C,k){this.permute(k,n,c,m,h,C);for(var L=1;L<C;L<<=1)for(var _=L<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),V=0;V<C;V+=_)for(var N=r,ne=v,Ee=0;Ee<L;Ee++){var ze=m[V+Ee],qe=h[V+Ee],Ke=m[V+Ee+L],se=h[V+Ee+L],X=N*Ke-ne*se;se=N*se+ne*Ke,m[V+Ee]=ze+(Ke=X),h[V+Ee]=qe+se,m[V+Ee+L]=ze-Ke,h[V+Ee+L]=qe-se,Ee!==_&&(X=r*N-v*ne,ne=r*ne+v*N,N=X)}},Q.prototype.guessLen13b=function(n,c){var m=1|Math.max(c,n),h=1&m,C=0;for(m=m/2|0;m;m>>>=1)C++;return 1<<C+1+h},Q.prototype.conjugate=function(n,c,m){if(!(m<=1))for(var h=0;h<m/2;h++){var C=n[h];n[h]=n[m-h-1],n[m-h-1]=C,C=c[h],c[h]=-c[m-h-1],c[m-h-1]=-C}},Q.prototype.normalize13b=function(n,c){for(var m=0,h=0;h<c/2;h++){var C=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+m;n[h]=67108863&C,m=C<67108864?0:C/67108864|0}return n},Q.prototype.convert13b=function(n,c,m,h){for(var C=0,k=0;k<c;k++)m[2*k]=8191&(C+=0|n[k]),m[2*k+1]=8191&(C>>>=13),C>>>=13;for(k=2*c;k<h;++k)m[k]=0;w(0===C),w(!(-8192&C))},Q.prototype.stub=function(n){for(var c=new Array(n),m=0;m<n;m++)c[m]=0;return c},Q.prototype.mulp=function(n,c,m){var h=2*this.guessLen13b(n.length,c.length),C=this.makeRBT(h),k=this.stub(h),L=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),V=new Array(h),N=new Array(h),ne=m.words;ne.length=h,this.convert13b(n.words,n.length,L,h),this.convert13b(c.words,c.length,v,h),this.transform(L,k,_,r,h,C),this.transform(v,k,V,N,h,C);for(var Ee=0;Ee<h;Ee++){var ze=_[Ee]*V[Ee]-r[Ee]*N[Ee];r[Ee]=_[Ee]*N[Ee]+r[Ee]*V[Ee],_[Ee]=ze}return this.conjugate(_,r,h),this.transform(_,r,ne,k,h,C),this.conjugate(ne,k,h),this.normalize13b(ne,h),m.negative=n.negative^c.negative,m.length=n.length+c.length,m.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),j(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){w("number"==typeof n),w(n<67108864);for(var c=0,m=0;m<this.length;m++){var h=(0|this.words[m])*n,C=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var c=function R(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var m=this,h=0;h<c.length&&0===c[h];h++,m=m.sqr());if(++h<c.length)for(var C=m.sqr();h<c.length;h++,C=C.sqr())0!==c[h]&&(m=m.mul(C));return m},l.prototype.iushln=function(n){w("number"==typeof n&&n>=0);var C,c=n%26,m=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var k=0;for(C=0;C<this.length;C++){var L=this.words[C]&h;this.words[C]=(0|this.words[C])-L<<c|k,k=L>>>26-c}k&&(this.words[C]=k,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C<m;C++)this.words[C]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(n){return w(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,m){var h;w("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var C=n%26,k=Math.min((n-C)/26,this.length),L=67108863^67108863>>>C<<C,_=m;if(h-=k,h=Math.max(0,h),_){for(var r=0;r<k;r++)_.words[r]=this.words[r];_.length=k}if(0!==k)if(this.length>k)for(this.length-=k,r=0;r<this.length;r++)this.words[r]=this.words[r+k];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var V=0|this.words[r];this.words[r]=v<<26-C|V>>>C,v=V&L}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return w(0===this.negative),this.iushrn(n,c,m)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<<c))},l.prototype.imaskn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return w(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return w("number"==typeof n),w(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(w("number"==typeof n),w(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,c,m){var C;this._expand(n.length+m);var k,L=0;for(C=0;C<n.length;C++){k=(0|this.words[C+m])+L;var _=(0|n.words[C])*c;L=((k-=67108863&_)>>26)-(_/67108864|0),this.words[C+m]=67108863&k}for(;C<this.length-m;C++)L=(k=(0|this.words[C+m])+L)>>26,this.words[C+m]=67108863&k;if(0===L)return this.strip();for(w(-1===L),L=0,C=0;C<this.length;C++)L=(k=-(0|this.words[C])+L)>>26,this.words[C]=67108863&k;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,h=this.clone(),C=n,k=0|C.words[C.length-1];0!=(m=26-this._countBits(k))&&(C=C.ushln(m),h.iushln(m),k=0|C.words[C.length-1]);var r,_=h.length-C.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var V=h.clone()._ishlnsubmul(C,1,_);0===V.negative&&(h=V,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[C.length+N])+(0|h.words[C.length+N-1]);for(ne=Math.min(ne/k|0,67108863),h._ishlnsubmul(C,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(C,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,m){return w(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(k=this.neg().divmod(n,c),"mod"!==c&&(h=k.div.neg()),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(k=this.divmod(n.neg(),c),"mod"!==c&&(h=k.div.neg()),{div:h,mod:k.mod}):this.negative&n.negative?(k=this.neg().divmod(n.neg(),c),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:k.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,c);var h,C,k},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var c=this.divmod(n);if(c.mod.isZero())return c.div;var m=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),C=n.andln(1),k=m.cmp(h);return k<0||1===C&&0===k?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){w(n<=67108863);for(var c=(1<<26)%n,m=0,h=this.length-1;h>=0;h--)m=(c*m+(0|this.words[h]))%n;return m},l.prototype.idivn=function(n){w(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*c;this.words[m]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){w(0===n.negative),w(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=new l(0),L=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var r=m.clone(),v=c.clone();!c.isZero();){for(var V=0,N=1;!(c.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(c.iushrn(V);V-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(v)),h.iushrn(1),C.iushrn(1);for(var ne=0,Ee=1;!(m.words[0]&Ee)&&ne<26;++ne,Ee<<=1);if(ne>0)for(m.iushrn(ne);ne-- >0;)(k.isOdd()||L.isOdd())&&(k.iadd(r),L.isub(v)),k.iushrn(1),L.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(k),C.isub(L)):(m.isub(c),k.isub(h),L.isub(C))}return{a:k,b:L,gcd:m.iushln(_)}},l.prototype._invmp=function(n){w(0===n.negative),w(!n.isZero());var V,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var L=0,_=1;!(c.words[0]&_)&&L<26;++L,_<<=1);if(L>0)for(c.iushrn(L);L-- >0;)h.isOdd()&&h.iadd(k),h.iushrn(1);for(var r=0,v=1;!(m.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(m.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(k),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(C)):(m.isub(c),C.isub(h))}return(V=0===c.cmpn(1)?h:C).cmpn(0)<0&&V.iadd(n),V},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),m=n.clone();c.negative=0,m.negative=0;for(var h=0;c.isEven()&&m.isEven();h++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var k=c;c=m,m=k}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){w("number"==typeof n);var c=n%26,m=(n-c)/26,h=1<<c;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var C=h,k=m;0!==C&&k<this.length;k++){var L=0|this.words[k];C=(L+=C)>>>26,this.words[k]=L&=67108863}return 0!==C&&(this.words[k]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),w(n<=67108863,"Number is too big");var h=0|this.words[0];m=h===n?0:h<n?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],C=0|n.words[m];if(h!==C){h<C?c=-1:h>C&&(c=1);break}}return c},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new Te(n)},l.prototype.toRed=function(n){return w(!this.red,"Already a number in reduction context"),w(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return w(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return w(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return w(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return w(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return w(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return w(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return w(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return w(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return w(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return w(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return w(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return w(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return w(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ee(D,n){this.name=D,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ie(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ge(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Te(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else w(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function de(D){Te.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(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)}ee.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ee.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ee.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ee.prototype.imulK=function(n){return n.imul(this.k)},S(ie,ee),ie.prototype.split=function(n,c){for(var m=4194303,h=Math.min(n.length,9),C=0;C<h;C++)c.words[C]=n.words[C];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var k=n.words[9];for(c.words[c.length++]=k&m,C=10;C<n.length;C++){var L=0|n.words[C];n.words[C-10]=(L&m)<<4|k>>>22,k=L}n.words[C-10]=k>>>=22,n.length-=0===k&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m<n.length;m++){var h=0|n.words[m];n.words[m]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ge,ee),S(ae,ee),S(Me,ee),Me.prototype.imulK=function(n){for(var c=0,m=0;m<n.length;m++){var h=19*(0|n.words[m])+c,C=67108863&h;h>>>=26,n.words[m]=C,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ge;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Te.prototype._verify1=function(n){w(0===n.negative,"red works only with positives"),w(n.red,"red works only with red numbers")},Te.prototype._verify2=function(n,c){w(!(n.negative|c.negative),"red works only with positives"),w(n.red&&n.red===c.red,"red works only with red numbers")},Te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Te.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Te.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Te.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Te.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Te.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Te.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Te.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Te.prototype.isqr=function(n){return this.imul(n,n.clone())},Te.prototype.sqr=function(n){return this.mul(n,n)},Te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(w(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);w(!h.isZero());var k=new l(1).toRed(this),L=k.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(L);)r.redIAdd(L);for(var v=this.pow(r,h),V=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=C;0!==N.cmp(k);){for(var Ee=N,ze=0;0!==Ee.cmp(k);ze++)Ee=Ee.redSqr();w(ze<ne);var qe=this.pow(v,new l(1).iushln(ne-ze-1));V=V.redMul(qe),v=qe.redSqr(),N=N.redMul(v),ne=ze}return V},Te.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},Te.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var C=2;C<h.length;C++)h[C]=this.mul(h[C-1],n);var k=h[0],L=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),C=c.length-1;C>=0;C--){for(var v=c.words[C],V=r-1;V>=0;V--){var N=v>>V&1;k!==h[0]&&(k=this.sqr(k)),0!==N||0!==L?(L<<=1,L|=N,(4==++_||0===C&&0===V)&&(k=this.mul(k,h[L]),_=0,L=0)):_=0}r=26}return k},Te.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Te.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new de(n)},S(de,Te),de.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},de.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},de.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},9210:Qe=>{function te(g,e){if(!g)throw new Error(e||"Assertion failed")}Qe.exports=te,te.equal=function(e,t,w){if(e!=t)throw new Error(w||"Assertion failed: "+e+" != "+t)}},1832:(Qe,te)=>{"use strict";var g=te;function t(S){return 1===S.length?"0"+S:S}function w(S){for(var l="",x=0;x<S.length;x++)l+=t(S[x].toString(16));return l}g.toArray=function e(S,l){if(Array.isArray(S))return S.slice();if(!S)return[];var x=[];if("string"!=typeof S){for(var f=0;f<S.length;f++)x[f]=0|S[f];return x}if("hex"===l)for((S=S.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(S="0"+S),f=0;f<S.length;f+=2)x.push(parseInt(S[f]+S[f+1],16));else for(f=0;f<S.length;f++){var I=S.charCodeAt(f),d=I>>8,T=255&I;d?x.push(d,T):x.push(T)}return x},g.zero2=t,g.toHex=w,g.encode=function(l,x){return"hex"===x?w(l):l}},1264:(Qe,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});var e=g(4478);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(te,t,{enumerable:!0,get:function(){return e[t]}})})},3138:(Qe,te,g)=>{"use strict";var e=g(1990);te.certificate=g(4772);var t=e.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())});te.RSAPrivateKey=t;var w=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});te.RSAPublicKey=w;var S=e.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())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(S),this.key("subjectPublicKey").bitstr())});te.PublicKey=l;var x=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(S),this.key("subjectPrivateKey").octstr())});te.PrivateKey=x;var f=e.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())});te.EncryptedPrivateKey=f;var I=e.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())});te.DSAPrivateKey=I,te.DSAparam=e.define("DSAparam",function(){this.int()});var d=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),T=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())});te.ECPrivateKey=T,te.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(Qe,te,g)=>{"use strict";var e=g(1990),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),w=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),S=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(S),this.key("subjectPublicKey").bitstr())}),x=e.define("RelativeDistinguishedName",function(){this.setof(w)}),f=e.define("RDNSequence",function(){this.seqof(x)}),I=e.define("Name",function(){this.choice({rdnSequence:this.use(f)})}),d=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),T=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),y=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(S),this.key("issuer").use(I),this.key("validity").use(d),this.key("subject").use(I),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(T).optional())}),F=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(y),this.key("signatureAlgorithm").use(S),this.key("signatureValue").bitstr())});Qe.exports=F},9472:(Qe,te,g)=>{"use strict";var e=/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,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,w=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,S=g(592),l=g(3388),x=g(7054).Buffer;Qe.exports=function(f,I){var y,d=f.toString(),T=d.match(e);if(T){var R="aes"+T[1],z=x.from(T[2],"hex"),W=x.from(T[3].replace(/[\r\n]/g,""),"base64"),$=S(I,z.slice(0,8),parseInt(T[1],10)).key,j=[],Q=l.createDecipheriv(R,$,z);j.push(Q.update(W)),j.push(Q.final()),y=x.concat(j)}else{var F=d.match(w);y=x.from(F[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(t)[1],data:y}}},5667:(Qe,te,g)=>{"use strict";var e=g(3138),t=g(5579),w=g(9472),S=g(3388),l=g(3397),x=g(7054).Buffer;function I(d){var T;"object"==typeof d&&!x.isBuffer(d)&&(T=d.passphrase,d=d.key),"string"==typeof d&&(d=x.from(d));var z,W,y=w(d,T),F=y.tag,R=y.data;switch(F){case"CERTIFICATE":W=e.certificate.decode(R,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(W||(W=e.PublicKey.decode(R,"der")),z=W.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(W.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return W.subjectPrivateKey=W.subjectPublicKey,{type:"ec",data:W};case"1.2.840.10040.4.1":return W.algorithm.params.pub_key=e.DSAparam.decode(W.subjectPublicKey.data,"der"),{type:"dsa",data:W.algorithm.params};default:throw new Error("unknown key id "+z)}case"ENCRYPTED PRIVATE KEY":R=function f(d,T){var y=d.algorithm.decrypt.kde.kdeparams.salt,F=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),R=t[d.algorithm.decrypt.cipher.algo.join(".")],z=d.algorithm.decrypt.cipher.iv,W=d.subjectPrivateKey,$=parseInt(R.split("-")[1],10)/8,j=l.pbkdf2Sync(T,y,F,$,"sha1"),Q=S.createDecipheriv(R,j,z),J=[];return J.push(Q.update(W)),J.push(Q.final()),x.concat(J)}(R=e.EncryptedPrivateKey.decode(R,"der"),T);case"PRIVATE KEY":switch(z=(W=e.PrivateKey.decode(R,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(W.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:W.algorithm.curve,privateKey:e.ECPrivateKey.decode(W.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return W.algorithm.params.priv_key=e.DSAparam.decode(W.subjectPrivateKey,"der"),{type:"dsa",params:W.algorithm.params};default:throw new Error("unknown key id "+z)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(R,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(R,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(R,"der")};case"EC PRIVATE KEY":return{curve:(R=e.ECPrivateKey.decode(R,"der")).parameters.value,privateKey:R.privateKey};default:throw new Error("unknown key type "+F)}}I.signature=e.signature,Qe.exports=I},3397:(Qe,te,g)=>{te.pbkdf2=g(2685),te.pbkdf2Sync=g(9111)},2685:(Qe,te,g)=>{var x,y,e=g(7054).Buffer,t=g(6111),w=g(5392),S=g(9111),l=g(6643),f=global.crypto&&global.crypto.subtle,I={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"},d=[];function F(){return y||(y=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function R(W,$,j,Q,J){return f.importKey("raw",W,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ee){return f.deriveBits({name:"PBKDF2",salt:$,iterations:j,hash:{name:J}},ee,Q<<3)}).then(function(ee){return e.from(ee)})}Qe.exports=function(W,$,j,Q,J,ee){"function"==typeof J&&(ee=J,J=void 0);var ie=I[(J=J||"sha1").toLowerCase()];if(ie&&"function"==typeof global.Promise){if(t(j,Q),W=l(W,w,"Password"),$=l($,w,"Salt"),"function"!=typeof ee)throw new Error("No callback provided to pbkdf2");!function z(W,$){W.then(function(j){F()(function(){$(null,j)})},function(j){F()(function(){$(j)})})}(function T(W){if(global.process&&!global.process.browser||!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==d[W])return d[W];var $=R(x=x||e.alloc(8),x,10,128,W).then(function(){return!0}).catch(function(){return!1});return d[W]=$,$}(ie).then(function(ge){return ge?R(W,$,j,Q,ie):S(W,$,j,Q,J)}),ee)}else F()(function(){var ge;try{ge=S(W,$,j,Q,J)}catch(ae){return ee(ae)}ee(null,ge)})}},5392:Qe=>{var te;te=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",Qe.exports=te},6111:Qe=>{var te=Math.pow(2,30)-1;Qe.exports=function(g,e){if("number"!=typeof g)throw new TypeError("Iterations not a number");if(g<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>te||e!=e)throw new TypeError("Bad key length")}},9111:(Qe,te,g)=>{var e=g(3407),t=g(6636),w=g(5443),S=g(7054).Buffer,l=g(6111),x=g(5392),f=g(6643),I=S.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function T(R,z,W){var $=function y(R){return"rmd160"===R||"ripemd160"===R?function W($){return(new t).update($).digest()}:"md5"===R?e:function z($){return w(R).update($).digest()}}(R),j="sha512"===R||"sha384"===R?128:64;z.length>j?z=$(z):z.length<j&&(z=S.concat([z,I],j));for(var Q=S.allocUnsafe(j+d[R]),J=S.allocUnsafe(j+d[R]),ee=0;ee<j;ee++)Q[ee]=54^z[ee],J[ee]=92^z[ee];var ie=S.allocUnsafe(j+W+4);Q.copy(ie,0,0,j),this.ipad1=ie,this.ipad2=Q,this.opad=J,this.alg=R,this.blocksize=j,this.hash=$,this.size=d[R]}T.prototype.run=function(R,z){return R.copy(z,this.blocksize),this.hash(z).copy(this.opad,this.blocksize),this.hash(this.opad)},Qe.exports=function F(R,z,W,$,j){l(W,$);var Q=new T(j=j||"sha1",R=f(R,x,"Password"),(z=f(z,x,"Salt")).length),J=S.allocUnsafe($),ee=S.allocUnsafe(z.length+4);z.copy(ee,0,0,z.length);for(var ie=0,ge=d[j],ae=Math.ceil($/ge),Me=1;Me<=ae;Me++){ee.writeUInt32BE(Me,z.length);for(var Te=Q.run(ee,Q.ipad1),de=Te,D=1;D<W;D++){de=Q.run(de,Q.ipad2);for(var n=0;n<ge;n++)Te[n]^=de[n]}Te.copy(J,ie),ie+=ge}return J}},6643:(Qe,te,g)=>{var e=g(7054).Buffer;Qe.exports=function(t,w,S){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,w);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(S+" must be a string, a Buffer, a typed array or a DataView")}},9656:Qe=>{"use strict";Qe.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function te(g,e,t,w){if("function"!=typeof g)throw new TypeError('"callback" argument must be a function');var l,x,S=arguments.length;switch(S){case 0:case 1:return process.nextTick(g);case 2:return process.nextTick(function(){g.call(null,e)});case 3:return process.nextTick(function(){g.call(null,e,t)});case 4:return process.nextTick(function(){g.call(null,e,t,w)});default:for(l=new Array(S-1),x=0;x<l.length;)l[x++]=arguments[x];return process.nextTick(function(){g.apply(null,l)})}}}:process},2965:(Qe,te,g)=>{te.publicEncrypt=g(7267),te.privateDecrypt=g(8613),te.privateEncrypt=function(t,w){return te.publicEncrypt(t,w,!0)},te.publicDecrypt=function(t,w){return te.privateDecrypt(t,w,!0)}},715:(Qe,te,g)=>{var e=g(7211),t=g(7054).Buffer;function w(S){var l=t.allocUnsafe(4);return l.writeUInt32BE(S,0),l}Qe.exports=function(S,l){for(var I,x=t.alloc(0),f=0;x.length<l;)I=w(f++),x=t.concat([x,e("sha1").update(S).update(I).digest()]);return x.slice(0,l)}},6508:function(Qe,te,g){!function(e,t){"use strict";function w(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var c=function(){};c.prototype=n.prototype,D.prototype=new c,D.prototype.constructor=D}function l(D,n,c){if(l.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(c=n,n=10),this._init(D||0,n||10,c||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:g(1069).Buffer}catch{}function f(D,n){var c=D.charCodeAt(n);return c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:c-48&15}function I(D,n,c){var m=f(D,c);return c-1>=n&&(m|=f(D,c-1)<<4),m}function d(D,n,c,m){for(var h=0,C=Math.min(D.length,c),k=n;k<C;k++){var L=D.charCodeAt(k)-48;h*=m,h+=L>=49?L-49+10:L>=17?L-17+10:L}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,c){return n.cmp(c)>0?n:c},l.min=function(n,c){return n.cmp(c)<0?n:c},l.prototype._init=function(n,c,m){if("number"==typeof n)return this._initNumber(n,c,m);if("object"==typeof n)return this._initArray(n,c,m);"hex"===c&&(c=16),w(c===(0|c)&&c>=2&&c<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===c?this._parseHex(n,h,m):(this._parseBase(n,c,h),"le"===m&&this._initArray(this.toArray(),c,m)))},l.prototype._initNumber=function(n,c,m){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(w(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),c,m)},l.prototype._initArray=function(n,c,m){if(w("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var C,k,L=0;if("be"===m)for(h=n.length-1,C=0;h>=0;h-=3)this.words[C]|=(k=n[h]|n[h-1]<<8|n[h-2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);else if("le"===m)for(h=0,C=0;h<n.length;h+=3)this.words[C]|=(k=n[h]|n[h+1]<<8|n[h+2]<<16)<<L&67108863,this.words[C+1]=k>>>26-L&67108863,(L+=24)>=26&&(L-=26,C++);return this.strip()},l.prototype._parseHex=function(n,c,m){this.length=Math.ceil((n.length-c)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var L,C=0,k=0;if("be"===m)for(h=n.length-1;h>=c;h-=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;else for(h=(n.length-c)%2==0?c+1:c;h<n.length;h+=2)L=I(n,c,h)<<C,this.words[k]|=67108863&L,C>=18?(C-=18,this.words[k+=1]|=L>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,c,m){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=c)h++;h--,C=C/c|0;for(var k=n.length-m,L=k%h,_=Math.min(k,k-L)+m,r=0,v=m;v<_;v+=h)r=d(n,v,v+h,c),this.imuln(C),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==L){var V=1;for(r=d(n,v,n.length,c),v=0;v<L;v++)V*=c;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var c=0;c<this.length;c++)n.words[c]=this.words[c];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],y=[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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(D,n,c){c.negative=n.negative^D.negative;var m=D.length+n.length|0;c.length=m,m=m-1|0;var h=0|D.words[0],C=0|n.words[0],k=h*C,_=k/67108864|0;c.words[0]=67108863&k;for(var r=1;r<m;r++){for(var v=_>>>26,V=67108863&_,N=Math.min(r,n.length-1),ne=Math.max(0,r-D.length+1);ne<=N;ne++)v+=(k=(h=0|D.words[r-ne|0])*(C=0|n.words[ne])+V)/67108864|0,V=67108863&k;c.words[r]=0|V,_=0|v}return 0!==_?c.words[r]=0|_:c.length--,c.strip()}l.prototype.toString=function(n,c){var m;if(c=0|c||1,16===(n=n||10)||"hex"===n){m="";for(var h=0,C=0,k=0;k<this.length;k++){var L=this.words[k],_=(16777215&(L<<h|C)).toString(16);m=0!=(C=L>>>24-h&16777215)||k!==this.length-1?T[6-_.length]+_+m:_+m,(h+=2)>=26&&(h-=26,k--)}for(0!==C&&(m=C.toString(16)+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(n===(0|n)&&n>=2&&n<=36){var r=y[n],v=F[n];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(v).toString(n);m=(V=V.idivn(v)).isZero()?N+m:T[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%c!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}w(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&w(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,c){return w(typeof x<"u"),this.toArrayLike(x,n,c)},l.prototype.toArray=function(n,c){return this.toArrayLike(Array,n,c)},l.prototype.toArrayLike=function(n,c,m){var h=this.byteLength(),C=m||Math.max(1,h);w(h<=C,"byte array longer than desired length"),w(C>0,"Requested array length <= 0"),this.strip();var _,r,k="le"===c,L=new n(C),v=this.clone();if(k){for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[r]=_;for(;r<C;r++)L[r]=0}else{for(r=0;r<C-h;r++)L[r]=0;for(r=0;!v.isZero();r++)_=v.andln(255),v.iushrn(8),L[C-r-1]=_}return L},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var c=n,m=0;return c>=4096&&(m+=13,c>>>=13),c>=64&&(m+=7,c>>>=7),c>=8&&(m+=4,c>>>=4),c>=2&&(m+=2,c>>>=2),m+c},l.prototype._zeroBits=function(n){if(0===n)return 26;var c=n,m=0;return 8191&c||(m+=13,c>>>=13),127&c||(m+=7,c>>>=7),15&c||(m+=4,c>>>=4),3&c||(m+=2,c>>>=2),1&c||m++,m},l.prototype.bitLength=function(){var c=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+c},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,c=0;c<this.length;c++){var m=this._zeroBits(this.words[c]);if(n+=m,26!==m)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var c=0;c<n.length;c++)this.words[c]=this.words[c]|n.words[c];return this.strip()},l.prototype.ior=function(n){return w(!(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var c;c=this.length>n.length?n:this;for(var m=0;m<c.length;m++)this.words[m]=this.words[m]&n.words[m];return this.length=c.length,this.strip()},l.prototype.iand=function(n){return w(!(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var c,m;this.length>n.length?(c=this,m=n):(c=n,m=this);for(var h=0;h<m.length;h++)this.words[h]=c.words[h]^m.words[h];if(this!==c)for(;h<c.length;h++)this.words[h]=c.words[h];return this.length=c.length,this.strip()},l.prototype.ixor=function(n){return w(!(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){w("number"==typeof n&&n>=0);var c=0|Math.ceil(n/26),m=n%26;this._expand(c),m>0&&c--;for(var h=0;h<c;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,c){w("number"==typeof n&&n>=0);var m=n/26|0,h=n%26;return this._expand(m+1),this.words[m]=c?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var c,m,h;if(0!==this.negative&&0===n.negative)return this.negative=0,c=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,c=this.isub(n),n.negative=1,c._normSign();this.length>n.length?(m=this,h=n):(m=n,h=this);for(var C=0,k=0;k<h.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+(0|h.words[k])+C),C=c>>>26;for(;0!==C&&k<m.length;k++)this.words[k]=67108863&(c=(0|m.words[k])+C),C=c>>>26;if(this.length=m.length,0!==C)this.words[this.length]=C,this.length++;else if(m!==this)for(;k<m.length;k++)this.words[k]=m.words[k];return this},l.prototype.add=function(n){var c;return 0!==n.negative&&0===this.negative?(n.negative=0,c=this.sub(n),n.negative^=1,c):0===n.negative&&0!==this.negative?(this.negative=0,c=n.sub(this),this.negative=1,c):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var c=this.iadd(n);return n.negative=1,c._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,m=this.cmp(n);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,C=n):(h=n,C=this);for(var k=0,L=0;L<C.length;L++)k=(c=(0|h.words[L])-(0|C.words[L])+k)>>26,this.words[L]=67108863&c;for(;0!==k&&L<h.length;L++)k=(c=(0|h.words[L])+k)>>26,this.words[L]=67108863&c;if(0===k&&L<h.length&&h!==this)for(;L<h.length;L++)this.words[L]=h.words[L];return this.length=Math.max(this.length,L),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var W=function(n,c,m){var _,r,v,h=n.words,C=c.words,k=m.words,L=0,V=0|h[0],N=8191&V,ne=V>>>13,Ee=0|h[1],ze=8191&Ee,qe=Ee>>>13,Ke=0|h[2],se=8191&Ke,X=Ke>>>13,me=0|h[3],ce=8191&me,fe=me>>>13,ke=0|h[4],mt=8191&ke,_e=ke>>>13,be=0|h[5],pe=8191&be,Ze=be>>>13,_t=0|h[6],at=8191&_t,pt=_t>>>13,Xt=0|h[7],ye=8191&Xt,ue=Xt>>>13,Ie=0|h[8],He=8191&Ie,Xe=Ie>>>13,yt=0|h[9],Ye=8191&yt,rt=yt>>>13,Yt=0|C[0],Nt=8191&Yt,Et=Yt>>>13,Vt=0|C[1],oe=8191&Vt,tt=Vt>>>13,$t=0|C[2],zt=8191&$t,Jt=$t>>>13,St=0|C[3],dt=8191&St,Ae=St>>>13,we=0|C[4],he=8191&we,q=we>>>13,Re=0|C[5],Ne=8191&Re,gt=Re>>>13,$e=0|C[6],Fe=8191&$e,Ge=$e>>>13,et=0|C[7],st=8191&et,Tt=et>>>13,mi=0|C[8],Kt=8191&mi,Pt=mi>>>13,Xi=0|C[9],di=8191&Xi,fi=Xi>>>13;m.negative=n.negative^c.negative,m.length=19;var vn=(L+(_=Math.imul(N,Nt))|0)+((8191&(r=(r=Math.imul(N,Et))+Math.imul(ne,Nt)|0))<<13)|0;L=((v=Math.imul(ne,Et))+(r>>>13)|0)+(vn>>>26)|0,vn&=67108863,_=Math.imul(ze,Nt),r=(r=Math.imul(ze,Et))+Math.imul(qe,Nt)|0,v=Math.imul(qe,Et);var Qi=(L+(_=_+Math.imul(N,oe)|0)|0)+((8191&(r=(r=r+Math.imul(N,tt)|0)+Math.imul(ne,oe)|0))<<13)|0;L=((v=v+Math.imul(ne,tt)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,_=Math.imul(se,Nt),r=(r=Math.imul(se,Et))+Math.imul(X,Nt)|0,v=Math.imul(X,Et),_=_+Math.imul(ze,oe)|0,r=(r=r+Math.imul(ze,tt)|0)+Math.imul(qe,oe)|0,v=v+Math.imul(qe,tt)|0;var Li=(L+(_=_+Math.imul(N,zt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Jt)|0)+Math.imul(ne,zt)|0))<<13)|0;L=((v=v+Math.imul(ne,Jt)|0)+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,_=Math.imul(ce,Nt),r=(r=Math.imul(ce,Et))+Math.imul(fe,Nt)|0,v=Math.imul(fe,Et),_=_+Math.imul(se,oe)|0,r=(r=r+Math.imul(se,tt)|0)+Math.imul(X,oe)|0,v=v+Math.imul(X,tt)|0,_=_+Math.imul(ze,zt)|0,r=(r=r+Math.imul(ze,Jt)|0)+Math.imul(qe,zt)|0,v=v+Math.imul(qe,Jt)|0;var Zi=(L+(_=_+Math.imul(N,dt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ae)|0)+Math.imul(ne,dt)|0))<<13)|0;L=((v=v+Math.imul(ne,Ae)|0)+(r>>>13)|0)+(Zi>>>26)|0,Zi&=67108863,_=Math.imul(mt,Nt),r=(r=Math.imul(mt,Et))+Math.imul(_e,Nt)|0,v=Math.imul(_e,Et),_=_+Math.imul(ce,oe)|0,r=(r=r+Math.imul(ce,tt)|0)+Math.imul(fe,oe)|0,v=v+Math.imul(fe,tt)|0,_=_+Math.imul(se,zt)|0,r=(r=r+Math.imul(se,Jt)|0)+Math.imul(X,zt)|0,v=v+Math.imul(X,Jt)|0,_=_+Math.imul(ze,dt)|0,r=(r=r+Math.imul(ze,Ae)|0)+Math.imul(qe,dt)|0,v=v+Math.imul(qe,Ae)|0;var Qt=(L+(_=_+Math.imul(N,he)|0)|0)+((8191&(r=(r=r+Math.imul(N,q)|0)+Math.imul(ne,he)|0))<<13)|0;L=((v=v+Math.imul(ne,q)|0)+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,_=Math.imul(pe,Nt),r=(r=Math.imul(pe,Et))+Math.imul(Ze,Nt)|0,v=Math.imul(Ze,Et),_=_+Math.imul(mt,oe)|0,r=(r=r+Math.imul(mt,tt)|0)+Math.imul(_e,oe)|0,v=v+Math.imul(_e,tt)|0,_=_+Math.imul(ce,zt)|0,r=(r=r+Math.imul(ce,Jt)|0)+Math.imul(fe,zt)|0,v=v+Math.imul(fe,Jt)|0,_=_+Math.imul(se,dt)|0,r=(r=r+Math.imul(se,Ae)|0)+Math.imul(X,dt)|0,v=v+Math.imul(X,Ae)|0,_=_+Math.imul(ze,he)|0,r=(r=r+Math.imul(ze,q)|0)+Math.imul(qe,he)|0,v=v+Math.imul(qe,q)|0;var Mt=(L+(_=_+Math.imul(N,Ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(ne,Ne)|0))<<13)|0;L=((v=v+Math.imul(ne,gt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,_=Math.imul(at,Nt),r=(r=Math.imul(at,Et))+Math.imul(pt,Nt)|0,v=Math.imul(pt,Et),_=_+Math.imul(pe,oe)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(Ze,oe)|0,v=v+Math.imul(Ze,tt)|0,_=_+Math.imul(mt,zt)|0,r=(r=r+Math.imul(mt,Jt)|0)+Math.imul(_e,zt)|0,v=v+Math.imul(_e,Jt)|0,_=_+Math.imul(ce,dt)|0,r=(r=r+Math.imul(ce,Ae)|0)+Math.imul(fe,dt)|0,v=v+Math.imul(fe,Ae)|0,_=_+Math.imul(se,he)|0,r=(r=r+Math.imul(se,q)|0)+Math.imul(X,he)|0,v=v+Math.imul(X,q)|0,_=_+Math.imul(ze,Ne)|0,r=(r=r+Math.imul(ze,gt)|0)+Math.imul(qe,Ne)|0,v=v+Math.imul(qe,gt)|0;var it=(L+(_=_+Math.imul(N,Fe)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ge)|0)+Math.imul(ne,Fe)|0))<<13)|0;L=((v=v+Math.imul(ne,Ge)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,_=Math.imul(ye,Nt),r=(r=Math.imul(ye,Et))+Math.imul(ue,Nt)|0,v=Math.imul(ue,Et),_=_+Math.imul(at,oe)|0,r=(r=r+Math.imul(at,tt)|0)+Math.imul(pt,oe)|0,v=v+Math.imul(pt,tt)|0,_=_+Math.imul(pe,zt)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(Ze,zt)|0,v=v+Math.imul(Ze,Jt)|0,_=_+Math.imul(mt,dt)|0,r=(r=r+Math.imul(mt,Ae)|0)+Math.imul(_e,dt)|0,v=v+Math.imul(_e,Ae)|0,_=_+Math.imul(ce,he)|0,r=(r=r+Math.imul(ce,q)|0)+Math.imul(fe,he)|0,v=v+Math.imul(fe,q)|0,_=_+Math.imul(se,Ne)|0,r=(r=r+Math.imul(se,gt)|0)+Math.imul(X,Ne)|0,v=v+Math.imul(X,gt)|0,_=_+Math.imul(ze,Fe)|0,r=(r=r+Math.imul(ze,Ge)|0)+Math.imul(qe,Fe)|0,v=v+Math.imul(qe,Ge)|0;var ct=(L+(_=_+Math.imul(N,st)|0)|0)+((8191&(r=(r=r+Math.imul(N,Tt)|0)+Math.imul(ne,st)|0))<<13)|0;L=((v=v+Math.imul(ne,Tt)|0)+(r>>>13)|0)+(ct>>>26)|0,ct&=67108863,_=Math.imul(He,Nt),r=(r=Math.imul(He,Et))+Math.imul(Xe,Nt)|0,v=Math.imul(Xe,Et),_=_+Math.imul(ye,oe)|0,r=(r=r+Math.imul(ye,tt)|0)+Math.imul(ue,oe)|0,v=v+Math.imul(ue,tt)|0,_=_+Math.imul(at,zt)|0,r=(r=r+Math.imul(at,Jt)|0)+Math.imul(pt,zt)|0,v=v+Math.imul(pt,Jt)|0,_=_+Math.imul(pe,dt)|0,r=(r=r+Math.imul(pe,Ae)|0)+Math.imul(Ze,dt)|0,v=v+Math.imul(Ze,Ae)|0,_=_+Math.imul(mt,he)|0,r=(r=r+Math.imul(mt,q)|0)+Math.imul(_e,he)|0,v=v+Math.imul(_e,q)|0,_=_+Math.imul(ce,Ne)|0,r=(r=r+Math.imul(ce,gt)|0)+Math.imul(fe,Ne)|0,v=v+Math.imul(fe,gt)|0,_=_+Math.imul(se,Fe)|0,r=(r=r+Math.imul(se,Ge)|0)+Math.imul(X,Fe)|0,v=v+Math.imul(X,Ge)|0,_=_+Math.imul(ze,st)|0,r=(r=r+Math.imul(ze,Tt)|0)+Math.imul(qe,st)|0,v=v+Math.imul(qe,Tt)|0;var wt=(L+(_=_+Math.imul(N,Kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(ne,Kt)|0))<<13)|0;L=((v=v+Math.imul(ne,Pt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,_=Math.imul(Ye,Nt),r=(r=Math.imul(Ye,Et))+Math.imul(rt,Nt)|0,v=Math.imul(rt,Et),_=_+Math.imul(He,oe)|0,r=(r=r+Math.imul(He,tt)|0)+Math.imul(Xe,oe)|0,v=v+Math.imul(Xe,tt)|0,_=_+Math.imul(ye,zt)|0,r=(r=r+Math.imul(ye,Jt)|0)+Math.imul(ue,zt)|0,v=v+Math.imul(ue,Jt)|0,_=_+Math.imul(at,dt)|0,r=(r=r+Math.imul(at,Ae)|0)+Math.imul(pt,dt)|0,v=v+Math.imul(pt,Ae)|0,_=_+Math.imul(pe,he)|0,r=(r=r+Math.imul(pe,q)|0)+Math.imul(Ze,he)|0,v=v+Math.imul(Ze,q)|0,_=_+Math.imul(mt,Ne)|0,r=(r=r+Math.imul(mt,gt)|0)+Math.imul(_e,Ne)|0,v=v+Math.imul(_e,gt)|0,_=_+Math.imul(ce,Fe)|0,r=(r=r+Math.imul(ce,Ge)|0)+Math.imul(fe,Fe)|0,v=v+Math.imul(fe,Ge)|0,_=_+Math.imul(se,st)|0,r=(r=r+Math.imul(se,Tt)|0)+Math.imul(X,st)|0,v=v+Math.imul(X,Tt)|0,_=_+Math.imul(ze,Kt)|0,r=(r=r+Math.imul(ze,Pt)|0)+Math.imul(qe,Kt)|0,v=v+Math.imul(qe,Pt)|0;var Ut=(L+(_=_+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(ne,di)|0))<<13)|0;L=((v=v+Math.imul(ne,fi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,_=Math.imul(Ye,oe),r=(r=Math.imul(Ye,tt))+Math.imul(rt,oe)|0,v=Math.imul(rt,tt),_=_+Math.imul(He,zt)|0,r=(r=r+Math.imul(He,Jt)|0)+Math.imul(Xe,zt)|0,v=v+Math.imul(Xe,Jt)|0,_=_+Math.imul(ye,dt)|0,r=(r=r+Math.imul(ye,Ae)|0)+Math.imul(ue,dt)|0,v=v+Math.imul(ue,Ae)|0,_=_+Math.imul(at,he)|0,r=(r=r+Math.imul(at,q)|0)+Math.imul(pt,he)|0,v=v+Math.imul(pt,q)|0,_=_+Math.imul(pe,Ne)|0,r=(r=r+Math.imul(pe,gt)|0)+Math.imul(Ze,Ne)|0,v=v+Math.imul(Ze,gt)|0,_=_+Math.imul(mt,Fe)|0,r=(r=r+Math.imul(mt,Ge)|0)+Math.imul(_e,Fe)|0,v=v+Math.imul(_e,Ge)|0,_=_+Math.imul(ce,st)|0,r=(r=r+Math.imul(ce,Tt)|0)+Math.imul(fe,st)|0,v=v+Math.imul(fe,Tt)|0,_=_+Math.imul(se,Kt)|0,r=(r=r+Math.imul(se,Pt)|0)+Math.imul(X,Kt)|0,v=v+Math.imul(X,Pt)|0;var xi=(L+(_=_+Math.imul(ze,di)|0)|0)+((8191&(r=(r=r+Math.imul(ze,fi)|0)+Math.imul(qe,di)|0))<<13)|0;L=((v=v+Math.imul(qe,fi)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,_=Math.imul(Ye,zt),r=(r=Math.imul(Ye,Jt))+Math.imul(rt,zt)|0,v=Math.imul(rt,Jt),_=_+Math.imul(He,dt)|0,r=(r=r+Math.imul(He,Ae)|0)+Math.imul(Xe,dt)|0,v=v+Math.imul(Xe,Ae)|0,_=_+Math.imul(ye,he)|0,r=(r=r+Math.imul(ye,q)|0)+Math.imul(ue,he)|0,v=v+Math.imul(ue,q)|0,_=_+Math.imul(at,Ne)|0,r=(r=r+Math.imul(at,gt)|0)+Math.imul(pt,Ne)|0,v=v+Math.imul(pt,gt)|0,_=_+Math.imul(pe,Fe)|0,r=(r=r+Math.imul(pe,Ge)|0)+Math.imul(Ze,Fe)|0,v=v+Math.imul(Ze,Ge)|0,_=_+Math.imul(mt,st)|0,r=(r=r+Math.imul(mt,Tt)|0)+Math.imul(_e,st)|0,v=v+Math.imul(_e,Tt)|0,_=_+Math.imul(ce,Kt)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(fe,Kt)|0,v=v+Math.imul(fe,Pt)|0;var Si=(L+(_=_+Math.imul(se,di)|0)|0)+((8191&(r=(r=r+Math.imul(se,fi)|0)+Math.imul(X,di)|0))<<13)|0;L=((v=v+Math.imul(X,fi)|0)+(r>>>13)|0)+(Si>>>26)|0,Si&=67108863,_=Math.imul(Ye,dt),r=(r=Math.imul(Ye,Ae))+Math.imul(rt,dt)|0,v=Math.imul(rt,Ae),_=_+Math.imul(He,he)|0,r=(r=r+Math.imul(He,q)|0)+Math.imul(Xe,he)|0,v=v+Math.imul(Xe,q)|0,_=_+Math.imul(ye,Ne)|0,r=(r=r+Math.imul(ye,gt)|0)+Math.imul(ue,Ne)|0,v=v+Math.imul(ue,gt)|0,_=_+Math.imul(at,Fe)|0,r=(r=r+Math.imul(at,Ge)|0)+Math.imul(pt,Fe)|0,v=v+Math.imul(pt,Ge)|0,_=_+Math.imul(pe,st)|0,r=(r=r+Math.imul(pe,Tt)|0)+Math.imul(Ze,st)|0,v=v+Math.imul(Ze,Tt)|0,_=_+Math.imul(mt,Kt)|0,r=(r=r+Math.imul(mt,Pt)|0)+Math.imul(_e,Kt)|0,v=v+Math.imul(_e,Pt)|0;var zi=(L+(_=_+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(fe,di)|0))<<13)|0;L=((v=v+Math.imul(fe,fi)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,_=Math.imul(Ye,he),r=(r=Math.imul(Ye,q))+Math.imul(rt,he)|0,v=Math.imul(rt,q),_=_+Math.imul(He,Ne)|0,r=(r=r+Math.imul(He,gt)|0)+Math.imul(Xe,Ne)|0,v=v+Math.imul(Xe,gt)|0,_=_+Math.imul(ye,Fe)|0,r=(r=r+Math.imul(ye,Ge)|0)+Math.imul(ue,Fe)|0,v=v+Math.imul(ue,Ge)|0,_=_+Math.imul(at,st)|0,r=(r=r+Math.imul(at,Tt)|0)+Math.imul(pt,st)|0,v=v+Math.imul(pt,Tt)|0,_=_+Math.imul(pe,Kt)|0,r=(r=r+Math.imul(pe,Pt)|0)+Math.imul(Ze,Kt)|0,v=v+Math.imul(Ze,Pt)|0;var en=(L+(_=_+Math.imul(mt,di)|0)|0)+((8191&(r=(r=r+Math.imul(mt,fi)|0)+Math.imul(_e,di)|0))<<13)|0;L=((v=v+Math.imul(_e,fi)|0)+(r>>>13)|0)+(en>>>26)|0,en&=67108863,_=Math.imul(Ye,Ne),r=(r=Math.imul(Ye,gt))+Math.imul(rt,Ne)|0,v=Math.imul(rt,gt),_=_+Math.imul(He,Fe)|0,r=(r=r+Math.imul(He,Ge)|0)+Math.imul(Xe,Fe)|0,v=v+Math.imul(Xe,Ge)|0,_=_+Math.imul(ye,st)|0,r=(r=r+Math.imul(ye,Tt)|0)+Math.imul(ue,st)|0,v=v+Math.imul(ue,Tt)|0,_=_+Math.imul(at,Kt)|0,r=(r=r+Math.imul(at,Pt)|0)+Math.imul(pt,Kt)|0,v=v+Math.imul(pt,Pt)|0;var Ni=(L+(_=_+Math.imul(pe,di)|0)|0)+((8191&(r=(r=r+Math.imul(pe,fi)|0)+Math.imul(Ze,di)|0))<<13)|0;L=((v=v+Math.imul(Ze,fi)|0)+(r>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,_=Math.imul(Ye,Fe),r=(r=Math.imul(Ye,Ge))+Math.imul(rt,Fe)|0,v=Math.imul(rt,Ge),_=_+Math.imul(He,st)|0,r=(r=r+Math.imul(He,Tt)|0)+Math.imul(Xe,st)|0,v=v+Math.imul(Xe,Tt)|0,_=_+Math.imul(ye,Kt)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(ue,Kt)|0,v=v+Math.imul(ue,Pt)|0;var fn=(L+(_=_+Math.imul(at,di)|0)|0)+((8191&(r=(r=r+Math.imul(at,fi)|0)+Math.imul(pt,di)|0))<<13)|0;L=((v=v+Math.imul(pt,fi)|0)+(r>>>13)|0)+(fn>>>26)|0,fn&=67108863,_=Math.imul(Ye,st),r=(r=Math.imul(Ye,Tt))+Math.imul(rt,st)|0,v=Math.imul(rt,Tt),_=_+Math.imul(He,Kt)|0,r=(r=r+Math.imul(He,Pt)|0)+Math.imul(Xe,Kt)|0,v=v+Math.imul(Xe,Pt)|0;var Zt=(L+(_=_+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(ue,di)|0))<<13)|0;L=((v=v+Math.imul(ue,fi)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,_=Math.imul(Ye,Kt),r=(r=Math.imul(Ye,Pt))+Math.imul(rt,Kt)|0,v=Math.imul(rt,Pt);var bt=(L+(_=_+Math.imul(He,di)|0)|0)+((8191&(r=(r=r+Math.imul(He,fi)|0)+Math.imul(Xe,di)|0))<<13)|0;L=((v=v+Math.imul(Xe,fi)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863;var re=(L+(_=Math.imul(Ye,di))|0)+((8191&(r=(r=Math.imul(Ye,fi))+Math.imul(rt,di)|0))<<13)|0;return L=((v=Math.imul(rt,fi))+(r>>>13)|0)+(re>>>26)|0,re&=67108863,k[0]=vn,k[1]=Qi,k[2]=Li,k[3]=Zi,k[4]=Qt,k[5]=Mt,k[6]=it,k[7]=ct,k[8]=wt,k[9]=Ut,k[10]=xi,k[11]=Si,k[12]=zi,k[13]=en,k[14]=Ni,k[15]=fn,k[16]=Zt,k[17]=bt,k[18]=re,0!==L&&(k[19]=L,m.length++),m};function j(D,n,c){return(new Q).mulp(D,n,c)}function Q(D,n){this.x=D,this.y=n}Math.imul||(W=z),l.prototype.mulTo=function(n,c){var m,h=this.length+n.length;return m=10===this.length&&10===n.length?W(this,n,c):h<63?z(this,n,c):h<1024?function $(D,n,c){c.negative=n.negative^D.negative,c.length=D.length+n.length;for(var m=0,h=0,C=0;C<c.length-1;C++){var k=h;h=0;for(var L=67108863&m,_=Math.min(C,n.length-1),r=Math.max(0,C-D.length+1);r<=_;r++){var ne=(0|D.words[C-r])*(0|n.words[r]),Ee=67108863≠L=67108863&(Ee=Ee+L|0),h+=(k=(k=k+(ne/67108864|0)|0)+(Ee>>>26)|0)>>>26,k&=67108863}c.words[C]=L,m=k,k=h}return 0!==m?c.words[C]=m:c.length--,c.strip()}(this,n,c):j(this,n,c),m},Q.prototype.makeRBT=function(n){for(var c=new Array(n),m=l.prototype._countBits(n)-1,h=0;h<n;h++)c[h]=this.revBin(h,m,n);return c},Q.prototype.revBin=function(n,c,m){if(0===n||n===m-1)return n;for(var h=0,C=0;C<c;C++)h|=(1&n)<<c-C-1,n>>=1;return h},Q.prototype.permute=function(n,c,m,h,C,k){for(var L=0;L<k;L++)h[L]=c[n[L]],C[L]=m[n[L]]},Q.prototype.transform=function(n,c,m,h,C,k){this.permute(k,n,c,m,h,C);for(var L=1;L<C;L<<=1)for(var _=L<<1,r=Math.cos(2*Math.PI/_),v=Math.sin(2*Math.PI/_),V=0;V<C;V+=_)for(var N=r,ne=v,Ee=0;Ee<L;Ee++){var ze=m[V+Ee],qe=h[V+Ee],Ke=m[V+Ee+L],se=h[V+Ee+L],X=N*Ke-ne*se;se=N*se+ne*Ke,m[V+Ee]=ze+(Ke=X),h[V+Ee]=qe+se,m[V+Ee+L]=ze-Ke,h[V+Ee+L]=qe-se,Ee!==_&&(X=r*N-v*ne,ne=r*ne+v*N,N=X)}},Q.prototype.guessLen13b=function(n,c){var m=1|Math.max(c,n),h=1&m,C=0;for(m=m/2|0;m;m>>>=1)C++;return 1<<C+1+h},Q.prototype.conjugate=function(n,c,m){if(!(m<=1))for(var h=0;h<m/2;h++){var C=n[h];n[h]=n[m-h-1],n[m-h-1]=C,C=c[h],c[h]=-c[m-h-1],c[m-h-1]=-C}},Q.prototype.normalize13b=function(n,c){for(var m=0,h=0;h<c/2;h++){var C=8192*Math.round(n[2*h+1]/c)+Math.round(n[2*h]/c)+m;n[h]=67108863&C,m=C<67108864?0:C/67108864|0}return n},Q.prototype.convert13b=function(n,c,m,h){for(var C=0,k=0;k<c;k++)m[2*k]=8191&(C+=0|n[k]),m[2*k+1]=8191&(C>>>=13),C>>>=13;for(k=2*c;k<h;++k)m[k]=0;w(0===C),w(!(-8192&C))},Q.prototype.stub=function(n){for(var c=new Array(n),m=0;m<n;m++)c[m]=0;return c},Q.prototype.mulp=function(n,c,m){var h=2*this.guessLen13b(n.length,c.length),C=this.makeRBT(h),k=this.stub(h),L=new Array(h),_=new Array(h),r=new Array(h),v=new Array(h),V=new Array(h),N=new Array(h),ne=m.words;ne.length=h,this.convert13b(n.words,n.length,L,h),this.convert13b(c.words,c.length,v,h),this.transform(L,k,_,r,h,C),this.transform(v,k,V,N,h,C);for(var Ee=0;Ee<h;Ee++){var ze=_[Ee]*V[Ee]-r[Ee]*N[Ee];r[Ee]=_[Ee]*N[Ee]+r[Ee]*V[Ee],_[Ee]=ze}return this.conjugate(_,r,h),this.transform(_,r,ne,k,h,C),this.conjugate(ne,k,h),this.normalize13b(ne,h),m.negative=n.negative^c.negative,m.length=n.length+c.length,m.strip()},l.prototype.mul=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),this.mulTo(n,c)},l.prototype.mulf=function(n){var c=new l(null);return c.words=new Array(this.length+n.length),j(this,n,c)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){w("number"==typeof n),w(n<67108864);for(var c=0,m=0;m<this.length;m++){var h=(0|this.words[m])*n,C=(67108863&h)+(67108863&c);c>>=26,c+=h/67108864|0,c+=C>>>26,this.words[m]=67108863&C}return 0!==c&&(this.words[m]=c,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var c=function R(D){for(var n=new Array(D.bitLength()),c=0;c<n.length;c++){var h=c%26;n[c]=(D.words[c/26|0]&1<<h)>>>h}return n}(n);if(0===c.length)return new l(1);for(var m=this,h=0;h<c.length&&0===c[h];h++,m=m.sqr());if(++h<c.length)for(var C=m.sqr();h<c.length;h++,C=C.sqr())0!==c[h]&&(m=m.mul(C));return m},l.prototype.iushln=function(n){w("number"==typeof n&&n>=0);var C,c=n%26,m=(n-c)/26,h=67108863>>>26-c<<26-c;if(0!==c){var k=0;for(C=0;C<this.length;C++){var L=this.words[C]&h;this.words[C]=(0|this.words[C])-L<<c|k,k=L>>>26-c}k&&(this.words[C]=k,this.length++)}if(0!==m){for(C=this.length-1;C>=0;C--)this.words[C+m]=this.words[C];for(C=0;C<m;C++)this.words[C]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(n){return w(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,c,m){var h;w("number"==typeof n&&n>=0),h=c?(c-c%26)/26:0;var C=n%26,k=Math.min((n-C)/26,this.length),L=67108863^67108863>>>C<<C,_=m;if(h-=k,h=Math.max(0,h),_){for(var r=0;r<k;r++)_.words[r]=this.words[r];_.length=k}if(0!==k)if(this.length>k)for(this.length-=k,r=0;r<this.length;r++)this.words[r]=this.words[r+k];else this.words[0]=0,this.length=1;var v=0;for(r=this.length-1;r>=0&&(0!==v||r>=h);r--){var V=0|this.words[r];this.words[r]=v<<26-C|V>>>C,v=V&L}return _&&0!==v&&(_.words[_.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,c,m){return w(0===this.negative),this.iushrn(n,c,m)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return!(this.length<=m||!(this.words[m]&1<<c))},l.prototype.imaskn=function(n){w("number"==typeof n&&n>=0);var c=n%26,m=(n-c)/26;return w(0===this.negative,"imaskn works only with positive numbers"),this.length<=m?this:(0!==c&&m++,this.length=Math.min(m,this.length),0!==c&&(this.words[this.length-1]&=67108863^67108863>>>c<<c),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return w("number"==typeof n),w(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var c=0;c<this.length&&this.words[c]>=67108864;c++)this.words[c]-=67108864,c===this.length-1?this.words[c+1]=1:this.words[c+1]++;return this.length=Math.max(this.length,c+1),this},l.prototype.isubn=function(n){if(w("number"==typeof n),w(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var c=0;c<this.length&&this.words[c]<0;c++)this.words[c]+=67108864,this.words[c+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,c,m){var C;this._expand(n.length+m);var k,L=0;for(C=0;C<n.length;C++){k=(0|this.words[C+m])+L;var _=(0|n.words[C])*c;L=((k-=67108863&_)>>26)-(_/67108864|0),this.words[C+m]=67108863&k}for(;C<this.length-m;C++)L=(k=(0|this.words[C+m])+L)>>26,this.words[C+m]=67108863&k;if(0===L)return this.strip();for(w(-1===L),L=0,C=0;C<this.length;C++)L=(k=-(0|this.words[C])+L)>>26,this.words[C]=67108863&k;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,c){var m,h=this.clone(),C=n,k=0|C.words[C.length-1];0!=(m=26-this._countBits(k))&&(C=C.ushln(m),h.iushln(m),k=0|C.words[C.length-1]);var r,_=h.length-C.length;if("mod"!==c){(r=new l(null)).length=_+1,r.words=new Array(r.length);for(var v=0;v<r.length;v++)r.words[v]=0}var V=h.clone()._ishlnsubmul(C,1,_);0===V.negative&&(h=V,r&&(r.words[_]=1));for(var N=_-1;N>=0;N--){var ne=67108864*(0|h.words[C.length+N])+(0|h.words[C.length+N-1]);for(ne=Math.min(ne/k|0,67108863),h._ishlnsubmul(C,ne,N);0!==h.negative;)ne--,h.negative=0,h._ishlnsubmul(C,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ne)}return r&&r.strip(),h.strip(),"div"!==c&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(n,c,m){return w(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(k=this.neg().divmod(n,c),"mod"!==c&&(h=k.div.neg()),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(k=this.divmod(n.neg(),c),"mod"!==c&&(h=k.div.neg()),{div:h,mod:k.mod}):this.negative&n.negative?(k=this.neg().divmod(n.neg(),c),"div"!==c&&(C=k.mod.neg(),m&&0!==C.negative&&C.isub(n)),{div:k.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===c?{div:this.divn(n.words[0]),mod:null}:"mod"===c?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,c);var h,C,k},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var c=this.divmod(n);if(c.mod.isZero())return c.div;var m=0!==c.div.negative?c.mod.isub(n):c.mod,h=n.ushrn(1),C=n.andln(1),k=m.cmp(h);return k<0||1===C&&0===k?c.div:0!==c.div.negative?c.div.isubn(1):c.div.iaddn(1)},l.prototype.modn=function(n){w(n<=67108863);for(var c=(1<<26)%n,m=0,h=this.length-1;h>=0;h--)m=(c*m+(0|this.words[h]))%n;return m},l.prototype.idivn=function(n){w(n<=67108863);for(var c=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*c;this.words[m]=h/n|0,c=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){w(0===n.negative),w(!n.isZero());var c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=new l(0),L=new l(1),_=0;c.isEven()&&m.isEven();)c.iushrn(1),m.iushrn(1),++_;for(var r=m.clone(),v=c.clone();!c.isZero();){for(var V=0,N=1;!(c.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(c.iushrn(V);V-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(v)),h.iushrn(1),C.iushrn(1);for(var ne=0,Ee=1;!(m.words[0]&Ee)&&ne<26;++ne,Ee<<=1);if(ne>0)for(m.iushrn(ne);ne-- >0;)(k.isOdd()||L.isOdd())&&(k.iadd(r),L.isub(v)),k.iushrn(1),L.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(k),C.isub(L)):(m.isub(c),k.isub(h),L.isub(C))}return{a:k,b:L,gcd:m.iushln(_)}},l.prototype._invmp=function(n){w(0===n.negative),w(!n.isZero());var V,c=this,m=n.clone();c=0!==c.negative?c.umod(n):c.clone();for(var h=new l(1),C=new l(0),k=m.clone();c.cmpn(1)>0&&m.cmpn(1)>0;){for(var L=0,_=1;!(c.words[0]&_)&&L<26;++L,_<<=1);if(L>0)for(c.iushrn(L);L-- >0;)h.isOdd()&&h.iadd(k),h.iushrn(1);for(var r=0,v=1;!(m.words[0]&v)&&r<26;++r,v<<=1);if(r>0)for(m.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(k),C.iushrn(1);c.cmp(m)>=0?(c.isub(m),h.isub(C)):(m.isub(c),C.isub(h))}return(V=0===c.cmpn(1)?h:C).cmpn(0)<0&&V.iadd(n),V},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var c=this.clone(),m=n.clone();c.negative=0,m.negative=0;for(var h=0;c.isEven()&&m.isEven();h++)c.iushrn(1),m.iushrn(1);for(;;){for(;c.isEven();)c.iushrn(1);for(;m.isEven();)m.iushrn(1);var C=c.cmp(m);if(C<0){var k=c;c=m,m=k}else if(0===C||0===m.cmpn(1))break;c.isub(m)}return m.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return!(1&this.words[0])},l.prototype.isOdd=function(){return!(1&~this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){w("number"==typeof n);var c=n%26,m=(n-c)/26,h=1<<c;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var C=h,k=m;0!==C&&k<this.length;k++){var L=0|this.words[k];C=(L+=C)>>>26,this.words[k]=L&=67108863}return 0!==C&&(this.words[k]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var m,c=n<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this.strip(),this.length>1)m=1;else{c&&(n=-n),w(n<=67108863,"Number is too big");var h=0|this.words[0];m=h===n?0:h<n?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var c=this.ucmp(n);return 0!==this.negative?0|-c:c},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var c=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],C=0|n.words[m];if(h!==C){h<C?c=-1:h>C&&(c=1);break}}return c},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new Te(n)},l.prototype.toRed=function(n){return w(!this.red,"Already a number in reduction context"),w(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return w(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return w(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return w(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return w(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return w(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return w(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return w(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return w(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return w(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return w(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return w(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return w(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return w(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return w(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var J={k256:null,p224:null,p192:null,p25519:null};function ee(D,n){this.name=D,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ie(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ge(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Te(D){if("string"==typeof D){var n=l._prime(D);this.m=n.p,this.prime=n}else w(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function de(D){Te.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(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)}ee.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ee.prototype.ireduce=function(n){var m,c=n;do{this.split(c,this.tmp),m=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:c.ucmp(this.p);return 0===h?(c.words[0]=0,c.length=1):h>0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},ee.prototype.split=function(n,c){n.iushrn(this.n,0,c)},ee.prototype.imulK=function(n){return n.imul(this.k)},S(ie,ee),ie.prototype.split=function(n,c){for(var m=4194303,h=Math.min(n.length,9),C=0;C<h;C++)c.words[C]=n.words[C];if(c.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var k=n.words[9];for(c.words[c.length++]=k&m,C=10;C<n.length;C++){var L=0|n.words[C];n.words[C-10]=(L&m)<<4|k>>>22,k=L}n.words[C-10]=k>>>=22,n.length-=0===k&&n.length>10?10:9},ie.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var c=0,m=0;m<n.length;m++){var h=0|n.words[m];n.words[m]=67108863&(c+=977*h),c=64*h+(c/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ge,ee),S(ae,ee),S(Me,ee),Me.prototype.imulK=function(n){for(var c=0,m=0;m<n.length;m++){var h=19*(0|n.words[m])+c,C=67108863&h;h>>>=26,n.words[m]=C,c=h}return 0!==c&&(n.words[n.length++]=c),n},l._prime=function(n){if(J[n])return J[n];var c;if("k256"===n)c=new ie;else if("p224"===n)c=new ge;else if("p192"===n)c=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);c=new Me}return J[n]=c,c},Te.prototype._verify1=function(n){w(0===n.negative,"red works only with positives"),w(n.red,"red works only with red numbers")},Te.prototype._verify2=function(n,c){w(!(n.negative|c.negative),"red works only with positives"),w(n.red&&n.red===c.red,"red works only with red numbers")},Te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},Te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},Te.prototype.add=function(n,c){this._verify2(n,c);var m=n.add(c);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},Te.prototype.iadd=function(n,c){this._verify2(n,c);var m=n.iadd(c);return m.cmp(this.m)>=0&&m.isub(this.m),m},Te.prototype.sub=function(n,c){this._verify2(n,c);var m=n.sub(c);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},Te.prototype.isub=function(n,c){this._verify2(n,c);var m=n.isub(c);return m.cmpn(0)<0&&m.iadd(this.m),m},Te.prototype.shl=function(n,c){return this._verify1(n),this.imod(n.ushln(c))},Te.prototype.imul=function(n,c){return this._verify2(n,c),this.imod(n.imul(c))},Te.prototype.mul=function(n,c){return this._verify2(n,c),this.imod(n.mul(c))},Te.prototype.isqr=function(n){return this.imul(n,n.clone())},Te.prototype.sqr=function(n){return this.mul(n,n)},Te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var c=this.m.andln(3);if(w(c%2==1),3===c){var m=this.m.add(new l(1)).iushrn(2);return this.pow(n,m)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);w(!h.isZero());var k=new l(1).toRed(this),L=k.redNeg(),_=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,_).cmp(L);)r.redIAdd(L);for(var v=this.pow(r,h),V=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ne=C;0!==N.cmp(k);){for(var Ee=N,ze=0;0!==Ee.cmp(k);ze++)Ee=Ee.redSqr();w(ze<ne);var qe=this.pow(v,new l(1).iushln(ne-ze-1));V=V.redMul(qe),v=qe.redSqr(),N=N.redMul(v),ne=ze}return V},Te.prototype.invm=function(n){var c=n._invmp(this.m);return 0!==c.negative?(c.negative=0,this.imod(c).redNeg()):this.imod(c)},Te.prototype.pow=function(n,c){if(c.isZero())return new l(1).toRed(this);if(0===c.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var C=2;C<h.length;C++)h[C]=this.mul(h[C-1],n);var k=h[0],L=0,_=0,r=c.bitLength()%26;for(0===r&&(r=26),C=c.length-1;C>=0;C--){for(var v=c.words[C],V=r-1;V>=0;V--){var N=v>>V&1;k!==h[0]&&(k=this.sqr(k)),0!==N||0!==L?(L<<=1,L|=N,(4==++_||0===C&&0===V)&&(k=this.mul(k,h[L]),_=0,L=0)):_=0}r=26}return k},Te.prototype.convertTo=function(n){var c=n.umod(this.m);return c===n?c.clone():c},Te.prototype.convertFrom=function(n){var c=n.clone();return c.red=null,c},l.mont=function(n){return new de(n)},S(de,Te),de.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},de.prototype.convertFrom=function(n){var c=this.imod(n.mul(this.rinv));return c.red=null,c},de.prototype.imul=function(n,c){if(n.isZero()||c.isZero())return n.words[0]=0,n.length=1,n;var m=n.imul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.mul=function(n,c){if(n.isZero()||c.isZero())return new l(0)._forceRed(this);var m=n.mul(c),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=m.isub(h).iushrn(this.shift),k=C;return C.cmp(this.m)>=0?k=C.isub(this.m):C.cmpn(0)<0&&(k=C.iadd(this.m)),k._forceRed(this)},de.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Qe=g.nmd(Qe),this)},8613:(Qe,te,g)=>{var e=g(5667),t=g(715),w=g(7196),S=g(6508),l=g(4105),x=g(7211),f=g(568),I=g(7054).Buffer;Qe.exports=function(R,z,W){var $;$=R.padding?R.padding:W?1:4;var J,j=e(R),Q=j.modulus.byteLength();if(z.length>Q||new S(z).cmp(j.modulus)>=0)throw new Error("decryption error");J=W?f(new S(z),j):l(z,j);var ee=I.alloc(Q-J.length);if(J=I.concat([ee,J],Q),4===$)return function d(F,R){var z=F.modulus.byteLength(),W=x("sha1").update(I.alloc(0)).digest(),$=W.length;if(0!==R[0])throw new Error("decryption error");var j=R.slice(1,$+1),Q=R.slice($+1),J=w(j,t(Q,$)),ee=w(Q,t(J,z-$-1));if(function y(F,R){F=I.from(F),R=I.from(R);var z=0,W=F.length;F.length!==R.length&&(z++,W=Math.min(F.length,R.length));for(var $=-1;++$<W;)z+=F[$]^R[$];return z}(W,ee.slice(0,$)))throw new Error("decryption error");for(var ie=$;0===ee[ie];)ie++;if(1!==ee[ie++])throw new Error("decryption error");return ee.slice(ie)}(j,J);if(1===$)return function T(F,R,z){for(var W=R.slice(0,2),$=2,j=0;0!==R[$++];)if($>=R.length){j++;break}var Q=R.slice(2,$-1);if(("0002"!==W.toString("hex")&&!z||"0001"!==W.toString("hex")&&z)&&j++,Q.length<8&&j++,j)throw new Error("decryption error");return R.slice($)}(0,J,W);if(3===$)return J;throw new Error("unknown padding")}},7267:(Qe,te,g)=>{var e=g(5667),t=g(3342),w=g(7211),S=g(715),l=g(7196),x=g(6508),f=g(568),I=g(4105),d=g(7054).Buffer;Qe.exports=function(z,W,$){var j;j=z.padding?z.padding:$?1:4;var J,Q=e(z);if(4===j)J=function T(R,z){var W=R.modulus.byteLength(),$=z.length,j=w("sha1").update(d.alloc(0)).digest(),Q=j.length,J=2*Q;if($>W-J-2)throw new Error("message too long");var ee=d.alloc(W-$-J-2),ie=W-Q-1,ge=t(Q),ae=l(d.concat([j,ee,d.alloc(1,1),z],ie),S(ge,ie)),Me=l(ge,S(ae,Q));return new x(d.concat([d.alloc(1),Me,ae],W))}(Q,W);else if(1===j)J=function y(R,z,W){var Q,$=z.length,j=R.modulus.byteLength();if($>j-11)throw new Error("message too long");return Q=W?d.alloc(j-$-3,255):function F(R){for(var Q,z=d.allocUnsafe(R),W=0,$=t(2*R),j=0;W<R;)j===$.length&&($=t(2*R),j=0),(Q=$[j++])&&(z[W++]=Q);return z}(j-$-3),new x(d.concat([d.from([0,W?1:2]),Q,d.alloc(1),z],j))}(Q,W,$);else{if(3!==j)throw new Error("unknown padding");if((J=new x(W)).cmp(Q.modulus)>=0)throw new Error("data too long for modulus")}return $?I(J,Q):f(J,Q)}},568:(Qe,te,g)=>{var e=g(6508),t=g(7054).Buffer;Qe.exports=function w(S,l){return t.from(S.toRed(e.mont(l.modulus)).redPow(new e(l.publicExponent)).fromRed().toArray())}},7196:Qe=>{Qe.exports=function(g,e){for(var t=g.length,w=-1;++w<t;)g[w]^=e[w];return g}},8314:(Qe,te,g)=>{const e=g(2836),t=g(9460),w=g(7030),S=g(6511);function l(x,f,I,d,T){const y=[].slice.call(arguments,1),F=y.length,R="function"==typeof y[F-1];if(!R&&!e())throw new Error("Callback required as last argument");if(!R){if(F<1)throw new Error("Too few arguments provided");return 1===F?(I=f,f=d=void 0):2===F&&!f.getContext&&(d=I,I=f,f=void 0),new Promise(function(z,W){try{const $=t.create(I,d);z(x($,f,d))}catch($){W($)}})}if(F<2)throw new Error("Too few arguments provided");2===F?(T=I,I=f,f=d=void 0):3===F&&(f.getContext&&typeof T>"u"?(T=d,d=void 0):(T=d,d=I,I=f,f=void 0));try{const z=t.create(I,d);T(null,x(z,f,d))}catch(z){T(z)}}te.create=t.create,te.toCanvas=l.bind(null,w.render),te.toDataURL=l.bind(null,w.renderToDataURL),te.toString=l.bind(null,function(x,f,I){return S.render(x,I)})},2836:Qe=>{Qe.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214:(Qe,te,g)=>{const e=g(9089).getSymbolSize;te.getRowColCoords=function(w){if(1===w)return[];const S=Math.floor(w/7)+2,l=e(w),x=145===l?26:2*Math.ceil((l-13)/(2*S-2)),f=[l-7];for(let I=1;I<S-1;I++)f[I]=f[I-1]-x;return f.push(6),f.reverse()},te.getPositions=function(w){const S=[],l=te.getRowColCoords(w),x=l.length;for(let f=0;f<x;f++)for(let I=0;I<x;I++)0===f&&0===I||0===f&&I===x-1||f===x-1&&0===I||S.push([l[f],l[I]]);return S}},1018:(Qe,te,g)=>{const e=g(1677),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function w(S){this.mode=e.ALPHANUMERIC,this.data=S}w.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},w.prototype.getLength=function(){return this.data.length},w.prototype.getBitsLength=function(){return w.getBitsLength(this.data.length)},w.prototype.write=function(l){let x;for(x=0;x+2<=this.data.length;x+=2){let f=45*t.indexOf(this.data[x]);f+=t.indexOf(this.data[x+1]),l.put(f,11)}this.data.length%2&&l.put(t.indexOf(this.data[x]),6)},Qe.exports=w},4662:Qe=>{function te(){this.buffer=[],this.length=0}te.prototype={get:function(g){const e=Math.floor(g/8);return 1==(this.buffer[e]>>>7-g%8&1)},put:function(g,e){for(let t=0;t<e;t++)this.putBit(1==(g>>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(g){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),g&&(this.buffer[e]|=128>>>this.length%8),this.length++}},Qe.exports=te},8322:Qe=>{function te(g){if(!g||g<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=g,this.data=new Uint8Array(g*g),this.reservedBit=new Uint8Array(g*g)}te.prototype.set=function(g,e,t,w){const S=g*this.size+e;this.data[S]=t,w&&(this.reservedBit[S]=!0)},te.prototype.get=function(g,e){return this.data[g*this.size+e]},te.prototype.xor=function(g,e,t){this.data[g*this.size+e]^=t},te.prototype.isReserved=function(g,e){return this.reservedBit[g*this.size+e]},Qe.exports=te},4969:(Qe,te,g)=>{const e=g(3174),t=g(1677);function w(S){this.mode=t.BYTE,"string"==typeof S&&(S=e(S)),this.data=new Uint8Array(S)}w.getBitsLength=function(l){return 8*l},w.prototype.getLength=function(){return this.data.length},w.prototype.getBitsLength=function(){return w.getBitsLength(this.data.length)},w.prototype.write=function(S){for(let l=0,x=this.data.length;l<x;l++)S.put(this.data[l],8)},Qe.exports=w},3677:(Qe,te,g)=>{const e=g(7424),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],w=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];te.getBlocksCount=function(l,x){switch(x){case e.L:return t[4*(l-1)+0];case e.M:return t[4*(l-1)+1];case e.Q:return t[4*(l-1)+2];case e.H:return t[4*(l-1)+3];default:return}},te.getTotalCodewordsCount=function(l,x){switch(x){case e.L:return w[4*(l-1)+0];case e.M:return w[4*(l-1)+1];case e.Q:return w[4*(l-1)+2];case e.H:return w[4*(l-1)+3];default:return}}},7424:(Qe,te)=>{te.L={bit:1},te.M={bit:0},te.Q={bit:3},te.H={bit:2},te.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},te.from=function(t,w){if(te.isValid(t))return t;try{return function g(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return te.L;case"m":case"medium":return te.M;case"q":case"quartile":return te.Q;case"h":case"high":return te.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return w}}},6269:(Qe,te,g)=>{const e=g(9089).getSymbolSize;te.getPositions=function(S){const l=e(S);return[[0,0],[l-7,0],[0,l-7]]}},6254:(Qe,te,g)=>{const e=g(9089),S=e.getBCHDigit(1335);te.getEncodedBits=function(x,f){const I=x.bit<<3|f;let d=I<<10;for(;e.getBCHDigit(d)-S>=0;)d^=1335<<e.getBCHDigit(d)-S;return 21522^(I<<10|d)}},6686:(Qe,te)=>{const g=new Uint8Array(512),e=new Uint8Array(256);(function(){let w=1;for(let S=0;S<255;S++)g[S]=w,e[w]=S,w<<=1,256&w&&(w^=285);for(let S=255;S<512;S++)g[S]=g[S-255]})(),te.log=function(w){if(w<1)throw new Error("log("+w+")");return e[w]},te.exp=function(w){return g[w]},te.mul=function(w,S){return 0===w||0===S?0:g[e[w]+e[S]]}},3264:(Qe,te,g)=>{const e=g(1677),t=g(9089);function w(S){this.mode=e.KANJI,this.data=S}w.getBitsLength=function(l){return 13*l},w.prototype.getLength=function(){return this.data.length},w.prototype.getBitsLength=function(){return w.getBitsLength(this.data.length)},w.prototype.write=function(S){let l;for(l=0;l<this.data.length;l++){let x=t.toSJIS(this.data[l]);if(x>=33088&&x<=40956)x-=33088;else{if(!(x>=57408&&x<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");x-=49472}x=192*(x>>>8&255)+(255&x),S.put(x,13)}},Qe.exports=w},3361:(Qe,te)=>{te.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(t,w,S){switch(t){case te.Patterns.PATTERN000:return(w+S)%2==0;case te.Patterns.PATTERN001:return w%2==0;case te.Patterns.PATTERN010:return S%3==0;case te.Patterns.PATTERN011:return(w+S)%3==0;case te.Patterns.PATTERN100:return(Math.floor(w/2)+Math.floor(S/3))%2==0;case te.Patterns.PATTERN101:return w*S%2+w*S%3==0;case te.Patterns.PATTERN110:return(w*S%2+w*S%3)%2==0;case te.Patterns.PATTERN111:return(w*S%3+(w+S)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}te.isValid=function(w){return null!=w&&""!==w&&!isNaN(w)&&w>=0&&w<=7},te.from=function(w){return te.isValid(w)?parseInt(w,10):void 0},te.getPenaltyN1=function(w){const S=w.size;let l=0,x=0,f=0,I=null,d=null;for(let T=0;T<S;T++){x=f=0,I=d=null;for(let y=0;y<S;y++){let F=w.get(T,y);F===I?x++:(x>=5&&(l+=x-5+3),I=F,x=1),F=w.get(y,T),F===d?f++:(f>=5&&(l+=f-5+3),d=F,f=1)}x>=5&&(l+=x-5+3),f>=5&&(l+=f-5+3)}return l},te.getPenaltyN2=function(w){const S=w.size;let l=0;for(let x=0;x<S-1;x++)for(let f=0;f<S-1;f++){const I=w.get(x,f)+w.get(x,f+1)+w.get(x+1,f)+w.get(x+1,f+1);(4===I||0===I)&&l++}return 3*l},te.getPenaltyN3=function(w){const S=w.size;let l=0,x=0,f=0;for(let I=0;I<S;I++){x=f=0;for(let d=0;d<S;d++)x=x<<1&2047|w.get(I,d),d>=10&&(1488===x||93===x)&&l++,f=f<<1&2047|w.get(d,I),d>=10&&(1488===f||93===f)&&l++}return 40*l},te.getPenaltyN4=function(w){let S=0;const l=w.data.length;for(let f=0;f<l;f++)S+=w.data[f];return 10*Math.abs(Math.ceil(100*S/l/5)-10)},te.applyMask=function(w,S){const l=S.size;for(let x=0;x<l;x++)for(let f=0;f<l;f++)S.isReserved(f,x)||S.xor(f,x,e(w,f,x))},te.getBestMask=function(w,S){const l=Object.keys(te.Patterns).length;let x=0,f=1/0;for(let I=0;I<l;I++){S(I),te.applyMask(I,w);const d=te.getPenaltyN1(w)+te.getPenaltyN2(w)+te.getPenaltyN3(w)+te.getPenaltyN4(w);te.applyMask(I,w),d<f&&(f=d,x=I)}return x}},1677:(Qe,te,g)=>{const e=g(377),t=g(9359);te.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},te.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},te.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},te.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},te.MIXED={bit:-1},te.getCharCountIndicator=function(l,x){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!e.isValid(x))throw new Error("Invalid version: "+x);return x>=1&&x<10?l.ccBits[0]:x<27?l.ccBits[1]:l.ccBits[2]},te.getBestModeForData=function(l){return t.testNumeric(l)?te.NUMERIC:t.testAlphanumeric(l)?te.ALPHANUMERIC:t.testKanji(l)?te.KANJI:te.BYTE},te.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},te.isValid=function(l){return l&&l.bit&&l.ccBits},te.from=function(l,x){if(te.isValid(l))return l;try{return function w(S){if("string"!=typeof S)throw new Error("Param is not a string");switch(S.toLowerCase()){case"numeric":return te.NUMERIC;case"alphanumeric":return te.ALPHANUMERIC;case"kanji":return te.KANJI;case"byte":return te.BYTE;default:throw new Error("Unknown mode: "+S)}}(l)}catch{return x}}},6628:(Qe,te,g)=>{const e=g(1677);function t(w){this.mode=e.NUMERIC,this.data=w.toString()}t.getBitsLength=function(S){return 10*Math.floor(S/3)+(S%3?S%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(S){let l,x,f;for(l=0;l+3<=this.data.length;l+=3)x=this.data.substr(l,3),f=parseInt(x,10),S.put(f,10);const I=this.data.length-l;I>0&&(x=this.data.substr(l),f=parseInt(x,10),S.put(f,3*I+1))},Qe.exports=t},1744:(Qe,te,g)=>{const e=g(6686);te.mul=function(w,S){const l=new Uint8Array(w.length+S.length-1);for(let x=0;x<w.length;x++)for(let f=0;f<S.length;f++)l[x+f]^=e.mul(w[x],S[f]);return l},te.mod=function(w,S){let l=new Uint8Array(w);for(;l.length-S.length>=0;){const x=l[0];for(let I=0;I<S.length;I++)l[I]^=e.mul(S[I],x);let f=0;for(;f<l.length&&0===l[f];)f++;l=l.slice(f)}return l},te.generateECPolynomial=function(w){let S=new Uint8Array([1]);for(let l=0;l<w;l++)S=te.mul(S,new Uint8Array([1,e.exp(l)]));return S}},9460:(Qe,te,g)=>{const e=g(9089),t=g(7424),w=g(4662),S=g(8322),l=g(6214),x=g(6269),f=g(3361),I=g(3677),d=g(6289),T=g(1252),y=g(6254),F=g(1677),R=g(2868);function Q(ae,Me,Te){const de=ae.size,D=y.getEncodedBits(Me,Te);let n,c;for(n=0;n<15;n++)c=1==(D>>n&1),ae.set(n<6?n:n<8?n+1:de-15+n,8,c,!0),ae.set(8,n<8?de-n-1:n<9?15-n-1+1:15-n-1,c,!0);ae.set(de-8,8,1,!0)}function ge(ae,Me,Te,de){let D;if(Array.isArray(ae))D=R.fromArray(ae);else{if("string"!=typeof ae)throw new Error("Invalid data");{let C=Me;if(!C){const k=R.rawSplit(ae);C=T.getBestVersionForData(k,Te)}D=R.fromString(ae,C||40)}}const n=T.getBestVersionForData(D,Te);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(Me){if(Me<n)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+n+".\n")}else Me=n;const c=function ee(ae,Me,Te){const de=new w;Te.forEach(function(h){de.put(h.mode.bit,4),de.put(h.getLength(),F.getCharCountIndicator(h.mode,ae)),h.write(de)});const c=8*(e.getSymbolTotalCodewords(ae)-I.getTotalCodewordsCount(ae,Me));for(de.getLengthInBits()+4<=c&&de.put(0,4);de.getLengthInBits()%8!=0;)de.putBit(0);const m=(c-de.getLengthInBits())/8;for(let h=0;h<m;h++)de.put(h%2?17:236,8);return function ie(ae,Me,Te){const de=e.getSymbolTotalCodewords(Me),n=de-I.getTotalCodewordsCount(Me,Te),c=I.getBlocksCount(Me,Te),h=c-de%c,C=Math.floor(de/c),k=Math.floor(n/c),L=k+1,_=C-k,r=new d(_);let v=0;const V=new Array(c),N=new Array(c);let ne=0;const Ee=new Uint8Array(ae.buffer);for(let X=0;X<c;X++){const me=X<h?k:L;V[X]=Ee.slice(v,v+me),N[X]=r.encode(V[X]),v+=me,ne=Math.max(ne,me)}const ze=new Uint8Array(de);let Ke,se,qe=0;for(Ke=0;Ke<ne;Ke++)for(se=0;se<c;se++)Ke<V[se].length&&(ze[qe++]=V[se][Ke]);for(Ke=0;Ke<_;Ke++)for(se=0;se<c;se++)ze[qe++]=N[se][Ke];return ze}(de,ae,Me)}(Me,Te,D),m=e.getSymbolSize(Me),h=new S(m);return function z(ae,Me){const Te=ae.size,de=x.getPositions(Me);for(let D=0;D<de.length;D++){const n=de[D][0],c=de[D][1];for(let m=-1;m<=7;m++)if(!(n+m<=-1||Te<=n+m))for(let h=-1;h<=7;h++)c+h<=-1||Te<=c+h||ae.set(n+m,c+h,m>=0&&m<=6&&(0===h||6===h)||h>=0&&h<=6&&(0===m||6===m)||m>=2&&m<=4&&h>=2&&h<=4,!0)}}(h,Me),function W(ae){const Me=ae.size;for(let Te=8;Te<Me-8;Te++){const de=Te%2==0;ae.set(Te,6,de,!0),ae.set(6,Te,de,!0)}}(h),function $(ae,Me){const Te=l.getPositions(Me);for(let de=0;de<Te.length;de++){const D=Te[de][0],n=Te[de][1];for(let c=-2;c<=2;c++)for(let m=-2;m<=2;m++)ae.set(D+c,n+m,-2===c||2===c||-2===m||2===m||0===c&&0===m,!0)}}(h,Me),Q(h,Te,0),Me>=7&&function j(ae,Me){const Te=ae.size,de=T.getEncodedBits(Me);let D,n,c;for(let m=0;m<18;m++)D=Math.floor(m/3),n=m%3+Te-8-3,c=1==(de>>m&1),ae.set(D,n,c,!0),ae.set(n,D,c,!0)}(h,Me),function J(ae,Me){const Te=ae.size;let de=-1,D=Te-1,n=7,c=0;for(let m=Te-1;m>0;m-=2)for(6===m&&m--;;){for(let h=0;h<2;h++)if(!ae.isReserved(D,m-h)){let C=!1;c<Me.length&&(C=1==(Me[c]>>>n&1)),ae.set(D,m-h,C),n--,-1===n&&(c++,n=7)}if(D+=de,D<0||Te<=D){D-=de,de=-de;break}}}(h,c),isNaN(de)&&(de=f.getBestMask(h,Q.bind(null,h,Te))),f.applyMask(de,h),Q(h,Te,de),{modules:h,version:Me,errorCorrectionLevel:Te,maskPattern:de,segments:D}}te.create=function(Me,Te){if(typeof Me>"u"||""===Me)throw new Error("No input text");let D,n,de=t.M;return typeof Te<"u"&&(de=t.from(Te.errorCorrectionLevel,t.M),D=T.from(Te.version),n=f.from(Te.maskPattern),Te.toSJISFunc&&e.setToSJISFunction(Te.toSJISFunc)),ge(Me,D,de,n)}},6289:(Qe,te,g)=>{const e=g(1744);function t(w){this.genPoly=void 0,this.degree=w,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(S){this.degree=S,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(S){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(S.length+this.degree);l.set(S);const x=e.mod(l,this.genPoly),f=this.degree-x.length;if(f>0){const I=new Uint8Array(this.degree);return I.set(x,f),I}return x},Qe.exports=t},9359:(Qe,te)=>{const g="[0-9]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const w="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";te.KANJI=new RegExp(t,"g"),te.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),te.BYTE=new RegExp(w,"g"),te.NUMERIC=new RegExp(g,"g"),te.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const S=new RegExp("^"+t+"$"),l=new RegExp("^"+g+"$"),x=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");te.testKanji=function(I){return S.test(I)},te.testNumeric=function(I){return l.test(I)},te.testAlphanumeric=function(I){return x.test(I)}},2868:(Qe,te,g)=>{const e=g(1677),t=g(6628),w=g(1018),S=g(4969),l=g(3264),x=g(9359),f=g(9089),I=g(243);function d(j){return unescape(encodeURIComponent(j)).length}function T(j,Q,J){const ee=[];let ie;for(;null!==(ie=j.exec(J));)ee.push({data:ie[0],index:ie.index,mode:Q,length:ie[0].length});return ee}function y(j){const Q=T(x.NUMERIC,e.NUMERIC,j),J=T(x.ALPHANUMERIC,e.ALPHANUMERIC,j);let ee,ie;return f.isKanjiModeEnabled()?(ee=T(x.BYTE,e.BYTE,j),ie=T(x.KANJI,e.KANJI,j)):(ee=T(x.BYTE_KANJI,e.BYTE,j),ie=[]),Q.concat(J,ee,ie).sort(function(ae,Me){return ae.index-Me.index}).map(function(ae){return{data:ae.data,mode:ae.mode,length:ae.length}})}function F(j,Q){switch(Q){case e.NUMERIC:return t.getBitsLength(j);case e.ALPHANUMERIC:return w.getBitsLength(j);case e.KANJI:return l.getBitsLength(j);case e.BYTE:return S.getBitsLength(j)}}function $(j,Q){let J;const ee=e.getBestModeForData(j);if(J=e.from(Q,ee),J!==e.BYTE&&J.bit<ee.bit)throw new Error('"'+j+'" cannot be encoded with mode '+e.toString(J)+".\n Suggested mode is: "+e.toString(ee));switch(J===e.KANJI&&!f.isKanjiModeEnabled()&&(J=e.BYTE),J){case e.NUMERIC:return new t(j);case e.ALPHANUMERIC:return new w(j);case e.KANJI:return new l(j);case e.BYTE:return new S(j)}}te.fromArray=function(Q){return Q.reduce(function(J,ee){return"string"==typeof ee?J.push($(ee,null)):ee.data&&J.push($(ee.data,ee.mode)),J},[])},te.fromString=function(Q,J){const ie=function z(j){const Q=[];for(let J=0;J<j.length;J++){const ee=j[J];switch(ee.mode){case e.NUMERIC:Q.push([ee,{data:ee.data,mode:e.ALPHANUMERIC,length:ee.length},{data:ee.data,mode:e.BYTE,length:ee.length}]);break;case e.ALPHANUMERIC:Q.push([ee,{data:ee.data,mode:e.BYTE,length:ee.length}]);break;case e.KANJI:Q.push([ee,{data:ee.data,mode:e.BYTE,length:d(ee.data)}]);break;case e.BYTE:Q.push([{data:ee.data,mode:e.BYTE,length:d(ee.data)}])}}return Q}(y(Q,f.isKanjiModeEnabled())),ge=function W(j,Q){const J={},ee={start:{}};let ie=["start"];for(let ge=0;ge<j.length;ge++){const ae=j[ge],Me=[];for(let Te=0;Te<ae.length;Te++){const de=ae[Te],D=""+ge+Te;Me.push(D),J[D]={node:de,lastCount:0},ee[D]={};for(let n=0;n<ie.length;n++){const c=ie[n];J[c]&&J[c].node.mode===de.mode?(ee[c][D]=F(J[c].lastCount+de.length,de.mode)-F(J[c].lastCount,de.mode),J[c].lastCount+=de.length):(J[c]&&(J[c].lastCount=de.length),ee[c][D]=F(de.length,de.mode)+4+e.getCharCountIndicator(de.mode,Q))}}ie=Me}for(let ge=0;ge<ie.length;ge++)ee[ie[ge]].end=0;return{map:ee,table:J}}(ie,J),ae=I.find_path(ge.map,"start","end"),Me=[];for(let Te=1;Te<ae.length-1;Te++)Me.push(ge.table[ae[Te]].node);return te.fromArray(function R(j){return j.reduce(function(Q,J){const ee=Q.length-1>=0?Q[Q.length-1]:null;return ee&&ee.mode===J.mode?(Q[Q.length-1].data+=J.data,Q):(Q.push(J),Q)},[])}(Me))},te.rawSplit=function(Q){return te.fromArray(y(Q,f.isKanjiModeEnabled()))}},9089:(Qe,te)=>{let g;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];te.getSymbolSize=function(w){if(!w)throw new Error('"version" cannot be null or undefined');if(w<1||w>40)throw new Error('"version" should be in range from 1 to 40');return 4*w+17},te.getSymbolTotalCodewords=function(w){return e[w]},te.getBCHDigit=function(t){let w=0;for(;0!==t;)w++,t>>>=1;return w},te.setToSJISFunction=function(w){if("function"!=typeof w)throw new Error('"toSJISFunc" is not a valid function.');g=w},te.isKanjiModeEnabled=function(){return typeof g<"u"},te.toSJIS=function(w){return g(w)}},377:(Qe,te)=>{te.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},1252:(Qe,te,g)=>{const e=g(9089),t=g(3677),w=g(7424),S=g(1677),l=g(377),f=e.getBCHDigit(7973);function d(F,R){return S.getCharCountIndicator(F,R)+4}function T(F,R){let z=0;return F.forEach(function(W){const $=d(W.mode,R);z+=$+W.getBitsLength()}),z}te.from=function(R,z){return l.isValid(R)?parseInt(R,10):z},te.getCapacity=function(R,z,W){if(!l.isValid(R))throw new Error("Invalid QR Code version");typeof W>"u"&&(W=S.BYTE);const Q=8*(e.getSymbolTotalCodewords(R)-t.getTotalCodewordsCount(R,z));if(W===S.MIXED)return Q;const J=Q-d(W,R);switch(W){case S.NUMERIC:return Math.floor(J/10*3);case S.ALPHANUMERIC:return Math.floor(J/11*2);case S.KANJI:return Math.floor(J/13);default:return Math.floor(J/8)}},te.getBestVersionForData=function(R,z){let W;const $=w.from(z,w.M);if(Array.isArray(R)){if(R.length>1)return function y(F,R){for(let z=1;z<=40;z++)if(T(F,z)<=te.getCapacity(z,R,S.MIXED))return z}(R,$);if(0===R.length)return 1;W=R[0]}else W=R;return function I(F,R,z){for(let W=1;W<=40;W++)if(R<=te.getCapacity(W,z,F))return W}(W.mode,W.getLength(),$)},te.getEncodedBits=function(R){if(!l.isValid(R)||R<7)throw new Error("Invalid QR Code version");let z=R<<12;for(;e.getBCHDigit(z)-f>=0;)z^=7973<<e.getBCHDigit(z)-f;return R<<12|z}},7030:(Qe,te,g)=>{const e=g(7077);te.render=function(l,x,f){let I=f,d=x;typeof I>"u"&&(!x||!x.getContext)&&(I=x,x=void 0),x||(d=function w(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),I=e.getOptions(I);const T=e.getImageWidth(l.modules.size,I),y=d.getContext("2d"),F=y.createImageData(T,T);return e.qrToImageData(F.data,l,I),function t(S,l,x){S.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=x,l.width=x,l.style.height=x+"px",l.style.width=x+"px"}(y,d,T),y.putImageData(F,0,0),d},te.renderToDataURL=function(l,x,f){let I=f;return typeof I>"u"&&(!x||!x.getContext)&&(I=x,x=void 0),I||(I={}),te.render(l,x,I).toDataURL(I.type||"image/png",(I.rendererOpts||{}).quality)}},6511:(Qe,te,g)=>{const e=g(7077);function t(l,x){const f=l.a/255,I=x+'="'+l.hex+'"';return f<1?I+" "+x+'-opacity="'+f.toFixed(2).slice(1)+'"':I}function w(l,x,f){let I=l+x;return typeof f<"u"&&(I+=" "+f),I}te.render=function(x,f,I){const d=e.getOptions(f),T=x.modules.size,y=x.modules.data,F=T+2*d.margin,R=d.color.light.a?"<path "+t(d.color.light,"fill")+' d="M0 0h'+F+"v"+F+'H0z"/>':"",z="<path "+t(d.color.dark,"stroke")+' d="'+function S(l,x,f){let I="",d=0,T=!1,y=0;for(let F=0;F<l.length;F++){const R=Math.floor(F%x),z=Math.floor(F/x);!R&&!T&&(T=!0),l[F]?(y++,F>0&&R>0&&l[F-1]||(I+=T?w("M",R+f,.5+z+f):w("m",d,0),d=0,T=!1),R+1<x&&l[F+1]||(I+=w("h",y),y=0)):d++}return I}(y,T,d.margin)+'"/>',j='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+F+" "+F+'" shape-rendering="crispEdges">'+R+z+"</svg>\n";return"function"==typeof I&&I(null,j),j}},7077:(Qe,te)=>{function g(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(S){return[S,S]}))),6===t.length&&t.push("F","F");const w=parseInt(t.join(""),16);return{r:w>>24&255,g:w>>16&255,b:w>>8&255,a:255&w,hex:"#"+t.slice(0,6).join("")}}te.getOptions=function(t){t||(t={}),t.color||(t.color={});const S=t.width&&t.width>=21?t.width:void 0;return{width:S,scale:S?4:t.scale||4,margin:typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,color:{dark:g(t.color.dark||"#000000ff"),light:g(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},te.getScale=function(t,w){return w.width&&w.width>=t+2*w.margin?w.width/(t+2*w.margin):w.scale},te.getImageWidth=function(t,w){const S=te.getScale(t,w);return Math.floor((t+2*w.margin)*S)},te.qrToImageData=function(t,w,S){const l=w.modules.size,x=w.modules.data,f=te.getScale(l,S),I=Math.floor((l+2*S.margin)*f),d=S.margin*f,T=[S.color.light,S.color.dark];for(let y=0;y<I;y++)for(let F=0;F<I;F++){let R=4*(y*I+F),z=S.color.light;y>=d&&F>=d&&y<I-d&&F<I-d&&(z=T[x[Math.floor((y-d)/f)*l+Math.floor((F-d)/f)]?1:0]),t[R++]=z.r,t[R++]=z.g,t[R++]=z.b,t[R]=z.a}}},3342:(Qe,te,g)=>{"use strict";var e=65536,S=g(7054).Buffer,l=global.crypto||global.msCrypto;Qe.exports=l&&l.getRandomValues?function x(f,I){if(f>4294967295)throw new RangeError("requested too many random bytes");var d=S.allocUnsafe(f);if(f>0)if(f>e)for(var T=0;T<f;T+=e)l.getRandomValues(d.slice(T,T+e));else l.getRandomValues(d);return"function"==typeof I?process.nextTick(function(){I(null,d)}):d}:function w(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},9682:(Qe,te,g)=>{"use strict";function e(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=g(7054),w=g(3342),S=t.Buffer,l=t.kMaxLength,x=global.crypto||global.msCrypto,f=Math.pow(2,32)-1;function I(R,z){if("number"!=typeof R||R!=R)throw new TypeError("offset must be a number");if(R>f||R<0)throw new TypeError("offset must be a uint32");if(R>l||R>z)throw new RangeError("offset out of range")}function d(R,z,W){if("number"!=typeof R||R!=R)throw new TypeError("size must be a number");if(R>f||R<0)throw new TypeError("size must be a uint32");if(R+z>W||R>l)throw new RangeError("buffer too small")}function y(R,z,W,$){if(process.browser){var Q=new Uint8Array(R.buffer,z,W);return x.getRandomValues(Q),$?void process.nextTick(function(){$(null,R)}):R}if(!$)return w(W).copy(R,z),R;w(W,function(ee,ie){if(ee)return $(ee);ie.copy(R,z),$(null,R)})}x&&x.getRandomValues||!process.browser?(te.randomFill=function T(R,z,W,$){if(!(S.isBuffer(R)||R instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof z)$=z,z=0,W=R.length;else if("function"==typeof W)$=W,W=R.length-z;else if("function"!=typeof $)throw new TypeError('"cb" argument must be a function');return I(z,R.length),d(W,z,R.length),y(R,z,W,$)},te.randomFillSync=function F(R,z,W){if(typeof z>"u"&&(z=0),!(S.isBuffer(R)||R instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return I(z,R.length),void 0===W&&(W=R.length-z),d(W,z,R.length),y(R,z,W)}):(te.randomFill=e,te.randomFillSync=e)},4075:(Qe,te,g)=>{"use strict";var e=g(9656),t=Object.keys||function(F){var R=[];for(var z in F)R.push(z);return R};Qe.exports=d;var w=Object.create(g(7637));w.inherits=g(1993);var S=g(9609),l=g(7849);w.inherits(d,S);for(var x=t(l.prototype),f=0;f<x.length;f++){var I=x[f];d.prototype[I]||(d.prototype[I]=l.prototype[I])}function d(F){if(!(this instanceof d))return new d(F);S.call(this,F),l.call(this,F),F&&!1===F.readable&&(this.readable=!1),F&&!1===F.writable&&(this.writable=!1),this.allowHalfOpen=!0,F&&!1===F.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",T)}function T(){this.allowHalfOpen||this._writableState.ended||e.nextTick(y,this)}function y(F){F.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(F){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=F,this._writableState.destroyed=F)}}),d.prototype._destroy=function(F,R){this.push(null),this.end(),e.nextTick(R,F)}},8823:(Qe,te,g)=>{"use strict";Qe.exports=w;var e=g(2909),t=Object.create(g(7637));function w(S){if(!(this instanceof w))return new w(S);e.call(this,S)}t.inherits=g(1993),t.inherits(w,e),w.prototype._transform=function(S,l,x){x(null,S)}},9609:(Qe,te,g)=>{"use strict";var e=g(9656);Qe.exports=ee;var w,t=g(53);ee.ReadableState=J,g(4356);var l=function(se,X){return se.listeners(X).length},x=g(8342),f=g(2655).Buffer,I=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},y=Object.create(g(7637));y.inherits=g(1993);var F=g(9838),R=void 0;R=F&&F.debuglog?F.debuglog("stream"):function(){};var $,z=g(7809),W=g(1509);y.inherits(ee,x);var j=["error","close","destroy","pause","resume"];function J(se,X){var me=X instanceof(w=w||g(4075));this.objectMode=!!(se=se||{}).objectMode,me&&(this.objectMode=this.objectMode||!!se.readableObjectMode);var ce=se.highWaterMark,fe=se.readableHighWaterMark;this.highWaterMark=ce||0===ce?ce:me&&(fe||0===fe)?fe:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new z,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=se.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,se.encoding&&($||($=g(8454).I),this.decoder=new $(se.encoding),this.encoding=se.encoding)}function ee(se){if(w=w||g(4075),!(this instanceof ee))return new ee(se);this._readableState=new J(se,this),this.readable=!0,se&&("function"==typeof se.read&&(this._read=se.read),"function"==typeof se.destroy&&(this._destroy=se.destroy)),x.call(this)}function ie(se,X,me,ce,fe){var mt,ke=se._readableState;return null===X?(ke.reading=!1,function n(se,X){if(!X.ended){if(X.decoder){var me=X.decoder.end();me&&me.length&&(X.buffer.push(me),X.length+=X.objectMode?1:me.length)}X.ended=!0,c(se)}}(se,ke)):(fe||(mt=function ae(se,X){var me;return!function T(se){return f.isBuffer(se)||se instanceof I}(X)&&"string"!=typeof X&&void 0!==X&&!se.objectMode&&(me=new TypeError("Invalid non-string/buffer chunk")),me}(ke,X)),mt?se.emit("error",mt):ke.objectMode||X&&X.length>0?("string"!=typeof X&&!ke.objectMode&&Object.getPrototypeOf(X)!==f.prototype&&(X=function d(se){return f.from(se)}(X)),ce?ke.endEmitted?se.emit("error",new Error("stream.unshift() after end event")):ge(se,ke,X,!0):ke.ended?se.emit("error",new Error("stream.push() after EOF")):(ke.reading=!1,ke.decoder&&!me?(X=ke.decoder.write(X),ke.objectMode||0!==X.length?ge(se,ke,X,!1):h(se,ke)):ge(se,ke,X,!1))):ce||(ke.reading=!1)),function Me(se){return!se.ended&&(se.needReadable||se.length<se.highWaterMark||0===se.length)}(ke)}function ge(se,X,me,ce){X.flowing&&0===X.length&&!X.sync?(se.emit("data",me),se.read(0)):(X.length+=X.objectMode?1:me.length,ce?X.buffer.unshift(me):X.buffer.push(me),X.needReadable&&c(se)),h(se,X)}Object.defineProperty(ee.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(se){this._readableState&&(this._readableState.destroyed=se)}}),ee.prototype.destroy=W.destroy,ee.prototype._undestroy=W.undestroy,ee.prototype._destroy=function(se,X){this.push(null),X(se)},ee.prototype.push=function(se,X){var ce,me=this._readableState;return me.objectMode?ce=!0:"string"==typeof se&&((X=X||me.defaultEncoding)!==me.encoding&&(se=f.from(se,X),X=""),ce=!0),ie(this,se,X,!1,ce)},ee.prototype.unshift=function(se){return ie(this,se,null,!0,!1)},ee.prototype.isPaused=function(){return!1===this._readableState.flowing},ee.prototype.setEncoding=function(se){return $||($=g(8454).I),this._readableState.decoder=new $(se),this._readableState.encoding=se,this};function D(se,X){return se<=0||0===X.length&&X.ended?0:X.objectMode?1:se!=se?X.flowing&&X.length?X.buffer.head.data.length:X.length:(se>X.highWaterMark&&(X.highWaterMark=function de(se){return se>=8388608?se=8388608:(se--,se|=se>>>1,se|=se>>>2,se|=se>>>4,se|=se>>>8,se|=se>>>16,se++),se}(se)),se<=X.length?se:X.ended?X.length:(X.needReadable=!0,0))}function c(se){var X=se._readableState;X.needReadable=!1,X.emittedReadable||(R("emitReadable",X.flowing),X.emittedReadable=!0,X.sync?e.nextTick(m,se):m(se))}function m(se){R("emit readable"),se.emit("readable"),v(se)}function h(se,X){X.readingMore||(X.readingMore=!0,e.nextTick(C,se,X))}function C(se,X){for(var me=X.length;!X.reading&&!X.flowing&&!X.ended&&X.length<X.highWaterMark&&(R("maybeReadMore read 0"),se.read(0),me!==X.length);)me=X.length;X.readingMore=!1}function L(se){R("readable nexttick read 0"),se.read(0)}function r(se,X){X.reading||(R("resume read 0"),se.read(0)),X.resumeScheduled=!1,X.awaitDrain=0,se.emit("resume"),v(se),X.flowing&&!X.reading&&se.read(0)}function v(se){var X=se._readableState;for(R("flow",X.flowing);X.flowing&&null!==se.read(););}function V(se,X){return 0===X.length?null:(X.objectMode?me=X.buffer.shift():!se||se>=X.length?(me=X.decoder?X.buffer.join(""):1===X.buffer.length?X.buffer.head.data:X.buffer.concat(X.length),X.buffer.clear()):me=function N(se,X,me){var ce;return se<X.head.data.length?(ce=X.head.data.slice(0,se),X.head.data=X.head.data.slice(se)):ce=se===X.head.data.length?X.shift():me?function ne(se,X){var me=X.head,ce=1,fe=me.data;for(se-=fe.length;me=me.next;){var ke=me.data,mt=se>ke.length?ke.length:se;if(fe+=mt===ke.length?ke:ke.slice(0,se),0==(se-=mt)){mt===ke.length?(++ce,X.head=me.next?me.next:X.tail=null):(X.head=me,me.data=ke.slice(mt));break}++ce}return X.length-=ce,fe}(se,X):function Ee(se,X){var me=f.allocUnsafe(se),ce=X.head,fe=1;for(ce.data.copy(me),se-=ce.data.length;ce=ce.next;){var ke=ce.data,mt=se>ke.length?ke.length:se;if(ke.copy(me,me.length-se,0,mt),0==(se-=mt)){mt===ke.length?(++fe,X.head=ce.next?ce.next:X.tail=null):(X.head=ce,ce.data=ke.slice(mt));break}++fe}return X.length-=fe,me}(se,X),ce}(se,X.buffer,X.decoder),me);var me}function ze(se){var X=se._readableState;if(X.length>0)throw new Error('"endReadable()" called on non-empty stream');X.endEmitted||(X.ended=!0,e.nextTick(qe,X,se))}function qe(se,X){!se.endEmitted&&0===se.length&&(se.endEmitted=!0,X.readable=!1,X.emit("end"))}function Ke(se,X){for(var me=0,ce=se.length;me<ce;me++)if(se[me]===X)return me;return-1}ee.prototype.read=function(se){R("read",se),se=parseInt(se,10);var X=this._readableState,me=se;if(0!==se&&(X.emittedReadable=!1),0===se&&X.needReadable&&(X.length>=X.highWaterMark||X.ended))return R("read: emitReadable",X.length,X.ended),0===X.length&&X.ended?ze(this):c(this),null;if(0===(se=D(se,X))&&X.ended)return 0===X.length&&ze(this),null;var fe,ce=X.needReadable;return R("need readable",ce),(0===X.length||X.length-se<X.highWaterMark)&&R("length less than watermark",ce=!0),X.ended||X.reading?R("reading or ended",ce=!1):ce&&(R("do read"),X.reading=!0,X.sync=!0,0===X.length&&(X.needReadable=!0),this._read(X.highWaterMark),X.sync=!1,X.reading||(se=D(me,X))),null===(fe=se>0?V(se,X):null)?(X.needReadable=!0,se=0):X.length-=se,0===X.length&&(X.ended||(X.needReadable=!0),me!==se&&X.ended&&ze(this)),null!==fe&&this.emit("data",fe),fe},ee.prototype._read=function(se){this.emit("error",new Error("_read() is not implemented"))},ee.prototype.pipe=function(se,X){var me=this,ce=this._readableState;switch(ce.pipesCount){case 0:ce.pipes=se;break;case 1:ce.pipes=[ce.pipes,se];break;default:ce.pipes.push(se)}ce.pipesCount+=1,R("pipe count=%d opts=%j",ce.pipesCount,X);var ke=X&&!1===X.end||se===process.stdout||se===process.stderr?ue:_e;function _e(){R("onend"),se.end()}ce.endEmitted?e.nextTick(ke):me.once("end",ke),se.on("unpipe",function mt(Ie,He){R("onunpipe"),Ie===me&&He&&!1===He.hasUnpiped&&(He.hasUnpiped=!0,function Ze(){R("cleanup"),se.removeListener("close",Xt),se.removeListener("finish",ye),se.removeListener("drain",be),se.removeListener("error",pt),se.removeListener("unpipe",mt),me.removeListener("end",_e),me.removeListener("end",ue),me.removeListener("data",at),pe=!0,ce.awaitDrain&&(!se._writableState||se._writableState.needDrain)&&be()}())});var be=function k(se){return function(){var X=se._readableState;R("pipeOnDrain",X.awaitDrain),X.awaitDrain&&X.awaitDrain--,0===X.awaitDrain&&l(se,"data")&&(X.flowing=!0,v(se))}}(me);se.on("drain",be);var pe=!1,_t=!1;function at(Ie){R("ondata"),_t=!1,!1===se.write(Ie)&&!_t&&((1===ce.pipesCount&&ce.pipes===se||ce.pipesCount>1&&-1!==Ke(ce.pipes,se))&&!pe&&(R("false write response, pause",ce.awaitDrain),ce.awaitDrain++,_t=!0),me.pause())}function pt(Ie){R("onerror",Ie),ue(),se.removeListener("error",pt),0===l(se,"error")&&se.emit("error",Ie)}function Xt(){se.removeListener("finish",ye),ue()}function ye(){R("onfinish"),se.removeListener("close",Xt),ue()}function ue(){R("unpipe"),me.unpipe(se)}return me.on("data",at),function Q(se,X,me){if("function"==typeof se.prependListener)return se.prependListener(X,me);se._events&&se._events[X]?t(se._events[X])?se._events[X].unshift(me):se._events[X]=[me,se._events[X]]:se.on(X,me)}(se,"error",pt),se.once("close",Xt),se.once("finish",ye),se.emit("pipe",me),ce.flowing||(R("pipe resume"),me.resume()),se},ee.prototype.unpipe=function(se){var X=this._readableState,me={hasUnpiped:!1};if(0===X.pipesCount)return this;if(1===X.pipesCount)return se&&se!==X.pipes||(se||(se=X.pipes),X.pipes=null,X.pipesCount=0,X.flowing=!1,se&&se.emit("unpipe",this,me)),this;if(!se){var ce=X.pipes,fe=X.pipesCount;X.pipes=null,X.pipesCount=0,X.flowing=!1;for(var ke=0;ke<fe;ke++)ce[ke].emit("unpipe",this,{hasUnpiped:!1});return this}var mt=Ke(X.pipes,se);return-1===mt||(X.pipes.splice(mt,1),X.pipesCount-=1,1===X.pipesCount&&(X.pipes=X.pipes[0]),se.emit("unpipe",this,me)),this},ee.prototype.addListener=ee.prototype.on=function(se,X){var me=x.prototype.on.call(this,se,X);if("data"===se)!1!==this._readableState.flowing&&this.resume();else if("readable"===se){var ce=this._readableState;!ce.endEmitted&&!ce.readableListening&&(ce.readableListening=ce.needReadable=!0,ce.emittedReadable=!1,ce.reading?ce.length&&c(this):e.nextTick(L,this))}return me},ee.prototype.resume=function(){var se=this._readableState;return se.flowing||(R("resume"),se.flowing=!0,function _(se,X){X.resumeScheduled||(X.resumeScheduled=!0,e.nextTick(r,se,X))}(this,se)),this},ee.prototype.pause=function(){return R("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(R("pause"),this._readableState.flowing=!1,this.emit("pause")),this},ee.prototype.wrap=function(se){var X=this,me=this._readableState,ce=!1;for(var fe in se.on("end",function(){if(R("wrapped end"),me.decoder&&!me.ended){var mt=me.decoder.end();mt&&mt.length&&X.push(mt)}X.push(null)}),se.on("data",function(mt){R("wrapped data"),me.decoder&&(mt=me.decoder.write(mt)),me.objectMode&&null==mt||!(me.objectMode||mt&&mt.length)||X.push(mt)||(ce=!0,se.pause())}),se)void 0===this[fe]&&"function"==typeof se[fe]&&(this[fe]=function(mt){return function(){return se[mt].apply(se,arguments)}}(fe));for(var ke=0;ke<j.length;ke++)se.on(j[ke],this.emit.bind(this,j[ke]));return this._read=function(mt){R("wrapped _read",mt),ce&&(ce=!1,se.resume())},this},Object.defineProperty(ee.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ee._fromList=V},2909:(Qe,te,g)=>{"use strict";Qe.exports=S;var e=g(4075),t=Object.create(g(7637));function w(f,I){var d=this._transformState;d.transforming=!1;var T=d.writecb;if(!T)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,null!=I&&this.push(I),T(f);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function S(f){if(!(this instanceof S))return new S(f);e.call(this,f),this._transformState={afterTransform:w.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,f&&("function"==typeof f.transform&&(this._transform=f.transform),"function"==typeof f.flush&&(this._flush=f.flush)),this.on("prefinish",l)}function l(){var f=this;"function"==typeof this._flush?this._flush(function(I,d){x(f,I,d)}):x(this,null,null)}function x(f,I,d){if(I)return f.emit("error",I);if(null!=d&&f.push(d),f._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(f._transformState.transforming)throw new Error("Calling transform done when still transforming");return f.push(null)}t.inherits=g(1993),t.inherits(S,e),S.prototype.push=function(f,I){return this._transformState.needTransform=!1,e.prototype.push.call(this,f,I)},S.prototype._transform=function(f,I,d){throw new Error("_transform() is not implemented")},S.prototype._write=function(f,I,d){var T=this._transformState;if(T.writecb=d,T.writechunk=f,T.writeencoding=I,!T.transforming){var y=this._readableState;(T.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},S.prototype._read=function(f){var I=this._transformState;null!==I.writechunk&&I.writecb&&!I.transforming?(I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform)):I.needTransform=!0},S.prototype._destroy=function(f,I){var d=this;e.prototype._destroy.call(this,f,function(T){I(T),d.emit("close")})}},7849:(Qe,te,g)=>{"use strict";var e=g(9656);function w(_){var r=this;this.next=null,this.entry=null,this.finish=function(){!function L(_,r,v){var V=_.entry;for(_.entry=null;V;){var N=V.callback;r.pendingcb--,N(v),V=V.next}r.corkedRequestsFree.next=_}(r,_)}}Qe.exports=j;var l,S=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:e.nextTick;j.WritableState=W;var x=Object.create(g(7637));x.inherits=g(1993);var $,f={deprecate:g(3398)},I=g(8342),d=g(2655).Buffer,T=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},R=g(1509);function z(){}function W(_,r){l=l||g(4075);var v=r instanceof l;this.objectMode=!!(_=_||{}).objectMode,v&&(this.objectMode=this.objectMode||!!_.writableObjectMode);var V=_.highWaterMark,N=_.writableHighWaterMark;this.highWaterMark=V||0===V?V:v&&(N||0===N)?N: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===_.decodeStrings),this.defaultEncoding=_.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ze){!function Te(_,r){var v=_._writableState,V=v.sync,N=v.writecb;if(function Me(_){_.writing=!1,_.writecb=null,_.length-=_.writelen,_.writelen=0}(v),r)!function ae(_,r,v,V,N){--r.pendingcb,v?(e.nextTick(N,V),e.nextTick(C,_,r),_._writableState.errorEmitted=!0,_.emit("error",V)):(N(V),_._writableState.errorEmitted=!0,_.emit("error",V),C(_,r))}(_,v,V,r,N);else{var ne=c(v);!ne&&!v.corked&&!v.bufferProcessing&&v.bufferedRequest&&n(_,v),V?S(de,_,v,ne,N):de(_,v,ne,N)}}(r,ze)},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 w(this)}function j(_){if(l=l||g(4075),!($.call(j,this)||this instanceof l))return new j(_);this._writableState=new W(_,this),this.writable=!0,_&&("function"==typeof _.write&&(this._write=_.write),"function"==typeof _.writev&&(this._writev=_.writev),"function"==typeof _.destroy&&(this._destroy=_.destroy),"function"==typeof _.final&&(this._final=_.final)),I.call(this)}function ge(_,r,v,V,N,ne,Ee){r.writelen=V,r.writecb=Ee,r.writing=!0,r.sync=!0,v?_._writev(N,r.onwrite):_._write(N,ne,r.onwrite),r.sync=!1}function de(_,r,v,V){v||function D(_,r){0===r.length&&r.needDrain&&(r.needDrain=!1,_.emit("drain"))}(_,r),r.pendingcb--,V(),C(_,r)}function n(_,r){r.bufferProcessing=!0;var v=r.bufferedRequest;if(_._writev&&v&&v.next){var N=new Array(r.bufferedRequestCount),ne=r.corkedRequestsFree;ne.entry=v;for(var Ee=0,ze=!0;v;)N[Ee]=v,v.isBuf||(ze=!1),v=v.next,Ee+=1;N.allBuffers=ze,ge(_,r,!0,r.length,N,"",ne.finish),r.pendingcb++,r.lastBufferedRequest=null,ne.next?(r.corkedRequestsFree=ne.next,ne.next=null):r.corkedRequestsFree=new w(r),r.bufferedRequestCount=0}else{for(;v;){var qe=v.chunk;if(ge(_,r,!1,r.objectMode?1:qe.length,qe,v.encoding,v.callback),v=v.next,r.bufferedRequestCount--,r.writing)break}null===v&&(r.lastBufferedRequest=null)}r.bufferedRequest=v,r.bufferProcessing=!1}function c(_){return _.ending&&0===_.length&&null===_.bufferedRequest&&!_.finished&&!_.writing}function m(_,r){_._final(function(v){r.pendingcb--,v&&_.emit("error",v),r.prefinished=!0,_.emit("prefinish"),C(_,r)})}function C(_,r){var v=c(r);return v&&(function h(_,r){!r.prefinished&&!r.finalCalled&&("function"==typeof _._final?(r.pendingcb++,r.finalCalled=!0,e.nextTick(m,_,r)):(r.prefinished=!0,_.emit("prefinish")))}(_,r),0===r.pendingcb&&(r.finished=!0,_.emit("finish"))),v}x.inherits(j,I),W.prototype.getBuffer=function(){for(var r=this.bufferedRequest,v=[];r;)v.push(r),r=r.next;return v},function(){try{Object.defineProperty(W.prototype,"buffer",{get:f.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?($=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(_){return!!$.call(this,_)||this===j&&_&&_._writableState instanceof W}})):$=function(_){return _ instanceof this},j.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},j.prototype.write=function(_,r,v){var V=this._writableState,N=!1,ne=!V.objectMode&&function F(_){return d.isBuffer(_)||_ instanceof T}(_);return ne&&!d.isBuffer(_)&&(_=function y(_){return d.from(_)}(_)),"function"==typeof r&&(v=r,r=null),ne?r="buffer":r||(r=V.defaultEncoding),"function"!=typeof v&&(v=z),V.ended?function Q(_,r){var v=new Error("write after end");_.emit("error",v),e.nextTick(r,v)}(this,v):(ne||function J(_,r,v,V){var N=!0,ne=!1;return null===v?ne=new TypeError("May not write null values to stream"):"string"!=typeof v&&void 0!==v&&!r.objectMode&&(ne=new TypeError("Invalid non-string/buffer chunk")),ne&&(_.emit("error",ne),e.nextTick(V,ne),N=!1),N}(this,V,_,v))&&(V.pendingcb++,N=function ie(_,r,v,V,N,ne){if(!v){var Ee=function ee(_,r,v){return!_.objectMode&&!1!==_.decodeStrings&&"string"==typeof r&&(r=d.from(r,v)),r}(r,V,N);V!==Ee&&(v=!0,N="buffer",V=Ee)}var ze=r.objectMode?1:V.length;r.length+=ze;var qe=r.length<r.highWaterMark;if(qe||(r.needDrain=!0),r.writing||r.corked){var Ke=r.lastBufferedRequest;r.lastBufferedRequest={chunk:V,encoding:N,isBuf:v,callback:ne,next:null},Ke?Ke.next=r.lastBufferedRequest:r.bufferedRequest=r.lastBufferedRequest,r.bufferedRequestCount+=1}else ge(_,r,!1,ze,V,N,ne);return qe}(this,V,ne,_,r,v)),N},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var _=this._writableState;_.corked&&(_.corked--,!_.writing&&!_.corked&&!_.bufferProcessing&&_.bufferedRequest&&n(this,_))},j.prototype.setDefaultEncoding=function(r){if("string"==typeof r&&(r=r.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((r+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+r);return this._writableState.defaultEncoding=r,this},Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(_,r,v){v(new Error("_write() is not implemented"))},j.prototype._writev=null,j.prototype.end=function(_,r,v){var V=this._writableState;"function"==typeof _?(v=_,_=null,r=null):"function"==typeof r&&(v=r,r=null),null!=_&&this.write(_,r),V.corked&&(V.corked=1,this.uncork()),V.ending||function k(_,r,v){r.ending=!0,C(_,r),v&&(r.finished?e.nextTick(v):_.once("finish",v)),r.ended=!0,_.writable=!1}(this,V,v)},Object.defineProperty(j.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(_){this._writableState&&(this._writableState.destroyed=_)}}),j.prototype.destroy=R.destroy,j.prototype._undestroy=R.undestroy,j.prototype._destroy=function(_,r){this.end(),r(_)}},7809:(Qe,te,g)=>{"use strict";var t=g(2655).Buffer,w=g(5340);function S(l,x,f){l.copy(x,f)}Qe.exports=function(){function l(){(function e(l,x){if(!(l instanceof x))throw new TypeError("Cannot call a class as a function")})(this,l),this.head=null,this.tail=null,this.length=0}return l.prototype.push=function(f){var I={data:f,next:null};this.length>0?this.tail.next=I:this.head=I,this.tail=I,++this.length},l.prototype.unshift=function(f){var I={data:f,next:this.head};0===this.length&&(this.tail=I),this.head=I,++this.length},l.prototype.shift=function(){if(0!==this.length){var f=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,f}},l.prototype.clear=function(){this.head=this.tail=null,this.length=0},l.prototype.join=function(f){if(0===this.length)return"";for(var I=this.head,d=""+I.data;I=I.next;)d+=f+I.data;return d},l.prototype.concat=function(f){if(0===this.length)return t.alloc(0);for(var I=t.allocUnsafe(f>>>0),d=this.head,T=0;d;)S(d.data,I,T),T+=d.data.length,d=d.next;return I},l}(),w&&w.inspect&&w.inspect.custom&&(Qe.exports.prototype[w.inspect.custom]=function(){var l=w.inspect({length:this.length});return this.constructor.name+" "+l})},1509:(Qe,te,g)=>{"use strict";var e=g(9656);function S(l,x){l.emit("error",x)}Qe.exports={destroy:function t(l,x){var f=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(x?x(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(S,this,l)):e.nextTick(S,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(T){!x&&T?f._writableState?f._writableState.errorEmitted||(f._writableState.errorEmitted=!0,e.nextTick(S,f,T)):e.nextTick(S,f,T):x&&x(T)}),this)},undestroy:function w(){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)}}},8342:(Qe,te,g)=>{Qe.exports=g(4356).EventEmitter},2655:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function w(l,x){for(var f in l)x[f]=l[f]}function S(l,x,f){return t(l,x,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(w(e,te),te.Buffer=S),w(t,S),S.from=function(l,x,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,x,f)},S.alloc=function(l,x,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var I=t(l);return void 0!==x?"string"==typeof f?I.fill(x,f):I.fill(x):I.fill(0),I},S.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},S.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},5942:(Qe,te,g)=>{(te=Qe.exports=g(9609)).Stream=te,te.Readable=te,te.Writable=g(7849),te.Duplex=g(4075),te.Transform=g(2909),te.PassThrough=g(8823)},6021:Qe=>{"use strict";function te(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}Qe.exports=function g(t){return(t=t||{}).circles?function e(t){var w=[],S=[];return t.proto?function f(I){if("object"!=typeof I||null===I)return I;if(I instanceof Date)return new Date(I);if(Array.isArray(I))return l(I,f);if(I instanceof Map)return new Map(l(Array.from(I),f));if(I instanceof Set)return new Set(l(Array.from(I),f));var d={};for(var T in w.push(I),S.push(d),I){var y=I[T];if("object"!=typeof y||null===y)d[T]=y;else if(y instanceof Date)d[T]=new Date(y);else if(y instanceof Map)d[T]=new Map(l(Array.from(y),f));else if(y instanceof Set)d[T]=new Set(l(Array.from(y),f));else if(ArrayBuffer.isView(y))d[T]=te(y);else{var F=w.indexOf(y);d[T]=-1!==F?S[F]:f(y)}}return w.pop(),S.pop(),d}:function x(I){if("object"!=typeof I||null===I)return I;if(I instanceof Date)return new Date(I);if(Array.isArray(I))return l(I,x);if(I instanceof Map)return new Map(l(Array.from(I),x));if(I instanceof Set)return new Set(l(Array.from(I),x));var d={};for(var T in w.push(I),S.push(d),I)if(!1!==Object.hasOwnProperty.call(I,T)){var y=I[T];if("object"!=typeof y||null===y)d[T]=y;else if(y instanceof Date)d[T]=new Date(y);else if(y instanceof Map)d[T]=new Map(l(Array.from(y),x));else if(y instanceof Set)d[T]=new Set(l(Array.from(y),x));else if(ArrayBuffer.isView(y))d[T]=te(y);else{var F=w.indexOf(y);d[T]=-1!==F?S[F]:x(y)}}return w.pop(),S.pop(),d};function l(I,d){for(var T=Object.keys(I),y=new Array(T.length),F=0;F<T.length;F++){var R=T[F],z=I[R];if("object"!=typeof z||null===z)y[R]=z;else if(z instanceof Date)y[R]=new Date(z);else if(ArrayBuffer.isView(z))y[R]=te(z);else{var W=w.indexOf(z);y[R]=-1!==W?S[W]:d(z)}}return y}}(t):t.proto?function l(x){if("object"!=typeof x||null===x)return x;if(x instanceof Date)return new Date(x);if(Array.isArray(x))return w(x,l);if(x instanceof Map)return new Map(w(Array.from(x),l));if(x instanceof Set)return new Set(w(Array.from(x),l));var f={};for(var I in x){var d=x[I];f[I]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(w(Array.from(d),l)):d instanceof Set?new Set(w(Array.from(d),l)):ArrayBuffer.isView(d)?te(d):l(d)}return f}:function S(x){if("object"!=typeof x||null===x)return x;if(x instanceof Date)return new Date(x);if(Array.isArray(x))return w(x,S);if(x instanceof Map)return new Map(w(Array.from(x),S));if(x instanceof Set)return new Set(w(Array.from(x),S));var f={};for(var I in x)if(!1!==Object.hasOwnProperty.call(x,I)){var d=x[I];f[I]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(w(Array.from(d),S)):d instanceof Set?new Set(w(Array.from(d),S)):ArrayBuffer.isView(d)?te(d):S(d)}return f};function w(x,f){for(var I=Object.keys(x),d=new Array(I.length),T=0;T<I.length;T++){var y=I[T],F=x[y];d[y]="object"!=typeof F||null===F?F:F instanceof Date?new Date(F):ArrayBuffer.isView(F)?te(F):f(F)}return d}}},6636:(Qe,te,g)=>{"use strict";var e=g(3838).Buffer,t=g(1993),w=g(3686),S=new Array(16),l=[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],x=[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],f=[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],I=[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],d=[0,1518500249,1859775393,2400959708,2840853838],T=[1352829926,1548603684,1836072691,2053994217,0];function y(){w.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function F(Q,J){return Q<<J|Q>>>32-J}function R(Q,J,ee,ie,ge,ae,Me,Te){return F(Q+(J^ee^ie)+ae+Me|0,Te)+ge|0}function z(Q,J,ee,ie,ge,ae,Me,Te){return F(Q+(J&ee|~J&ie)+ae+Me|0,Te)+ge|0}function W(Q,J,ee,ie,ge,ae,Me,Te){return F(Q+((J|~ee)^ie)+ae+Me|0,Te)+ge|0}function $(Q,J,ee,ie,ge,ae,Me,Te){return F(Q+(J&ie|ee&~ie)+ae+Me|0,Te)+ge|0}function j(Q,J,ee,ie,ge,ae,Me,Te){return F(Q+(J^(ee|~ie))+ae+Me|0,Te)+ge|0}t(y,w),y.prototype._update=function(){for(var Q=S,J=0;J<16;++J)Q[J]=this._block.readInt32LE(4*J);for(var ee=0|this._a,ie=0|this._b,ge=0|this._c,ae=0|this._d,Me=0|this._e,Te=0|this._a,de=0|this._b,D=0|this._c,n=0|this._d,c=0|this._e,m=0;m<80;m+=1){var h,C;m<16?(h=R(ee,ie,ge,ae,Me,Q[l[m]],d[0],f[m]),C=j(Te,de,D,n,c,Q[x[m]],T[0],I[m])):m<32?(h=z(ee,ie,ge,ae,Me,Q[l[m]],d[1],f[m]),C=$(Te,de,D,n,c,Q[x[m]],T[1],I[m])):m<48?(h=W(ee,ie,ge,ae,Me,Q[l[m]],d[2],f[m]),C=W(Te,de,D,n,c,Q[x[m]],T[2],I[m])):m<64?(h=$(ee,ie,ge,ae,Me,Q[l[m]],d[3],f[m]),C=z(Te,de,D,n,c,Q[x[m]],T[3],I[m])):(h=j(ee,ie,ge,ae,Me,Q[l[m]],d[4],f[m]),C=R(Te,de,D,n,c,Q[x[m]],T[4],I[m])),ee=Me,Me=ae,ae=F(ge,10),ge=ie,ie=h,Te=c,c=n,n=F(D,10),D=de,de=C}var k=this._b+ge+n|0;this._b=this._c+ae+c|0,this._c=this._d+Me+Te|0,this._d=this._e+ee+de|0,this._e=this._a+ie+D|0,this._a=k},y.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 Q=e.alloc?e.alloc(20):new e(20);return Q.writeInt32LE(this._a,0),Q.writeInt32LE(this._b,4),Q.writeInt32LE(this._c,8),Q.writeInt32LE(this._d,12),Q.writeInt32LE(this._e,16),Q},Qe.exports=y},4412:(Qe,te,g)=>{"use strict";g.d(te,{t:()=>t});var e=g(1413);class t extends e.B{constructor(S){super(),this._value=S}get value(){return this.getValue()}_subscribe(S){const l=super._subscribe(S);return!l.closed&&S.next(this._value),l}getValue(){const{hasError:S,thrownError:l,_value:x}=this;if(S)throw l;return this._throwIfClosed(),x}next(S){super.next(this._value=S)}}},1985:(Qe,te,g)=>{"use strict";g.d(te,{c:()=>I});var e=g(7707),t=g(8359),w=g(3494),S=g(1203),l=g(1026),x=g(8071),f=g(9786);let I=(()=>{class F{constructor(z){z&&(this._subscribe=z)}lift(z){const W=new F;return W.source=this,W.operator=z,W}subscribe(z,W,$){const j=function y(F){return F&&F instanceof e.vU||function T(F){return F&&(0,x.T)(F.next)&&(0,x.T)(F.error)&&(0,x.T)(F.complete)}(F)&&(0,t.Uv)(F)}(z)?z:new e.Ms(z,W,$);return(0,f.Y)(()=>{const{operator:Q,source:J}=this;j.add(Q?Q.call(j,J):J?this._subscribe(j):this._trySubscribe(j))}),j}_trySubscribe(z){try{return this._subscribe(z)}catch(W){z.error(W)}}forEach(z,W){return new(W=d(W))(($,j)=>{const Q=new e.Ms({next:J=>{try{z(J)}catch(ee){j(ee),Q.unsubscribe()}},error:j,complete:$});this.subscribe(Q)})}_subscribe(z){var W;return null===(W=this.source)||void 0===W?void 0:W.subscribe(z)}[w.s](){return this}pipe(...z){return(0,S.m)(z)(this)}toPromise(z){return new(z=d(z))((W,$)=>{let j;this.subscribe(Q=>j=Q,Q=>$(Q),()=>W(j))})}}return F.create=R=>new F(R),F})();function d(F){var R;return null!==(R=F??l.$.Promise)&&void 0!==R?R:Promise}},2771:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>w});var e=g(1413),t=g(6129);class w extends e.B{constructor(l=1/0,x=1/0,f=t.U){super(),this._bufferSize=l,this._windowTime=x,this._timestampProvider=f,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=x===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,x)}next(l){const{isStopped:x,_buffer:f,_infiniteTimeWindow:I,_timestampProvider:d,_windowTime:T}=this;x||(f.push(l),!I&&f.push(d.now()+T)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const x=this._innerSubscribe(l),{_infiniteTimeWindow:f,_buffer:I}=this,d=I.slice();for(let T=0;T<d.length&&!l.closed;T+=f?1:2)l.next(d[T]);return this._checkFinalizedStatuses(l),x}_trimBuffer(){const{_bufferSize:l,_timestampProvider:x,_buffer:f,_infiniteTimeWindow:I}=this,d=(I?1:2)*l;if(l<1/0&&d<f.length&&f.splice(0,f.length-d),!I){const T=x.now();let y=0;for(let F=1;F<f.length&&f[F]<=T;F+=2)y=F;y&&f.splice(0,y+1)}}}},1413:(Qe,te,g)=>{"use strict";g.d(te,{k:()=>I,B:()=>f});var e=g(1985),t=g(8359);const S=(0,g(1853).L)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=g(7908),x=g(9786);let f=(()=>{class d extends e.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(y){const F=new I(this,this);return F.operator=y,F}_throwIfClosed(){if(this.closed)throw new S}next(y){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const F of this.currentObservers)F.next(y)}})}error(y){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=y;const{observers:F}=this;for(;F.length;)F.shift().error(y)}})}complete(){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:y}=this;for(;y.length;)y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var y;return(null===(y=this.observers)||void 0===y?void 0:y.length)>0}_trySubscribe(y){return this._throwIfClosed(),super._trySubscribe(y)}_subscribe(y){return this._throwIfClosed(),this._checkFinalizedStatuses(y),this._innerSubscribe(y)}_innerSubscribe(y){const{hasError:F,isStopped:R,observers:z}=this;return F||R?t.Kn:(this.currentObservers=null,z.push(y),new t.yU(()=>{this.currentObservers=null,(0,l.o)(z,y)}))}_checkFinalizedStatuses(y){const{hasError:F,thrownError:R,isStopped:z}=this;F?y.error(R):z&&y.complete()}asObservable(){const y=new e.c;return y.source=this,y}}return d.create=(T,y)=>new I(T,y),d})();class I extends f{constructor(T,y){super(),this.destination=T,this.source=y}next(T){var y,F;null===(F=null===(y=this.destination)||void 0===y?void 0:y.next)||void 0===F||F.call(y,T)}error(T){var y,F;null===(F=null===(y=this.destination)||void 0===y?void 0:y.error)||void 0===F||F.call(y,T)}complete(){var T,y;null===(y=null===(T=this.destination)||void 0===T?void 0:T.complete)||void 0===y||y.call(T)}_subscribe(T){var y,F;return null!==(F=null===(y=this.source)||void 0===y?void 0:y.subscribe(T))&&void 0!==F?F:t.Kn}}},7707:(Qe,te,g)=>{"use strict";g.d(te,{Ms:()=>$,vU:()=>F});var e=g(8071),t=g(8359),w=g(1026),S=g(5334),l=g(5343);const x=d("C",void 0,void 0);function d(ie,ge,ae){return{kind:ie,value:ge,error:ae}}var T=g(9270),y=g(9786);class F extends t.yU{constructor(ge){super(),this.isStopped=!1,ge?(this.destination=ge,(0,t.Uv)(ge)&&ge.add(this)):this.destination=ee}static create(ge,ae,Me){return new $(ge,ae,Me)}next(ge){this.isStopped?J(function I(ie){return d("N",ie,void 0)}(ge),this):this._next(ge)}error(ge){this.isStopped?J(function f(ie){return d("E",void 0,ie)}(ge),this):(this.isStopped=!0,this._error(ge))}complete(){this.isStopped?J(x,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ge){this.destination.next(ge)}_error(ge){try{this.destination.error(ge)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const R=Function.prototype.bind;function z(ie,ge){return R.call(ie,ge)}class W{constructor(ge){this.partialObserver=ge}next(ge){const{partialObserver:ae}=this;if(ae.next)try{ae.next(ge)}catch(Me){j(Me)}}error(ge){const{partialObserver:ae}=this;if(ae.error)try{ae.error(ge)}catch(Me){j(Me)}else j(ge)}complete(){const{partialObserver:ge}=this;if(ge.complete)try{ge.complete()}catch(ae){j(ae)}}}class $ extends F{constructor(ge,ae,Me){let Te;if(super(),(0,e.T)(ge)||!ge)Te={next:ge??void 0,error:ae??void 0,complete:Me??void 0};else{let de;this&&w.$.useDeprecatedNextContext?(de=Object.create(ge),de.unsubscribe=()=>this.unsubscribe(),Te={next:ge.next&&z(ge.next,de),error:ge.error&&z(ge.error,de),complete:ge.complete&&z(ge.complete,de)}):Te=ge}this.destination=new W(Te)}}function j(ie){w.$.useDeprecatedSynchronousErrorHandling?(0,y.l)(ie):(0,S.m)(ie)}function J(ie,ge){const{onStoppedNotification:ae}=w.$;ae&&T.f.setTimeout(()=>ae(ie,ge))}const ee={closed:!0,next:l.l,error:function Q(ie){throw ie},complete:l.l}},8359:(Qe,te,g)=>{"use strict";g.d(te,{Kn:()=>x,yU:()=>l,Uv:()=>f});var e=g(8071);const w=(0,g(1853).L)(d=>function(y){d(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((F,R)=>`${R+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y});var S=g(7908);class l{constructor(T){this.initialTeardown=T,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let T;if(!this.closed){this.closed=!0;const{_parentage:y}=this;if(y)if(this._parentage=null,Array.isArray(y))for(const z of y)z.remove(this);else y.remove(this);const{initialTeardown:F}=this;if((0,e.T)(F))try{F()}catch(z){T=z instanceof w?z.errors:[z]}const{_finalizers:R}=this;if(R){this._finalizers=null;for(const z of R)try{I(z)}catch(W){T=T??[],W instanceof w?T=[...T,...W.errors]:T.push(W)}}if(T)throw new w(T)}}add(T){var y;if(T&&T!==this)if(this.closed)I(T);else{if(T instanceof l){if(T.closed||T._hasParent(this))return;T._addParent(this)}(this._finalizers=null!==(y=this._finalizers)&&void 0!==y?y:[]).push(T)}}_hasParent(T){const{_parentage:y}=this;return y===T||Array.isArray(y)&&y.includes(T)}_addParent(T){const{_parentage:y}=this;this._parentage=Array.isArray(y)?(y.push(T),y):y?[y,T]:T}_removeParent(T){const{_parentage:y}=this;y===T?this._parentage=null:Array.isArray(y)&&(0,S.o)(y,T)}remove(T){const{_finalizers:y}=this;y&&(0,S.o)(y,T),T instanceof l&&T._removeParent(this)}}l.EMPTY=(()=>{const d=new l;return d.closed=!0,d})();const x=l.EMPTY;function f(d){return d instanceof l||d&&"closed"in d&&(0,e.T)(d.remove)&&(0,e.T)(d.add)&&(0,e.T)(d.unsubscribe)}function I(d){(0,e.T)(d)?d():d.unsubscribe()}},1026:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>x});var e=g(1985),t=g(8359),w=g(9898),S=g(4360),l=g(9974);class x extends e.c{constructor(I,d){super(),this.source=I,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,l.S)(I)&&(this.lift=I.lift)}_subscribe(I){return this.getSubject().subscribe(I)}getSubject(){const I=this._subject;return(!I||I.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:I}=this;this._subject=this._connection=null,I?.unsubscribe()}connect(){let I=this._connection;if(!I){I=this._connection=new t.yU;const d=this.getSubject();I.add(this.source.subscribe((0,S._)(d,void 0,()=>{this._teardown(),d.complete()},T=>{this._teardown(),d.error(T)},()=>this._teardown()))),I.closed&&(this._connection=null,I=t.yU.EMPTY)}return I}refCount(){return(0,w.B)()(this)}}},4572:(Qe,te,g)=>{"use strict";g.d(te,{z:()=>T});var e=g(1985),t=g(3073),w=g(2806),S=g(3669),l=g(6450),x=g(9326),f=g(8496),I=g(4360),d=g(5225);function T(...R){const z=(0,x.lI)(R),W=(0,x.ms)(R),{args:$,keys:j}=(0,t.D)(R);if(0===$.length)return(0,w.H)([],z);const Q=new e.c(function y(R,z,W=S.D){return $=>{F(z,()=>{const{length:j}=R,Q=new Array(j);let J=j,ee=j;for(let ie=0;ie<j;ie++)F(z,()=>{const ge=(0,w.H)(R[ie],z);let ae=!1;ge.subscribe((0,I._)($,Me=>{Q[ie]=Me,ae||(ae=!0,ee--),ee||$.next(W(Q.slice()))},()=>{--J||$.complete()}))},$)},$)}}($,z,j?J=>(0,f.e)(j,J):S.D));return W?Q.pipe((0,l.I)(W)):Q}function F(R,z,W){R?(0,d.N)(W,R,z):z()}},8793:(Qe,te,g)=>{"use strict";g.d(te,{x:()=>l});var e=g(6365),w=g(9326),S=g(2806);function l(...x){return function t(){return(0,e.U)(1)}()((0,S.H)(x,(0,w.lI)(x)))}},9030:(Qe,te,g)=>{"use strict";g.d(te,{v:()=>w});var e=g(1985),t=g(8750);function w(S){return new e.c(l=>{(0,t.Tg)(S()).subscribe(l)})}},983:(Qe,te,g)=>{"use strict";g.d(te,{w:()=>t});const t=new(g(1985).c)(l=>l.complete())},7468:(Qe,te,g)=>{"use strict";g.d(te,{p:()=>I});var e=g(1985),t=g(3073),w=g(8750),S=g(9326),l=g(4360),x=g(6450),f=g(8496);function I(...d){const T=(0,S.ms)(d),{args:y,keys:F}=(0,t.D)(d),R=new e.c(z=>{const{length:W}=y;if(!W)return void z.complete();const $=new Array(W);let j=W,Q=W;for(let J=0;J<W;J++){let ee=!1;(0,w.Tg)(y[J]).subscribe((0,l._)(z,ie=>{ee||(ee=!0,Q--),$[J]=ie},()=>j--,void 0,()=>{(!j||!ee)&&(Q||z.next(F?(0,f.e)(F,$):$),z.complete())}))}});return T?R.pipe((0,x.I)(T)):R}},2806:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>ae});var e=g(8750),t=g(941),w=g(9974);function S(Me,Te=0){return(0,w.N)((de,D)=>{D.add(Me.schedule(()=>de.subscribe(D),Te))})}var f=g(1985),d=g(4761),T=g(8071),y=g(5225);function R(Me,Te){if(!Me)throw new Error("Iterable cannot be null");return new f.c(de=>{(0,y.N)(de,Te,()=>{const D=Me[Symbol.asyncIterator]();(0,y.N)(de,Te,()=>{D.next().then(n=>{n.done?de.complete():de.next(n.value)})},0,!0)})})}var z=g(5055),W=g(9858),$=g(7441),j=g(5397),Q=g(7953),J=g(591),ee=g(5196);function ae(Me,Te){return Te?function ge(Me,Te){if(null!=Me){if((0,z.l)(Me))return function l(Me,Te){return(0,e.Tg)(Me).pipe(S(Te),(0,t.Q)(Te))}(Me,Te);if((0,$.X)(Me))return function I(Me,Te){return new f.c(de=>{let D=0;return Te.schedule(function(){D===Me.length?de.complete():(de.next(Me[D++]),de.closed||this.schedule())})})}(Me,Te);if((0,W.y)(Me))return function x(Me,Te){return(0,e.Tg)(Me).pipe(S(Te),(0,t.Q)(Te))}(Me,Te);if((0,Q.T)(Me))return R(Me,Te);if((0,j.x)(Me))return function F(Me,Te){return new f.c(de=>{let D;return(0,y.N)(de,Te,()=>{D=Me[d.l](),(0,y.N)(de,Te,()=>{let n,c;try{({value:n,done:c}=D.next())}catch(m){return void de.error(m)}c?de.complete():de.next(n)},0,!0)}),()=>(0,T.T)(D?.return)&&D.return()})}(Me,Te);if((0,ee.U)(Me))return function ie(Me,Te){return R((0,ee.C)(Me),Te)}(Me,Te)}throw(0,J.L)(Me)}(Me,Te):(0,e.Tg)(Me)}},3726:(Qe,te,g)=>{"use strict";g.d(te,{R:()=>T});var e=g(8750),t=g(1985),w=g(1397),S=g(7441),l=g(8071),x=g(6450);const f=["addListener","removeListener"],I=["addEventListener","removeEventListener"],d=["on","off"];function T(W,$,j,Q){if((0,l.T)(j)&&(Q=j,j=void 0),Q)return T(W,$,j).pipe((0,x.I)(Q));const[J,ee]=function z(W){return(0,l.T)(W.addEventListener)&&(0,l.T)(W.removeEventListener)}(W)?I.map(ie=>ge=>W[ie]($,ge,j)):function F(W){return(0,l.T)(W.addListener)&&(0,l.T)(W.removeListener)}(W)?f.map(y(W,$)):function R(W){return(0,l.T)(W.on)&&(0,l.T)(W.off)}(W)?d.map(y(W,$)):[];if(!J&&(0,S.X)(W))return(0,w.Z)(ie=>T(ie,$,j))((0,e.Tg)(W));if(!J)throw new TypeError("Invalid event target");return new t.c(ie=>{const ge=(...ae)=>ie.next(1<ae.length?ae:ae[0]);return J(ge),()=>ee(ge)})}function y(W,$){return j=>Q=>W[j]($,Q)}},8750:(Qe,te,g)=>{"use strict";g.d(te,{Tg:()=>R});var e=g(1635),t=g(7441),w=g(9858),S=g(1985),l=g(5055),x=g(7953),f=g(591),I=g(5397),d=g(5196),T=g(8071),y=g(5334),F=g(3494);function R(ie){if(ie instanceof S.c)return ie;if(null!=ie){if((0,l.l)(ie))return function z(ie){return new S.c(ge=>{const ae=ie[F.s]();if((0,T.T)(ae.subscribe))return ae.subscribe(ge);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ie);if((0,t.X)(ie))return function W(ie){return new S.c(ge=>{for(let ae=0;ae<ie.length&&!ge.closed;ae++)ge.next(ie[ae]);ge.complete()})}(ie);if((0,w.y)(ie))return function $(ie){return new S.c(ge=>{ie.then(ae=>{ge.closed||(ge.next(ae),ge.complete())},ae=>ge.error(ae)).then(null,y.m)})}(ie);if((0,x.T)(ie))return Q(ie);if((0,I.x)(ie))return function j(ie){return new S.c(ge=>{for(const ae of ie)if(ge.next(ae),ge.closed)return;ge.complete()})}(ie);if((0,d.U)(ie))return function J(ie){return Q((0,d.C)(ie))}(ie)}throw(0,f.L)(ie)}function Q(ie){return new S.c(ge=>{(function ee(ie,ge){var ae,Me,Te,de;return(0,e.sH)(this,void 0,void 0,function*(){try{for(ae=(0,e.xN)(ie);!(Me=yield ae.next()).done;)if(ge.next(Me.value),ge.closed)return}catch(D){Te={error:D}}finally{try{Me&&!Me.done&&(de=ae.return)&&(yield de.call(ae))}finally{if(Te)throw Te.error}}ge.complete()})})(ie,ge).catch(ae=>ge.error(ae))})}},7786:(Qe,te,g)=>{"use strict";g.d(te,{h:()=>x});var e=g(6365),t=g(8750),w=g(983),S=g(9326),l=g(2806);function x(...f){const I=(0,S.lI)(f),d=(0,S.R0)(f,1/0),T=f;return T.length?1===T.length?(0,t.Tg)(T[0]):(0,e.U)(d)((0,l.H)(T,I)):w.w}},7673:(Qe,te,g)=>{"use strict";g.d(te,{of:()=>w});var e=g(9326),t=g(2806);function w(...S){const l=(0,e.lI)(S);return(0,t.H)(S,l)}},8810:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>w});var e=g(1985),t=g(8071);function w(S,l){const x=(0,t.T)(S)?S:()=>S,f=I=>I.error(x());return new e.c(l?I=>l.schedule(f,0,I):f)}},1807:(Qe,te,g)=>{"use strict";g.d(te,{O:()=>l});var e=g(1985),t=g(3236),w=g(9470),S=g(8211);function l(x=0,f,I=t.b){let d=-1;return null!=f&&((0,w.m)(f)?I=f:d=f),new e.c(T=>{let y=(0,S.v)(x)?+x-I.now():x;y<0&&(y=0);let F=0;return I.schedule(function(){T.closed||(T.next(F++),0<=d?this.schedule(void 0,d):T.complete())},y)})}},4360:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>w,_:()=>t});var e=g(7707);function t(S,l,x,f,I){return new w(S,l,x,f,I)}class w extends e.vU{constructor(l,x,f,I,d,T){super(l),this.onFinalize=d,this.shouldUnsubscribe=T,this._next=x?function(y){try{x(y)}catch(F){l.error(F)}}:super._next,this._error=I?function(y){try{I(y)}catch(F){l.error(F)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(y){l.error(y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:x}=this;super.unsubscribe(),!x&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},3798:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>f});var e=g(3236),t=g(9974),w=g(8750),S=g(4360),x=g(1807);function f(I,d=e.E){return function l(I){return(0,t.N)((d,T)=>{let y=!1,F=null,R=null,z=!1;const W=()=>{if(R?.unsubscribe(),R=null,y){y=!1;const j=F;F=null,T.next(j)}z&&T.complete()},$=()=>{R=null,z&&T.complete()};d.subscribe((0,S._)(T,j=>{y=!0,F=j,R||(0,w.Tg)(I(j)).subscribe(R=(0,S._)(T,W,$))},()=>{z=!0,(!y||!R||R.closed)&&T.complete()}))})}(()=>(0,x.O)(I,d))}},9437:(Qe,te,g)=>{"use strict";g.d(te,{W:()=>S});var e=g(8750),t=g(4360),w=g(9974);function S(l){return(0,w.N)((x,f)=>{let T,I=null,d=!1;I=x.subscribe((0,t._)(f,void 0,void 0,y=>{T=(0,e.Tg)(l(y,S(l)(x))),I?(I.unsubscribe(),I=null,T.subscribe(f)):d=!0})),d&&(I.unsubscribe(),I=null,T.subscribe(f))})}},274:(Qe,te,g)=>{"use strict";g.d(te,{H:()=>w});var e=g(1397),t=g(8071);function w(S,l){return(0,t.T)(l)?(0,e.Z)(S,l,1):(0,e.Z)(S,1)}},152:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>S});var e=g(3236),t=g(9974),w=g(4360);function S(l,x=e.E){return(0,t.N)((f,I)=>{let d=null,T=null,y=null;const F=()=>{if(d){d.unsubscribe(),d=null;const z=T;T=null,I.next(z)}};function R(){const z=y+l,W=x.now();if(W<z)return d=this.schedule(void 0,z-W),void I.add(d);F()}f.subscribe((0,w._)(I,z=>{T=z,y=x.now(),d||(d=x.schedule(R,l),I.add(d))},()=>{F(),I.complete()},void 0,()=>{T=d=null}))})}},9901:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>w});var e=g(9974),t=g(4360);function w(S){return(0,e.N)((l,x)=>{let f=!1;l.subscribe((0,t._)(x,I=>{f=!0,x.next(I)},()=>{f||x.next(S),x.complete()}))})}},5335:(Qe,te,g)=>{"use strict";g.d(te,{c:()=>T});var e=g(3236),t=g(8793),w=g(6697),S=g(3557),l=g(3703),x=g(1397),f=g(8750);function I(y,F){return F?R=>(0,t.x)(F.pipe((0,w.s)(1),(0,S.w)()),R.pipe(I(y))):(0,x.Z)((R,z)=>(0,f.Tg)(y(R,z)).pipe((0,w.s)(1),(0,l.u)(R)))}var d=g(1807);function T(y,F=e.E){const R=(0,d.O)(y,F);return I(()=>R)}},3294:(Qe,te,g)=>{"use strict";g.d(te,{F:()=>S});var e=g(3669),t=g(9974),w=g(4360);function S(x,f=e.D){return x=x??l,(0,t.N)((I,d)=>{let T,y=!0;I.subscribe((0,w._)(d,F=>{const R=f(F);(y||!x(T,R))&&(y=!1,T=R,d.next(F))}))})}function l(x,f){return x===f}},5964:(Qe,te,g)=>{"use strict";g.d(te,{p:()=>w});var e=g(9974),t=g(4360);function w(S,l){return(0,e.N)((x,f)=>{let I=0;x.subscribe((0,t._)(f,d=>S.call(l,d,I++)&&f.next(d)))})}},980:(Qe,te,g)=>{"use strict";g.d(te,{j:()=>t});var e=g(9974);function t(w){return(0,e.N)((S,l)=>{try{S.subscribe(l)}finally{l.add(w)}})}},1594:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>f});var e=g(9350),t=g(5964),w=g(6697),S=g(9901),l=g(3774),x=g(3669);function f(I,d){const T=arguments.length>=2;return y=>y.pipe(I?(0,t.p)((F,R)=>I(F,R,y)):x.D,(0,w.s)(1),T?(0,S.U)(d):(0,l.v)(()=>new e.G))}},3557:(Qe,te,g)=>{"use strict";g.d(te,{w:()=>S});var e=g(9974),t=g(4360),w=g(5343);function S(){return(0,e.N)((l,x)=>{l.subscribe((0,t._)(x,w.l))})}},6354:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>w});var e=g(9974),t=g(4360);function w(S,l){return(0,e.N)((x,f)=>{let I=0;x.subscribe((0,t._)(f,d=>{f.next(S.call(l,d,I++))}))})}},3703:(Qe,te,g)=>{"use strict";g.d(te,{u:()=>t});var e=g(6354);function t(w){return(0,e.T)(()=>w)}},6365:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>w});var e=g(1397),t=g(3669);function w(S=1/0){return(0,e.Z)(t.D,S)}},1397:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>I});var e=g(6354),t=g(8750),w=g(9974),S=g(5225),l=g(4360),f=g(8071);function I(d,T,y=1/0){return(0,f.T)(T)?I((F,R)=>(0,e.T)((z,W)=>T(F,z,R,W))((0,t.Tg)(d(F,R))),y):("number"==typeof T&&(y=T),(0,w.N)((F,R)=>function x(d,T,y,F,R,z,W,$){const j=[];let Q=0,J=0,ee=!1;const ie=()=>{ee&&!j.length&&!Q&&T.complete()},ge=Me=>Q<F?ae(Me):j.push(Me),ae=Me=>{z&&T.next(Me),Q++;let Te=!1;(0,t.Tg)(y(Me,J++)).subscribe((0,l._)(T,de=>{R?.(de),z?ge(de):T.next(de)},()=>{Te=!0},void 0,()=>{if(Te)try{for(Q--;j.length&&Q<F;){const de=j.shift();W?(0,S.N)(T,W,()=>ae(de)):ae(de)}ie()}catch(de){T.error(de)}}))};return d.subscribe((0,l._)(T,ge,()=>{ee=!0,ie()})),()=>{$?.()}}(F,R,d,y)))}},941:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>S});var e=g(5225),t=g(9974),w=g(4360);function S(l,x=0){return(0,t.N)((f,I)=>{f.subscribe((0,w._)(I,d=>(0,e.N)(I,l,()=>I.next(d),x),()=>(0,e.N)(I,l,()=>I.complete(),x),d=>(0,e.N)(I,l,()=>I.error(d),x)))})}},9898:(Qe,te,g)=>{"use strict";g.d(te,{B:()=>w});var e=g(9974),t=g(4360);function w(){return(0,e.N)((S,l)=>{let x=null;S._refCount++;const f=(0,t._)(l,void 0,void 0,void 0,()=>{if(!S||S._refCount<=0||0<--S._refCount)return void(x=null);const I=S._connection,d=x;x=null,I&&(!d||I===d)&&I.unsubscribe(),l.unsubscribe()});S.subscribe(f),f.closed||(x=S.connect())})}},2816:(Qe,te,g)=>{"use strict";g.d(te,{S:()=>S});var e=g(9974),t=g(4360);function S(l,x){return(0,e.N)(function w(l,x,f,I,d){return(T,y)=>{let F=f,R=x,z=0;T.subscribe((0,t._)(y,W=>{const $=z++;R=F?l(R,W,$):(F=!0,W),I&&y.next(R)},d&&(()=>{F&&y.next(R),y.complete()})))}}(l,x,arguments.length>=2,!0))}},7647:(Qe,te,g)=>{"use strict";g.d(te,{u:()=>l});var e=g(8750),t=g(1413),w=g(7707),S=g(9974);function l(f={}){const{connector:I=(()=>new t.B),resetOnError:d=!0,resetOnComplete:T=!0,resetOnRefCountZero:y=!0}=f;return F=>{let R,z,W,$=0,j=!1,Q=!1;const J=()=>{z?.unsubscribe(),z=void 0},ee=()=>{J(),R=W=void 0,j=Q=!1},ie=()=>{const ge=R;ee(),ge?.unsubscribe()};return(0,S.N)((ge,ae)=>{$++,!Q&&!j&&J();const Me=W=W??I();ae.add(()=>{$--,0===$&&!Q&&!j&&(z=x(ie,y))}),Me.subscribe(ae),!R&&$>0&&(R=new w.Ms({next:Te=>Me.next(Te),error:Te=>{Q=!0,J(),z=x(ee,d,Te),Me.error(Te)},complete:()=>{j=!0,J(),z=x(ee,T),Me.complete()}}),(0,e.Tg)(ge).subscribe(R))})(F)}}function x(f,I,...d){if(!0===I)return void f();if(!1===I)return;const T=new w.Ms({next:()=>{T.unsubscribe(),f()}});return(0,e.Tg)(I(...d)).subscribe(T)}},5245:(Qe,te,g)=>{"use strict";g.d(te,{i:()=>t});var e=g(5964);function t(w){return(0,e.p)((S,l)=>w<=l)}},9172:(Qe,te,g)=>{"use strict";g.d(te,{Z:()=>S});var e=g(8793),t=g(9326),w=g(9974);function S(...l){const x=(0,t.lI)(l);return(0,w.N)((f,I)=>{(x?(0,e.x)(l,f,x):(0,e.x)(l,f)).subscribe(I)})}},5558:(Qe,te,g)=>{"use strict";g.d(te,{n:()=>S});var e=g(8750),t=g(9974),w=g(4360);function S(l,x){return(0,t.N)((f,I)=>{let d=null,T=0,y=!1;const F=()=>y&&!d&&I.complete();f.subscribe((0,w._)(I,R=>{d?.unsubscribe();let z=0;const W=T++;(0,e.Tg)(l(R,W)).subscribe(d=(0,w._)(I,$=>I.next(x?x(R,$,W,z++):$),()=>{d=null,F()}))},()=>{y=!0,F()}))})}},6697:(Qe,te,g)=>{"use strict";g.d(te,{s:()=>S});var e=g(983),t=g(9974),w=g(4360);function S(l){return l<=0?()=>e.w:(0,t.N)((x,f)=>{let I=0;x.subscribe((0,w._)(f,d=>{++I<=l&&(f.next(d),l<=I&&f.complete())}))})}},6977:(Qe,te,g)=>{"use strict";g.d(te,{Q:()=>l});var e=g(9974),t=g(4360),w=g(8750),S=g(5343);function l(x){return(0,e.N)((f,I)=>{(0,w.Tg)(x).subscribe((0,t._)(I,()=>I.complete(),S.l)),!I.closed&&f.subscribe(I)})}},8141:(Qe,te,g)=>{"use strict";g.d(te,{M:()=>l});var e=g(8071),t=g(9974),w=g(4360),S=g(3669);function l(x,f,I){const d=(0,e.T)(x)||f||I?{next:x,error:f,complete:I}:x;return d?(0,t.N)((T,y)=>{var F;null===(F=d.subscribe)||void 0===F||F.call(d);let R=!0;T.subscribe((0,w._)(y,z=>{var W;null===(W=d.next)||void 0===W||W.call(d,z),y.next(z)},()=>{var z;R=!1,null===(z=d.complete)||void 0===z||z.call(d),y.complete()},z=>{var W;R=!1,null===(W=d.error)||void 0===W||W.call(d,z),y.error(z)},()=>{var z,W;R&&(null===(z=d.unsubscribe)||void 0===z||z.call(d)),null===(W=d.finalize)||void 0===W||W.call(d)}))}):S.D}},3774:(Qe,te,g)=>{"use strict";g.d(te,{v:()=>S});var e=g(9350),t=g(9974),w=g(4360);function S(x=l){return(0,t.N)((f,I)=>{let d=!1;f.subscribe((0,w._)(I,T=>{d=!0,I.next(T)},()=>d?I.complete():I.error(x())))})}function l(){return new e.G}},3993:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>f});var e=g(9974),t=g(4360),w=g(8750),S=g(3669),l=g(5343),x=g(9326);function f(...I){const d=(0,x.ms)(I);return(0,e.N)((T,y)=>{const F=I.length,R=new Array(F);let z=I.map(()=>!1),W=!1;for(let $=0;$<F;$++)(0,w.Tg)(I[$]).subscribe((0,t._)(y,j=>{R[$]=j,!W&&!z[$]&&(z[$]=!0,(W=z.every(S.D))&&(z=null))},l.l));T.subscribe((0,t._)(y,$=>{if(W){const j=[$,...R];y.next(d?d(...j):j)}}))})}},6780:(Qe,te,g)=>{"use strict";g.d(te,{R:()=>l});var e=g(8359);class t extends e.yU{constructor(f,I){super()}schedule(f,I=0){return this}}const w={setInterval(x,f,...I){const{delegate:d}=w;return d?.setInterval?d.setInterval(x,f,...I):setInterval(x,f,...I)},clearInterval(x){const{delegate:f}=w;return(f?.clearInterval||clearInterval)(x)},delegate:void 0};var S=g(7908);class l extends t{constructor(f,I){super(f,I),this.scheduler=f,this.work=I,this.pending=!1}schedule(f,I=0){var d;if(this.closed)return this;this.state=f;const T=this.id,y=this.scheduler;return null!=T&&(this.id=this.recycleAsyncId(y,T,I)),this.pending=!0,this.delay=I,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(y,this.id,I),this}requestAsyncId(f,I,d=0){return w.setInterval(f.flush.bind(f,this),d)}recycleAsyncId(f,I,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return I;null!=I&&w.clearInterval(I)}execute(f,I){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(f,I);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(f,I){let T,d=!1;try{this.work(f)}catch(y){d=!0,T=y||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),T}unsubscribe(){if(!this.closed){const{id:f,scheduler:I}=this,{actions:d}=I;this.work=this.state=this.scheduler=null,this.pending=!1,(0,S.o)(d,this),null!=f&&(this.id=this.recycleAsyncId(I,f,null)),this.delay=null,super.unsubscribe()}}}},9687:(Qe,te,g)=>{"use strict";g.d(te,{q:()=>w});var e=g(6129);class t{constructor(l,x=t.now){this.schedulerActionCtor=l,this.now=x}schedule(l,x=0,f){return new this.schedulerActionCtor(this,l).schedule(f,x)}}t.now=e.U.now;class w extends t{constructor(l,x=t.now){super(l,x),this.actions=[],this._active=!1}flush(l){const{actions:x}=this;if(this._active)return void x.push(l);let f;this._active=!0;do{if(f=l.execute(l.state,l.delay))break}while(l=x.shift());if(this._active=!1,f){for(;l=x.shift();)l.unsubscribe();throw f}}}},5007:(Qe,te,g)=>{"use strict";g.d(te,{$:()=>z});var e=g(6780);let w,t=1;const S={};function l($){return $ in S&&(delete S[$],!0)}const x={setImmediate($){const j=t++;return S[j]=!0,w||(w=Promise.resolve()),w.then(()=>l(j)&&$()),j},clearImmediate($){l($)}},{setImmediate:I,clearImmediate:d}=x,T={setImmediate(...$){const{delegate:j}=T;return(j?.setImmediate||I)(...$)},clearImmediate($){const{delegate:j}=T;return(j?.clearImmediate||d)($)},delegate:void 0};var F=g(9687);const z=new class R extends F.q{flush(j){this._active=!0;const Q=this._scheduled;this._scheduled=void 0;const{actions:J}=this;let ee;j=j||J.shift();do{if(ee=j.execute(j.state,j.delay))break}while((j=J[0])&&j.id===Q&&J.shift());if(this._active=!1,ee){for(;(j=J[0])&&j.id===Q&&J.shift();)j.unsubscribe();throw ee}}}(class y extends e.R{constructor(j,Q){super(j,Q),this.scheduler=j,this.work=Q}requestAsyncId(j,Q,J=0){return null!==J&&J>0?super.requestAsyncId(j,Q,J):(j.actions.push(this),j._scheduled||(j._scheduled=T.setImmediate(j.flush.bind(j,void 0))))}recycleAsyncId(j,Q,J=0){var ee;if(null!=J?J>0:this.delay>0)return super.recycleAsyncId(j,Q,J);const{actions:ie}=j;null!=Q&&(null===(ee=ie[ie.length-1])||void 0===ee?void 0:ee.id)!==Q&&(T.clearImmediate(Q),j._scheduled===Q&&(j._scheduled=void 0))}})},3236:(Qe,te,g)=>{"use strict";g.d(te,{E:()=>w,b:()=>S});var e=g(6780);const w=new(g(9687).q)(e.R),S=w},6129:(Qe,te,g)=>{"use strict";g.d(te,{U:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},7242:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>l});var e=g(6780),w=g(9687);const l=new class S extends w.q{}(class t extends e.R{constructor(I,d){super(I,d),this.scheduler=I,this.work=d}schedule(I,d=0){return d>0?super.schedule(I,d):(this.delay=d,this.state=I,this.scheduler.flush(this),this)}execute(I,d){return d>0||this.closed?super.execute(I,d):this._execute(I,d)}requestAsyncId(I,d,T=0){return null!=T&&T>0||null==T&&this.delay>0?super.requestAsyncId(I,d,T):(I.flush(this),0)}})},9270:(Qe,te,g)=>{"use strict";g.d(te,{f:()=>e});const e={setTimeout(t,w,...S){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(t,w,...S):setTimeout(t,w,...S)},clearTimeout(t){const{delegate:w}=e;return(w?.clearTimeout||clearTimeout)(t)},delegate:void 0}},4761:(Qe,te,g)=>{"use strict";g.d(te,{l:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Qe,te,g)=>{"use strict";g.d(te,{s:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Qe,te,g)=>{"use strict";g.d(te,{G:()=>t});const t=(0,g(1853).L)(w=>function(){w(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Qe,te,g)=>{"use strict";g.d(te,{R0:()=>x,lI:()=>l,ms:()=>S});var e=g(8071),t=g(9470);function w(f){return f[f.length-1]}function S(f){return(0,e.T)(w(f))?f.pop():void 0}function l(f){return(0,t.m)(w(f))?f.pop():void 0}function x(f,I){return"number"==typeof w(f)?f.pop():I}},3073:(Qe,te,g)=>{"use strict";g.d(te,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:t,prototype:w,keys:S}=Object;function l(f){if(1===f.length){const I=f[0];if(e(I))return{args:I,keys:null};if(function x(f){return f&&"object"==typeof f&&t(f)===w}(I)){const d=S(I);return{args:d.map(T=>I[T]),keys:d}}}return{args:f,keys:null}}},7908:(Qe,te,g)=>{"use strict";function e(t,w){if(t){const S=t.indexOf(w);0<=S&&t.splice(S,1)}}g.d(te,{o:()=>e})},1853:(Qe,te,g)=>{"use strict";function e(t){const S=t(l=>{Error.call(l),l.stack=(new Error).stack});return S.prototype=Object.create(Error.prototype),S.prototype.constructor=S,S}g.d(te,{L:()=>e})},8496:(Qe,te,g)=>{"use strict";function e(t,w){return t.reduce((S,l,x)=>(S[l]=w[x],S),{})}g.d(te,{e:()=>e})},9786:(Qe,te,g)=>{"use strict";g.d(te,{Y:()=>w,l:()=>S});var e=g(1026);let t=null;function w(l){if(e.$.useDeprecatedSynchronousErrorHandling){const x=!t;if(x&&(t={errorThrown:!1,error:null}),l(),x){const{errorThrown:f,error:I}=t;if(t=null,f)throw I}}else l()}function S(l){e.$.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=l)}},5225:(Qe,te,g)=>{"use strict";function e(t,w,S,l=0,x=!1){const f=w.schedule(function(){S(),x?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(f),!x)return f}g.d(te,{N:()=>e})},3669:(Qe,te,g)=>{"use strict";function e(t){return t}g.d(te,{D:()=>e})},7441:(Qe,te,g)=>{"use strict";g.d(te,{X:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},7953:(Qe,te,g)=>{"use strict";g.d(te,{T:()=>t});var e=g(8071);function t(w){return Symbol.asyncIterator&&(0,e.T)(w?.[Symbol.asyncIterator])}},8211:(Qe,te,g)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}g.d(te,{v:()=>e})},8071:(Qe,te,g)=>{"use strict";function e(t){return"function"==typeof t}g.d(te,{T:()=>e})},5055:(Qe,te,g)=>{"use strict";g.d(te,{l:()=>w});var e=g(3494),t=g(8071);function w(S){return(0,t.T)(S[e.s])}},5397:(Qe,te,g)=>{"use strict";g.d(te,{x:()=>w});var e=g(4761),t=g(8071);function w(S){return(0,t.T)(S?.[e.l])}},4402:(Qe,te,g)=>{"use strict";g.d(te,{A:()=>w});var e=g(1985),t=g(8071);function w(S){return!!S&&(S instanceof e.c||(0,t.T)(S.lift)&&(0,t.T)(S.subscribe))}},9858:(Qe,te,g)=>{"use strict";g.d(te,{y:()=>t});var e=g(8071);function t(w){return(0,e.T)(w?.then)}},5196:(Qe,te,g)=>{"use strict";g.d(te,{C:()=>w,U:()=>S});var e=g(1635),t=g(8071);function w(l){return(0,e.AQ)(this,arguments,function*(){const f=l.getReader();try{for(;;){const{value:I,done:d}=yield(0,e.N3)(f.read());if(d)return yield(0,e.N3)(void 0);yield yield(0,e.N3)(I)}}finally{f.releaseLock()}})}function S(l){return(0,t.T)(l?.getReader)}},9470:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>t});var e=g(8071);function t(w){return w&&(0,e.T)(w.schedule)}},9974:(Qe,te,g)=>{"use strict";g.d(te,{N:()=>w,S:()=>t});var e=g(8071);function t(S){return(0,e.T)(S?.lift)}function w(S){return l=>{if(t(l))return l.lift(function(x){try{return S(x,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Qe,te,g)=>{"use strict";g.d(te,{I:()=>S});var e=g(6354);const{isArray:t}=Array;function S(l){return(0,e.T)(x=>function w(l,x){return t(x)?l(...x):l(x)}(l,x))}},5343:(Qe,te,g)=>{"use strict";function e(){}g.d(te,{l:()=>e})},1203:(Qe,te,g)=>{"use strict";g.d(te,{F:()=>t,m:()=>w});var e=g(3669);function t(...S){return w(S)}function w(S){return 0===S.length?e.D:1===S.length?S[0]:function(x){return S.reduce((f,I)=>I(f),x)}}},5334:(Qe,te,g)=>{"use strict";g.d(te,{m:()=>w});var e=g(1026),t=g(9270);function w(S){t.f.setTimeout(()=>{const{onUnhandledError:l}=e.$;if(!l)throw S;l(S)})}},591:(Qe,te,g)=>{"use strict";function e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(te,{L:()=>e})},7054:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function w(l,x){for(var f in l)x[f]=l[f]}function S(l,x,f){return t(l,x,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(w(e,te),te.Buffer=S),S.prototype=Object.create(t.prototype),w(t,S),S.from=function(l,x,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,x,f)},S.alloc=function(l,x,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var I=t(l);return void 0!==x?"string"==typeof f?I.fill(x,f):I.fill(x):I.fill(0),I},S.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},S.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},463:(Qe,te,g)=>{var e=g(7054).Buffer;function t(w,S){this._block=e.alloc(w),this._finalSize=S,this._blockSize=w,this._len=0}t.prototype.update=function(w,S){"string"==typeof w&&(w=e.from(w,S=S||"utf8"));for(var l=this._block,x=this._blockSize,f=w.length,I=this._len,d=0;d<f;){for(var T=I%x,y=Math.min(f-d,x-T),F=0;F<y;F++)l[T+F]=w[d+F];d+=y,(I+=y)%x==0&&this._update(l)}return this._len+=f,this},t.prototype.digest=function(w){var S=this._len%this._blockSize;this._block[S]=128,this._block.fill(0,S+1),S>=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var x=(4294967295&l)>>>0;this._block.writeUInt32BE((l-x)/4294967296,this._blockSize-8),this._block.writeUInt32BE(x,this._blockSize-4)}this._update(this._block);var I=this._hash();return w?I.toString(w):I},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Qe.exports=t},5443:(Qe,te,g)=>{var e=Qe.exports=function(w){w=w.toLowerCase();var S=e[w];if(!S)throw new Error(w+" is not supported (we accept pull requests)");return new S};e.sha=g(8585),e.sha1=g(1270),e.sha224=g(2709),e.sha256=g(2148),e.sha384=g(1856),e.sha512=g(3121)},8585:(Qe,te,g)=>{var e=g(1993),t=g(463),w=g(7054).Buffer,S=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function x(){this.init(),this._w=l,t.call(this,64,56)}function f(T){return T<<5|T>>>27}function I(T){return T<<30|T>>>2}function d(T,y,F,R){return 0===T?y&F|~y&R:2===T?y&F|y&R|F&R:y^F^R}e(x,t),x.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},x.prototype._update=function(T){for(var y=this._w,F=0|this._a,R=0|this._b,z=0|this._c,W=0|this._d,$=0|this._e,j=0;j<16;++j)y[j]=T.readInt32BE(4*j);for(;j<80;++j)y[j]=y[j-3]^y[j-8]^y[j-14]^y[j-16];for(var Q=0;Q<80;++Q){var J=~~(Q/20),ee=f(F)+d(J,R,z,W)+$+y[Q]+S[J]|0;$=W,W=z,z=I(R),R=F,F=ee}this._a=F+this._a|0,this._b=R+this._b|0,this._c=z+this._c|0,this._d=W+this._d|0,this._e=$+this._e|0},x.prototype._hash=function(){var T=w.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},Qe.exports=x},1270:(Qe,te,g)=>{var e=g(1993),t=g(463),w=g(7054).Buffer,S=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function x(){this.init(),this._w=l,t.call(this,64,56)}function f(y){return y<<1|y>>>31}function I(y){return y<<5|y>>>27}function d(y){return y<<30|y>>>2}function T(y,F,R,z){return 0===y?F&R|~F&z:2===y?F&R|F&z|R&z:F^R^z}e(x,t),x.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},x.prototype._update=function(y){for(var F=this._w,R=0|this._a,z=0|this._b,W=0|this._c,$=0|this._d,j=0|this._e,Q=0;Q<16;++Q)F[Q]=y.readInt32BE(4*Q);for(;Q<80;++Q)F[Q]=f(F[Q-3]^F[Q-8]^F[Q-14]^F[Q-16]);for(var J=0;J<80;++J){var ee=~~(J/20),ie=I(R)+T(ee,z,W,$)+j+F[J]+S[ee]|0;j=$,$=W,W=d(z),z=R,R=ie}this._a=R+this._a|0,this._b=z+this._b|0,this._c=W+this._c|0,this._d=$+this._d|0,this._e=j+this._e|0},x.prototype._hash=function(){var y=w.allocUnsafe(20);return y.writeInt32BE(0|this._a,0),y.writeInt32BE(0|this._b,4),y.writeInt32BE(0|this._c,8),y.writeInt32BE(0|this._d,12),y.writeInt32BE(0|this._e,16),y},Qe.exports=x},2709:(Qe,te,g)=>{var e=g(1993),t=g(2148),w=g(463),S=g(7054).Buffer,l=new Array(64);function x(){this.init(),this._w=l,w.call(this,64,56)}e(x,t),x.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},x.prototype._hash=function(){var f=S.allocUnsafe(28);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f},Qe.exports=x},2148:(Qe,te,g)=>{var e=g(1993),t=g(463),w=g(7054).Buffer,S=[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],l=new Array(64);function x(){this.init(),this._w=l,t.call(this,64,56)}function f(R,z,W){return W^R&(z^W)}function I(R,z,W){return R&z|W&(R|z)}function d(R){return(R>>>2|R<<30)^(R>>>13|R<<19)^(R>>>22|R<<10)}function T(R){return(R>>>6|R<<26)^(R>>>11|R<<21)^(R>>>25|R<<7)}function y(R){return(R>>>7|R<<25)^(R>>>18|R<<14)^R>>>3}function F(R){return(R>>>17|R<<15)^(R>>>19|R<<13)^R>>>10}e(x,t),x.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},x.prototype._update=function(R){for(var z=this._w,W=0|this._a,$=0|this._b,j=0|this._c,Q=0|this._d,J=0|this._e,ee=0|this._f,ie=0|this._g,ge=0|this._h,ae=0;ae<16;++ae)z[ae]=R.readInt32BE(4*ae);for(;ae<64;++ae)z[ae]=F(z[ae-2])+z[ae-7]+y(z[ae-15])+z[ae-16]|0;for(var Me=0;Me<64;++Me){var Te=ge+T(J)+f(J,ee,ie)+S[Me]+z[Me]|0,de=d(W)+I(W,$,j)|0;ge=ie,ie=ee,ee=J,J=Q+Te|0,Q=j,j=$,$=W,W=Te+de|0}this._a=W+this._a|0,this._b=$+this._b|0,this._c=j+this._c|0,this._d=Q+this._d|0,this._e=J+this._e|0,this._f=ee+this._f|0,this._g=ie+this._g|0,this._h=ge+this._h|0},x.prototype._hash=function(){var R=w.allocUnsafe(32);return R.writeInt32BE(this._a,0),R.writeInt32BE(this._b,4),R.writeInt32BE(this._c,8),R.writeInt32BE(this._d,12),R.writeInt32BE(this._e,16),R.writeInt32BE(this._f,20),R.writeInt32BE(this._g,24),R.writeInt32BE(this._h,28),R},Qe.exports=x},1856:(Qe,te,g)=>{var e=g(1993),t=g(3121),w=g(463),S=g(7054).Buffer,l=new Array(160);function x(){this.init(),this._w=l,w.call(this,128,112)}e(x,t),x.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},x.prototype._hash=function(){var f=S.allocUnsafe(48);function I(d,T,y){f.writeInt32BE(d,y),f.writeInt32BE(T,y+4)}return I(this._ah,this._al,0),I(this._bh,this._bl,8),I(this._ch,this._cl,16),I(this._dh,this._dl,24),I(this._eh,this._el,32),I(this._fh,this._fl,40),f},Qe.exports=x},3121:(Qe,te,g)=>{var e=g(1993),t=g(463),w=g(7054).Buffer,S=[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,1322822218,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],l=new Array(160);function x(){this.init(),this._w=l,t.call(this,128,112)}function f($,j,Q){return Q^$&(j^Q)}function I($,j,Q){return $&j|Q&($|j)}function d($,j){return($>>>28|j<<4)^(j>>>2|$<<30)^(j>>>7|$<<25)}function T($,j){return($>>>14|j<<18)^($>>>18|j<<14)^(j>>>9|$<<23)}function y($,j){return($>>>1|j<<31)^($>>>8|j<<24)^$>>>7}function F($,j){return($>>>1|j<<31)^($>>>8|j<<24)^($>>>7|j<<25)}function R($,j){return($>>>19|j<<13)^(j>>>29|$<<3)^$>>>6}function z($,j){return($>>>19|j<<13)^(j>>>29|$<<3)^($>>>6|j<<26)}function W($,j){return $>>>0<j>>>0?1:0}e(x,t),x.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},x.prototype._update=function($){for(var j=this._w,Q=0|this._ah,J=0|this._bh,ee=0|this._ch,ie=0|this._dh,ge=0|this._eh,ae=0|this._fh,Me=0|this._gh,Te=0|this._hh,de=0|this._al,D=0|this._bl,n=0|this._cl,c=0|this._dl,m=0|this._el,h=0|this._fl,C=0|this._gl,k=0|this._hl,L=0;L<32;L+=2)j[L]=$.readInt32BE(4*L),j[L+1]=$.readInt32BE(4*L+4);for(;L<160;L+=2){var _=j[L-30],r=j[L-30+1],v=y(_,r),V=F(r,_),N=R(_=j[L-4],r=j[L-4+1]),ne=z(r,_),qe=j[L-32],Ke=j[L-32+1],se=V+j[L-14+1]|0,X=v+j[L-14]+W(se,V)|0;X=(X=X+N+W(se=se+ne|0,ne)|0)+qe+W(se=se+Ke|0,Ke)|0,j[L]=X,j[L+1]=se}for(var me=0;me<160;me+=2){X=j[me],se=j[me+1];var ce=I(Q,J,ee),fe=I(de,D,n),ke=d(Q,de),mt=d(de,Q),_e=T(ge,m),be=T(m,ge),pe=S[me],Ze=S[me+1],_t=f(ge,ae,Me),at=f(m,h,C),pt=k+be|0,Xt=Te+_e+W(pt,k)|0;Xt=(Xt=(Xt=Xt+_t+W(pt=pt+at|0,at)|0)+pe+W(pt=pt+Ze|0,Ze)|0)+X+W(pt=pt+se|0,se)|0;var ye=mt+fe|0,ue=ke+ce+W(ye,mt)|0;Te=Me,k=C,Me=ae,C=h,ae=ge,h=m,ge=ie+Xt+W(m=c+pt|0,c)|0,ie=ee,c=n,ee=J,n=D,J=Q,D=de,Q=Xt+ue+W(de=pt+ye|0,pt)|0}this._al=this._al+de|0,this._bl=this._bl+D|0,this._cl=this._cl+n|0,this._dl=this._dl+c|0,this._el=this._el+m|0,this._fl=this._fl+h|0,this._gl=this._gl+C|0,this._hl=this._hl+k|0,this._ah=this._ah+Q+W(this._al,de)|0,this._bh=this._bh+J+W(this._bl,D)|0,this._ch=this._ch+ee+W(this._cl,n)|0,this._dh=this._dh+ie+W(this._dl,c)|0,this._eh=this._eh+ge+W(this._el,m)|0,this._fh=this._fh+ae+W(this._fl,h)|0,this._gh=this._gh+Me+W(this._gl,C)|0,this._hh=this._hh+Te+W(this._hl,k)|0},x.prototype._hash=function(){var $=w.allocUnsafe(64);function j(Q,J,ee){$.writeInt32BE(Q,ee),$.writeInt32BE(J,ee+4)}return j(this._ah,this._al,0),j(this._bh,this._bl,8),j(this._ch,this._cl,16),j(this._dh,this._dl,24),j(this._eh,this._el,32),j(this._fh,this._fl,40),j(this._gh,this._gl,48),j(this._hh,this._hl,56),$},Qe.exports=x},2852:function(Qe,te,g){!function(e){"use strict";var t={};Qe.exports?(t.bytesToHex=g(4740).bytesToHex,t.convertString=g(820),Qe.exports=I):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=I);var w=[];!function(){function d(R){for(var z=Math.sqrt(R),W=2;W<=z;W++)if(!(R%W))return!1;return!0}for(var y=2,F=0;F<64;)d(y)&&(w[F]=4294967296*((R=Math.pow(y,1/3))-(0|R))|0,F++),y++;var R}();var S=function(d){for(var T=[],y=0,F=0;y<d.length;y++,F+=8)T[F>>>5]|=d[y]<<24-F%32;return T},l=function(d){for(var T=[],y=0;y<32*d.length;y+=8)T.push(d[y>>>5]>>>24-y%32&255);return T},x=[],f=function(d,T,y){for(var F=d[0],R=d[1],z=d[2],W=d[3],$=d[4],j=d[5],Q=d[6],J=d[7],ee=0;ee<64;ee++){if(ee<16)x[ee]=0|T[y+ee];else{var ie=x[ee-15],ae=x[ee-2];x[ee]=((ie<<25|ie>>>7)^(ie<<14|ie>>>18)^ie>>>3)+x[ee-7]+((ae<<15|ae>>>17)^(ae<<13|ae>>>19)^ae>>>10)+x[ee-16]}var de=F&R^F&z^R&z,c=J+(($<<26|$>>>6)^($<<21|$>>>11)^($<<7|$>>>25))+($&j^~$&Q)+w[ee]+x[ee];J=Q,Q=j,j=$,$=W+c|0,W=z,z=R,R=F,F=c+(((F<<30|F>>>2)^(F<<19|F>>>13)^(F<<10|F>>>22))+de)|0}d[0]=d[0]+F|0,d[1]=d[1]+R|0,d[2]=d[2]+z|0,d[3]=d[3]+W|0,d[4]=d[4]+$|0,d[5]=d[5]+j|0,d[6]=d[6]+Q|0,d[7]=d[7]+J|0};function I(d,T){d.constructor===String&&(d=t.convertString.UTF8.stringToBytes(d));var y=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],F=S(d),R=8*d.length;F[R>>5]|=128<<24-R%32,F[15+(R+64>>9<<4)]=R;for(var z=0;z<F.length;z+=16)f(y,F,z);var W=l(y);return T&&T.asBytes?W:T&&T.asString?t.convertString.bytesToString(W):t.bytesToHex(W)}I.x2=function(d,T){return I(I(d,{asBytes:!0}),T)}}(this)},7045:(Qe,te,g)=>{Qe.exports=w;var e=g(4356).EventEmitter;function w(){e.call(this)}g(1993)(w,e),w.Readable=g(1092),w.Writable=g(5492),w.Duplex=g(1030),w.Transform=g(3410),w.PassThrough=g(3824),w.finished=g(7854),w.pipeline=g(6846),w.Stream=w,w.prototype.pipe=function(S,l){var x=this;function f(z){S.writable&&!1===S.write(z)&&x.pause&&x.pause()}function I(){x.readable&&x.resume&&x.resume()}x.on("data",f),S.on("drain",I),!S._isStdio&&(!l||!1!==l.end)&&(x.on("end",T),x.on("close",y));var d=!1;function T(){d||(d=!0,S.end())}function y(){d||(d=!0,"function"==typeof S.destroy&&S.destroy())}function F(z){if(R(),0===e.listenerCount(this,"error"))throw z}function R(){x.removeListener("data",f),S.removeListener("drain",I),x.removeListener("end",T),x.removeListener("close",y),x.removeListener("error",F),S.removeListener("error",F),x.removeListener("end",R),x.removeListener("close",R),S.removeListener("close",R)}return x.on("error",F),S.on("error",F),x.on("end",R),x.on("close",R),S.on("close",R),S.emit("pipe",x),S}},464:Qe=>{"use strict";var g={};function e(x,f,I){I||(I=Error);var T=function(y){function F(R,z,W){return y.call(this,function d(y,F,R){return"string"==typeof f?f:f(y,F,R)}(R,z,W))||this}return function te(x,f){x.prototype=Object.create(f.prototype),x.prototype.constructor=x,x.__proto__=f}(F,y),F}(I);T.prototype.name=I.name,T.prototype.code=x,g[x]=T}function t(x,f){if(Array.isArray(x)){var I=x.length;return x=x.map(function(d){return String(d)}),I>2?"one of ".concat(f," ").concat(x.slice(0,I-1).join(", "),", or ")+x[I-1]:2===I?"one of ".concat(f," ").concat(x[0]," or ").concat(x[1]):"of ".concat(f," ").concat(x[0])}return"of ".concat(f," ").concat(String(x))}e("ERR_INVALID_OPT_VALUE",function(x,f){return'The value "'+f+'" is invalid for option "'+x+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(x,f,I){var d,T;if("string"==typeof f&&function w(x,f,I){return x.substr(!I||I<0?0:+I,f.length)===f}(f,"not ")?(d="must not be",f=f.replace(/^not /,"")):d="must be",function S(x,f,I){return(void 0===I||I>x.length)&&(I=x.length),x.substring(I-f.length,I)===f}(x," argument"))T="The ".concat(x," ").concat(d," ").concat(t(f,"type"));else{var y=function l(x,f,I){return"number"!=typeof I&&(I=0),!(I+f.length>x.length)&&-1!==x.indexOf(f,I)}(x,".")?"property":"argument";T='The "'.concat(x,'" ').concat(y," ").concat(d," ").concat(t(f,"type"))}return T+". Received type ".concat(typeof I)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(x){return"The "+x+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(x){return"Cannot call "+x+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(x){return"Unknown encoding: "+x},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Qe.exports.F=g},1030:(Qe,te,g)=>{"use strict";var e=Object.keys||function(T){var y=[];for(var F in T)y.push(F);return y};Qe.exports=f;var t=g(1092),w=g(5492);g(1993)(f,t);for(var S=e(w.prototype),l=0;l<S.length;l++){var x=S[l];f.prototype[x]||(f.prototype[x]=w.prototype[x])}function f(T){if(!(this instanceof f))return new f(T);t.call(this,T),w.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",I)))}function I(){this._writableState.ended||process.nextTick(d,this)}function d(T){T.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(f.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(f.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(y){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=y,this._writableState.destroyed=y)}})},3824:(Qe,te,g)=>{"use strict";Qe.exports=t;var e=g(3410);function t(w){if(!(this instanceof t))return new t(w);e.call(this,w)}g(1993)(t,e),t.prototype._transform=function(w,S,l){l(null,w)}},1092:(Qe,te,g)=>{"use strict";var e;Qe.exports=D,D.ReadableState=de,g(4356);var T,w=function(ke,mt){return ke.listeners(mt).length},S=g(2601),l=g(3838).Buffer,x=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d=g(7199);T=d&&d.debuglog?d.debuglog("stream"):function(){};var ee,ie,ge,y=g(7606),F=g(8152),z=g(2827).getHighWaterMark,W=g(464).F,$=W.ERR_INVALID_ARG_TYPE,j=W.ERR_STREAM_PUSH_AFTER_EOF,Q=W.ERR_METHOD_NOT_IMPLEMENTED,J=W.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;g(1993)(D,S);var ae=F.errorOrDestroy,Me=["error","close","destroy","pause","resume"];function de(fe,ke,mt){e=e||g(1030),"boolean"!=typeof mt&&(mt=ke instanceof e),this.objectMode=!!(fe=fe||{}).objectMode,mt&&(this.objectMode=this.objectMode||!!fe.readableObjectMode),this.highWaterMark=z(this,fe,"readableHighWaterMark",mt),this.buffer=new y,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!==fe.emitClose,this.autoDestroy=!!fe.autoDestroy,this.destroyed=!1,this.defaultEncoding=fe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,fe.encoding&&(ee||(ee=g(8454).I),this.decoder=new ee(fe.encoding),this.encoding=fe.encoding)}function D(fe){if(e=e||g(1030),!(this instanceof D))return new D(fe);this._readableState=new de(fe,this,this instanceof e),this.readable=!0,fe&&("function"==typeof fe.read&&(this._read=fe.read),"function"==typeof fe.destroy&&(this._destroy=fe.destroy)),S.call(this)}function n(fe,ke,mt,_e,be){T("readableAddChunk",ke);var Ze,pe=fe._readableState;if(null===ke)pe.reading=!1,function L(fe,ke){if(T("onEofChunk"),!ke.ended){if(ke.decoder){var mt=ke.decoder.end();mt&&mt.length&&(ke.buffer.push(mt),ke.length+=ke.objectMode?1:mt.length)}ke.ended=!0,ke.sync?_(fe):(ke.needReadable=!1,ke.emittedReadable||(ke.emittedReadable=!0,r(fe)))}}(fe,pe);else if(be||(Ze=function m(fe,ke){var mt;return!function I(fe){return l.isBuffer(fe)||fe instanceof x}(ke)&&"string"!=typeof ke&&void 0!==ke&&!fe.objectMode&&(mt=new $("chunk",["string","Buffer","Uint8Array"],ke)),mt}(pe,ke)),Ze)ae(fe,Ze);else if(pe.objectMode||ke&&ke.length>0)if("string"!=typeof ke&&!pe.objectMode&&Object.getPrototypeOf(ke)!==l.prototype&&(ke=function f(fe){return l.from(fe)}(ke)),_e)pe.endEmitted?ae(fe,new J):c(fe,pe,ke,!0);else if(pe.ended)ae(fe,new j);else{if(pe.destroyed)return!1;pe.reading=!1,pe.decoder&&!mt?(ke=pe.decoder.write(ke),pe.objectMode||0!==ke.length?c(fe,pe,ke,!1):v(fe,pe)):c(fe,pe,ke,!1)}else _e||(pe.reading=!1,v(fe,pe));return!pe.ended&&(pe.length<pe.highWaterMark||0===pe.length)}function c(fe,ke,mt,_e){ke.flowing&&0===ke.length&&!ke.sync?(ke.awaitDrain=0,fe.emit("data",mt)):(ke.length+=ke.objectMode?1:mt.length,_e?ke.buffer.unshift(mt):ke.buffer.push(mt),ke.needReadable&&_(fe)),v(fe,ke)}Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(ke){this._readableState&&(this._readableState.destroyed=ke)}}),D.prototype.destroy=F.destroy,D.prototype._undestroy=F.undestroy,D.prototype._destroy=function(fe,ke){ke(fe)},D.prototype.push=function(fe,ke){var _e,mt=this._readableState;return mt.objectMode?_e=!0:"string"==typeof fe&&((ke=ke||mt.defaultEncoding)!==mt.encoding&&(fe=l.from(fe,ke),ke=""),_e=!0),n(this,fe,ke,!1,_e)},D.prototype.unshift=function(fe){return n(this,fe,null,!0,!1)},D.prototype.isPaused=function(){return!1===this._readableState.flowing},D.prototype.setEncoding=function(fe){ee||(ee=g(8454).I);var ke=new ee(fe);this._readableState.decoder=ke,this._readableState.encoding=this._readableState.decoder.encoding;for(var mt=this._readableState.buffer.head,_e="";null!==mt;)_e+=ke.write(mt.data),mt=mt.next;return this._readableState.buffer.clear(),""!==_e&&this._readableState.buffer.push(_e),this._readableState.length=_e.length,this};var h=1073741824;function k(fe,ke){return fe<=0||0===ke.length&&ke.ended?0:ke.objectMode?1:fe!=fe?ke.flowing&&ke.length?ke.buffer.head.data.length:ke.length:(fe>ke.highWaterMark&&(ke.highWaterMark=function C(fe){return fe>=h?fe=h:(fe--,fe|=fe>>>1,fe|=fe>>>2,fe|=fe>>>4,fe|=fe>>>8,fe|=fe>>>16,fe++),fe}(fe)),fe<=ke.length?fe:ke.ended?ke.length:(ke.needReadable=!0,0))}function _(fe){var ke=fe._readableState;T("emitReadable",ke.needReadable,ke.emittedReadable),ke.needReadable=!1,ke.emittedReadable||(T("emitReadable",ke.flowing),ke.emittedReadable=!0,process.nextTick(r,fe))}function r(fe){var ke=fe._readableState;T("emitReadable_",ke.destroyed,ke.length,ke.ended),!ke.destroyed&&(ke.length||ke.ended)&&(fe.emit("readable"),ke.emittedReadable=!1),ke.needReadable=!ke.flowing&&!ke.ended&&ke.length<=ke.highWaterMark,Ke(fe)}function v(fe,ke){ke.readingMore||(ke.readingMore=!0,process.nextTick(V,fe,ke))}function V(fe,ke){for(;!ke.reading&&!ke.ended&&(ke.length<ke.highWaterMark||ke.flowing&&0===ke.length);){var mt=ke.length;if(T("maybeReadMore read 0"),fe.read(0),mt===ke.length)break}ke.readingMore=!1}function ne(fe){var ke=fe._readableState;ke.readableListening=fe.listenerCount("readable")>0,ke.resumeScheduled&&!ke.paused?ke.flowing=!0:fe.listenerCount("data")>0&&fe.resume()}function Ee(fe){T("readable nexttick read 0"),fe.read(0)}function qe(fe,ke){T("resume",ke.reading),ke.reading||fe.read(0),ke.resumeScheduled=!1,fe.emit("resume"),Ke(fe),ke.flowing&&!ke.reading&&fe.read(0)}function Ke(fe){var ke=fe._readableState;for(T("flow",ke.flowing);ke.flowing&&null!==fe.read(););}function se(fe,ke){return 0===ke.length?null:(ke.objectMode?mt=ke.buffer.shift():!fe||fe>=ke.length?(mt=ke.decoder?ke.buffer.join(""):1===ke.buffer.length?ke.buffer.first():ke.buffer.concat(ke.length),ke.buffer.clear()):mt=ke.buffer.consume(fe,ke.decoder),mt);var mt}function X(fe){var ke=fe._readableState;T("endReadable",ke.endEmitted),ke.endEmitted||(ke.ended=!0,process.nextTick(me,ke,fe))}function me(fe,ke){if(T("endReadableNT",fe.endEmitted,fe.length),!fe.endEmitted&&0===fe.length&&(fe.endEmitted=!0,ke.readable=!1,ke.emit("end"),fe.autoDestroy)){var mt=ke._writableState;(!mt||mt.autoDestroy&&mt.finished)&&ke.destroy()}}function ce(fe,ke){for(var mt=0,_e=fe.length;mt<_e;mt++)if(fe[mt]===ke)return mt;return-1}D.prototype.read=function(fe){T("read",fe),fe=parseInt(fe,10);var ke=this._readableState,mt=fe;if(0!==fe&&(ke.emittedReadable=!1),0===fe&&ke.needReadable&&((0!==ke.highWaterMark?ke.length>=ke.highWaterMark:ke.length>0)||ke.ended))return T("read: emitReadable",ke.length,ke.ended),0===ke.length&&ke.ended?X(this):_(this),null;if(0===(fe=k(fe,ke))&&ke.ended)return 0===ke.length&&X(this),null;var be,_e=ke.needReadable;return T("need readable",_e),(0===ke.length||ke.length-fe<ke.highWaterMark)&&T("length less than watermark",_e=!0),ke.ended||ke.reading?T("reading or ended",_e=!1):_e&&(T("do read"),ke.reading=!0,ke.sync=!0,0===ke.length&&(ke.needReadable=!0),this._read(ke.highWaterMark),ke.sync=!1,ke.reading||(fe=k(mt,ke))),null===(be=fe>0?se(fe,ke):null)?(ke.needReadable=ke.length<=ke.highWaterMark,fe=0):(ke.length-=fe,ke.awaitDrain=0),0===ke.length&&(ke.ended||(ke.needReadable=!0),mt!==fe&&ke.ended&&X(this)),null!==be&&this.emit("data",be),be},D.prototype._read=function(fe){ae(this,new Q("_read()"))},D.prototype.pipe=function(fe,ke){var mt=this,_e=this._readableState;switch(_e.pipesCount){case 0:_e.pipes=fe;break;case 1:_e.pipes=[_e.pipes,fe];break;default:_e.pipes.push(fe)}_e.pipesCount+=1,T("pipe count=%d opts=%j",_e.pipesCount,ke);var pe=ke&&!1===ke.end||fe===process.stdout||fe===process.stderr?Xe:_t;function _t(){T("onend"),fe.end()}_e.endEmitted?process.nextTick(pe):mt.once("end",pe),fe.on("unpipe",function Ze(yt,Ye){T("onunpipe"),yt===mt&&Ye&&!1===Ye.hasUnpiped&&(Ye.hasUnpiped=!0,function Xt(){T("cleanup"),fe.removeListener("close",Ie),fe.removeListener("finish",He),fe.removeListener("drain",at),fe.removeListener("error",ue),fe.removeListener("unpipe",Ze),mt.removeListener("end",_t),mt.removeListener("end",Xe),mt.removeListener("data",ye),pt=!0,_e.awaitDrain&&(!fe._writableState||fe._writableState.needDrain)&&at()}())});var at=function N(fe){return function(){var mt=fe._readableState;T("pipeOnDrain",mt.awaitDrain),mt.awaitDrain&&mt.awaitDrain--,0===mt.awaitDrain&&w(fe,"data")&&(mt.flowing=!0,Ke(fe))}}(mt);fe.on("drain",at);var pt=!1;function ye(yt){T("ondata");var Ye=fe.write(yt);T("dest.write",Ye),!1===Ye&&((1===_e.pipesCount&&_e.pipes===fe||_e.pipesCount>1&&-1!==ce(_e.pipes,fe))&&!pt&&(T("false write response, pause",_e.awaitDrain),_e.awaitDrain++),mt.pause())}function ue(yt){T("onerror",yt),Xe(),fe.removeListener("error",ue),0===w(fe,"error")&&ae(fe,yt)}function Ie(){fe.removeListener("finish",He),Xe()}function He(){T("onfinish"),fe.removeListener("close",Ie),Xe()}function Xe(){T("unpipe"),mt.unpipe(fe)}return mt.on("data",ye),function Te(fe,ke,mt){if("function"==typeof fe.prependListener)return fe.prependListener(ke,mt);fe._events&&fe._events[ke]?Array.isArray(fe._events[ke])?fe._events[ke].unshift(mt):fe._events[ke]=[mt,fe._events[ke]]:fe.on(ke,mt)}(fe,"error",ue),fe.once("close",Ie),fe.once("finish",He),fe.emit("pipe",mt),_e.flowing||(T("pipe resume"),mt.resume()),fe},D.prototype.unpipe=function(fe){var ke=this._readableState,mt={hasUnpiped:!1};if(0===ke.pipesCount)return this;if(1===ke.pipesCount)return fe&&fe!==ke.pipes||(fe||(fe=ke.pipes),ke.pipes=null,ke.pipesCount=0,ke.flowing=!1,fe&&fe.emit("unpipe",this,mt)),this;if(!fe){var _e=ke.pipes,be=ke.pipesCount;ke.pipes=null,ke.pipesCount=0,ke.flowing=!1;for(var pe=0;pe<be;pe++)_e[pe].emit("unpipe",this,{hasUnpiped:!1});return this}var Ze=ce(ke.pipes,fe);return-1===Ze||(ke.pipes.splice(Ze,1),ke.pipesCount-=1,1===ke.pipesCount&&(ke.pipes=ke.pipes[0]),fe.emit("unpipe",this,mt)),this},D.prototype.addListener=D.prototype.on=function(fe,ke){var mt=S.prototype.on.call(this,fe,ke),_e=this._readableState;return"data"===fe?(_e.readableListening=this.listenerCount("readable")>0,!1!==_e.flowing&&this.resume()):"readable"===fe&&!_e.endEmitted&&!_e.readableListening&&(_e.readableListening=_e.needReadable=!0,_e.flowing=!1,_e.emittedReadable=!1,T("on readable",_e.length,_e.reading),_e.length?_(this):_e.reading||process.nextTick(Ee,this)),mt},D.prototype.removeListener=function(fe,ke){var mt=S.prototype.removeListener.call(this,fe,ke);return"readable"===fe&&process.nextTick(ne,this),mt},D.prototype.removeAllListeners=function(fe){var ke=S.prototype.removeAllListeners.apply(this,arguments);return("readable"===fe||void 0===fe)&&process.nextTick(ne,this),ke},D.prototype.resume=function(){var fe=this._readableState;return fe.flowing||(T("resume"),fe.flowing=!fe.readableListening,function ze(fe,ke){ke.resumeScheduled||(ke.resumeScheduled=!0,process.nextTick(qe,fe,ke))}(this,fe)),fe.paused=!1,this},D.prototype.pause=function(){return T("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(T("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},D.prototype.wrap=function(fe){var ke=this,mt=this._readableState,_e=!1;for(var be in fe.on("end",function(){if(T("wrapped end"),mt.decoder&&!mt.ended){var Ze=mt.decoder.end();Ze&&Ze.length&&ke.push(Ze)}ke.push(null)}),fe.on("data",function(Ze){T("wrapped data"),mt.decoder&&(Ze=mt.decoder.write(Ze)),mt.objectMode&&null==Ze||!(mt.objectMode||Ze&&Ze.length)||ke.push(Ze)||(_e=!0,fe.pause())}),fe)void 0===this[be]&&"function"==typeof fe[be]&&(this[be]=function(_t){return function(){return fe[_t].apply(fe,arguments)}}(be));for(var pe=0;pe<Me.length;pe++)fe.on(Me[pe],this.emit.bind(this,Me[pe]));return this._read=function(Ze){T("wrapped _read",Ze),_e&&(_e=!1,fe.resume())},this},"function"==typeof Symbol&&(D.prototype[Symbol.asyncIterator]=function(){return void 0===ie&&(ie=g(2683)),ie(this)}),Object.defineProperty(D.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(D.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(D.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ke){this._readableState&&(this._readableState.flowing=ke)}}),D._fromList=se,Object.defineProperty(D.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(D.from=function(fe,ke){return void 0===ge&&(ge=g(7765)),ge(D,fe,ke)})},3410:(Qe,te,g)=>{"use strict";Qe.exports=I;var e=g(464).F,t=e.ERR_METHOD_NOT_IMPLEMENTED,w=e.ERR_MULTIPLE_CALLBACK,S=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=e.ERR_TRANSFORM_WITH_LENGTH_0,x=g(1030);function f(y,F){var R=this._transformState;R.transforming=!1;var z=R.writecb;if(null===z)return this.emit("error",new w);R.writechunk=null,R.writecb=null,null!=F&&this.push(F),z(y);var W=this._readableState;W.reading=!1,(W.needReadable||W.length<W.highWaterMark)&&this._read(W.highWaterMark)}function I(y){if(!(this instanceof I))return new I(y);x.call(this,y),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&("function"==typeof y.transform&&(this._transform=y.transform),"function"==typeof y.flush&&(this._flush=y.flush)),this.on("prefinish",d)}function d(){var y=this;"function"!=typeof this._flush||this._readableState.destroyed?T(this,null,null):this._flush(function(F,R){T(y,F,R)})}function T(y,F,R){if(F)return y.emit("error",F);if(null!=R&&y.push(R),y._writableState.length)throw new l;if(y._transformState.transforming)throw new S;return y.push(null)}g(1993)(I,x),I.prototype.push=function(y,F){return this._transformState.needTransform=!1,x.prototype.push.call(this,y,F)},I.prototype._transform=function(y,F,R){R(new t("_transform()"))},I.prototype._write=function(y,F,R){var z=this._transformState;if(z.writecb=R,z.writechunk=y,z.writeencoding=F,!z.transforming){var W=this._readableState;(z.needTransform||W.needReadable||W.length<W.highWaterMark)&&this._read(W.highWaterMark)}},I.prototype._read=function(y){var F=this._transformState;null===F.writechunk||F.transforming?F.needTransform=!0:(F.transforming=!0,this._transform(F.writechunk,F.writeencoding,F.afterTransform))},I.prototype._destroy=function(y,F){x.prototype._destroy.call(this,y,function(R){F(R)})}},5492:(Qe,te,g)=>{"use strict";function t(Ke){var se=this;this.next=null,this.entry=null,this.finish=function(){!function qe(Ke,se,X){var me=Ke.entry;for(Ke.entry=null;me;){var ce=me.callback;se.pendingcb--,ce(X),me=me.next}se.corkedRequestsFree.next=Ke}(se,Ke)}}var w;Qe.exports=de,de.WritableState=Me;var Te,S={deprecate:g(3398)},l=g(2601),x=g(3838).Buffer,f=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},T=g(8152),F=g(2827).getHighWaterMark,R=g(464).F,z=R.ERR_INVALID_ARG_TYPE,W=R.ERR_METHOD_NOT_IMPLEMENTED,$=R.ERR_MULTIPLE_CALLBACK,j=R.ERR_STREAM_CANNOT_PIPE,Q=R.ERR_STREAM_DESTROYED,J=R.ERR_STREAM_NULL_VALUES,ee=R.ERR_STREAM_WRITE_AFTER_END,ie=R.ERR_UNKNOWN_ENCODING,ge=T.errorOrDestroy;function ae(){}function Me(Ke,se,X){w=w||g(1030),"boolean"!=typeof X&&(X=se instanceof w),this.objectMode=!!(Ke=Ke||{}).objectMode,X&&(this.objectMode=this.objectMode||!!Ke.writableObjectMode),this.highWaterMark=F(this,Ke,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Ke.decodeStrings),this.defaultEncoding=Ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){!function L(Ke,se){var X=Ke._writableState,me=X.sync,ce=X.writecb;if("function"!=typeof ce)throw new $;if(function k(Ke){Ke.writing=!1,Ke.writecb=null,Ke.length-=Ke.writelen,Ke.writelen=0}(X),se)!function C(Ke,se,X,me,ce){--se.pendingcb,X?(process.nextTick(ce,me),process.nextTick(Ee,Ke,se),Ke._writableState.errorEmitted=!0,ge(Ke,me)):(ce(me),Ke._writableState.errorEmitted=!0,ge(Ke,me),Ee(Ke,se))}(Ke,X,me,se,ce);else{var fe=V(X)||Ke.destroyed;!fe&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&v(Ke,X),me?process.nextTick(_,Ke,X,fe,ce):_(Ke,X,fe,ce)}}(se,ce)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Ke.emitClose,this.autoDestroy=!!Ke.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function de(Ke){var se=this instanceof(w=w||g(1030));if(!se&&!Te.call(de,this))return new de(Ke);this._writableState=new Me(Ke,this,se),this.writable=!0,Ke&&("function"==typeof Ke.write&&(this._write=Ke.write),"function"==typeof Ke.writev&&(this._writev=Ke.writev),"function"==typeof Ke.destroy&&(this._destroy=Ke.destroy),"function"==typeof Ke.final&&(this._final=Ke.final)),l.call(this)}function h(Ke,se,X,me,ce,fe,ke){se.writelen=me,se.writecb=ke,se.writing=!0,se.sync=!0,se.destroyed?se.onwrite(new Q("write")):X?Ke._writev(ce,se.onwrite):Ke._write(ce,fe,se.onwrite),se.sync=!1}function _(Ke,se,X,me){X||function r(Ke,se){0===se.length&&se.needDrain&&(se.needDrain=!1,Ke.emit("drain"))}(Ke,se),se.pendingcb--,me(),Ee(Ke,se)}function v(Ke,se){se.bufferProcessing=!0;var X=se.bufferedRequest;if(Ke._writev&&X&&X.next){var ce=new Array(se.bufferedRequestCount),fe=se.corkedRequestsFree;fe.entry=X;for(var ke=0,mt=!0;X;)ce[ke]=X,X.isBuf||(mt=!1),X=X.next,ke+=1;ce.allBuffers=mt,h(Ke,se,!0,se.length,ce,"",fe.finish),se.pendingcb++,se.lastBufferedRequest=null,fe.next?(se.corkedRequestsFree=fe.next,fe.next=null):se.corkedRequestsFree=new t(se),se.bufferedRequestCount=0}else{for(;X;){var _e=X.chunk;if(h(Ke,se,!1,se.objectMode?1:_e.length,_e,X.encoding,X.callback),X=X.next,se.bufferedRequestCount--,se.writing)break}null===X&&(se.lastBufferedRequest=null)}se.bufferedRequest=X,se.bufferProcessing=!1}function V(Ke){return Ke.ending&&0===Ke.length&&null===Ke.bufferedRequest&&!Ke.finished&&!Ke.writing}function N(Ke,se){Ke._final(function(X){se.pendingcb--,X&&ge(Ke,X),se.prefinished=!0,Ke.emit("prefinish"),Ee(Ke,se)})}function Ee(Ke,se){var X=V(se);if(X&&(function ne(Ke,se){!se.prefinished&&!se.finalCalled&&("function"!=typeof Ke._final||se.destroyed?(se.prefinished=!0,Ke.emit("prefinish")):(se.pendingcb++,se.finalCalled=!0,process.nextTick(N,Ke,se)))}(Ke,se),0===se.pendingcb&&(se.finished=!0,Ke.emit("finish"),se.autoDestroy))){var me=Ke._readableState;(!me||me.autoDestroy&&me.endEmitted)&&Ke.destroy()}return X}g(1993)(de,l),Me.prototype.getBuffer=function(){for(var se=this.bufferedRequest,X=[];se;)X.push(se),se=se.next;return X},function(){try{Object.defineProperty(Me.prototype,"buffer",{get:S.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(Te=Function.prototype[Symbol.hasInstance],Object.defineProperty(de,Symbol.hasInstance,{value:function(se){return!!Te.call(this,se)||this===de&&se&&se._writableState instanceof Me}})):Te=function(se){return se instanceof this},de.prototype.pipe=function(){ge(this,new j)},de.prototype.write=function(Ke,se,X){var me=this._writableState,ce=!1,fe=!me.objectMode&&function d(Ke){return x.isBuffer(Ke)||Ke instanceof f}(Ke);return fe&&!x.isBuffer(Ke)&&(Ke=function I(Ke){return x.from(Ke)}(Ke)),"function"==typeof se&&(X=se,se=null),fe?se="buffer":se||(se=me.defaultEncoding),"function"!=typeof X&&(X=ae),me.ending?function D(Ke,se){var X=new ee;ge(Ke,X),process.nextTick(se,X)}(this,X):(fe||function n(Ke,se,X,me){var ce;return null===X?ce=new J:"string"!=typeof X&&!se.objectMode&&(ce=new z("chunk",["string","Buffer"],X)),!ce||(ge(Ke,ce),process.nextTick(me,ce),!1)}(this,me,Ke,X))&&(me.pendingcb++,ce=function m(Ke,se,X,me,ce,fe){if(!X){var ke=function c(Ke,se,X){return!Ke.objectMode&&!1!==Ke.decodeStrings&&"string"==typeof se&&(se=x.from(se,X)),se}(se,me,ce);me!==ke&&(X=!0,ce="buffer",me=ke)}var mt=se.objectMode?1:me.length;se.length+=mt;var _e=se.length<se.highWaterMark;if(_e||(se.needDrain=!0),se.writing||se.corked){var be=se.lastBufferedRequest;se.lastBufferedRequest={chunk:me,encoding:ce,isBuf:X,callback:fe,next:null},be?be.next=se.lastBufferedRequest:se.bufferedRequest=se.lastBufferedRequest,se.bufferedRequestCount+=1}else h(Ke,se,!1,mt,me,ce,fe);return _e}(this,me,fe,Ke,se,X)),ce},de.prototype.cork=function(){this._writableState.corked++},de.prototype.uncork=function(){var Ke=this._writableState;Ke.corked&&(Ke.corked--,!Ke.writing&&!Ke.corked&&!Ke.bufferProcessing&&Ke.bufferedRequest&&v(this,Ke))},de.prototype.setDefaultEncoding=function(se){if("string"==typeof se&&(se=se.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((se+"").toLowerCase())>-1))throw new ie(se);return this._writableState.defaultEncoding=se,this},Object.defineProperty(de.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(de.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),de.prototype._write=function(Ke,se,X){X(new W("_write()"))},de.prototype._writev=null,de.prototype.end=function(Ke,se,X){var me=this._writableState;return"function"==typeof Ke?(X=Ke,Ke=null,se=null):"function"==typeof se&&(X=se,se=null),null!=Ke&&this.write(Ke,se),me.corked&&(me.corked=1,this.uncork()),me.ending||function ze(Ke,se,X){se.ending=!0,Ee(Ke,se),X&&(se.finished?process.nextTick(X):Ke.once("finish",X)),se.ended=!0,Ke.writable=!1}(this,me,X),this},Object.defineProperty(de.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(de.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(se){this._writableState&&(this._writableState.destroyed=se)}}),de.prototype.destroy=T.destroy,de.prototype._undestroy=T.undestroy,de.prototype._destroy=function(Ke,se){se(Ke)}},2683:(Qe,te,g)=>{"use strict";var e;function t(ee,ie,ge){return ie=function w(ee){var ie=function S(ee,ie){if("object"!=typeof ee||null===ee)return ee;var ge=ee[Symbol.toPrimitive];if(void 0!==ge){var ae=ge.call(ee,ie||"default");if("object"!=typeof ae)return ae;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ie?String:Number)(ee)}(ee,"string");return"symbol"==typeof ie?ie:String(ie)}(ie),ie in ee?Object.defineProperty(ee,ie,{value:ge,enumerable:!0,configurable:!0,writable:!0}):ee[ie]=ge,ee}var l=g(7854),x=Symbol("lastResolve"),f=Symbol("lastReject"),I=Symbol("error"),d=Symbol("ended"),T=Symbol("lastPromise"),y=Symbol("handlePromise"),F=Symbol("stream");function R(ee,ie){return{value:ee,done:ie}}function z(ee){var ie=ee[x];if(null!==ie){var ge=ee[F].read();null!==ge&&(ee[T]=null,ee[x]=null,ee[f]=null,ie(R(ge,!1)))}}function W(ee){process.nextTick(z,ee)}var j=Object.getPrototypeOf(function(){}),Q=Object.setPrototypeOf((t(e={get stream(){return this[F]},next:function(){var ie=this,ge=this[I];if(null!==ge)return Promise.reject(ge);if(this[d])return Promise.resolve(R(void 0,!0));if(this[F].destroyed)return new Promise(function(de,D){process.nextTick(function(){ie[I]?D(ie[I]):de(R(void 0,!0))})});var Me,ae=this[T];if(ae)Me=new Promise(function $(ee,ie){return function(ge,ae){ee.then(function(){ie[d]?ge(R(void 0,!0)):ie[y](ge,ae)},ae)}}(ae,this));else{var Te=this[F].read();if(null!==Te)return Promise.resolve(R(Te,!1));Me=new Promise(this[y])}return this[T]=Me,Me}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var ie=this;return new Promise(function(ge,ae){ie[F].destroy(null,function(Me){Me?ae(Me):ge(R(void 0,!0))})})}),e),j);Qe.exports=function(ie){var ge,ae=Object.create(Q,(t(ge={},F,{value:ie,writable:!0}),t(ge,x,{value:null,writable:!0}),t(ge,f,{value:null,writable:!0}),t(ge,I,{value:null,writable:!0}),t(ge,d,{value:ie._readableState.endEmitted,writable:!0}),t(ge,y,{value:function(Te,de){var D=ae[F].read();D?(ae[T]=null,ae[x]=null,ae[f]=null,Te(R(D,!1))):(ae[x]=Te,ae[f]=de)},writable:!0}),ge));return ae[T]=null,l(ie,function(Me){if(Me&&"ERR_STREAM_PREMATURE_CLOSE"!==Me.code){var Te=ae[f];return null!==Te&&(ae[T]=null,ae[x]=null,ae[f]=null,Te(Me)),void(ae[I]=Me)}var de=ae[x];null!==de&&(ae[T]=null,ae[x]=null,ae[f]=null,de(R(void 0,!0))),ae[d]=!0}),ie.on("readable",W.bind(null,ae)),ae}},7606:(Qe,te,g)=>{"use strict";function e(W,$){var j=Object.keys(W);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(W);$&&(Q=Q.filter(function(J){return Object.getOwnPropertyDescriptor(W,J).enumerable})),j.push.apply(j,Q)}return j}function t(W){for(var $=1;$<arguments.length;$++){var j=null!=arguments[$]?arguments[$]:{};$%2?e(Object(j),!0).forEach(function(Q){w(W,Q,j[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(j)):e(Object(j)).forEach(function(Q){Object.defineProperty(W,Q,Object.getOwnPropertyDescriptor(j,Q))})}return W}function w(W,$,j){return($=f($))in W?Object.defineProperty(W,$,{value:j,enumerable:!0,configurable:!0,writable:!0}):W[$]=j,W}function l(W,$){for(var j=0;j<$.length;j++){var Q=$[j];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(W,f(Q.key),Q)}}function f(W){var $=function I(W,$){if("object"!=typeof W||null===W)return W;var j=W[Symbol.toPrimitive];if(void 0!==j){var Q=j.call(W,$||"default");if("object"!=typeof Q)return Q;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===$?String:Number)(W)}(W,"string");return"symbol"==typeof $?$:String($)}var T=g(3838).Buffer,F=g(3779).inspect,R=F&&F.custom||"inspect";function z(W,$,j){T.prototype.copy.call(W,$,j)}Qe.exports=function(){function W(){(function S(W,$){if(!(W instanceof $))throw new TypeError("Cannot call a class as a function")})(this,W),this.head=null,this.tail=null,this.length=0}return function x(W,$,j){$&&l(W.prototype,$),j&&l(W,j),Object.defineProperty(W,"prototype",{writable:!1})}(W,[{key:"push",value:function(j){var Q={data:j,next:null};this.length>0?this.tail.next=Q:this.head=Q,this.tail=Q,++this.length}},{key:"unshift",value:function(j){var Q={data:j,next:this.head};0===this.length&&(this.tail=Q),this.head=Q,++this.length}},{key:"shift",value:function(){if(0!==this.length){var j=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,j}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(j){if(0===this.length)return"";for(var Q=this.head,J=""+Q.data;Q=Q.next;)J+=j+Q.data;return J}},{key:"concat",value:function(j){if(0===this.length)return T.alloc(0);for(var Q=T.allocUnsafe(j>>>0),J=this.head,ee=0;J;)z(J.data,Q,ee),ee+=J.data.length,J=J.next;return Q}},{key:"consume",value:function(j,Q){var J;return j<this.head.data.length?(J=this.head.data.slice(0,j),this.head.data=this.head.data.slice(j)):J=j===this.head.data.length?this.shift():Q?this._getString(j):this._getBuffer(j),J}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(j){var Q=this.head,J=1,ee=Q.data;for(j-=ee.length;Q=Q.next;){var ie=Q.data,ge=j>ie.length?ie.length:j;if(ee+=ge===ie.length?ie:ie.slice(0,j),0==(j-=ge)){ge===ie.length?(++J,this.head=Q.next?Q.next:this.tail=null):(this.head=Q,Q.data=ie.slice(ge));break}++J}return this.length-=J,ee}},{key:"_getBuffer",value:function(j){var Q=T.allocUnsafe(j),J=this.head,ee=1;for(J.data.copy(Q),j-=J.data.length;J=J.next;){var ie=J.data,ge=j>ie.length?ie.length:j;if(ie.copy(Q,Q.length-j,0,ge),0==(j-=ge)){ge===ie.length?(++ee,this.head=J.next?J.next:this.tail=null):(this.head=J,J.data=ie.slice(ge));break}++ee}return this.length-=ee,Q}},{key:R,value:function(j,Q){return F(this,t(t({},Q),{},{depth:0,customInspect:!1}))}}]),W}()},8152:Qe=>{"use strict";function g(l,x){w(l,x),e(l)}function e(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function w(l,x){l.emit("error",x)}Qe.exports={destroy:function te(l,x){var f=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(x?x(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(w,this,l)):process.nextTick(w,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(T){!x&&T?f._writableState?f._writableState.errorEmitted?process.nextTick(e,f):(f._writableState.errorEmitted=!0,process.nextTick(g,f,T)):process.nextTick(g,f,T):x?(process.nextTick(e,f),x(T)):process.nextTick(e,f)}),this)},undestroy:function t(){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 S(l,x){var f=l._readableState,I=l._writableState;f&&f.autoDestroy||I&&I.autoDestroy?l.destroy(x):l.emit("error",x)}}},7854:(Qe,te,g)=>{"use strict";var e=g(464).F.ERR_STREAM_PREMATURE_CLOSE;function w(){}Qe.exports=function l(x,f,I){if("function"==typeof f)return l(x,null,f);f||(f={}),I=function t(x){var f=!1;return function(){if(!f){f=!0;for(var I=arguments.length,d=new Array(I),T=0;T<I;T++)d[T]=arguments[T];x.apply(this,d)}}}(I||w);var d=f.readable||!1!==f.readable&&x.readable,T=f.writable||!1!==f.writable&&x.writable,y=function(){x.writable||R()},F=x._writableState&&x._writableState.finished,R=function(){T=!1,F=!0,d||I.call(x)},z=x._readableState&&x._readableState.endEmitted,W=function(){d=!1,z=!0,T||I.call(x)},$=function(ee){I.call(x,ee)},j=function(){var ee;return d&&!z?((!x._readableState||!x._readableState.ended)&&(ee=new e),I.call(x,ee)):T&&!F?((!x._writableState||!x._writableState.ended)&&(ee=new e),I.call(x,ee)):void 0},Q=function(){x.req.on("finish",R)};return function S(x){return x.setHeader&&"function"==typeof x.abort}(x)?(x.on("complete",R),x.on("abort",j),x.req?Q():x.on("request",Q)):T&&!x._writableState&&(x.on("end",y),x.on("close",y)),x.on("end",W),x.on("finish",R),!1!==f.error&&x.on("error",$),x.on("close",j),function(){x.removeListener("complete",R),x.removeListener("abort",j),x.removeListener("request",Q),x.req&&x.req.removeListener("finish",R),x.removeListener("end",y),x.removeListener("close",y),x.removeListener("finish",R),x.removeListener("end",W),x.removeListener("error",$),x.removeListener("close",j)}}},7765:Qe=>{Qe.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(Qe,te,g)=>{"use strict";var e,w=g(464).F,S=w.ERR_MISSING_ARGS,l=w.ERR_STREAM_DESTROYED;function x(R){if(R)throw R}function d(R){R()}function T(R,z){return R.pipe(z)}Qe.exports=function F(){for(var R=arguments.length,z=new Array(R),W=0;W<R;W++)z[W]=arguments[W];var $=function y(R){return R.length&&"function"==typeof R[R.length-1]?R.pop():x}(z);if(Array.isArray(z[0])&&(z=z[0]),z.length<2)throw new S("streams");var j,Q=z.map(function(J,ee){var ie=ee<z.length-1;return function I(R,z,W,$){$=function t(R){var z=!1;return function(){z||(z=!0,R.apply(void 0,arguments))}}($);var j=!1;R.on("close",function(){j=!0}),void 0===e&&(e=g(7854)),e(R,{readable:z,writable:W},function(J){if(J)return $(J);j=!0,$()});var Q=!1;return function(J){if(!j&&!Q){if(Q=!0,function f(R){return R.setHeader&&"function"==typeof R.abort}(R))return R.abort();if("function"==typeof R.destroy)return R.destroy();$(J||new l("pipe"))}}}(J,ie,ee>0,function(ae){j||(j=ae),ae&&Q.forEach(d),!ie&&(Q.forEach(d),$(j))})});return z.reduce(T)}},2827:(Qe,te,g)=>{"use strict";var e=g(464).F.ERR_INVALID_OPT_VALUE;Qe.exports={getHighWaterMark:function w(S,l,x,f){var I=function t(S,l,x){return null!=S.highWaterMark?S.highWaterMark:l?S[x]:null}(l,f,x);if(null!=I){if(!isFinite(I)||Math.floor(I)!==I||I<0)throw new e(f?x:"highWaterMark",I);return Math.floor(I)}return S.objectMode?16:16384}}},2601:(Qe,te,g)=>{Qe.exports=g(4356).EventEmitter},8454:(Qe,te,g)=>{"use strict";var e=g(4272).Buffer,t=e.isEncoding||function(Q){switch((Q=""+Q)&&Q.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 l(Q){var J;switch(this.encoding=function S(Q){var J=function w(Q){if(!Q)return"utf8";for(var J;;)switch(Q){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 Q;default:if(J)return;Q=(""+Q).toLowerCase(),J=!0}}(Q);if("string"!=typeof J&&(e.isEncoding===t||!t(Q)))throw new Error("Unknown encoding: "+Q);return J||Q}(Q),this.encoding){case"utf16le":this.text=F,this.end=R,J=4;break;case"utf8":this.fillLast=d,J=4;break;case"base64":this.text=z,this.end=W,J=3;break;default:return this.write=$,void(this.end=j)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(J)}function x(Q){return Q<=127?0:Q>>5==6?2:Q>>4==14?3:Q>>3==30?4:Q>>6==2?-1:-2}function d(Q){var J=this.lastTotal-this.lastNeed,ee=function I(Q,J,ee){if(128!=(192&J[0]))return Q.lastNeed=0,"\ufffd";if(Q.lastNeed>1&&J.length>1){if(128!=(192&J[1]))return Q.lastNeed=1,"\ufffd";if(Q.lastNeed>2&&J.length>2&&128!=(192&J[2]))return Q.lastNeed=2,"\ufffd"}}(this,Q);return void 0!==ee?ee:this.lastNeed<=Q.length?(Q.copy(this.lastChar,J,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Q.copy(this.lastChar,J,0,Q.length),void(this.lastNeed-=Q.length))}function F(Q,J){if((Q.length-J)%2==0){var ee=Q.toString("utf16le",J);if(ee){var ie=ee.charCodeAt(ee.length-1);if(ie>=55296&&ie<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1],ee.slice(0,-1)}return ee}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Q[Q.length-1],Q.toString("utf16le",J,Q.length-1)}function R(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):J}function z(Q,J){var ee=(Q.length-J)%3;return 0===ee?Q.toString("base64",J):(this.lastNeed=3-ee,this.lastTotal=3,1===ee?this.lastChar[0]=Q[Q.length-1]:(this.lastChar[0]=Q[Q.length-2],this.lastChar[1]=Q[Q.length-1]),Q.toString("base64",J,Q.length-ee))}function W(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+this.lastChar.toString("base64",0,3-this.lastNeed):J}function $(Q){return Q.toString(this.encoding)}function j(Q){return Q&&Q.length?this.write(Q):""}te.I=l,l.prototype.write=function(Q){if(0===Q.length)return"";var J,ee;if(this.lastNeed){if(void 0===(J=this.fillLast(Q)))return"";ee=this.lastNeed,this.lastNeed=0}else ee=0;return ee<Q.length?J?J+this.text(Q,ee):this.text(Q,ee):J||""},l.prototype.end=function y(Q){var J=Q&&Q.length?this.write(Q):"";return this.lastNeed?J+"\ufffd":J},l.prototype.text=function T(Q,J){var ee=function f(Q,J,ee){var ie=J.length-1;if(ie<ee)return 0;var ge=x(J[ie]);return ge>=0?(ge>0&&(Q.lastNeed=ge-1),ge):--ie<ee||-2===ge?0:(ge=x(J[ie]))>=0?(ge>0&&(Q.lastNeed=ge-2),ge):--ie<ee||-2===ge?0:(ge=x(J[ie]))>=0?(ge>0&&(2===ge?ge=0:Q.lastNeed=ge-3),ge):0}(this,Q,J);if(!this.lastNeed)return Q.toString("utf8",J);this.lastTotal=ee;var ie=Q.length-(ee-this.lastNeed);return Q.copy(this.lastChar,0,ie),Q.toString("utf8",J,ie)},l.prototype.fillLast=function(Q){if(this.lastNeed<=Q.length)return Q.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Q.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Q.length),this.lastNeed-=Q.length}},4272:(Qe,te,g)=>{var e=g(3838),t=e.Buffer;function w(l,x){for(var f in l)x[f]=l[f]}function S(l,x,f){return t(l,x,f)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Qe.exports=e:(w(e,te),te.Buffer=S),w(t,S),S.from=function(l,x,f){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,x,f)},S.alloc=function(l,x,f){if("number"!=typeof l)throw new TypeError("Argument must be a number");var I=t(l);return void 0!==x?"string"==typeof f?I.fill(x,f):I.fill(x):I.fill(0),I},S.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},S.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},7851:(Qe,te,g)=>{var e=g(1876);te.encode=e.encode,te.decode=e.decode},1876:(Qe,te)=>{"use strict";var e=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];te.encode=function(w){Buffer.isBuffer(w)||(w=new Buffer(w));for(var S=0,l=0,x=0,f=0,I=new Buffer(8*function t(w){var S=Math.floor(w.length/5);return w.length%5==0?S:S+1}(w));S<w.length;){var d=w[S];x>3?(f=(f=d&255>>x)<<(x=(x+5)%8)|(S+1<w.length?w[S+1]:0)>>8-x,S++):(f=d>>8-(x+5)&31,0==(x=(x+5)%8)&&S++),I[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(f),l++}for(S=l;S<I.length;S++)I[S]=61;return I},te.decode=function(w){var x,S=0,l=0,f=0;Buffer.isBuffer(w)||(w=new Buffer(w));for(var I=new Buffer(Math.ceil(5*w.length/8)),d=0;d<w.length&&61!==w[d];d++){var T=w[d]-48;if(!(T<e.length))throw new Error("Invalid input - it is not base32 encoded string");l=e[T],S<=3?0==(S=(S+5)%8)?(I[f]=x|=l,f++,x=0):x|=255&l<<8-S:(I[f]=x|=255&l>>>(S=(S+5)%8),f++,x=255&l<<8-S)}return I.slice(0,f)}},3398:Qe=>{function g(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}Qe.exports=function te(e,t){if(g("noDeprecation"))return e;var w=!1;return function S(){if(!w){if(g("throwDeprecation"))throw new Error(t);g("traceDeprecation")?console.trace(t):console.warn(t),w=!0}return e.apply(this,arguments)}}},8326:(__unused_webpack_module,exports)=>{var indexOf=function(Qe,te){if(Qe.indexOf)return Qe.indexOf(te);for(var g=0;g<Qe.length;g++)if(Qe[g]===te)return g;return-1},Object_keys=function(Qe){if(Object.keys)return Object.keys(Qe);var te=[];for(var g in Qe)te.push(g);return te},forEach=function(Qe,te){if(Qe.forEach)return Qe.forEach(te);for(var g=0;g<Qe.length;g++)te(Qe[g],g,Qe)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(Qe,te,g){Object.defineProperty(Qe,te,{writable:!0,enumerable:!1,configurable:!0,value:g})}}catch{return function(te,g,e){te[g]=e}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(te){if(!(this instanceof Script))return new Script(te);this.code=te};Script.prototype.runInContext=function(Qe){if(!(Qe instanceof Context))throw new TypeError("needs a 'context' argument.");var te=document.createElement("iframe");te.style||(te.style={}),te.style.display="none",document.body.appendChild(te);var g=te.contentWindow,e=g.eval,t=g.execScript;!e&&t&&(t.call(g,"null"),e=g.eval),forEach(Object_keys(Qe),function(l){g[l]=Qe[l]}),forEach(globals,function(l){Qe[l]&&(g[l]=Qe[l])});var w=Object_keys(g),S=e.call(g,this.code);return forEach(Object_keys(g),function(l){(l in Qe||-1===indexOf(w,l))&&(Qe[l]=g[l])}),forEach(globals,function(l){l in Qe||defineProp(Qe,l,g[l])}),document.body.removeChild(te),S},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(Qe){var te=Script.createContext(Qe),g=this.runInContext(te);return Qe&&forEach(Object_keys(te),function(e){Qe[e]=te[e]}),g},forEach(Object_keys(Script.prototype),function(Qe){exports[Qe]=Script[Qe]=function(te){var g=Script(te);return g[Qe].apply(g,[].slice.call(arguments,1))}}),exports.isContext=function(Qe){return Qe instanceof Context},exports.createScript=function(Qe){return exports.Script(Qe)},exports.createContext=Script.createContext=function(Qe){var te=new Context;return"object"==typeof Qe&&forEach(Object_keys(Qe),function(g){te[g]=Qe[g]}),te}},8982:()=>{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},9969:(Qe,te,g)=>{"use strict";g.d(te,{FX:()=>de,If:()=>e,K2:()=>x,MA:()=>F,Os:()=>l,P:()=>z,hZ:()=>w,i0:()=>S,i7:()=>d,iF:()=>f,kY:()=>T,kp:()=>t,sf:()=>Me,ui:()=>Te,wk:()=>I});var e=function(D){return D[D.State=0]="State",D[D.Transition=1]="Transition",D[D.Sequence=2]="Sequence",D[D.Group=3]="Group",D[D.Animate=4]="Animate",D[D.Keyframes=5]="Keyframes",D[D.Style=6]="Style",D[D.Trigger=7]="Trigger",D[D.Reference=8]="Reference",D[D.AnimateChild=9]="AnimateChild",D[D.AnimateRef=10]="AnimateRef",D[D.Query=11]="Query",D[D.Stagger=12]="Stagger",D}(e||{});const t="*";function w(D,n){return{type:e.Trigger,name:D,definitions:n,options:{}}}function S(D,n=null){return{type:e.Animate,styles:n,timings:D}}function l(D,n=null){return{type:e.Group,steps:D,options:n}}function x(D,n=null){return{type:e.Sequence,steps:D,options:n}}function f(D){return{type:e.Style,styles:D,offset:null}}function I(D,n,c){return{type:e.State,name:D,styles:n,options:c}}function d(D){return{type:e.Keyframes,steps:D}}function T(D,n,c=null){return{type:e.Transition,expr:D,animation:n,options:c}}function F(D=null){return{type:e.AnimateChild,options:D}}function z(D,n,c=null){return{type:e.Query,selector:D,animation:n,options:c}}class Me{constructor(n=0,c=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+c}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const c="start"==n?this._onStartFns:this._onDoneFns;c.forEach(m=>m()),c.length=0}}class Te{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let c=0,m=0,h=0;const C=this.players.length;0==C?queueMicrotask(()=>this._onFinish()):this.players.forEach(k=>{k.onDone(()=>{++c==C&&this._onFinish()}),k.onDestroy(()=>{++m==C&&this._onDestroy()}),k.onStart(()=>{++h==C&&this._onStart()})}),this.totalTime=this.players.reduce((k,L)=>Math.max(k,L.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const c=n*this.totalTime;this.players.forEach(m=>{const h=m.totalTime?Math.min(1,c/m.totalTime):1;m.setPosition(h)})}getPosition(){const n=this.players.reduce((c,m)=>null===c||m.totalTime>c.totalTime?m:c,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const c="start"==n?this._onStartFns:this._onDoneFns;c.forEach(m=>m()),c.length=0}}const de="!"},8617:(Qe,te,g)=>{"use strict";g.d(te,{Ae:()=>ge,Ai:()=>rt,Au:()=>C,Bu:()=>k,FN:()=>oe,GX:()=>fe,Pd:()=>Ae,Q_:()=>dt,Z7:()=>_,_G:()=>_t,kB:()=>ke,px:()=>ie,vR:()=>tt,vr:()=>n,w6:()=>at});var e=g(177),t=g(4438),w=g(6860),S=g(1413),l=g(8359),x=g(4412),f=g(7673),I=g(7336),d=g(8141),T=g(152),y=g(5964),F=g(6354),R=g(6697),z=g(5245),W=g(3294),$=g(6977),j=g(2318),Q=g(4085),J=g(9327);const ee=" ";function ie(we,he,q){const Re=ae(we,he);q=q.trim(),!Re.some(Ne=>Ne.trim()===q)&&(Re.push(q),we.setAttribute(he,Re.join(ee)))}function ge(we,he,q){const Re=ae(we,he);q=q.trim();const Ne=Re.filter(gt=>gt!==q);Ne.length?we.setAttribute(he,Ne.join(ee)):we.removeAttribute(he)}function ae(we,he){return we.getAttribute(he)?.match(/\S+/g)??[]}const Te="cdk-describedby-message",de="cdk-describedby-host";let D=0,n=(()=>{class we{constructor(q,Re){this._platform=Re,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+D++,this._document=q,this._id=(0,t.WQX)(t.sZ2)+"-"+D++}describe(q,Re,Ne){if(!this._canBeDescribed(q,Re))return;const gt=c(Re,Ne);"string"!=typeof Re?(m(Re,this._id),this._messageRegistry.set(gt,{messageElement:Re,referenceCount:0})):this._messageRegistry.has(gt)||this._createMessageElement(Re,Ne),this._isElementDescribedByMessage(q,gt)||this._addMessageReference(q,gt)}removeDescription(q,Re,Ne){if(!Re||!this._isElementNode(q))return;const gt=c(Re,Ne);if(this._isElementDescribedByMessage(q,gt)&&this._removeMessageReference(q,gt),"string"==typeof Re){const $e=this._messageRegistry.get(gt);$e&&0===$e.referenceCount&&this._deleteMessageElement(gt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const q=this._document.querySelectorAll(`[${de}="${this._id}"]`);for(let Re=0;Re<q.length;Re++)this._removeCdkDescribedByReferenceIds(q[Re]),q[Re].removeAttribute(de);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(q,Re){const Ne=this._document.createElement("div");m(Ne,this._id),Ne.textContent=q,Re&&Ne.setAttribute("role",Re),this._createMessagesContainer(),this._messagesContainer.appendChild(Ne),this._messageRegistry.set(c(q,Re),{messageElement:Ne,referenceCount:0})}_deleteMessageElement(q){this._messageRegistry.get(q)?.messageElement?.remove(),this._messageRegistry.delete(q)}_createMessagesContainer(){if(this._messagesContainer)return;const q="cdk-describedby-message-container",Re=this._document.querySelectorAll(`.${q}[platform="server"]`);for(let gt=0;gt<Re.length;gt++)Re[gt].remove();const Ne=this._document.createElement("div");Ne.style.visibility="hidden",Ne.classList.add(q),Ne.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Ne.setAttribute("platform","server"),this._document.body.appendChild(Ne),this._messagesContainer=Ne}_removeCdkDescribedByReferenceIds(q){const Re=ae(q,"aria-describedby").filter(Ne=>0!=Ne.indexOf(Te));q.setAttribute("aria-describedby",Re.join(" "))}_addMessageReference(q,Re){const Ne=this._messageRegistry.get(Re);ie(q,"aria-describedby",Ne.messageElement.id),q.setAttribute(de,this._id),Ne.referenceCount++}_removeMessageReference(q,Re){const Ne=this._messageRegistry.get(Re);Ne.referenceCount--,ge(q,"aria-describedby",Ne.messageElement.id),q.removeAttribute(de)}_isElementDescribedByMessage(q,Re){const Ne=ae(q,"aria-describedby"),gt=this._messageRegistry.get(Re),$e=gt&>.messageElement.id;return!!$e&&-1!=Ne.indexOf($e)}_canBeDescribed(q,Re){if(!this._isElementNode(q))return!1;if(Re&&"object"==typeof Re)return!0;const Ne=null==Re?"":`${Re}`.trim(),gt=q.getAttribute("aria-label");return!(!Ne||gt&>.trim()===Ne)}_isElementNode(q){return q.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.KVO(e.qQ),t.KVO(w.OD))};static#t=this.\u0275prov=t.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();function c(we,he){return"string"==typeof we?`${he||""}/${we}`:we}function m(we,he){we.id||(we.id=`${Te}-${he}-${D++}`)}class h{constructor(he,q){this._items=he,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S.B,this._typeaheadSubscription=l.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Re=>Re.disabled,this._pressedLetters=[],this.tabOut=new S.B,this.change=new S.B,he instanceof t.rOR?this._itemChangesSubscription=he.changes.subscribe(Re=>this._itemsChanged(Re.toArray())):(0,t.Hps)(he)&&(this._effectRef=(0,t.QZP)(()=>this._itemsChanged(he()),{injector:q}))}skipPredicate(he){return this._skipPredicateFn=he,this}withWrap(he=!0){return this._wrap=he,this}withVerticalOrientation(he=!0){return this._vertical=he,this}withHorizontalOrientation(he){return this._horizontal=he,this}withAllowedModifierKeys(he){return this._allowedModifierKeys=he,this}withTypeAhead(he=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.M)(q=>this._pressedLetters.push(q)),(0,T.B)(he),(0,y.p)(()=>this._pressedLetters.length>0),(0,F.T)(()=>this._pressedLetters.join(""))).subscribe(q=>{const Re=this._getItemsArray();for(let Ne=1;Ne<Re.length+1;Ne++){const gt=(this._activeItemIndex+Ne)%Re.length,$e=Re[gt];if(!this._skipPredicateFn($e)&&0===$e.getLabel().toUpperCase().trim().indexOf(q)){this.setActiveItem(gt);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(he=!0){return this._homeAndEnd=he,this}withPageUpDown(he=!0,q=10){return this._pageUpAndDown={enabled:he,delta:q},this}setActiveItem(he){const q=this._activeItem;this.updateActiveItem(he),this._activeItem!==q&&this.change.next(this._activeItemIndex)}onKeydown(he){const q=he.keyCode,Ne=["altKey","ctrlKey","metaKey","shiftKey"].every(gt=>!he[gt]||this._allowedModifierKeys.indexOf(gt)>-1);switch(q){case I.wn:return void this.tabOut.next();case I.n6:if(this._vertical&&Ne){this.setNextItemActive();break}return;case I.i7:if(this._vertical&&Ne){this.setPreviousItemActive();break}return;case I.LE:if(this._horizontal&&Ne){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case I.UQ:if(this._horizontal&&Ne){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case I.yZ:if(this._homeAndEnd&&Ne){this.setFirstItemActive();break}return;case I.Kp:if(this._homeAndEnd&&Ne){this.setLastItemActive();break}return;case I.w_:if(this._pageUpAndDown.enabled&&Ne){const gt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(gt>0?gt:0,1);break}return;case I.dB:if(this._pageUpAndDown.enabled&&Ne){const gt=this._activeItemIndex+this._pageUpAndDown.delta,$e=this._getItemsArray().length;this._setActiveItemByIndex(gt<$e?gt:$e-1,-1);break}return;default:return void((Ne||(0,I.rp)(he,"shiftKey"))&&(he.key&&1===he.key.length?this._letterKeyStream.next(he.key.toLocaleUpperCase()):(q>=I.A&&q<=I.Z||q>=I.f2&&q<=I.bn)&&this._letterKeyStream.next(String.fromCharCode(q))))}this._pressedLetters=[],he.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(he){const q=this._getItemsArray(),Re="number"==typeof he?he:q.indexOf(he);this._activeItem=q[Re]??null,this._activeItemIndex=Re}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(he){this._wrap?this._setActiveInWrapMode(he):this._setActiveInDefaultMode(he)}_setActiveInWrapMode(he){const q=this._getItemsArray();for(let Re=1;Re<=q.length;Re++){const Ne=(this._activeItemIndex+he*Re+q.length)%q.length;if(!this._skipPredicateFn(q[Ne]))return void this.setActiveItem(Ne)}}_setActiveInDefaultMode(he){this._setActiveItemByIndex(this._activeItemIndex+he,he)}_setActiveItemByIndex(he,q){const Re=this._getItemsArray();if(Re[he]){for(;this._skipPredicateFn(Re[he]);)if(!Re[he+=q])return;this.setActiveItem(he)}}_getItemsArray(){return(0,t.Hps)(this._items)?this._items():this._items instanceof t.rOR?this._items.toArray():this._items}_itemsChanged(he){if(this._activeItem){const q=he.indexOf(this._activeItem);q>-1&&q!==this._activeItemIndex&&(this._activeItemIndex=q)}}}class C extends h{setActiveItem(he){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(he),this.activeItem&&this.activeItem.setActiveStyles()}}class k extends h{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(he){return this._origin=he,this}setActiveItem(he){super.setActiveItem(he),this.activeItem&&this.activeItem.focus(this._origin)}}let _=(()=>{class we{constructor(q){this._platform=q}isDisabled(q){return q.hasAttribute("disabled")}isVisible(q){return function v(we){return!!(we.offsetWidth||we.offsetHeight||"function"==typeof we.getClientRects&&we.getClientRects().length)}(q)&&"visible"===getComputedStyle(q).visibility}isTabbable(q){if(!this._platform.isBrowser)return!1;const Re=function r(we){try{return we.frameElement}catch{return null}}(function me(we){return we.ownerDocument&&we.ownerDocument.defaultView||window}(q));if(Re&&(-1===Ke(Re)||!this.isVisible(Re)))return!1;let Ne=q.nodeName.toLowerCase(),gt=Ke(q);return q.hasAttribute("contenteditable")?-1!==gt:!("iframe"===Ne||"object"===Ne||this._platform.WEBKIT&&this._platform.IOS&&!function se(we){let he=we.nodeName.toLowerCase(),q="input"===he&&we.type;return"text"===q||"password"===q||"select"===he||"textarea"===he}(q))&&("audio"===Ne?!!q.hasAttribute("controls")&&-1!==gt:"video"===Ne?-1!==gt&&(null!==gt||this._platform.FIREFOX||q.hasAttribute("controls")):q.tabIndex>=0)}isFocusable(q,Re){return function X(we){return!function N(we){return function Ee(we){return"input"==we.nodeName.toLowerCase()}(we)&&"hidden"==we.type}(we)&&(function V(we){let he=we.nodeName.toLowerCase();return"input"===he||"select"===he||"button"===he||"textarea"===he}(we)||function ne(we){return function ze(we){return"a"==we.nodeName.toLowerCase()}(we)&&we.hasAttribute("href")}(we)||we.hasAttribute("contenteditable")||qe(we))}(q)&&!this.isDisabled(q)&&(Re?.ignoreVisibility||this.isVisible(q))}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.KVO(w.OD))};static#t=this.\u0275prov=t.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();function qe(we){if(!we.hasAttribute("tabindex")||void 0===we.tabIndex)return!1;let he=we.getAttribute("tabindex");return!(!he||isNaN(parseInt(he,10)))}function Ke(we){if(!qe(we))return null;const he=parseInt(we.getAttribute("tabindex")||"",10);return isNaN(he)?-1:he}class ce{get enabled(){return this._enabled}set enabled(he){this._enabled=he,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(he,this._startAnchor),this._toggleAnchorTabIndex(he,this._endAnchor))}constructor(he,q,Re,Ne,gt=!1){this._element=he,this._checker=q,this._ngZone=Re,this._document=Ne,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,gt||this.attachAnchors()}destroy(){const he=this._startAnchor,q=this._endAnchor;he&&(he.removeEventListener("focus",this.startAnchorListener),he.remove()),q&&(q.removeEventListener("focus",this.endAnchorListener),q.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(he){return new Promise(q=>{this._executeOnStable(()=>q(this.focusInitialElement(he)))})}focusFirstTabbableElementWhenReady(he){return new Promise(q=>{this._executeOnStable(()=>q(this.focusFirstTabbableElement(he)))})}focusLastTabbableElementWhenReady(he){return new Promise(q=>{this._executeOnStable(()=>q(this.focusLastTabbableElement(he)))})}_getRegionBoundary(he){const q=this._element.querySelectorAll(`[cdk-focus-region-${he}], [cdkFocusRegion${he}], [cdk-focus-${he}]`);return"start"==he?q.length?q[0]:this._getFirstTabbableElement(this._element):q.length?q[q.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(he){const q=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(q){if(!this._checker.isFocusable(q)){const Re=this._getFirstTabbableElement(q);return Re?.focus(he),!!Re}return q.focus(he),!0}return this.focusFirstTabbableElement(he)}focusFirstTabbableElement(he){const q=this._getRegionBoundary("start");return q&&q.focus(he),!!q}focusLastTabbableElement(he){const q=this._getRegionBoundary("end");return q&&q.focus(he),!!q}hasAttached(){return this._hasAttached}_getFirstTabbableElement(he){if(this._checker.isFocusable(he)&&this._checker.isTabbable(he))return he;const q=he.children;for(let Re=0;Re<q.length;Re++){const Ne=q[Re].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(q[Re]):null;if(Ne)return Ne}return null}_getLastTabbableElement(he){if(this._checker.isFocusable(he)&&this._checker.isTabbable(he))return he;const q=he.children;for(let Re=q.length-1;Re>=0;Re--){const Ne=q[Re].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(q[Re]):null;if(Ne)return Ne}return null}_createAnchor(){const he=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,he),he.classList.add("cdk-visually-hidden"),he.classList.add("cdk-focus-trap-anchor"),he.setAttribute("aria-hidden","true"),he}_toggleAnchorTabIndex(he,q){he?q.setAttribute("tabindex","0"):q.removeAttribute("tabindex")}toggleAnchors(he){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(he,this._startAnchor),this._toggleAnchorTabIndex(he,this._endAnchor))}_executeOnStable(he){this._ngZone.isStable?he():this._ngZone.onStable.pipe((0,R.s)(1)).subscribe(he)}}let fe=(()=>{class we{constructor(q,Re,Ne){this._checker=q,this._ngZone=Re,this._document=Ne}create(q,Re=!1){return new ce(q,this._checker,this._ngZone,this._document,Re)}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.KVO(_),t.KVO(t.SKi),t.KVO(e.qQ))};static#t=this.\u0275prov=t.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),ke=(()=>{class we{get enabled(){return this.focusTrap?.enabled||!1}set enabled(q){this.focusTrap&&(this.focusTrap.enabled=q)}constructor(q,Re,Ne){this._elementRef=q,this._focusTrapFactory=Re,this._previouslyFocusedElement=null,(0,t.WQX)(w.OD).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(q){const Re=q.autoCapture;Re&&!Re.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,w.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.rXU(t.aKT),t.rXU(fe),t.rXU(e.qQ))};static#t=this.\u0275dir=t.FsC({type:we,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",t.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",t.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[t.GFd,t.OA$]})}return we})();function _t(we){return 0===we.buttons||0===we.detail}function at(we){const he=we.touches&&we.touches[0]||we.changedTouches&&we.changedTouches[0];return!(!he||-1!==he.identifier||null!=he.radiusX&&1!==he.radiusX||null!=he.radiusY&&1!==he.radiusY)}const pt=new t.nKC("cdk-input-modality-detector-options"),Xt={ignoreKeys:[I.A$,I.W3,I.eg,I.Ge,I.FX]},ue=(0,w.BQ)({passive:!0,capture:!0});let Ie=(()=>{class we{get mostRecentModality(){return this._modality.value}constructor(q,Re,Ne,gt){this._platform=q,this._mostRecentTarget=null,this._modality=new x.t(null),this._lastTouchMs=0,this._onKeydown=$e=>{this._options?.ignoreKeys?.some(Fe=>Fe===$e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,w.Fb)($e))},this._onMousedown=$e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(_t($e)?"keyboard":"mouse"),this._mostRecentTarget=(0,w.Fb)($e))},this._onTouchstart=$e=>{at($e)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,w.Fb)($e))},this._options={...Xt,...gt},this.modalityDetected=this._modality.pipe((0,z.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,W.F)()),q.isBrowser&&Re.runOutsideAngular(()=>{Ne.addEventListener("keydown",this._onKeydown,ue),Ne.addEventListener("mousedown",this._onMousedown,ue),Ne.addEventListener("touchstart",this._onTouchstart,ue)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ue),document.removeEventListener("mousedown",this._onMousedown,ue),document.removeEventListener("touchstart",this._onTouchstart,ue))}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.KVO(w.OD),t.KVO(t.SKi),t.KVO(e.qQ),t.KVO(pt,8))};static#t=this.\u0275prov=t.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const He=new t.nKC("liveAnnouncerElement",{providedIn:"root",factory:function Xe(){return null}}),yt=new t.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ye=0,rt=(()=>{class we{constructor(q,Re,Ne,gt){this._ngZone=Re,this._defaultOptions=gt,this._document=Ne,this._liveElement=q||this._createLiveElement()}announce(q,...Re){const Ne=this._defaultOptions;let gt,$e;return 1===Re.length&&"number"==typeof Re[0]?$e=Re[0]:[gt,$e]=Re,this.clear(),clearTimeout(this._previousTimeout),gt||(gt=Ne&&Ne.politeness?Ne.politeness:"polite"),null==$e&&Ne&&($e=Ne.duration),this._liveElement.setAttribute("aria-live",gt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Fe=>this._currentResolve=Fe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=q,"number"==typeof $e&&(this._previousTimeout=setTimeout(()=>this.clear(),$e)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const q="cdk-live-announcer-element",Re=this._document.getElementsByClassName(q),Ne=this._document.createElement("div");for(let gt=0;gt<Re.length;gt++)Re[gt].remove();return Ne.classList.add(q),Ne.classList.add("cdk-visually-hidden"),Ne.setAttribute("aria-atomic","true"),Ne.setAttribute("aria-live","polite"),Ne.id="cdk-live-announcer-"+Ye++,this._document.body.appendChild(Ne),Ne}_exposeAnnouncerToModals(q){const Re=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Ne=0;Ne<Re.length;Ne++){const gt=Re[Ne],$e=gt.getAttribute("aria-owns");$e?-1===$e.indexOf(q)&>.setAttribute("aria-owns",$e+" "+q):gt.setAttribute("aria-owns",q)}}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.KVO(He,8),t.KVO(t.SKi),t.KVO(e.qQ),t.KVO(yt,8))};static#t=this.\u0275prov=t.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();var Nt=function(we){return we[we.IMMEDIATE=0]="IMMEDIATE",we[we.EVENTUAL=1]="EVENTUAL",we}(Nt||{});const Et=new t.nKC("cdk-focus-monitor-default-options"),Vt=(0,w.BQ)({passive:!0,capture:!0});let oe=(()=>{class we{constructor(q,Re,Ne,gt,$e){this._ngZone=q,this._platform=Re,this._inputModalityDetector=Ne,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new S.B,this._rootNodeFocusAndBlurListener=Fe=>{for(let et=(0,w.Fb)(Fe);et;et=et.parentElement)"focus"===Fe.type?this._onFocus(Fe,et):this._onBlur(Fe,et)},this._document=gt,this._detectionMode=$e?.detectionMode||Nt.IMMEDIATE}monitor(q,Re=!1){const Ne=(0,Q.i8)(q);if(!this._platform.isBrowser||1!==Ne.nodeType)return(0,f.of)();const gt=(0,w.KT)(Ne)||this._getDocument(),$e=this._elementInfo.get(Ne);if($e)return Re&&($e.checkChildren=!0),$e.subject;const Fe={checkChildren:Re,subject:new S.B,rootNode:gt};return this._elementInfo.set(Ne,Fe),this._registerGlobalListeners(Fe),Fe.subject}stopMonitoring(q){const Re=(0,Q.i8)(q),Ne=this._elementInfo.get(Re);Ne&&(Ne.subject.complete(),this._setClasses(Re),this._elementInfo.delete(Re),this._removeGlobalListeners(Ne))}focusVia(q,Re,Ne){const gt=(0,Q.i8)(q);gt===this._getDocument().activeElement?this._getClosestElementsInfo(gt).forEach(([Fe,Ge])=>this._originChanged(Fe,Re,Ge)):(this._setOrigin(Re),"function"==typeof gt.focus&>.focus(Ne))}ngOnDestroy(){this._elementInfo.forEach((q,Re)=>this.stopMonitoring(Re))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(q){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(q)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:q&&this._isLastInteractionFromInputLabel(q)?"mouse":"program"}_shouldBeAttributedToTouch(q){return this._detectionMode===Nt.EVENTUAL||!!q?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(q,Re){q.classList.toggle("cdk-focused",!!Re),q.classList.toggle("cdk-touch-focused","touch"===Re),q.classList.toggle("cdk-keyboard-focused","keyboard"===Re),q.classList.toggle("cdk-mouse-focused","mouse"===Re),q.classList.toggle("cdk-program-focused","program"===Re)}_setOrigin(q,Re=!1){this._ngZone.runOutsideAngular(()=>{this._origin=q,this._originFromTouchInteraction="touch"===q&&Re,this._detectionMode===Nt.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(q,Re){const Ne=this._elementInfo.get(Re),gt=(0,w.Fb)(q);!Ne||!Ne.checkChildren&&Re!==gt||this._originChanged(Re,this._getFocusOrigin(gt),Ne)}_onBlur(q,Re){const Ne=this._elementInfo.get(Re);!Ne||Ne.checkChildren&&q.relatedTarget instanceof Node&&Re.contains(q.relatedTarget)||(this._setClasses(Re),this._emitOrigin(Ne,null))}_emitOrigin(q,Re){q.subject.observers.length&&this._ngZone.run(()=>q.subject.next(Re))}_registerGlobalListeners(q){if(!this._platform.isBrowser)return;const Re=q.rootNode,Ne=this._rootNodeFocusListenerCount.get(Re)||0;Ne||this._ngZone.runOutsideAngular(()=>{Re.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vt),Re.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vt)}),this._rootNodeFocusListenerCount.set(Re,Ne+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,$.Q)(this._stopInputModalityDetector)).subscribe(gt=>{this._setOrigin(gt,!0)}))}_removeGlobalListeners(q){const Re=q.rootNode;if(this._rootNodeFocusListenerCount.has(Re)){const Ne=this._rootNodeFocusListenerCount.get(Re);Ne>1?this._rootNodeFocusListenerCount.set(Re,Ne-1):(Re.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vt),Re.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vt),this._rootNodeFocusListenerCount.delete(Re))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(q,Re,Ne){this._setClasses(q,Re),this._emitOrigin(Ne,Re),this._lastFocusOrigin=Re}_getClosestElementsInfo(q){const Re=[];return this._elementInfo.forEach((Ne,gt)=>{(gt===q||Ne.checkChildren&>.contains(q))&&Re.push([gt,Ne])}),Re}_isLastInteractionFromInputLabel(q){const{_mostRecentTarget:Re,mostRecentModality:Ne}=this._inputModalityDetector;if("mouse"!==Ne||!Re||Re===q||"INPUT"!==q.nodeName&&"TEXTAREA"!==q.nodeName||q.disabled)return!1;const gt=q.labels;if(gt)for(let $e=0;$e<gt.length;$e++)if(gt[$e].contains(Re))return!0;return!1}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.KVO(t.SKi),t.KVO(w.OD),t.KVO(Ie),t.KVO(e.qQ,8),t.KVO(Et,8))};static#t=this.\u0275prov=t.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),tt=(()=>{class we{constructor(q,Re){this._elementRef=q,this._focusMonitor=Re,this._focusOrigin=null,this.cdkFocusChange=new t.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const q=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(q,1===q.nodeType&&q.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Re=>{this._focusOrigin=Re,this.cdkFocusChange.emit(Re)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.rXU(t.aKT),t.rXU(oe))};static#t=this.\u0275dir=t.FsC({type:we,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return we})();var $t=function(we){return we[we.NONE=0]="NONE",we[we.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",we[we.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",we}($t||{});const zt="cdk-high-contrast-black-on-white",Jt="cdk-high-contrast-white-on-black",St="cdk-high-contrast-active";let dt=(()=>{class we{constructor(q,Re){this._platform=q,this._document=Re,this._breakpointSubscription=(0,t.WQX)(J.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return $t.NONE;const q=this._document.createElement("div");q.style.backgroundColor="rgb(1,2,3)",q.style.position="absolute",this._document.body.appendChild(q);const Re=this._document.defaultView||window,Ne=Re&&Re.getComputedStyle?Re.getComputedStyle(q):null,gt=(Ne&&Ne.backgroundColor||"").replace(/ /g,"");switch(q.remove(),gt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return $t.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return $t.BLACK_ON_WHITE}return $t.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const q=this._document.body.classList;q.remove(St,zt,Jt),this._hasCheckedHighContrastMode=!0;const Re=this.getHighContrastMode();Re===$t.BLACK_ON_WHITE?q.add(St,zt):Re===$t.WHITE_ON_BLACK&&q.add(St,Jt)}}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.KVO(w.OD),t.KVO(e.qQ))};static#t=this.\u0275prov=t.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Ae=(()=>{class we{constructor(q){q._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Re){return new(Re||we)(t.KVO(dt))};static#t=this.\u0275mod=t.$C({type:we});static#i=this.\u0275inj=t.G2t({imports:[j.w5]})}return we})()},8203:(Qe,te,g)=>{"use strict";g.d(te,{dS:()=>f,jI:()=>d});var e=g(4438),t=g(177);const w=new e.nKC("cdk-dir-doc",{providedIn:"root",factory:function S(){return(0,e.WQX)(t.qQ)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let f=(()=>{class T{constructor(F){this.value="ltr",this.change=new e.bkB,F&&(this.value=function x(T){const y=T?.toLowerCase()||"";return"auto"===y&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===y?"rtl":"ltr"}((F.body?F.body.dir:null)||(F.documentElement?F.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(R){return new(R||T)(e.KVO(w,8))};static#t=this.\u0275prov=e.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})(),d=(()=>{class T{static#e=this.\u0275fac=function(R){return new(R||T)};static#t=this.\u0275mod=e.$C({type:T});static#i=this.\u0275inj=e.G2t({})}return T})()},4085:(Qe,te,g)=>{"use strict";g.d(te,{FG:()=>l,OE:()=>w,a1:()=>x,cc:()=>I,he:()=>t,i8:()=>f,o1:()=>S});var e=g(4438);function t(d){return null!=d&&"false"!=`${d}`}function w(d,T=0){return S(d)?Number(d):T}function S(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function l(d){return Array.isArray(d)?d:[d]}function x(d){return null==d?"":"string"==typeof d?d:`${d}px`}function f(d){return d instanceof e.aKT?d.nativeElement:d}function I(d,T=/\s+/){const y=[];if(null!=d){const F=Array.isArray(d)?d:`${d}`.split(T);for(const R of F){const z=`${R}`.trim();z&&y.push(z)}}return y}},5024:(Qe,te,g)=>{"use strict";g.d(te,{CB:()=>R,DQ:()=>F,Q3:()=>d,qS:()=>x,sL:()=>T,xn:()=>y,y4:()=>f,zP:()=>W});var e=g(17),S=(g(4402),g(7673),g(1413)),l=g(4438);class x{}function f($){return $&&"function"==typeof $.connect&&!($ instanceof e.G)}var d=function($){return $[$.REPLACED=0]="REPLACED",$[$.INSERTED=1]="INSERTED",$[$.MOVED=2]="MOVED",$[$.REMOVED=3]="REMOVED",$}(d||{});const T=new l.nKC("_ViewRepeater");class y{applyChanges(j,Q,J,ee,ie){j.forEachOperation((ge,ae,Me)=>{let Te,de;if(null==ge.previousIndex){const D=J(ge,ae,Me);Te=Q.createEmbeddedView(D.templateRef,D.context,D.index),de=d.INSERTED}else null==Me?(Q.remove(ae),de=d.REMOVED):(Te=Q.get(ae),Q.move(Te,Me),de=d.MOVED);ie&&ie({context:Te?.context,operation:de,record:ge})})}detach(){}}class F{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(j,Q,J,ee,ie){j.forEachOperation((ge,ae,Me)=>{let Te,de;null==ge.previousIndex?(Te=this._insertView(()=>J(ge,ae,Me),Me,Q,ee(ge)),de=Te?d.INSERTED:d.REPLACED):null==Me?(this._detachAndCacheView(ae,Q),de=d.REMOVED):(Te=this._moveView(ae,Me,Q,ee(ge)),de=d.MOVED),ie&&ie({context:Te?.context,operation:de,record:ge})})}detach(){for(const j of this._viewCache)j.destroy();this._viewCache=[]}_insertView(j,Q,J,ee){const ie=this._insertViewFromCache(Q,J);if(ie)return void(ie.context.$implicit=ee);const ge=j();return J.createEmbeddedView(ge.templateRef,ge.context,ge.index)}_detachAndCacheView(j,Q){const J=Q.detach(j);this._maybeCacheView(J,Q)}_moveView(j,Q,J,ee){const ie=J.get(j);return J.move(ie,Q),ie.context.$implicit=ee,ie}_maybeCacheView(j,Q){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(j);else{const J=Q.indexOf(j);-1===J?j.destroy():Q.remove(J)}}_insertViewFromCache(j,Q){const J=this._viewCache.pop();return J&&Q.insert(J,j),J||null}}class R{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(j=!1,Q,J=!0,ee){this._multiple=j,this._emitChanges=J,this.compareWith=ee,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new S.B,Q&&Q.length&&(j?Q.forEach(ie=>this._markSelected(ie)):this._markSelected(Q[0]),this._selectedToEmit.length=0)}select(...j){this._verifyValueAssignment(j),j.forEach(J=>this._markSelected(J));const Q=this._hasQueuedChanges();return this._emitChangeEvent(),Q}deselect(...j){this._verifyValueAssignment(j),j.forEach(J=>this._unmarkSelected(J));const Q=this._hasQueuedChanges();return this._emitChangeEvent(),Q}setSelection(...j){this._verifyValueAssignment(j);const Q=this.selected,J=new Set(j);j.forEach(ie=>this._markSelected(ie)),Q.filter(ie=>!J.has(this._getConcreteValue(ie,J))).forEach(ie=>this._unmarkSelected(ie));const ee=this._hasQueuedChanges();return this._emitChangeEvent(),ee}toggle(j){return this.isSelected(j)?this.deselect(j):this.select(j)}clear(j=!0){this._unmarkAll();const Q=this._hasQueuedChanges();return j&&this._emitChangeEvent(),Q}isSelected(j){return this._selection.has(this._getConcreteValue(j))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(j){this._multiple&&this.selected&&this._selected.sort(j)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(j){j=this._getConcreteValue(j),this.isSelected(j)||(this._multiple||this._unmarkAll(),this.isSelected(j)||this._selection.add(j),this._emitChanges&&this._selectedToEmit.push(j))}_unmarkSelected(j){j=this._getConcreteValue(j),this.isSelected(j)&&(this._selection.delete(j),this._emitChanges&&this._deselectedToEmit.push(j))}_unmarkAll(){this.isEmpty()||this._selection.forEach(j=>this._unmarkSelected(j))}_verifyValueAssignment(j){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(j,Q){if(this.compareWith){Q=Q??this._selection;for(let J of Q)if(this.compareWith(j,J))return J;return j}return j}}let W=(()=>{class ${constructor(){this._listeners=[]}notify(Q,J){for(let ee of this._listeners)ee(Q,J)}listen(Q){return this._listeners.push(Q),()=>{this._listeners=this._listeners.filter(J=>Q!==J)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(J){return new(J||$)};static#t=this.\u0275prov=l.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})()},7336:(Qe,te,g)=>{"use strict";g.d(te,{A:()=>N,A$:()=>I,FX:()=>x,Fm:()=>l,G_:()=>t,Ge:()=>yt,Kp:()=>W,LE:()=>J,SJ:()=>Me,UQ:()=>j,W3:()=>f,Z:()=>Xe,_f:()=>y,bn:()=>L,dB:()=>z,eg:()=>ot,f2:()=>Te,i7:()=>Q,n6:()=>ee,rp:()=>ut,t6:()=>F,w_:()=>R,wn:()=>w,yZ:()=>$});const t=8,w=9,l=13,x=16,f=17,I=18,y=27,F=32,R=33,z=34,W=35,$=36,j=37,Q=38,J=39,ee=40,Me=46,Te=48,L=57,N=65,Xe=90,yt=91,ot=224;function ut(ii,...si){return si.length?si.some(Pi=>ii[Pi]):ii.altKey||ii.shiftKey||ii.ctrlKey||ii.metaKey}},9327:(Qe,te,g)=>{"use strict";g.d(te,{QP:()=>ee,RH:()=>z,Rp:()=>ge});var e=g(4438),t=g(4085),w=g(1413),S=g(4572),l=g(8793),x=g(1985),f=g(6697),I=g(5245),d=g(152),T=g(6354),y=g(9172),F=g(6977),R=g(6860);let z=(()=>{class ae{static#e=this.\u0275fac=function(de){return new(de||ae)};static#t=this.\u0275mod=e.$C({type:ae});static#i=this.\u0275inj=e.G2t({})}return ae})();const W=new Set;let $,j=(()=>{class ae{constructor(Te,de){this._platform=Te,this._nonce=de,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):J}matchMedia(Te){return(this._platform.WEBKIT||this._platform.BLINK)&&function Q(ae,Me){if(!W.has(ae))try{$||($=document.createElement("style"),Me&&$.setAttribute("nonce",Me),$.setAttribute("type","text/css"),document.head.appendChild($)),$.sheet&&($.sheet.insertRule(`@media ${ae} {body{ }}`,0),W.add(ae))}catch(Te){console.error(Te)}}(Te,this._nonce),this._matchMedia(Te)}static#e=this.\u0275fac=function(de){return new(de||ae)(e.KVO(R.OD),e.KVO(e.BIS,8))};static#t=this.\u0275prov=e.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();function J(ae){return{matches:"all"===ae||""===ae,media:ae,addListener:()=>{},removeListener:()=>{}}}let ee=(()=>{class ae{constructor(Te,de){this._mediaMatcher=Te,this._zone=de,this._queries=new Map,this._destroySubject=new w.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Te){return ie((0,t.FG)(Te)).some(D=>this._registerQuery(D).mql.matches)}observe(Te){const D=ie((0,t.FG)(Te)).map(c=>this._registerQuery(c).observable);let n=(0,S.z)(D);return n=(0,l.x)(n.pipe((0,f.s)(1)),n.pipe((0,I.i)(1),(0,d.B)(0))),n.pipe((0,T.T)(c=>{const m={matches:!1,breakpoints:{}};return c.forEach(({matches:h,query:C})=>{m.matches=m.matches||h,m.breakpoints[C]=h}),m}))}_registerQuery(Te){if(this._queries.has(Te))return this._queries.get(Te);const de=this._mediaMatcher.matchMedia(Te),n={observable:new x.c(c=>{const m=h=>this._zone.run(()=>c.next(h));return de.addListener(m),()=>{de.removeListener(m)}}).pipe((0,y.Z)(de),(0,T.T)(({matches:c})=>({query:Te,matches:c})),(0,F.Q)(this._destroySubject)),mql:de};return this._queries.set(Te,n),n}static#e=this.\u0275fac=function(de){return new(de||ae)(e.KVO(j),e.KVO(e.SKi))};static#t=this.\u0275prov=e.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();function ie(ae){return ae.map(Me=>Me.split(",")).reduce((Me,Te)=>Me.concat(Te)).map(Me=>Me.trim())}const ge={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},2318:(Qe,te,g)=>{"use strict";g.d(te,{Wv:()=>y,w5:()=>F});var e=g(4085),t=g(4438),w=g(1985),S=g(1413),l=g(6354),x=g(5964),f=g(152);let d=(()=>{class R{create(W){return typeof MutationObserver>"u"?null:new MutationObserver(W)}static#e=this.\u0275fac=function($){return new($||R)};static#t=this.\u0275prov=t.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),T=(()=>{class R{constructor(W){this._mutationObserverFactory=W,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((W,$)=>this._cleanupObserver($))}observe(W){const $=(0,e.i8)(W);return new w.c(j=>{const J=this._observeElement($).pipe((0,l.T)(ee=>ee.filter(ie=>!function I(R){if("characterData"===R.type&&R.target instanceof Comment)return!0;if("childList"===R.type){for(let z=0;z<R.addedNodes.length;z++)if(!(R.addedNodes[z]instanceof Comment))return!1;for(let z=0;z<R.removedNodes.length;z++)if(!(R.removedNodes[z]instanceof Comment))return!1;return!0}return!1}(ie))),(0,x.p)(ee=>!!ee.length)).subscribe(j);return()=>{J.unsubscribe(),this._unobserveElement($)}})}_observeElement(W){if(this._observedElements.has(W))this._observedElements.get(W).count++;else{const $=new S.B,j=this._mutationObserverFactory.create(Q=>$.next(Q));j&&j.observe(W,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(W,{observer:j,stream:$,count:1})}return this._observedElements.get(W).stream}_unobserveElement(W){this._observedElements.has(W)&&(this._observedElements.get(W).count--,this._observedElements.get(W).count||this._cleanupObserver(W))}_cleanupObserver(W){if(this._observedElements.has(W)){const{observer:$,stream:j}=this._observedElements.get(W);$&&$.disconnect(),j.complete(),this._observedElements.delete(W)}}static#e=this.\u0275fac=function($){return new($||R)(t.KVO(d))};static#t=this.\u0275prov=t.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}return R})(),y=(()=>{class R{get disabled(){return this._disabled}set disabled(W){this._disabled=W,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(W){this._debounce=(0,e.OE)(W),this._subscribe()}constructor(W,$,j){this._contentObserver=W,this._elementRef=$,this._ngZone=j,this.event=new t.bkB,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const W=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?W.pipe((0,f.B)(this.debounce)):W).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function($){return new($||R)(t.rXU(T),t.rXU(t.aKT),t.rXU(t.SKi))};static#t=this.\u0275dir=t.FsC({type:R,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",t.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[t.GFd]})}return R})(),F=(()=>{class R{static#e=this.\u0275fac=function($){return new($||R)};static#t=this.\u0275mod=t.$C({type:R});static#i=this.\u0275inj=t.G2t({providers:[d]})}return R})()},6969:(Qe,te,g)=>{"use strict";g.d(te,{WB:()=>Ze,$Q:()=>pe,rW:()=>ne,hJ:()=>mt,rR:()=>D,Sf:()=>r,z_:()=>pt,yY:()=>v});var e=g(5542),t=g(177),w=g(4438),S=g(4085),l=g(6860),x=g(5964),f=g(6697),I=g(6977),d=g(9974),T=g(4360),F=g(8203),R=g(6939),z=g(1413),W=g(8359),$=g(7786),j=g(7336);const Q=(0,l.CZ)();class J{constructor(ue,Ie){this._viewportRuler=ue,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ie}attach(){}enable(){if(this._canBeEnabled()){const ue=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ue.style.left||"",this._previousHTMLStyles.top=ue.style.top||"",ue.style.left=(0,S.a1)(-this._previousScrollPosition.left),ue.style.top=(0,S.a1)(-this._previousScrollPosition.top),ue.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ue=this._document.documentElement,He=ue.style,Xe=this._document.body.style,yt=He.scrollBehavior||"",Ye=Xe.scrollBehavior||"";this._isEnabled=!1,He.left=this._previousHTMLStyles.left,He.top=this._previousHTMLStyles.top,ue.classList.remove("cdk-global-scrollblock"),Q&&(He.scrollBehavior=Xe.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Q&&(He.scrollBehavior=yt,Xe.scrollBehavior=Ye)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ie=this._document.body,He=this._viewportRuler.getViewportSize();return Ie.scrollHeight>He.height||Ie.scrollWidth>He.width}}class ie{constructor(ue,Ie,He,Xe){this._scrollDispatcher=ue,this._ngZone=Ie,this._viewportRuler=He,this._config=Xe,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ue){this._overlayRef=ue}enable(){if(this._scrollSubscription)return;const ue=this._scrollDispatcher.scrolled(0).pipe((0,x.p)(Ie=>!Ie||!this._overlayRef.overlayElement.contains(Ie.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ue.subscribe(()=>{const Ie=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ie-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ue.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ge{enable(){}disable(){}attach(){}}function ae(ye,ue){return ue.some(Ie=>ye.bottom<Ie.top||ye.top>Ie.bottom||ye.right<Ie.left||ye.left>Ie.right)}function Me(ye,ue){return ue.some(Ie=>ye.top<Ie.top||ye.bottom>Ie.bottom||ye.left<Ie.left||ye.right>Ie.right)}class Te{constructor(ue,Ie,He,Xe){this._scrollDispatcher=ue,this._viewportRuler=Ie,this._ngZone=He,this._config=Xe,this._scrollSubscription=null}attach(ue){this._overlayRef=ue}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Ie=this._overlayRef.overlayElement.getBoundingClientRect(),{width:He,height:Xe}=this._viewportRuler.getViewportSize();ae(Ie,[{width:He,height:Xe,bottom:Xe,right:He,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let de=(()=>{class ye{constructor(Ie,He,Xe,yt){this._scrollDispatcher=Ie,this._viewportRuler=He,this._ngZone=Xe,this.noop=()=>new ge,this.close=Ye=>new ie(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ye),this.block=()=>new J(this._viewportRuler,this._document),this.reposition=Ye=>new Te(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ye),this._document=yt}static#e=this.\u0275fac=function(He){return new(He||ye)(w.KVO(e.R),w.KVO(e.Xj),w.KVO(w.SKi),w.KVO(t.qQ))};static#t=this.\u0275prov=w.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class D{constructor(ue){if(this.scrollStrategy=new ge,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ue){const Ie=Object.keys(ue);for(const He of Ie)void 0!==ue[He]&&(this[He]=ue[He])}}}class m{constructor(ue,Ie){this.connectionPair=ue,this.scrollableViewProperties=Ie}}let k=(()=>{class ye{constructor(Ie){this._attachedOverlays=[],this._document=Ie}ngOnDestroy(){this.detach()}add(Ie){this.remove(Ie),this._attachedOverlays.push(Ie)}remove(Ie){const He=this._attachedOverlays.indexOf(Ie);He>-1&&this._attachedOverlays.splice(He,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(He){return new(He||ye)(w.KVO(t.qQ))};static#t=this.\u0275prov=w.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),L=(()=>{class ye extends k{constructor(Ie,He){super(Ie),this._ngZone=He,this._keydownListener=Xe=>{const yt=this._attachedOverlays;for(let Ye=yt.length-1;Ye>-1;Ye--)if(yt[Ye]._keydownEvents.observers.length>0){const rt=yt[Ye]._keydownEvents;this._ngZone?this._ngZone.run(()=>rt.next(Xe)):rt.next(Xe);break}}}add(Ie){super.add(Ie),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(He){return new(He||ye)(w.KVO(t.qQ),w.KVO(w.SKi,8))};static#t=this.\u0275prov=w.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),_=(()=>{class ye extends k{constructor(Ie,He,Xe){super(Ie),this._platform=He,this._ngZone=Xe,this._cursorStyleIsSet=!1,this._pointerDownListener=yt=>{this._pointerDownEventTarget=(0,l.Fb)(yt)},this._clickListener=yt=>{const Ye=(0,l.Fb)(yt),rt="click"===yt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ye;this._pointerDownEventTarget=null;const Yt=this._attachedOverlays.slice();for(let Nt=Yt.length-1;Nt>-1;Nt--){const Et=Yt[Nt];if(Et._outsidePointerEvents.observers.length<1||!Et.hasAttached())continue;if(Et.overlayElement.contains(Ye)||Et.overlayElement.contains(rt))break;const Vt=Et._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Vt.next(yt)):Vt.next(yt)}}}add(Ie){if(super.add(Ie),!this._isAttached){const He=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(He)):this._addEventListeners(He),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=He.style.cursor,He.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ie=this._document.body;Ie.removeEventListener("pointerdown",this._pointerDownListener,!0),Ie.removeEventListener("click",this._clickListener,!0),Ie.removeEventListener("auxclick",this._clickListener,!0),Ie.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ie.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ie){Ie.addEventListener("pointerdown",this._pointerDownListener,!0),Ie.addEventListener("click",this._clickListener,!0),Ie.addEventListener("auxclick",this._clickListener,!0),Ie.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(He){return new(He||ye)(w.KVO(t.qQ),w.KVO(l.OD),w.KVO(w.SKi,8))};static#t=this.\u0275prov=w.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),r=(()=>{class ye{constructor(Ie,He){this._platform=He,this._document=Ie}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ie="cdk-overlay-container";if(this._platform.isBrowser||(0,l.v8)()){const Xe=this._document.querySelectorAll(`.${Ie}[platform="server"], .${Ie}[platform="test"]`);for(let yt=0;yt<Xe.length;yt++)Xe[yt].remove()}const He=this._document.createElement("div");He.classList.add(Ie),(0,l.v8)()?He.setAttribute("platform","test"):this._platform.isBrowser||He.setAttribute("platform","server"),this._document.body.appendChild(He),this._containerElement=He}static#e=this.\u0275fac=function(He){return new(He||ye)(w.KVO(t.qQ),w.KVO(l.OD))};static#t=this.\u0275prov=w.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class v{constructor(ue,Ie,He,Xe,yt,Ye,rt,Yt,Nt,Et=!1){this._portalOutlet=ue,this._host=Ie,this._pane=He,this._config=Xe,this._ngZone=yt,this._keyboardDispatcher=Ye,this._document=rt,this._location=Yt,this._outsideClickDispatcher=Nt,this._animationsDisabled=Et,this._backdropElement=null,this._backdropClick=new z.B,this._attachments=new z.B,this._detachments=new z.B,this._locationChanges=W.yU.EMPTY,this._backdropClickHandler=Vt=>this._backdropClick.next(Vt),this._backdropTransitionendHandler=Vt=>{this._disposeBackdrop(Vt.target)},this._keydownEvents=new z.B,this._outsidePointerEvents=new z.B,Xe.scrollStrategy&&(this._scrollStrategy=Xe.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Xe.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ue){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ie=this._portalOutlet.attach(ue);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,f.s)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Ie?.onDestroy&&Ie.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ie}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ue=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ue}dispose(){const ue=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,ue&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ue){ue!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ue,this.hasAttached()&&(ue.attach(this),this.updatePosition()))}updateSize(ue){this._config={...this._config,...ue},this._updateElementSize()}setDirection(ue){this._config={...this._config,direction:ue},this._updateElementDirection()}addPanelClass(ue){this._pane&&this._toggleClasses(this._pane,ue,!0)}removePanelClass(ue){this._pane&&this._toggleClasses(this._pane,ue,!1)}getDirection(){const ue=this._config.direction;return ue?"string"==typeof ue?ue:ue.value:"ltr"}updateScrollStrategy(ue){ue!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ue,this.hasAttached()&&(ue.attach(this),ue.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ue=this._pane.style;ue.width=(0,S.a1)(this._config.width),ue.height=(0,S.a1)(this._config.height),ue.minWidth=(0,S.a1)(this._config.minWidth),ue.minHeight=(0,S.a1)(this._config.minHeight),ue.maxWidth=(0,S.a1)(this._config.maxWidth),ue.maxHeight=(0,S.a1)(this._config.maxHeight)}_togglePointerEvents(ue){this._pane.style.pointerEvents=ue?"":"none"}_attachBackdrop(){const ue="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(ue)})}):this._backdropElement.classList.add(ue)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ue=this._backdropElement;if(ue){if(this._animationsDisabled)return void this._disposeBackdrop(ue);ue.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ue.addEventListener("transitionend",this._backdropTransitionendHandler)}),ue.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ue)},500))}}_toggleClasses(ue,Ie,He){const Xe=(0,S.FG)(Ie||[]).filter(yt=>!!yt);Xe.length&&(He?ue.classList.add(...Xe):ue.classList.remove(...Xe))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ue=this._ngZone.onStable.pipe((0,I.Q)((0,$.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ue.unsubscribe())})})}_disposeScrollStrategy(){const ue=this._scrollStrategy;ue&&(ue.disable(),ue.detach&&ue.detach())}_disposeBackdrop(ue){ue&&(ue.removeEventListener("click",this._backdropClickHandler),ue.removeEventListener("transitionend",this._backdropTransitionendHandler),ue.remove(),this._backdropElement===ue&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const V="cdk-overlay-connected-position-bounding-box",N=/([A-Za-z%]+)$/;class ne{get positions(){return this._preferredPositions}constructor(ue,Ie,He,Xe,yt){this._viewportRuler=Ie,this._document=He,this._platform=Xe,this._overlayContainer=yt,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 z.B,this._resizeSubscription=W.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ue)}attach(ue){this._validatePositions(),ue.hostElement.classList.add(V),this._overlayRef=ue,this._boundingBox=ue.hostElement,this._pane=ue.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ue=this._originRect,Ie=this._overlayRect,He=this._viewportRect,Xe=this._containerRect,yt=[];let Ye;for(let rt of this._preferredPositions){let Yt=this._getOriginPoint(ue,Xe,rt),Nt=this._getOverlayPoint(Yt,Ie,rt),Et=this._getOverlayFit(Nt,Ie,He,rt);if(Et.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(rt,Yt);this._canFitWithFlexibleDimensions(Et,Nt,He)?yt.push({position:rt,origin:Yt,overlayRect:Ie,boundingBoxRect:this._calculateBoundingBoxRect(Yt,rt)}):(!Ye||Ye.overlayFit.visibleArea<Et.visibleArea)&&(Ye={overlayFit:Et,overlayPoint:Nt,originPoint:Yt,position:rt,overlayRect:Ie})}if(yt.length){let rt=null,Yt=-1;for(const Nt of yt){const Et=Nt.boundingBoxRect.width*Nt.boundingBoxRect.height*(Nt.position.weight||1);Et>Yt&&(Yt=Et,rt=Nt)}return this._isPushed=!1,void this._applyPosition(rt.position,rt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ye.position,Ye.originPoint);this._applyPosition(Ye.position,Ye.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ee(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(V),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ue=this._lastPosition;if(ue){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ie=this._getOriginPoint(this._originRect,this._containerRect,ue);this._applyPosition(ue,Ie)}else this.apply()}withScrollableContainers(ue){return this._scrollables=ue,this}withPositions(ue){return this._preferredPositions=ue,-1===ue.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ue){return this._viewportMargin=ue,this}withFlexibleDimensions(ue=!0){return this._hasFlexibleDimensions=ue,this}withGrowAfterOpen(ue=!0){return this._growAfterOpen=ue,this}withPush(ue=!0){return this._canPush=ue,this}withLockedPosition(ue=!0){return this._positionLocked=ue,this}setOrigin(ue){return this._origin=ue,this}withDefaultOffsetX(ue){return this._offsetX=ue,this}withDefaultOffsetY(ue){return this._offsetY=ue,this}withTransformOriginOn(ue){return this._transformOriginSelector=ue,this}_getOriginPoint(ue,Ie,He){let Xe,yt;if("center"==He.originX)Xe=ue.left+ue.width/2;else{const Ye=this._isRtl()?ue.right:ue.left,rt=this._isRtl()?ue.left:ue.right;Xe="start"==He.originX?Ye:rt}return Ie.left<0&&(Xe-=Ie.left),yt="center"==He.originY?ue.top+ue.height/2:"top"==He.originY?ue.top:ue.bottom,Ie.top<0&&(yt-=Ie.top),{x:Xe,y:yt}}_getOverlayPoint(ue,Ie,He){let Xe,yt;return Xe="center"==He.overlayX?-Ie.width/2:"start"===He.overlayX?this._isRtl()?-Ie.width:0:this._isRtl()?0:-Ie.width,yt="center"==He.overlayY?-Ie.height/2:"top"==He.overlayY?0:-Ie.height,{x:ue.x+Xe,y:ue.y+yt}}_getOverlayFit(ue,Ie,He,Xe){const yt=qe(Ie);let{x:Ye,y:rt}=ue,Yt=this._getOffset(Xe,"x"),Nt=this._getOffset(Xe,"y");Yt&&(Ye+=Yt),Nt&&(rt+=Nt);let oe=0-rt,tt=rt+yt.height-He.height,$t=this._subtractOverflows(yt.width,0-Ye,Ye+yt.width-He.width),zt=this._subtractOverflows(yt.height,oe,tt),Jt=$t*zt;return{visibleArea:Jt,isCompletelyWithinViewport:yt.width*yt.height===Jt,fitsInViewportVertically:zt===yt.height,fitsInViewportHorizontally:$t==yt.width}}_canFitWithFlexibleDimensions(ue,Ie,He){if(this._hasFlexibleDimensions){const Xe=He.bottom-Ie.y,yt=He.right-Ie.x,Ye=ze(this._overlayRef.getConfig().minHeight),rt=ze(this._overlayRef.getConfig().minWidth);return(ue.fitsInViewportVertically||null!=Ye&&Ye<=Xe)&&(ue.fitsInViewportHorizontally||null!=rt&&rt<=yt)}return!1}_pushOverlayOnScreen(ue,Ie,He){if(this._previousPushAmount&&this._positionLocked)return{x:ue.x+this._previousPushAmount.x,y:ue.y+this._previousPushAmount.y};const Xe=qe(Ie),yt=this._viewportRect,Ye=Math.max(ue.x+Xe.width-yt.width,0),rt=Math.max(ue.y+Xe.height-yt.height,0),Yt=Math.max(yt.top-He.top-ue.y,0),Nt=Math.max(yt.left-He.left-ue.x,0);let Et=0,Vt=0;return Et=Xe.width<=yt.width?Nt||-Ye:ue.x<this._viewportMargin?yt.left-He.left-ue.x:0,Vt=Xe.height<=yt.height?Yt||-rt:ue.y<this._viewportMargin?yt.top-He.top-ue.y:0,this._previousPushAmount={x:Et,y:Vt},{x:ue.x+Et,y:ue.y+Vt}}_applyPosition(ue,Ie){if(this._setTransformOrigin(ue),this._setOverlayElementStyles(Ie,ue),this._setBoundingBoxStyles(Ie,ue),ue.panelClass&&this._addPanelClasses(ue.panelClass),this._positionChanges.observers.length){const He=this._getScrollVisibility();if(ue!==this._lastPosition||!this._lastScrollVisibility||!function Ke(ye,ue){return ye===ue||ye.isOriginClipped===ue.isOriginClipped&&ye.isOriginOutsideView===ue.isOriginOutsideView&&ye.isOverlayClipped===ue.isOverlayClipped&&ye.isOverlayOutsideView===ue.isOverlayOutsideView}(this._lastScrollVisibility,He)){const Xe=new m(ue,He);this._positionChanges.next(Xe)}this._lastScrollVisibility=He}this._lastPosition=ue,this._isInitialRender=!1}_setTransformOrigin(ue){if(!this._transformOriginSelector)return;const Ie=this._boundingBox.querySelectorAll(this._transformOriginSelector);let He,Xe=ue.overlayY;He="center"===ue.overlayX?"center":this._isRtl()?"start"===ue.overlayX?"right":"left":"start"===ue.overlayX?"left":"right";for(let yt=0;yt<Ie.length;yt++)Ie[yt].style.transformOrigin=`${He} ${Xe}`}_calculateBoundingBoxRect(ue,Ie){const He=this._viewportRect,Xe=this._isRtl();let yt,Ye,rt,Et,Vt,oe;if("top"===Ie.overlayY)Ye=ue.y,yt=He.height-Ye+this._viewportMargin;else if("bottom"===Ie.overlayY)rt=He.height-ue.y+2*this._viewportMargin,yt=He.height-rt+this._viewportMargin;else{const tt=Math.min(He.bottom-ue.y+He.top,ue.y),$t=this._lastBoundingBoxSize.height;yt=2*tt,Ye=ue.y-tt,yt>$t&&!this._isInitialRender&&!this._growAfterOpen&&(Ye=ue.y-$t/2)}if("end"===Ie.overlayX&&!Xe||"start"===Ie.overlayX&&Xe)oe=He.width-ue.x+2*this._viewportMargin,Et=ue.x-this._viewportMargin;else if("start"===Ie.overlayX&&!Xe||"end"===Ie.overlayX&&Xe)Vt=ue.x,Et=He.right-ue.x;else{const tt=Math.min(He.right-ue.x+He.left,ue.x),$t=this._lastBoundingBoxSize.width;Et=2*tt,Vt=ue.x-tt,Et>$t&&!this._isInitialRender&&!this._growAfterOpen&&(Vt=ue.x-$t/2)}return{top:Ye,left:Vt,bottom:rt,right:oe,width:Et,height:yt}}_setBoundingBoxStyles(ue,Ie){const He=this._calculateBoundingBoxRect(ue,Ie);!this._isInitialRender&&!this._growAfterOpen&&(He.height=Math.min(He.height,this._lastBoundingBoxSize.height),He.width=Math.min(He.width,this._lastBoundingBoxSize.width));const Xe={};if(this._hasExactPosition())Xe.top=Xe.left="0",Xe.bottom=Xe.right=Xe.maxHeight=Xe.maxWidth="",Xe.width=Xe.height="100%";else{const yt=this._overlayRef.getConfig().maxHeight,Ye=this._overlayRef.getConfig().maxWidth;Xe.height=(0,S.a1)(He.height),Xe.top=(0,S.a1)(He.top),Xe.bottom=(0,S.a1)(He.bottom),Xe.width=(0,S.a1)(He.width),Xe.left=(0,S.a1)(He.left),Xe.right=(0,S.a1)(He.right),Xe.alignItems="center"===Ie.overlayX?"center":"end"===Ie.overlayX?"flex-end":"flex-start",Xe.justifyContent="center"===Ie.overlayY?"center":"bottom"===Ie.overlayY?"flex-end":"flex-start",yt&&(Xe.maxHeight=(0,S.a1)(yt)),Ye&&(Xe.maxWidth=(0,S.a1)(Ye))}this._lastBoundingBoxSize=He,Ee(this._boundingBox.style,Xe)}_resetBoundingBoxStyles(){Ee(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ee(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ue,Ie){const He={},Xe=this._hasExactPosition(),yt=this._hasFlexibleDimensions,Ye=this._overlayRef.getConfig();if(Xe){const Et=this._viewportRuler.getViewportScrollPosition();Ee(He,this._getExactOverlayY(Ie,ue,Et)),Ee(He,this._getExactOverlayX(Ie,ue,Et))}else He.position="static";let rt="",Yt=this._getOffset(Ie,"x"),Nt=this._getOffset(Ie,"y");Yt&&(rt+=`translateX(${Yt}px) `),Nt&&(rt+=`translateY(${Nt}px)`),He.transform=rt.trim(),Ye.maxHeight&&(Xe?He.maxHeight=(0,S.a1)(Ye.maxHeight):yt&&(He.maxHeight="")),Ye.maxWidth&&(Xe?He.maxWidth=(0,S.a1)(Ye.maxWidth):yt&&(He.maxWidth="")),Ee(this._pane.style,He)}_getExactOverlayY(ue,Ie,He){let Xe={top:"",bottom:""},yt=this._getOverlayPoint(Ie,this._overlayRect,ue);return this._isPushed&&(yt=this._pushOverlayOnScreen(yt,this._overlayRect,He)),"bottom"===ue.overlayY?Xe.bottom=this._document.documentElement.clientHeight-(yt.y+this._overlayRect.height)+"px":Xe.top=(0,S.a1)(yt.y),Xe}_getExactOverlayX(ue,Ie,He){let Ye,Xe={left:"",right:""},yt=this._getOverlayPoint(Ie,this._overlayRect,ue);return this._isPushed&&(yt=this._pushOverlayOnScreen(yt,this._overlayRect,He)),Ye=this._isRtl()?"end"===ue.overlayX?"left":"right":"end"===ue.overlayX?"right":"left","right"===Ye?Xe.right=this._document.documentElement.clientWidth-(yt.x+this._overlayRect.width)+"px":Xe.left=(0,S.a1)(yt.x),Xe}_getScrollVisibility(){const ue=this._getOriginRect(),Ie=this._pane.getBoundingClientRect(),He=this._scrollables.map(Xe=>Xe.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Me(ue,He),isOriginOutsideView:ae(ue,He),isOverlayClipped:Me(Ie,He),isOverlayOutsideView:ae(Ie,He)}}_subtractOverflows(ue,...Ie){return Ie.reduce((He,Xe)=>He-Math.max(Xe,0),ue)}_getNarrowedViewportRect(){const ue=this._document.documentElement.clientWidth,Ie=this._document.documentElement.clientHeight,He=this._viewportRuler.getViewportScrollPosition();return{top:He.top+this._viewportMargin,left:He.left+this._viewportMargin,right:He.left+ue-this._viewportMargin,bottom:He.top+Ie-this._viewportMargin,width:ue-2*this._viewportMargin,height:Ie-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ue,Ie){return"x"===Ie?null==ue.offsetX?this._offsetX:ue.offsetX:null==ue.offsetY?this._offsetY:ue.offsetY}_validatePositions(){}_addPanelClasses(ue){this._pane&&(0,S.FG)(ue).forEach(Ie=>{""!==Ie&&-1===this._appliedPanelClasses.indexOf(Ie)&&(this._appliedPanelClasses.push(Ie),this._pane.classList.add(Ie))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ue=>{this._pane.classList.remove(ue)}),this._appliedPanelClasses=[])}_getOriginRect(){const ue=this._origin;if(ue instanceof w.aKT)return ue.nativeElement.getBoundingClientRect();if(ue instanceof Element)return ue.getBoundingClientRect();const Ie=ue.width||0,He=ue.height||0;return{top:ue.y,bottom:ue.y+He,left:ue.x,right:ue.x+Ie,height:He,width:Ie}}}function Ee(ye,ue){for(let Ie in ue)ue.hasOwnProperty(Ie)&&(ye[Ie]=ue[Ie]);return ye}function ze(ye){if("number"!=typeof ye&&null!=ye){const[ue,Ie]=ye.split(N);return Ie&&"px"!==Ie?null:parseFloat(ue)}return ye||null}function qe(ye){return{top:Math.floor(ye.top),right:Math.floor(ye.right),bottom:Math.floor(ye.bottom),left:Math.floor(ye.left),width:Math.floor(ye.width),height:Math.floor(ye.height)}}const me="cdk-global-overlay-wrapper";class ce{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ue){const Ie=ue.getConfig();this._overlayRef=ue,this._width&&!Ie.width&&ue.updateSize({width:this._width}),this._height&&!Ie.height&&ue.updateSize({height:this._height}),ue.hostElement.classList.add(me),this._isDisposed=!1}top(ue=""){return this._bottomOffset="",this._topOffset=ue,this._alignItems="flex-start",this}left(ue=""){return this._xOffset=ue,this._xPosition="left",this}bottom(ue=""){return this._topOffset="",this._bottomOffset=ue,this._alignItems="flex-end",this}right(ue=""){return this._xOffset=ue,this._xPosition="right",this}start(ue=""){return this._xOffset=ue,this._xPosition="start",this}end(ue=""){return this._xOffset=ue,this._xPosition="end",this}width(ue=""){return this._overlayRef?this._overlayRef.updateSize({width:ue}):this._width=ue,this}height(ue=""){return this._overlayRef?this._overlayRef.updateSize({height:ue}):this._height=ue,this}centerHorizontally(ue=""){return this.left(ue),this._xPosition="center",this}centerVertically(ue=""){return this.top(ue),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ue=this._overlayRef.overlayElement.style,Ie=this._overlayRef.hostElement.style,He=this._overlayRef.getConfig(),{width:Xe,height:yt,maxWidth:Ye,maxHeight:rt}=He,Yt=!("100%"!==Xe&&"100vw"!==Xe||Ye&&"100%"!==Ye&&"100vw"!==Ye),Nt=!("100%"!==yt&&"100vh"!==yt||rt&&"100%"!==rt&&"100vh"!==rt),Et=this._xPosition,Vt=this._xOffset,oe="rtl"===this._overlayRef.getConfig().direction;let tt="",$t="",zt="";Yt?zt="flex-start":"center"===Et?(zt="center",oe?$t=Vt:tt=Vt):oe?"left"===Et||"end"===Et?(zt="flex-end",tt=Vt):("right"===Et||"start"===Et)&&(zt="flex-start",$t=Vt):"left"===Et||"start"===Et?(zt="flex-start",tt=Vt):("right"===Et||"end"===Et)&&(zt="flex-end",$t=Vt),ue.position=this._cssPosition,ue.marginLeft=Yt?"0":tt,ue.marginTop=Nt?"0":this._topOffset,ue.marginBottom=this._bottomOffset,ue.marginRight=Yt?"0":$t,Ie.justifyContent=zt,Ie.alignItems=Nt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ue=this._overlayRef.overlayElement.style,Ie=this._overlayRef.hostElement,He=Ie.style;Ie.classList.remove(me),He.justifyContent=He.alignItems=ue.marginTop=ue.marginBottom=ue.marginLeft=ue.marginRight=ue.position="",this._overlayRef=null,this._isDisposed=!0}}let fe=(()=>{class ye{constructor(Ie,He,Xe,yt){this._viewportRuler=Ie,this._document=He,this._platform=Xe,this._overlayContainer=yt}global(){return new ce}flexibleConnectedTo(Ie){return new ne(Ie,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(He){return new(He||ye)(w.KVO(e.Xj),w.KVO(t.qQ),w.KVO(l.OD),w.KVO(r))};static#t=this.\u0275prov=w.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),ke=0,mt=(()=>{class ye{constructor(Ie,He,Xe,yt,Ye,rt,Yt,Nt,Et,Vt,oe,tt){this.scrollStrategies=Ie,this._overlayContainer=He,this._componentFactoryResolver=Xe,this._positionBuilder=yt,this._keyboardDispatcher=Ye,this._injector=rt,this._ngZone=Yt,this._document=Nt,this._directionality=Et,this._location=Vt,this._outsideClickDispatcher=oe,this._animationsModuleType=tt}create(Ie){const He=this._createHostElement(),Xe=this._createPaneElement(He),yt=this._createPortalOutlet(Xe),Ye=new D(Ie);return Ye.direction=Ye.direction||this._directionality.value,new v(yt,He,Xe,Ye,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ie){const He=this._document.createElement("div");return He.id="cdk-overlay-"+ke++,He.classList.add("cdk-overlay-pane"),Ie.appendChild(He),He}_createHostElement(){const Ie=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ie),Ie}_createPortalOutlet(Ie){return this._appRef||(this._appRef=this._injector.get(w.o8S)),new R.aI(Ie,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(He){return new(He||ye)(w.KVO(de),w.KVO(r),w.KVO(w.OM3),w.KVO(fe),w.KVO(L),w.KVO(w.zZn),w.KVO(w.SKi),w.KVO(t.qQ),w.KVO(F.dS),w.KVO(t.aZ),w.KVO(_),w.KVO(w.bc$,8))};static#t=this.\u0275prov=w.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const _e=[{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"}],be=new w.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ye=(0,w.WQX)(mt);return()=>ye.scrollStrategies.reposition()}});let pe=(()=>{class ye{constructor(Ie){this.elementRef=Ie}static#e=this.\u0275fac=function(He){return new(He||ye)(w.rXU(w.aKT))};static#t=this.\u0275dir=w.FsC({type:ye,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return ye})(),Ze=(()=>{class ye{get offsetX(){return this._offsetX}set offsetX(Ie){this._offsetX=Ie,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Ie){this._offsetY=Ie,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Ie){this._disposeOnNavigation=Ie}constructor(Ie,He,Xe,yt,Ye){this._overlay=Ie,this._dir=Ye,this._backdropSubscription=W.yU.EMPTY,this._attachSubscription=W.yU.EMPTY,this._detachSubscription=W.yU.EMPTY,this._positionSubscription=W.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,w.WQX)(w.SKi),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new w.bkB,this.positionChange=new w.bkB,this.attach=new w.bkB,this.detach=new w.bkB,this.overlayKeydown=new w.bkB,this.overlayOutsideClick=new w.bkB,this._templatePortal=new R.VA(He,Xe),this._scrollStrategyFactory=yt,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(Ie){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Ie.origin&&this.open&&this._position.apply()),Ie.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=_e);const Ie=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Ie.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Ie.detachments().subscribe(()=>this.detach.emit()),Ie.keydownEvents().subscribe(He=>{this.overlayKeydown.next(He),He.keyCode===j._f&&!this.disableClose&&!(0,j.rp)(He)&&(He.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(He=>{const Xe=this._getOriginElement(),yt=(0,l.Fb)(He);(!Xe||Xe!==yt&&!Xe.contains(yt))&&this.overlayOutsideClick.next(He)})}_buildConfig(){const Ie=this._position=this.positionStrategy||this._createPositionStrategy(),He=new D({direction:this._dir,positionStrategy:Ie,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(He.width=this.width),(this.height||0===this.height)&&(He.height=this.height),(this.minWidth||0===this.minWidth)&&(He.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(He.minHeight=this.minHeight),this.backdropClass&&(He.backdropClass=this.backdropClass),this.panelClass&&(He.panelClass=this.panelClass),He}_updatePositionStrategy(Ie){const He=this.positions.map(Xe=>({originX:Xe.originX,originY:Xe.originY,overlayX:Xe.overlayX,overlayY:Xe.overlayY,offsetX:Xe.offsetX||this.offsetX,offsetY:Xe.offsetY||this.offsetY,panelClass:Xe.panelClass||void 0}));return Ie.setOrigin(this._getOrigin()).withPositions(He).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Ie=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(Ie),Ie}_getOrigin(){return this.origin instanceof pe?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof pe?this.origin.elementRef.nativeElement:this.origin instanceof w.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Ie=>{this.backdropClick.emit(Ie)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function y(ye,ue=!1){return(0,d.N)((Ie,He)=>{let Xe=0;Ie.subscribe((0,T._)(He,yt=>{const Ye=ye(yt,Xe++);(Ye||ue)&&He.next(yt),!Ye&&He.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(Ie=>{this._ngZone.run(()=>this.positionChange.emit(Ie)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(He){return new(He||ye)(w.rXU(mt),w.rXU(w.C4Q),w.rXU(w.c1b),w.rXU(be),w.rXU(F.dS,8))};static#t=this.\u0275dir=w.FsC({type:ye,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",w.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",w.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",w.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",w.L39],push:[2,"cdkConnectedOverlayPush","push",w.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",w.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[w.GFd,w.OA$]})}return ye})();const at={provide:be,deps:[mt],useFactory:function _t(ye){return()=>ye.scrollStrategies.reposition()}};let pt=(()=>{class ye{static#e=this.\u0275fac=function(He){return new(He||ye)};static#t=this.\u0275mod=w.$C({type:ye});static#i=this.\u0275inj=w.G2t({providers:[mt,at],imports:[F.jI,R.jc,e.E9,e.E9]})}return ye})()},6860:(Qe,te,g)=>{"use strict";g.d(te,{BD:()=>$,BQ:()=>y,CZ:()=>W,Fb:()=>ie,KT:()=>J,MU:()=>I,OD:()=>S,r5:()=>F,v8:()=>ge,vc:()=>ee});var e=g(4438),t=g(177);let w;try{w=typeof Intl<"u"&&Intl.v8BreakIterator}catch{w=!1}let x,S=(()=>{class ae{constructor(Te){this._platformId=Te,this.isBrowser=this._platformId?(0,t.UE)(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&&!w)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(de){return new(de||ae)(e.KVO(e.Agw))};static#t=this.\u0275prov=e.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();const 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 I(){if(x)return x;if("object"!=typeof document||!document)return x=new Set(f),x;let ae=document.createElement("input");return x=new Set(f.filter(Me=>(ae.setAttribute("type",Me),ae.type===Me))),x}let d;function y(ae){return function T(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?ae:!!ae.capture}var F=function(ae){return ae[ae.NORMAL=0]="NORMAL",ae[ae.NEGATED=1]="NEGATED",ae[ae.INVERTED=2]="INVERTED",ae}(F||{});let R,z,j;function W(){if(null==z){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return z=!1,z;if("scrollBehavior"in document.documentElement.style)z=!0;else{const ae=Element.prototype.scrollTo;z=!!ae&&!/\{\s*\[native code\]\s*\}/.test(ae.toString())}}return z}function $(){if("object"!=typeof document||!document)return F.NORMAL;if(null==R){const ae=document.createElement("div"),Me=ae.style;ae.dir="rtl",Me.width="1px",Me.overflow="auto",Me.visibility="hidden",Me.pointerEvents="none",Me.position="absolute";const Te=document.createElement("div"),de=Te.style;de.width="2px",de.height="1px",ae.appendChild(Te),document.body.appendChild(ae),R=F.NORMAL,0===ae.scrollLeft&&(ae.scrollLeft=1,R=0===ae.scrollLeft?F.NEGATED:F.INVERTED),ae.remove()}return R}function J(ae){if(function Q(){if(null==j){const ae=typeof document<"u"?document.head:null;j=!(!ae||!ae.createShadowRoot&&!ae.attachShadow)}return j}()){const Me=ae.getRootNode?ae.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&Me instanceof ShadowRoot)return Me}return null}function ee(){let ae=typeof document<"u"&&document?document.activeElement:null;for(;ae&&ae.shadowRoot;){const Me=ae.shadowRoot.activeElement;if(Me===ae)break;ae=Me}return ae}function ie(ae){return ae.composedPath?ae.composedPath()[0]:ae.target}function ge(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(Qe,te,g)=>{"use strict";g.d(te,{A8:()=>T,I3:()=>J,VA:()=>y,aI:()=>W,bV:()=>j,jc:()=>ie,lb:()=>R});var e=g(4438),t=g(177);class d{attach(Me){return this._attachedHost=Me,Me.attach(this)}detach(){let Me=this._attachedHost;null!=Me&&(this._attachedHost=null,Me.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Me){this._attachedHost=Me}}class T extends d{constructor(Me,Te,de,D,n){super(),this.component=Me,this.viewContainerRef=Te,this.injector=de,this.componentFactoryResolver=D,this.projectableNodes=n}}class y extends d{constructor(Me,Te,de,D){super(),this.templateRef=Me,this.viewContainerRef=Te,this.context=de,this.injector=D}get origin(){return this.templateRef.elementRef}attach(Me,Te=this.context){return this.context=Te,super.attach(Me)}detach(){return this.context=void 0,super.detach()}}class F extends d{constructor(Me){super(),this.element=Me instanceof e.aKT?Me.nativeElement:Me}}class R{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Me){return Me instanceof T?(this._attachedPortal=Me,this.attachComponentPortal(Me)):Me instanceof y?(this._attachedPortal=Me,this.attachTemplatePortal(Me)):this.attachDomPortal&&Me instanceof F?(this._attachedPortal=Me,this.attachDomPortal(Me)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Me){this._disposeFn=Me}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class W extends R{constructor(Me,Te,de,D,n){super(),this.outletElement=Me,this._componentFactoryResolver=Te,this._appRef=de,this._defaultInjector=D,this.attachDomPortal=c=>{const m=c.element,h=this._document.createComment("dom-portal");m.parentNode.insertBefore(h,m),this.outletElement.appendChild(m),this._attachedPortal=c,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(m,h)})},this._document=n}attachComponentPortal(Me){const de=(Me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Me.component);let D;return Me.viewContainerRef?(D=Me.viewContainerRef.createComponent(de,Me.viewContainerRef.length,Me.injector||Me.viewContainerRef.injector,Me.projectableNodes||void 0),this.setDisposeFn(()=>D.destroy())):(D=de.create(Me.injector||this._defaultInjector||e.zZn.NULL),this._appRef.attachView(D.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(D.hostView),D.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(D)),this._attachedPortal=Me,D}attachTemplatePortal(Me){let Te=Me.viewContainerRef,de=Te.createEmbeddedView(Me.templateRef,Me.context,{injector:Me.injector});return de.rootNodes.forEach(D=>this.outletElement.appendChild(D)),de.detectChanges(),this.setDisposeFn(()=>{let D=Te.indexOf(de);-1!==D&&Te.remove(D)}),this._attachedPortal=Me,de}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Me){return Me.hostView.rootNodes[0]}}let j=(()=>{class ae extends y{constructor(Te,de){super(Te,de)}static#e=this.\u0275fac=function(de){return new(de||ae)(e.rXU(e.C4Q),e.rXU(e.c1b))};static#t=this.\u0275dir=e.FsC({type:ae,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[e.Vt3]})}return ae})(),J=(()=>{class ae extends R{constructor(Te,de,D){super(),this._componentFactoryResolver=Te,this._viewContainerRef=de,this._isInitialized=!1,this.attached=new e.bkB,this.attachDomPortal=n=>{const c=n.element,m=this._document.createComment("dom-portal");n.setAttachedHost(this),c.parentNode.insertBefore(m,c),this._getRootNode().appendChild(c),this._attachedPortal=n,super.setDisposeFn(()=>{m.parentNode&&m.parentNode.replaceChild(c,m)})},this._document=D}get portal(){return this._attachedPortal}set portal(Te){this.hasAttached()&&!Te&&!this._isInitialized||(this.hasAttached()&&super.detach(),Te&&super.attach(Te),this._attachedPortal=Te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Te){Te.setAttachedHost(this);const de=null!=Te.viewContainerRef?Te.viewContainerRef:this._viewContainerRef,n=(Te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Te.component),c=de.createComponent(n,de.length,Te.injector||de.injector,Te.projectableNodes||void 0);return de!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=Te,this._attachedRef=c,this.attached.emit(c),c}attachTemplatePortal(Te){Te.setAttachedHost(this);const de=this._viewContainerRef.createEmbeddedView(Te.templateRef,Te.context,{injector:Te.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Te,this._attachedRef=de,this.attached.emit(de),de}_getRootNode(){const Te=this._viewContainerRef.element.nativeElement;return Te.nodeType===Te.ELEMENT_NODE?Te:Te.parentNode}static#e=this.\u0275fac=function(de){return new(de||ae)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU(t.qQ))};static#t=this.\u0275dir=e.FsC({type:ae,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[e.Vt3]})}return ae})(),ie=(()=>{class ae{static#e=this.\u0275fac=function(de){return new(de||ae)};static#t=this.\u0275mod=e.$C({type:ae});static#i=this.\u0275inj=e.G2t({})}return ae})()},5542:(Qe,te,g)=>{"use strict";g.d(te,{uv:()=>m,Gj:()=>ze,R:()=>c,E9:()=>qe,Xj:()=>C});var e=g(4085),t=g(4438),w=g(1413),S=g(7673),l=g(1985),x=g(3726),f=g(6780),I=g(8359);const d={schedule(Ke){let se=requestAnimationFrame,X=cancelAnimationFrame;const{delegate:me}=d;me&&(se=me.requestAnimationFrame,X=me.cancelAnimationFrame);const ce=se(fe=>{X=void 0,Ke(fe)});return new I.yU(()=>X?.(ce))},requestAnimationFrame(...Ke){const{delegate:se}=d;return(se?.requestAnimationFrame||requestAnimationFrame)(...Ke)},cancelAnimationFrame(...Ke){const{delegate:se}=d;return(se?.cancelAnimationFrame||cancelAnimationFrame)(...Ke)},delegate:void 0};var y=g(9687);new class F extends y.q{flush(se){this._active=!0;const X=this._scheduled;this._scheduled=void 0;const{actions:me}=this;let ce;se=se||me.shift();do{if(ce=se.execute(se.state,se.delay))break}while((se=me[0])&&se.id===X&&me.shift());if(this._active=!1,ce){for(;(se=me[0])&&se.id===X&&me.shift();)se.unsubscribe();throw ce}}}(class T extends f.R{constructor(se,X){super(se,X),this.scheduler=se,this.work=X}requestAsyncId(se,X,me=0){return null!==me&&me>0?super.requestAsyncId(se,X,me):(se.actions.push(this),se._scheduled||(se._scheduled=d.requestAnimationFrame(()=>se.flush(void 0))))}recycleAsyncId(se,X,me=0){var ce;if(null!=me?me>0:this.delay>0)return super.recycleAsyncId(se,X,me);const{actions:fe}=se;null!=X&&(null===(ce=fe[fe.length-1])||void 0===ce?void 0:ce.id)!==X&&(d.cancelAnimationFrame(X),se._scheduled=void 0)}});g(5007);var $=g(3798),j=g(5964),Q=g(6977),J=g(6860),ee=g(177),ie=g(8203);let c=(()=>{class Ke{constructor(X,me,ce){this._ngZone=X,this._platform=me,this._scrolled=new w.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ce}register(X){this.scrollContainers.has(X)||this.scrollContainers.set(X,X.elementScrolled().subscribe(()=>this._scrolled.next(X)))}deregister(X){const me=this.scrollContainers.get(X);me&&(me.unsubscribe(),this.scrollContainers.delete(X))}scrolled(X=20){return this._platform.isBrowser?new l.c(me=>{this._globalSubscription||this._addGlobalListener();const ce=X>0?this._scrolled.pipe((0,$.Z)(X)).subscribe(me):this._scrolled.subscribe(me);return this._scrolledCount++,()=>{ce.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,S.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((X,me)=>this.deregister(me)),this._scrolled.complete()}ancestorScrolled(X,me){const ce=this.getAncestorScrollContainers(X);return this.scrolled(me).pipe((0,j.p)(fe=>!fe||ce.indexOf(fe)>-1))}getAncestorScrollContainers(X){const me=[];return this.scrollContainers.forEach((ce,fe)=>{this._scrollableContainsElement(fe,X)&&me.push(fe)}),me}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(X,me){let ce=(0,e.i8)(me),fe=X.getElementRef().nativeElement;do{if(ce==fe)return!0}while(ce=ce.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const X=this._getWindow();return(0,x.R)(X.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(me){return new(me||Ke)(t.KVO(t.SKi),t.KVO(J.OD),t.KVO(ee.qQ,8))};static#t=this.\u0275prov=t.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),m=(()=>{class Ke{constructor(X,me,ce,fe){this.elementRef=X,this.scrollDispatcher=me,this.ngZone=ce,this.dir=fe,this._destroyed=new w.B,this._elementScrolled=new l.c(ke=>this.ngZone.runOutsideAngular(()=>(0,x.R)(this.elementRef.nativeElement,"scroll").pipe((0,Q.Q)(this._destroyed)).subscribe(ke)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(X){const me=this.elementRef.nativeElement,ce=this.dir&&"rtl"==this.dir.value;null==X.left&&(X.left=ce?X.end:X.start),null==X.right&&(X.right=ce?X.start:X.end),null!=X.bottom&&(X.top=me.scrollHeight-me.clientHeight-X.bottom),ce&&(0,J.BD)()!=J.r5.NORMAL?(null!=X.left&&(X.right=me.scrollWidth-me.clientWidth-X.left),(0,J.BD)()==J.r5.INVERTED?X.left=X.right:(0,J.BD)()==J.r5.NEGATED&&(X.left=X.right?-X.right:X.right)):null!=X.right&&(X.left=me.scrollWidth-me.clientWidth-X.right),this._applyScrollToOptions(X)}_applyScrollToOptions(X){const me=this.elementRef.nativeElement;(0,J.CZ)()?me.scrollTo(X):(null!=X.top&&(me.scrollTop=X.top),null!=X.left&&(me.scrollLeft=X.left))}measureScrollOffset(X){const me="left",fe=this.elementRef.nativeElement;if("top"==X)return fe.scrollTop;if("bottom"==X)return fe.scrollHeight-fe.clientHeight-fe.scrollTop;const ke=this.dir&&"rtl"==this.dir.value;return"start"==X?X=ke?"right":me:"end"==X&&(X=ke?me:"right"),ke&&(0,J.BD)()==J.r5.INVERTED?X==me?fe.scrollWidth-fe.clientWidth-fe.scrollLeft:fe.scrollLeft:ke&&(0,J.BD)()==J.r5.NEGATED?X==me?fe.scrollLeft+fe.scrollWidth-fe.clientWidth:-fe.scrollLeft:X==me?fe.scrollLeft:fe.scrollWidth-fe.clientWidth-fe.scrollLeft}static#e=this.\u0275fac=function(me){return new(me||Ke)(t.rXU(t.aKT),t.rXU(c),t.rXU(t.SKi),t.rXU(ie.dS,8))};static#t=this.\u0275dir=t.FsC({type:Ke,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return Ke})(),C=(()=>{class Ke{constructor(X,me,ce){this._platform=X,this._change=new w.B,this._changeListener=fe=>{this._change.next(fe)},this._document=ce,me.runOutsideAngular(()=>{if(X.isBrowser){const fe=this._getWindow();fe.addEventListener("resize",this._changeListener),fe.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const X=this._getWindow();X.removeEventListener("resize",this._changeListener),X.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const X={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),X}getViewportRect(){const X=this.getViewportScrollPosition(),{width:me,height:ce}=this.getViewportSize();return{top:X.top,left:X.left,bottom:X.top+ce,right:X.left+me,height:ce,width:me}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const X=this._document,me=this._getWindow(),ce=X.documentElement,fe=ce.getBoundingClientRect();return{top:-fe.top||X.body.scrollTop||me.scrollY||ce.scrollTop||0,left:-fe.left||X.body.scrollLeft||me.scrollX||ce.scrollLeft||0}}change(X=20){return X>0?this._change.pipe((0,$.Z)(X)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const X=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:X.innerWidth,height:X.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(me){return new(me||Ke)(t.KVO(J.OD),t.KVO(t.SKi),t.KVO(ee.qQ,8))};static#t=this.\u0275prov=t.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})(),ze=(()=>{class Ke{static#e=this.\u0275fac=function(me){return new(me||Ke)};static#t=this.\u0275mod=t.$C({type:Ke});static#i=this.\u0275inj=t.G2t({})}return Ke})(),qe=(()=>{class Ke{static#e=this.\u0275fac=function(me){return new(me||Ke)};static#t=this.\u0275mod=t.$C({type:Ke});static#i=this.\u0275inj=t.G2t({imports:[ie.jI,ze,ie.jI,ze]})}return Ke})()},7768:(Qe,te,g)=>{"use strict";g.d(te,{FK:()=>ie,Up:()=>J,VI:()=>Q,nb:()=>R,oX:()=>F,uY:()=>ge,v5:()=>ee,x8:()=>j});var e=g(8617),t=g(8203),w=g(7336),S=g(4438),l=g(6860),x=g(1413),f=g(7673),I=g(9172),d=g(6977);const T=["*"];function y(ae,Me){1&ae&&S.SdG(0)}let F=(()=>{class ae{constructor(Te){this._elementRef=Te}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(de){return new(de||ae)(S.rXU(S.aKT))};static#t=this.\u0275dir=S.FsC({type:ae,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}return ae})(),R=(()=>{class ae{constructor(Te){this.template=Te}static#e=this.\u0275fac=function(de){return new(de||ae)(S.rXU(S.C4Q))};static#t=this.\u0275dir=S.FsC({type:ae,selectors:[["","cdkStepLabel",""]],standalone:!0})}return ae})(),z=0;const j=new S.nKC("STEPPER_GLOBAL_OPTIONS");let Q=(()=>{class ae{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(Te){this._completedOverride=Te}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(Te){this._customError=Te}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(Te,de){this._stepper=Te,this.interacted=!1,this.interactedStream=new S.bkB,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=de||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(de){return new(de||ae)(S.rXU((0,S.Rfq)(()=>J)),S.rXU(j,8))};static#t=this.\u0275cmp=S.VBU({type:ae,selectors:[["cdk-step"]],contentQueries:function(de,D,n){if(1&de&&S.wni(n,R,5),2&de){let c;S.mGM(c=S.lsd())&&(D.stepLabel=c.first)}},viewQuery:function(de,D){if(1&de&&S.GBs(S.C4Q,7),2&de){let n;S.mGM(n=S.lsd())&&(D.content=n.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",S.L39],optional:[2,"optional","optional",S.L39],completed:[2,"completed","completed",S.L39],hasError:[2,"hasError","hasError",S.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[S.GFd,S.OA$,S.aNF],ngContentSelectors:T,decls:1,vars:0,template:function(de,D){1&de&&(S.NAR(),S.DNE(0,y,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return ae})(),J=(()=>{class ae{get selectedIndex(){return this._selectedIndex}set selectedIndex(Te){this.steps&&this._steps?(this._isValidIndex(Te),this.selected?._markAsInteracted(),this._selectedIndex!==Te&&!this._anyControlsInvalidOrPending(Te)&&(Te>=this._selectedIndex||this.steps.toArray()[Te].editable)&&this._updateSelectedItemIndex(Te)):this._selectedIndex=Te}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Te){this.selectedIndex=Te&&this.steps?this.steps.toArray().indexOf(Te):-1}get orientation(){return this._orientation}set orientation(Te){this._orientation=Te,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Te)}constructor(Te,de,D){this._dir=Te,this._changeDetectorRef=de,this._elementRef=D,this._destroyed=new x.B,this.steps=new S.rOR,this._sortedHeaders=new S.rOR,this.linear=!1,this._selectedIndex=0,this.selectionChange=new S.bkB,this.selectedIndexChange=new S.bkB,this._orientation="horizontal",this._groupId=z++}ngAfterContentInit(){this._steps.changes.pipe((0,I.Z)(this._steps),(0,d.Q)(this._destroyed)).subscribe(Te=>{this.steps.reset(Te.filter(de=>de._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,I.Z)(this._stepHeader),(0,d.Q)(this._destroyed)).subscribe(Te=>{this._sortedHeaders.reset(Te.toArray().sort((de,D)=>de._elementRef.nativeElement.compareDocumentPosition(D._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new e.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,f.of)()).pipe((0,I.Z)(this._layoutDirection()),(0,d.Q)(this._destroyed)).subscribe(Te=>this._keyManager.withHorizontalOrientation(Te)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(Te=>Te.reset()),this._stateChanged()}_getStepLabelId(Te){return`cdk-step-label-${this._groupId}-${Te}`}_getStepContentId(Te){return`cdk-step-content-${this._groupId}-${Te}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Te){const de=Te-this._selectedIndex;return de<0?"rtl"===this._layoutDirection()?"next":"previous":de>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(Te,de="number"){const D=this.steps.toArray()[Te],n=this._isCurrentStep(Te);return D._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(D,n):this._getGuidelineLogic(D,n,de)}_getDefaultIndicatorLogic(Te,de){return Te._showError()&&Te.hasError&&!de?"error":!Te.completed||de?"number":Te.editable?"edit":"done"}_getGuidelineLogic(Te,de,D="number"){return Te._showError()&&Te.hasError&&!de?"error":Te.completed&&!de?"done":Te.completed&&de?D:Te.editable&&de?"edit":D}_isCurrentStep(Te){return this._selectedIndex===Te}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(Te){const de=this.steps.toArray();this.selectionChange.emit({selectedIndex:Te,previouslySelectedIndex:this._selectedIndex,selectedStep:de[Te],previouslySelectedStep:de[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(Te):this._keyManager.updateActiveItem(Te),this._selectedIndex=Te,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(Te){const de=(0,w.rp)(Te),D=Te.keyCode,n=this._keyManager;null==n.activeItemIndex||de||D!==w.t6&&D!==w.Fm?n.setFocusOrigin("keyboard").onKeydown(Te):(this.selectedIndex=n.activeItemIndex,Te.preventDefault())}_anyControlsInvalidOrPending(Te){return!!(this.linear&&Te>=0)&&this.steps.toArray().slice(0,Te).some(de=>{const D=de.stepControl;return(D?D.invalid||D.pending||!de.interacted:!de.completed)&&!de.optional&&!de._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Te=this._elementRef.nativeElement,de=(0,l.vc)();return Te===de||Te.contains(de)}_isValidIndex(Te){return Te>-1&&(!this.steps||Te<this.steps.length)}static#e=this.\u0275fac=function(de){return new(de||ae)(S.rXU(t.dS,8),S.rXU(S.gRc),S.rXU(S.aKT))};static#t=this.\u0275dir=S.FsC({type:ae,selectors:[["","cdkStepper",""]],contentQueries:function(de,D,n){if(1&de&&(S.wni(n,Q,5),S.wni(n,F,5)),2&de){let c;S.mGM(c=S.lsd())&&(D._steps=c),S.mGM(c=S.lsd())&&(D._stepHeader=c)}},inputs:{linear:[2,"linear","linear",S.L39],selectedIndex:[2,"selectedIndex","selectedIndex",S.Udg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[S.GFd]})}return ae})(),ee=(()=>{class ae{constructor(Te){this._stepper=Te,this.type="submit"}static#e=this.\u0275fac=function(de){return new(de||ae)(S.rXU(J))};static#t=this.\u0275dir=S.FsC({type:ae,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(de,D){1&de&&S.bIt("click",function(){return D._stepper.next()}),2&de&&S.Mr5("type",D.type)},inputs:{type:"type"},standalone:!0})}return ae})(),ie=(()=>{class ae{constructor(Te){this._stepper=Te,this.type="button"}static#e=this.\u0275fac=function(de){return new(de||ae)(S.rXU(J))};static#t=this.\u0275dir=S.FsC({type:ae,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(de,D){1&de&&S.bIt("click",function(){return D._stepper.previous()}),2&de&&S.Mr5("type",D.type)},inputs:{type:"type"},standalone:!0})}return ae})(),ge=(()=>{class ae{static#e=this.\u0275fac=function(de){return new(de||ae)};static#t=this.\u0275mod=S.$C({type:ae});static#i=this.\u0275inj=S.G2t({imports:[t.jI]})}return ae})()},4109:(Qe,te,g)=>{"use strict";g.d(te,{Dc:()=>C,Hy:()=>m,NL:()=>ae,Sz:()=>j,XO:()=>R,a$:()=>W,aI:()=>c,kZ:()=>z,s3:()=>D,xn:()=>Me});var e=g(5024),t=g(4402),w=g(1413),S=g(4412),l=g(7673),x=g(6697),f=g(5964),I=g(6977),d=g(4438),T=g(8203);class y{constructor(){this.expansionModel=new e.CB(!0)}toggle(L){this.expansionModel.toggle(this._trackByValue(L))}expand(L){this.expansionModel.select(this._trackByValue(L))}collapse(L){this.expansionModel.deselect(this._trackByValue(L))}isExpanded(L){return this.expansionModel.isSelected(this._trackByValue(L))}toggleDescendants(L){this.expansionModel.isSelected(this._trackByValue(L))?this.collapseDescendants(L):this.expandDescendants(L)}collapseAll(){this.expansionModel.clear()}expandDescendants(L){let _=[L];_.push(...this.getDescendants(L)),this.expansionModel.select(..._.map(r=>this._trackByValue(r)))}collapseDescendants(L){let _=[L];_.push(...this.getDescendants(L)),this.expansionModel.deselect(..._.map(r=>this._trackByValue(r)))}_trackByValue(L){return this.trackBy?this.trackBy(L):L}}class R extends y{constructor(L,_){super(),this.getChildren=L,this.options=_,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const L=this.dataNodes.reduce((_,r)=>[..._,...this.getDescendants(r),r],[]);this.expansionModel.select(...L.map(_=>this._trackByValue(_)))}getDescendants(L){const _=[];return this._getDescendants(_,L),_.splice(1)}_getDescendants(L,_){L.push(_);const r=this.getChildren(_);Array.isArray(r)?r.forEach(v=>this._getDescendants(L,v)):(0,t.A)(r)&&r.pipe((0,x.s)(1),(0,f.p)(Boolean)).subscribe(v=>{for(const V of v)this._getDescendants(L,V)})}}const z=new d.nKC("CDK_TREE_NODE_OUTLET_NODE");let W=(()=>{class k{constructor(_,r){this.viewContainer=_,this._node=r}static#e=this.\u0275fac=function(r){return new(r||k)(d.rXU(d.c1b),d.rXU(z,8))};static#t=this.\u0275dir=d.FsC({type:k,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}return k})();class ${constructor(L){this.$implicit=L}}let j=(()=>{class k{constructor(_){this.template=_}static#e=this.\u0275fac=function(r){return new(r||k)(d.rXU(d.C4Q))};static#t=this.\u0275dir=d.FsC({type:k,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}return k})(),ae=(()=>{class k{get dataSource(){return this._dataSource}set dataSource(_){this._dataSource!==_&&this._switchDataSource(_)}constructor(_,r){this._differs=_,this._changeDetectorRef=r,this._onDestroy=new w.B,this._levels=new Map,this.viewChange=new S.t({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const _=this._nodeDefs.filter(r=>!r.when);this._defaultNodeDef=_[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(_){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),_||this._nodeOutlet.viewContainer.clear(),this._dataSource=_,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let _;(0,e.y4)(this._dataSource)?_=this._dataSource.connect(this):(0,t.A)(this._dataSource)?_=this._dataSource:Array.isArray(this._dataSource)&&(_=(0,l.of)(this._dataSource)),_&&(this._dataSubscription=_.pipe((0,I.Q)(this._onDestroy)).subscribe(r=>this.renderNodeChanges(r)))}renderNodeChanges(_,r=this._dataDiffer,v=this._nodeOutlet.viewContainer,V){const N=r.diff(_);N&&(N.forEachOperation((ne,Ee,ze)=>{if(null==ne.previousIndex)this.insertNode(_[ze],ze,v,V);else if(null==ze)v.remove(Ee),this._levels.delete(ne.item);else{const qe=v.get(Ee);v.move(qe,ze)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(_,r){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(V=>V.when&&V.when(r,_))||this._defaultNodeDef}insertNode(_,r,v,V){const N=this._getNodeDef(_,r),ne=new $(_);ne.level=this.treeControl.getLevel?this.treeControl.getLevel(_):typeof V<"u"&&this._levels.has(V)?this._levels.get(V)+1:0,this._levels.set(_,ne.level),(v||this._nodeOutlet.viewContainer).createEmbeddedView(N.template,ne,r),Me.mostRecentTreeNode&&(Me.mostRecentTreeNode.data=_)}static#e=this.\u0275fac=function(r){return new(r||k)(d.rXU(d._q3),d.rXU(d.gRc))};static#t=this.\u0275cmp=d.VBU({type:k,selectors:[["cdk-tree"]],contentQueries:function(r,v,V){if(1&r&&d.wni(V,j,5),2&r){let N;d.mGM(N=d.lsd())&&(v._nodeDefs=N)}},viewQuery:function(r,v){if(1&r&&d.GBs(W,7),2&r){let V;d.mGM(V=d.lsd())&&(v._nodeOutlet=V.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[d.aNF],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(r,v){1&r&&d.eu8(0,0)},dependencies:[W],encapsulation:2})}return k})(),Me=(()=>{class k{get role(){return"treeitem"}set role(_){this._elementRef.nativeElement.setAttribute("role",_)}static#e=this.mostRecentTreeNode=null;get data(){return this._data}set data(_){_!==this._data&&(this._data=_,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(_,r){this._elementRef=_,this._tree=r,this._destroyed=new w.B,this._dataChanges=new w.B,k.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function Te(k){let L=k.parentElement;for(;L&&!de(L);)L=L.parentElement;return L?L.classList.contains("cdk-nested-tree-node")?(0,d.Udg)(L.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){k.mostRecentTreeNode===this&&(k.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static#t=this.\u0275fac=function(r){return new(r||k)(d.rXU(d.aKT),d.rXU(ae))};static#i=this.\u0275dir=d.FsC({type:k,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(r,v){2&r&&d.BMQ("aria-expanded",v.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0})}return k})();function de(k){const L=k.classList;return!(!L?.contains("cdk-nested-tree-node")&&!L?.contains("cdk-tree"))}let D=(()=>{class k extends Me{constructor(_,r,v){super(_,r),this._differs=v}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const _=this._tree.treeControl.getChildren(this.data);Array.isArray(_)?this.updateChildrenNodes(_):(0,t.A)(_)&&_.pipe((0,I.Q)(this._destroyed)).subscribe(r=>this.updateChildrenNodes(r)),this.nodeOutlet.changes.pipe((0,I.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(_){const r=this._getNodeOutlet();_&&(this._children=_),r&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,r.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const _=this._getNodeOutlet();_&&(_.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const _=this.nodeOutlet;return _&&_.find(r=>!r._node||r._node===this)}static#e=this.\u0275fac=function(r){return new(r||k)(d.rXU(d.aKT),d.rXU(ae),d.rXU(d._q3))};static#t=this.\u0275dir=d.FsC({type:k,selectors:[["cdk-nested-tree-node"]],contentQueries:function(r,v,V){if(1&r&&d.wni(V,W,5),2&r){let N;d.mGM(N=d.lsd())&&(v.nodeOutlet=N)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],standalone:!0,features:[d.Jv_([{provide:Me,useExisting:k},{provide:z,useExisting:k}]),d.Vt3]})}return k})();const n=/([A-Za-z%]+)$/;let c=(()=>{class k{get level(){return this._level}set level(_){this._setLevelInput(_)}get indent(){return this._indent}set indent(_){this._setIndentInput(_)}constructor(_,r,v,V){this._treeNode=_,this._tree=r,this._element=v,this._dir=V,this._destroyed=new w.B,this.indentUnits="px",this._indent=40,this._setPadding(),V&&V.change.pipe((0,I.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),_._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const _=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,r=null==this._level?_:this._level;return"number"==typeof r?`${r*this._indent}${this.indentUnits}`:null}_setPadding(_=!1){const r=this._paddingIndent();if(r!==this._currentPadding||_){const v=this._element.nativeElement,V=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",N="paddingLeft"===V?"paddingRight":"paddingLeft";v.style[V]=r||"",v.style[N]="",this._currentPadding=r}}_setLevelInput(_){this._level=isNaN(_)?null:_,this._setPadding()}_setIndentInput(_){let r=_,v="px";if("string"==typeof _){const V=_.split(n);r=V[0],v=V[1]||v}this.indentUnits=v,this._indent=(0,d.Udg)(r),this._setPadding()}static#e=this.\u0275fac=function(r){return new(r||k)(d.rXU(Me),d.rXU(ae),d.rXU(d.aKT),d.rXU(T.dS,8))};static#t=this.\u0275dir=d.FsC({type:k,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",d.Udg],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[d.GFd]})}return k})(),m=(()=>{class k{constructor(_,r){this._tree=_,this._treeNode=r,this.recursive=!1}_toggle(_){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),_.stopPropagation()}static#e=this.\u0275fac=function(r){return new(r||k)(d.rXU(ae),d.rXU(Me))};static#t=this.\u0275dir=d.FsC({type:k,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(r,v){1&r&&d.bIt("click",function(N){return v._toggle(N)})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",d.L39]},standalone:!0,features:[d.GFd]})}return k})(),C=(()=>{class k{static#e=this.\u0275fac=function(r){return new(r||k)};static#t=this.\u0275mod=d.$C({type:k});static#i=this.\u0275inj=d.G2t({})}return k})()},177:(Qe,te,g)=>{"use strict";g.d(te,{AJ:()=>zo,B3:()=>Oi,GH:()=>sr,Jj:()=>ar,MD:()=>wo,N0:()=>Br,P9:()=>Ta,PV:()=>or,Pc:()=>Xr,QT:()=>w,QX:()=>Sa,Sm:()=>$,Sq:()=>je,T3:()=>jt,TG:()=>Ea,UE:()=>ao,VF:()=>l,Vy:()=>Oa,Xr:()=>Fa,YU:()=>fn,ZD:()=>S,_b:()=>zi,aZ:()=>Q,bT:()=>ut,e1:()=>$n,fG:()=>Yn,fw:()=>j,hb:()=>z,hj:()=>d,lG:()=>ho,qQ:()=>f,ux:()=>Fn,vh:()=>xo});var e=g(4438);let t=null;function w(){return t}function S(Z){t??=Z}class l{}const f=new e.nKC("");let I=(()=>{class Z{historyGo(De){throw new Error("")}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275prov=e.jDH({token:Z,factory:()=>(0,e.WQX)(T),providedIn:"platform"})}return Z})();const d=new e.nKC("");let T=(()=>{class Z extends I{constructor(){super(),this._doc=(0,e.WQX)(f),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return w().getBaseHref(this._doc)}onPopState(De){const We=w().getGlobalEventTarget(this._doc,"window");return We.addEventListener("popstate",De,!1),()=>We.removeEventListener("popstate",De)}onHashChange(De){const We=w().getGlobalEventTarget(this._doc,"window");return We.addEventListener("hashchange",De,!1),()=>We.removeEventListener("hashchange",De)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(De){this._location.pathname=De}pushState(De,We,Dt){this._history.pushState(De,We,Dt)}replaceState(De,We,Dt){this._history.replaceState(De,We,Dt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(De=0){this._history.go(De)}getState(){return this._history.state}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275prov=e.jDH({token:Z,factory:()=>new Z,providedIn:"platform"})}return Z})();function y(Z,Ve){if(0==Z.length)return Ve;if(0==Ve.length)return Z;let De=0;return Z.endsWith("/")&&De++,Ve.startsWith("/")&&De++,2==De?Z+Ve.substring(1):1==De?Z+Ve:Z+"/"+Ve}function F(Z){const Ve=Z.match(/#|\?|$/),De=Ve&&Ve.index||Z.length;return Z.slice(0,De-("/"===Z[De-1]?1:0))+Z.slice(De)}function R(Z){return Z&&"?"!==Z[0]?"?"+Z:Z}let z=(()=>{class Z{historyGo(De){throw new Error("")}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275prov=e.jDH({token:Z,factory:()=>(0,e.WQX)($),providedIn:"root"})}return Z})();const W=new e.nKC("");let $=(()=>{class Z extends z{constructor(De,We){super(),this._platformLocation=De,this._removeListenerFns=[],this._baseHref=We??this._platformLocation.getBaseHrefFromDOM()??(0,e.WQX)(f).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(De){this._removeListenerFns.push(this._platformLocation.onPopState(De),this._platformLocation.onHashChange(De))}getBaseHref(){return this._baseHref}prepareExternalUrl(De){return y(this._baseHref,De)}path(De=!1){const We=this._platformLocation.pathname+R(this._platformLocation.search),Dt=this._platformLocation.hash;return Dt&&De?`${We}${Dt}`:We}pushState(De,We,Dt,ei){const pi=this.prepareExternalUrl(Dt+R(ei));this._platformLocation.pushState(De,We,pi)}replaceState(De,We,Dt,ei){const pi=this.prepareExternalUrl(Dt+R(ei));this._platformLocation.replaceState(De,We,pi)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(De=0){this._platformLocation.historyGo?.(De)}static#e=this.\u0275fac=function(We){return new(We||Z)(e.KVO(I),e.KVO(W,8))};static#t=this.\u0275prov=e.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})(),j=(()=>{class Z extends z{constructor(De,We){super(),this._platformLocation=De,this._baseHref="",this._removeListenerFns=[],null!=We&&(this._baseHref=We)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(De){this._removeListenerFns.push(this._platformLocation.onPopState(De),this._platformLocation.onHashChange(De))}getBaseHref(){return this._baseHref}path(De=!1){const We=this._platformLocation.hash??"#";return We.length>0?We.substring(1):We}prepareExternalUrl(De){const We=y(this._baseHref,De);return We.length>0?"#"+We:We}pushState(De,We,Dt,ei){let pi=this.prepareExternalUrl(Dt+R(ei));0==pi.length&&(pi=this._platformLocation.pathname),this._platformLocation.pushState(De,We,pi)}replaceState(De,We,Dt,ei){let pi=this.prepareExternalUrl(Dt+R(ei));0==pi.length&&(pi=this._platformLocation.pathname),this._platformLocation.replaceState(De,We,pi)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(De=0){this._platformLocation.historyGo?.(De)}static#e=this.\u0275fac=function(We){return new(We||Z)(e.KVO(I),e.KVO(W,8))};static#t=this.\u0275prov=e.jDH({token:Z,factory:Z.\u0275fac})}return Z})(),Q=(()=>{class Z{constructor(De){this._subject=new e.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=De;const We=this._locationStrategy.getBaseHref();this._basePath=function ge(Z){if(new RegExp("^(https?:)?//").test(Z)){const[,De]=Z.split(/\/\/[^\/]+/);return De}return Z}(F(ie(We))),this._locationStrategy.onPopState(Dt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Dt.state,type:Dt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(De=!1){return this.normalize(this._locationStrategy.path(De))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(De,We=""){return this.path()==this.normalize(De+R(We))}normalize(De){return Z.stripTrailingSlash(function ee(Z,Ve){if(!Z||!Ve.startsWith(Z))return Ve;const De=Ve.substring(Z.length);return""===De||["/",";","?","#"].includes(De[0])?De:Ve}(this._basePath,ie(De)))}prepareExternalUrl(De){return De&&"/"!==De[0]&&(De="/"+De),this._locationStrategy.prepareExternalUrl(De)}go(De,We="",Dt=null){this._locationStrategy.pushState(Dt,"",De,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(De+R(We)),Dt)}replaceState(De,We="",Dt=null){this._locationStrategy.replaceState(Dt,"",De,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(De+R(We)),Dt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(De=0){this._locationStrategy.historyGo?.(De)}onUrlChange(De){return this._urlChangeListeners.push(De),this._urlChangeSubscription??=this.subscribe(We=>{this._notifyUrlChangeListeners(We.url,We.state)}),()=>{const We=this._urlChangeListeners.indexOf(De);this._urlChangeListeners.splice(We,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(De="",We){this._urlChangeListeners.forEach(Dt=>Dt(De,We))}subscribe(De,We,Dt){return this._subject.subscribe({next:De,error:We,complete:Dt})}static#e=this.normalizeQueryParams=R;static#t=this.joinWithSlash=y;static#i=this.stripTrailingSlash=F;static#n=this.\u0275fac=function(We){return new(We||Z)(e.KVO(z))};static#r=this.\u0275prov=e.jDH({token:Z,factory:()=>function J(){return new Q((0,e.KVO)(z))}(),providedIn:"root"})}return Z})();function ie(Z){return Z.replace(/\/index.html$/,"")}var Me=function(Z){return Z[Z.Decimal=0]="Decimal",Z[Z.Percent=1]="Percent",Z[Z.Currency=2]="Currency",Z[Z.Scientific=3]="Scientific",Z}(Me||{}),de=function(Z){return Z[Z.Format=0]="Format",Z[Z.Standalone=1]="Standalone",Z}(de||{}),D=function(Z){return Z[Z.Narrow=0]="Narrow",Z[Z.Abbreviated=1]="Abbreviated",Z[Z.Wide=2]="Wide",Z[Z.Short=3]="Short",Z}(D||{}),n=function(Z){return Z[Z.Short=0]="Short",Z[Z.Medium=1]="Medium",Z[Z.Long=2]="Long",Z[Z.Full=3]="Full",Z}(n||{});const c={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function V(Z,Ve){return _e((0,e.H5H)(Z)[e.KH2.DateFormat],Ve)}function N(Z,Ve){return _e((0,e.H5H)(Z)[e.KH2.TimeFormat],Ve)}function ne(Z,Ve){return _e((0,e.H5H)(Z)[e.KH2.DateTimeFormat],Ve)}function Ee(Z,Ve){const De=(0,e.H5H)(Z),We=De[e.KH2.NumberSymbols][Ve];if(typeof We>"u"){if(Ve===c.CurrencyDecimal)return De[e.KH2.NumberSymbols][c.Decimal];if(Ve===c.CurrencyGroup)return De[e.KH2.NumberSymbols][c.Group]}return We}function ce(Z){if(!Z[e.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${Z[e.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function _e(Z,Ve){for(let De=Ve;De>-1;De--)if(typeof Z[De]<"u")return Z[De];throw new Error("Locale data API: locale data undefined")}function be(Z){const[Ve,De]=Z.split(":");return{hours:+Ve,minutes:+De}}const at=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pt={},Xt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ye=function(Z){return Z[Z.Short=0]="Short",Z[Z.ShortGMT=1]="ShortGMT",Z[Z.Long=2]="Long",Z[Z.Extended=3]="Extended",Z}(ye||{}),ue=function(Z){return Z[Z.FullYear=0]="FullYear",Z[Z.Month=1]="Month",Z[Z.Date=2]="Date",Z[Z.Hours=3]="Hours",Z[Z.Minutes=4]="Minutes",Z[Z.Seconds=5]="Seconds",Z[Z.FractionalSeconds=6]="FractionalSeconds",Z[Z.Day=7]="Day",Z}(ue||{}),Ie=function(Z){return Z[Z.DayPeriods=0]="DayPeriods",Z[Z.Days=1]="Days",Z[Z.Months=2]="Months",Z[Z.Eras=3]="Eras",Z}(Ie||{});function He(Z,Ve,De,We){let Dt=function gt(Z){if(Fe(Z))return Z;if("number"==typeof Z&&!isNaN(Z))return new Date(Z);if("string"==typeof Z){if(Z=Z.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Z)){const[Dt,ei=1,pi=1]=Z.split("-").map(Di=>+Di);return Xe(Dt,ei-1,pi)}const De=parseFloat(Z);if(!isNaN(Z-De))return new Date(De);let We;if(We=Z.match(at))return function $e(Z){const Ve=new Date(0);let De=0,We=0;const Dt=Z[8]?Ve.setUTCFullYear:Ve.setFullYear,ei=Z[8]?Ve.setUTCHours:Ve.setHours;Z[9]&&(De=Number(Z[9]+Z[10]),We=Number(Z[9]+Z[11])),Dt.call(Ve,Number(Z[1]),Number(Z[2])-1,Number(Z[3]));const pi=Number(Z[4]||0)-De,Di=Number(Z[5]||0)-We,an=Number(Z[6]||0),gn=Math.floor(1e3*parseFloat("0."+(Z[7]||0)));return ei.call(Ve,pi,Di,an,gn),Ve}(We)}const Ve=new Date(Z);if(!Fe(Ve))throw new Error(`Unable to convert "${Z}" into a date`);return Ve}(Z);Ve=yt(De,Ve)||Ve;let Di,pi=[];for(;Ve;){if(Di=Xt.exec(Ve),!Di){pi.push(Ve);break}{pi=pi.concat(Di.slice(1));const yn=pi.pop();if(!yn)break;Ve=yn}}let an=Dt.getTimezoneOffset();We&&(an=q(We,an),Dt=function Ne(Z,Ve,De){const We=De?-1:1,Dt=Z.getTimezoneOffset();return function Re(Z,Ve){return(Z=new Date(Z.getTime())).setMinutes(Z.getMinutes()+Ve),Z}(Z,We*(q(Ve,Dt)-Dt))}(Dt,We,!0));let gn="";return pi.forEach(yn=>{const Dn=function he(Z){if(we[Z])return we[Z];let Ve;switch(Z){case"G":case"GG":case"GGG":Ve=Vt(Ie.Eras,D.Abbreviated);break;case"GGGG":Ve=Vt(Ie.Eras,D.Wide);break;case"GGGGG":Ve=Vt(Ie.Eras,D.Narrow);break;case"y":Ve=Nt(ue.FullYear,1,0,!1,!0);break;case"yy":Ve=Nt(ue.FullYear,2,0,!0,!0);break;case"yyy":Ve=Nt(ue.FullYear,3,0,!1,!0);break;case"yyyy":Ve=Nt(ue.FullYear,4,0,!1,!0);break;case"Y":Ve=Ae(1);break;case"YY":Ve=Ae(2,!0);break;case"YYY":Ve=Ae(3);break;case"YYYY":Ve=Ae(4);break;case"M":case"L":Ve=Nt(ue.Month,1,1);break;case"MM":case"LL":Ve=Nt(ue.Month,2,1);break;case"MMM":Ve=Vt(Ie.Months,D.Abbreviated);break;case"MMMM":Ve=Vt(Ie.Months,D.Wide);break;case"MMMMM":Ve=Vt(Ie.Months,D.Narrow);break;case"LLL":Ve=Vt(Ie.Months,D.Abbreviated,de.Standalone);break;case"LLLL":Ve=Vt(Ie.Months,D.Wide,de.Standalone);break;case"LLLLL":Ve=Vt(Ie.Months,D.Narrow,de.Standalone);break;case"w":Ve=dt(1);break;case"ww":Ve=dt(2);break;case"W":Ve=dt(1,!0);break;case"d":Ve=Nt(ue.Date,1);break;case"dd":Ve=Nt(ue.Date,2);break;case"c":case"cc":Ve=Nt(ue.Day,1);break;case"ccc":Ve=Vt(Ie.Days,D.Abbreviated,de.Standalone);break;case"cccc":Ve=Vt(Ie.Days,D.Wide,de.Standalone);break;case"ccccc":Ve=Vt(Ie.Days,D.Narrow,de.Standalone);break;case"cccccc":Ve=Vt(Ie.Days,D.Short,de.Standalone);break;case"E":case"EE":case"EEE":Ve=Vt(Ie.Days,D.Abbreviated);break;case"EEEE":Ve=Vt(Ie.Days,D.Wide);break;case"EEEEE":Ve=Vt(Ie.Days,D.Narrow);break;case"EEEEEE":Ve=Vt(Ie.Days,D.Short);break;case"a":case"aa":case"aaa":Ve=Vt(Ie.DayPeriods,D.Abbreviated);break;case"aaaa":Ve=Vt(Ie.DayPeriods,D.Wide);break;case"aaaaa":Ve=Vt(Ie.DayPeriods,D.Narrow);break;case"b":case"bb":case"bbb":Ve=Vt(Ie.DayPeriods,D.Abbreviated,de.Standalone,!0);break;case"bbbb":Ve=Vt(Ie.DayPeriods,D.Wide,de.Standalone,!0);break;case"bbbbb":Ve=Vt(Ie.DayPeriods,D.Narrow,de.Standalone,!0);break;case"B":case"BB":case"BBB":Ve=Vt(Ie.DayPeriods,D.Abbreviated,de.Format,!0);break;case"BBBB":Ve=Vt(Ie.DayPeriods,D.Wide,de.Format,!0);break;case"BBBBB":Ve=Vt(Ie.DayPeriods,D.Narrow,de.Format,!0);break;case"h":Ve=Nt(ue.Hours,1,-12);break;case"hh":Ve=Nt(ue.Hours,2,-12);break;case"H":Ve=Nt(ue.Hours,1);break;case"HH":Ve=Nt(ue.Hours,2);break;case"m":Ve=Nt(ue.Minutes,1);break;case"mm":Ve=Nt(ue.Minutes,2);break;case"s":Ve=Nt(ue.Seconds,1);break;case"ss":Ve=Nt(ue.Seconds,2);break;case"S":Ve=Nt(ue.FractionalSeconds,1);break;case"SS":Ve=Nt(ue.FractionalSeconds,2);break;case"SSS":Ve=Nt(ue.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ve=tt(ye.Short);break;case"ZZZZZ":Ve=tt(ye.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ve=tt(ye.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ve=tt(ye.Long);break;default:return null}return we[Z]=Ve,Ve}(yn);gn+=Dn?Dn(Dt,De,an):"''"===yn?"'":yn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),gn}function Xe(Z,Ve,De){const We=new Date(0);return We.setFullYear(Z,Ve,De),We.setHours(0,0,0),We}function yt(Z,Ve){const De=function h(Z){return(0,e.H5H)(Z)[e.KH2.LocaleId]}(Z);if(pt[De]??={},pt[De][Ve])return pt[De][Ve];let We="";switch(Ve){case"shortDate":We=V(Z,n.Short);break;case"mediumDate":We=V(Z,n.Medium);break;case"longDate":We=V(Z,n.Long);break;case"fullDate":We=V(Z,n.Full);break;case"shortTime":We=N(Z,n.Short);break;case"mediumTime":We=N(Z,n.Medium);break;case"longTime":We=N(Z,n.Long);break;case"fullTime":We=N(Z,n.Full);break;case"short":const Dt=yt(Z,"shortTime"),ei=yt(Z,"shortDate");We=Ye(ne(Z,n.Short),[Dt,ei]);break;case"medium":const pi=yt(Z,"mediumTime"),Di=yt(Z,"mediumDate");We=Ye(ne(Z,n.Medium),[pi,Di]);break;case"long":const an=yt(Z,"longTime"),gn=yt(Z,"longDate");We=Ye(ne(Z,n.Long),[an,gn]);break;case"full":const yn=yt(Z,"fullTime"),Dn=yt(Z,"fullDate");We=Ye(ne(Z,n.Full),[yn,Dn])}return We&&(pt[De][Ve]=We),We}function Ye(Z,Ve){return Ve&&(Z=Z.replace(/\{([^}]+)}/g,function(De,We){return null!=Ve&&We in Ve?Ve[We]:De})),Z}function rt(Z,Ve,De="-",We,Dt){let ei="";(Z<0||Dt&&Z<=0)&&(Dt?Z=1-Z:(Z=-Z,ei=De));let pi=String(Z);for(;pi.length<Ve;)pi="0"+pi;return We&&(pi=pi.slice(pi.length-Ve)),ei+pi}function Nt(Z,Ve,De=0,We=!1,Dt=!1){return function(ei,pi){let Di=function Et(Z,Ve){switch(Z){case ue.FullYear:return Ve.getFullYear();case ue.Month:return Ve.getMonth();case ue.Date:return Ve.getDate();case ue.Hours:return Ve.getHours();case ue.Minutes:return Ve.getMinutes();case ue.Seconds:return Ve.getSeconds();case ue.FractionalSeconds:return Ve.getMilliseconds();case ue.Day:return Ve.getDay();default:throw new Error(`Unknown DateType value "${Z}".`)}}(Z,ei);if((De>0||Di>-De)&&(Di+=De),Z===ue.Hours)0===Di&&-12===De&&(Di=12);else if(Z===ue.FractionalSeconds)return function Yt(Z,Ve){return rt(Z,3).substring(0,Ve)}(Di,Ve);const an=Ee(pi,c.MinusSign);return rt(Di,Ve,an,We,Dt)}}function Vt(Z,Ve,De=de.Format,We=!1){return function(Dt,ei){return function oe(Z,Ve,De,We,Dt,ei){switch(De){case Ie.Months:return function L(Z,Ve,De){const We=(0,e.H5H)(Z),ei=_e([We[e.KH2.MonthsFormat],We[e.KH2.MonthsStandalone]],Ve);return _e(ei,De)}(Ve,Dt,We)[Z.getMonth()];case Ie.Days:return function k(Z,Ve,De){const We=(0,e.H5H)(Z),ei=_e([We[e.KH2.DaysFormat],We[e.KH2.DaysStandalone]],Ve);return _e(ei,De)}(Ve,Dt,We)[Z.getDay()];case Ie.DayPeriods:const pi=Z.getHours(),Di=Z.getMinutes();if(ei){const gn=function fe(Z){const Ve=(0,e.H5H)(Z);return ce(Ve),(Ve[e.KH2.ExtraData][2]||[]).map(We=>"string"==typeof We?be(We):[be(We[0]),be(We[1])])}(Ve),yn=function ke(Z,Ve,De){const We=(0,e.H5H)(Z);ce(We);const ei=_e([We[e.KH2.ExtraData][0],We[e.KH2.ExtraData][1]],Ve)||[];return _e(ei,De)||[]}(Ve,Dt,We),Dn=gn.findIndex(hr=>{if(Array.isArray(hr)){const[ir,br]=hr,gr=pi>=ir.hours&&Di>=ir.minutes,Cr=pi<br.hours||pi===br.hours&&Di<br.minutes;if(ir.hours<br.hours){if(gr&&Cr)return!0}else if(gr||Cr)return!0}else if(hr.hours===pi&&hr.minutes===Di)return!0;return!1});if(-1!==Dn)return yn[Dn]}return function C(Z,Ve,De){const We=(0,e.H5H)(Z),ei=_e([We[e.KH2.DayPeriodsFormat],We[e.KH2.DayPeriodsStandalone]],Ve);return _e(ei,De)}(Ve,Dt,We)[pi<12?0:1];case Ie.Eras:return function _(Z,Ve){return _e((0,e.H5H)(Z)[e.KH2.Eras],Ve)}(Ve,We)[Z.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${De}`)}}(Dt,ei,Z,Ve,De,We)}}function tt(Z){return function(Ve,De,We){const Dt=-1*We,ei=Ee(De,c.MinusSign),pi=Dt>0?Math.floor(Dt/60):Math.ceil(Dt/60);switch(Z){case ye.Short:return(Dt>=0?"+":"")+rt(pi,2,ei)+rt(Math.abs(Dt%60),2,ei);case ye.ShortGMT:return"GMT"+(Dt>=0?"+":"")+rt(pi,1,ei);case ye.Long:return"GMT"+(Dt>=0?"+":"")+rt(pi,2,ei)+":"+rt(Math.abs(Dt%60),2,ei);case ye.Extended:return 0===We?"Z":(Dt>=0?"+":"")+rt(pi,2,ei)+":"+rt(Math.abs(Dt%60),2,ei);default:throw new Error(`Unknown zone width "${Z}"`)}}}const $t=0,zt=4;function St(Z){const Ve=Z.getDay(),De=0===Ve?-3:zt-Ve;return Xe(Z.getFullYear(),Z.getMonth(),Z.getDate()+De)}function dt(Z,Ve=!1){return function(De,We){let Dt;if(Ve){const ei=new Date(De.getFullYear(),De.getMonth(),1).getDay()-1,pi=De.getDate();Dt=1+Math.floor((pi+ei)/7)}else{const ei=St(De),pi=function Jt(Z){const Ve=Xe(Z,$t,1).getDay();return Xe(Z,0,1+(Ve<=zt?zt:zt+7)-Ve)}(ei.getFullYear()),Di=ei.getTime()-pi.getTime();Dt=1+Math.round(Di/6048e5)}return rt(Dt,Z,Ee(We,c.MinusSign))}}function Ae(Z,Ve=!1){return function(De,We){return rt(St(De).getFullYear(),Z,Ee(We,c.MinusSign),Ve)}}const we={};function q(Z,Ve){Z=Z.replace(/:/g,"");const De=Date.parse("Jan 01, 1970 00:00:00 "+Z)/6e4;return isNaN(De)?Ve:De}function Fe(Z){return Z instanceof Date&&!isNaN(Z.valueOf())}const Ge=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ct(Z){const Ve=parseInt(Z);if(isNaN(Ve))throw new Error("Invalid integer literal when parsing "+Z);return Ve}function zi(Z,Ve){Ve=encodeURIComponent(Ve);for(const De of Z.split(";")){const We=De.indexOf("="),[Dt,ei]=-1==We?[De,""]:[De.slice(0,We),De.slice(We+1)];if(Dt.trim()===Ve)return decodeURIComponent(ei)}return null}const en=/\s+/,Ni=[];let fn=(()=>{class Z{constructor(De,We){this._ngEl=De,this._renderer=We,this.initialClasses=Ni,this.stateMap=new Map}set klass(De){this.initialClasses=null!=De?De.trim().split(en):Ni}set ngClass(De){this.rawClass="string"==typeof De?De.trim().split(en):De}ngDoCheck(){for(const We of this.initialClasses)this._updateState(We,!0);const De=this.rawClass;if(Array.isArray(De)||De instanceof Set)for(const We of De)this._updateState(We,!0);else if(null!=De)for(const We of Object.keys(De))this._updateState(We,!!De[We]);this._applyStateDiff()}_updateState(De,We){const Dt=this.stateMap.get(De);void 0!==Dt?(Dt.enabled!==We&&(Dt.changed=!0,Dt.enabled=We),Dt.touched=!0):this.stateMap.set(De,{enabled:We,changed:!0,touched:!0})}_applyStateDiff(){for(const De of this.stateMap){const We=De[0],Dt=De[1];Dt.changed?(this._toggleClass(We,Dt.enabled),Dt.changed=!1):Dt.touched||(Dt.enabled&&this._toggleClass(We,!1),this.stateMap.delete(We)),Dt.touched=!1}}_toggleClass(De,We){(De=De.trim()).length>0&&De.split(en).forEach(Dt=>{We?this._renderer.addClass(this._ngEl.nativeElement,Dt):this._renderer.removeClass(this._ngEl.nativeElement,Dt)})}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.aKT),e.rXU(e.sFG))};static#t=this.\u0275dir=e.FsC({type:Z,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return Z})();class re{constructor(Ve,De,We,Dt){this.$implicit=Ve,this.ngForOf=De,this.index=We,this.count=Dt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let je=(()=>{class Z{set ngForOf(De){this._ngForOf=De,this._ngForOfDirty=!0}set ngForTrackBy(De){this._trackByFn=De}get ngForTrackBy(){return this._trackByFn}constructor(De,We,Dt){this._viewContainer=De,this._template=We,this._differs=Dt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(De){De&&(this._template=De)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const De=this._ngForOf;!this._differ&&De&&(this._differ=this._differs.find(De).create(this.ngForTrackBy))}if(this._differ){const De=this._differ.diff(this._ngForOf);De&&this._applyChanges(De)}}_applyChanges(De){const We=this._viewContainer;De.forEachOperation((Dt,ei,pi)=>{if(null==Dt.previousIndex)We.createEmbeddedView(this._template,new re(Dt.item,this._ngForOf,-1,-1),null===pi?void 0:pi);else if(null==pi)We.remove(null===ei?void 0:ei);else if(null!==ei){const Di=We.get(ei);We.move(Di,pi),Ce(Di,Dt)}});for(let Dt=0,ei=We.length;Dt<ei;Dt++){const Di=We.get(Dt).context;Di.index=Dt,Di.count=ei,Di.ngForOf=this._ngForOf}De.forEachIdentityChange(Dt=>{Ce(We.get(Dt.currentIndex),Dt)})}static ngTemplateContextGuard(De,We){return!0}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(e._q3))};static#t=this.\u0275dir=e.FsC({type:Z,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Z})();function Ce(Z,Ve){Z.context.$implicit=Ve.item}let ut=(()=>{class Z{constructor(De,We){this._viewContainer=De,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=We}set ngIf(De){this._context.$implicit=this._context.ngIf=De,this._updateView()}set ngIfThen(De){si("ngIfThen",De),this._thenTemplateRef=De,this._thenViewRef=null,this._updateView()}set ngIfElse(De){si("ngIfElse",De),this._elseTemplateRef=De,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(De,We){return!0}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.c1b),e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:Z,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Z})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function si(Z,Ve){if(Ve&&!Ve.createEmbeddedView)throw new Error(`${Z} must be a TemplateRef, but received '${(0,e.Tbb)(Ve)}'.`)}class mn{constructor(Ve,De){this._viewContainerRef=Ve,this._templateRef=De,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ve){Ve&&!this._created?this.create():!Ve&&this._created&&this.destroy()}}let Fn=(()=>{class Z{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(De){this._ngSwitch=De,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(De){this._defaultViews.push(De)}_matchCase(De){const We=De===this._ngSwitch;return this._lastCasesMatched||=We,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),We}_updateDefaultCases(De){if(this._defaultViews.length>0&&De!==this._defaultUsed){this._defaultUsed=De;for(const We of this._defaultViews)We.enforceState(De)}}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275dir=e.FsC({type:Z,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Z})(),$n=(()=>{class Z{constructor(De,We,Dt){this.ngSwitch=Dt,Dt._addCase(),this._view=new mn(De,We)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(Fn,9))};static#t=this.\u0275dir=e.FsC({type:Z,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Z})(),Yn=(()=>{class Z{constructor(De,We,Dt){Dt._addDefault(new mn(De,We))}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(Fn,9))};static#t=this.\u0275dir=e.FsC({type:Z,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Z})(),Oi=(()=>{class Z{constructor(De,We,Dt){this._ngEl=De,this._differs=We,this._renderer=Dt,this._ngStyle=null,this._differ=null}set ngStyle(De){this._ngStyle=De,!this._differ&&De&&(this._differ=this._differs.find(De).create())}ngDoCheck(){if(this._differ){const De=this._differ.diff(this._ngStyle);De&&this._applyChanges(De)}}_setStyle(De,We){const[Dt,ei]=De.split("."),pi=-1===Dt.indexOf("-")?void 0:e.czy.DashCase;null!=We?this._renderer.setStyle(this._ngEl.nativeElement,Dt,ei?`${We}${ei}`:We,pi):this._renderer.removeStyle(this._ngEl.nativeElement,Dt,pi)}_applyChanges(De){De.forEachRemovedItem(We=>this._setStyle(We.key,null)),De.forEachAddedItem(We=>this._setStyle(We.key,We.currentValue)),De.forEachChangedItem(We=>this._setStyle(We.key,We.currentValue))}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.aKT),e.rXU(e.MKu),e.rXU(e.sFG))};static#t=this.\u0275dir=e.FsC({type:Z,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Z})(),jt=(()=>{class Z{constructor(De){this._viewContainerRef=De,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(De){if(this._shouldRecreateView(De)){const We=this._viewContainerRef;if(this._viewRef&&We.remove(We.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Dt=this._createContextForwardProxy();this._viewRef=We.createEmbeddedView(this.ngTemplateOutlet,Dt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(De){return!!De.ngTemplateOutlet||!!De.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(De,We,Dt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,We,Dt),get:(De,We,Dt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,We,Dt)}})}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.c1b))};static#t=this.\u0275dir=e.FsC({type:Z,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.OA$]})}return Z})();function hi(Z,Ve){return new e.wOt(2100,!1)}class yi{createSubscription(Ve,De){return(0,e.O8t)(()=>Ve.subscribe({next:De,error:We=>{throw We}}))}dispose(Ve){(0,e.O8t)(()=>Ve.unsubscribe())}}class Vi{createSubscription(Ve,De){return Ve.then(De,We=>{throw We})}dispose(Ve){}}const ji=new Vi,rn=new yi;let ar=(()=>{class Z{constructor(De){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=De}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(De){if(!this._obj){if(De)try{this.markForCheckOnValueUpdate=!1,this._subscribe(De)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return De!==this._obj?(this._dispose(),this.transform(De)):this._latestValue}_subscribe(De){this._obj=De,this._strategy=this._selectStrategy(De),this._subscription=this._strategy.createSubscription(De,We=>this._updateLatestValue(De,We))}_selectStrategy(De){if((0,e.jNT)(De))return ji;if((0,e.zjR)(De))return rn;throw hi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(De,We){De===this._obj&&(this._latestValue=We,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.gRc,16))};static#t=this.\u0275pipe=e.EJ8({name:"async",type:Z,pure:!1,standalone:!0})}return Z})(),sr=(()=>{class Z{transform(De){if(null==De)return null;if("string"!=typeof De)throw hi();return De.toLowerCase()}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275pipe=e.EJ8({name:"lowercase",type:Z,pure:!0,standalone:!0})}return Z})();const nr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let or=(()=>{class Z{transform(De){if(null==De)return null;if("string"!=typeof De)throw hi();return De.replace(nr,We=>We[0].toUpperCase()+We.slice(1).toLowerCase())}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275pipe=e.EJ8({name:"titlecase",type:Z,pure:!0,standalone:!0})}return Z})(),Xr=(()=>{class Z{transform(De){if(null==De)return null;if("string"!=typeof De)throw hi();return De.toUpperCase()}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275pipe=e.EJ8({name:"uppercase",type:Z,pure:!0,standalone:!0})}return Z})();const zr=new e.nKC(""),Ho=new e.nKC("");let xo=(()=>{class Z{constructor(De,We,Dt){this.locale=De,this.defaultTimezone=We,this.defaultOptions=Dt}transform(De,We,Dt,ei){if(null==De||""===De||De!=De)return null;try{return He(De,We??this.defaultOptions?.dateFormat??"mediumDate",ei||this.locale,Dt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(pi){throw hi()}}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.xe9,16),e.rXU(zr,24),e.rXU(Ho,24))};static#t=this.\u0275pipe=e.EJ8({name:"date",type:Z,pure:!0,standalone:!0})}return Z})(),Ea=(()=>{class Z{transform(De){return JSON.stringify(De,null,2)}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275pipe=e.EJ8({name:"json",type:Z,pure:!1,standalone:!0})}return Z})(),ho=(()=>{class Z{constructor(De){this.differs=De,this.keyValues=[],this.compareFn=xr}transform(De,We=xr){if(!De||!(De instanceof Map)&&"object"!=typeof De)return null;this.differ??=this.differs.find(De).create();const Dt=this.differ.diff(De),ei=We!==this.compareFn;return Dt&&(this.keyValues=[],Dt.forEachItem(pi=>{this.keyValues.push(function no(Z,Ve){return{key:Z,value:Ve}}(pi.key,pi.currentValue))})),(Dt||ei)&&(this.keyValues.sort(We),this.compareFn=We),this.keyValues}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.MKu,16))};static#t=this.\u0275pipe=e.EJ8({name:"keyvalue",type:Z,pure:!1,standalone:!0})}return Z})();function xr(Z,Ve){const De=Z.key,We=Ve.key;if(De===We)return 0;if(void 0===De)return 1;if(void 0===We)return-1;if(null===De)return 1;if(null===We)return-1;if("string"==typeof De&&"string"==typeof We)return De<We?-1:1;if("number"==typeof De&&"number"==typeof We)return De-We;if("boolean"==typeof De&&"boolean"==typeof We)return De<We?-1:1;const Dt=String(De),ei=String(We);return Dt==ei?0:Dt<ei?-1:1}let Sa=(()=>{class Z{constructor(De){this._locale=De}transform(De,We,Dt){if(!function hn(Z){return!(null==Z||""===Z||Z!=Z)}(De))return null;Dt||=this._locale;try{return function Li(Z,Ve,De){return function fi(Z,Ve,De,We,Dt,ei,pi=!1){let Di="",an=!1;if(isFinite(Z)){let gn=function Mt(Z){let We,Dt,ei,pi,Di,Ve=Math.abs(Z)+"",De=0;for((Dt=Ve.indexOf("."))>-1&&(Ve=Ve.replace(".","")),(ei=Ve.search(/e/i))>0?(Dt<0&&(Dt=ei),Dt+=+Ve.slice(ei+1),Ve=Ve.substring(0,ei)):Dt<0&&(Dt=Ve.length),ei=0;"0"===Ve.charAt(ei);ei++);if(ei===(Di=Ve.length))We=[0],Dt=1;else{for(Di--;"0"===Ve.charAt(Di);)Di--;for(Dt-=ei,We=[],pi=0;ei<=Di;ei++,pi++)We[pi]=Number(Ve.charAt(ei))}return Dt>22&&(We=We.splice(0,21),De=Dt-1,Dt=1),{digits:We,exponent:De,integerLen:Dt}}(Z);pi&&(gn=function Qt(Z){if(0===Z.digits[0])return Z;const Ve=Z.digits.length-Z.integerLen;return Z.exponent?Z.exponent+=2:(0===Ve?Z.digits.push(0,0):1===Ve&&Z.digits.push(0),Z.integerLen+=2),Z}(gn));let yn=Ve.minInt,Dn=Ve.minFrac,hr=Ve.maxFrac;if(ei){const Hn=ei.match(Ge);if(null===Hn)throw new Error(`${ei} is not a valid digit info`);const Bi=Hn[1],sn=Hn[3],fr=Hn[5];null!=Bi&&(yn=ct(Bi)),null!=sn&&(Dn=ct(sn)),null!=fr?hr=ct(fr):null!=sn&&Dn>hr&&(hr=Dn)}!function it(Z,Ve,De){if(Ve>De)throw new Error(`The minimum number of digits after fraction (${Ve}) is higher than the maximum (${De}).`);let We=Z.digits,Dt=We.length-Z.integerLen;const ei=Math.min(Math.max(Ve,Dt),De);let pi=ei+Z.integerLen,Di=We[pi];if(pi>0){We.splice(Math.max(Z.integerLen,pi));for(let Dn=pi;Dn<We.length;Dn++)We[Dn]=0}else{Dt=Math.max(0,Dt),Z.integerLen=1,We.length=Math.max(1,pi=ei+1),We[0]=0;for(let Dn=1;Dn<pi;Dn++)We[Dn]=0}if(Di>=5)if(pi-1<0){for(let Dn=0;Dn>pi;Dn--)We.unshift(0),Z.integerLen++;We.unshift(1),Z.integerLen++}else We[pi-1]++;for(;Dt<Math.max(0,ei);Dt++)We.push(0);let an=0!==ei;const gn=Ve+Z.integerLen,yn=We.reduceRight(function(Dn,hr,ir,br){return br[ir]=(hr+=Dn)<10?hr:hr-10,an&&(0===br[ir]&&ir>=gn?br.pop():an=!1),hr>=10?1:0},0);yn&&(We.unshift(yn),Z.integerLen++)}(gn,Dn,hr);let ir=gn.digits,br=gn.integerLen;const gr=gn.exponent;let Cr=[];for(an=ir.every(Hn=>!Hn);br<yn;br++)ir.unshift(0);for(;br<0;br++)ir.unshift(0);br>0?Cr=ir.splice(br,ir.length):(Cr=ir,ir=[0]);const sa=[];for(ir.length>=Ve.lgSize&&sa.unshift(ir.splice(-Ve.lgSize,ir.length).join(""));ir.length>Ve.gSize;)sa.unshift(ir.splice(-Ve.gSize,ir.length).join(""));ir.length&&sa.unshift(ir.join("")),Di=sa.join(Ee(De,We)),Cr.length&&(Di+=Ee(De,Dt)+Cr.join("")),gr&&(Di+=Ee(De,c.Exponential)+"+"+gr)}else Di=Ee(De,c.Infinity);return Di=Z<0&&!an?Ve.negPre+Di+Ve.negSuf:Ve.posPre+Di+Ve.posSuf,Di}(Z,function Zi(Z,Ve="-"){const De={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},We=Z.split(";"),Dt=We[0],ei=We[1],pi=-1!==Dt.indexOf(".")?Dt.split("."):[Dt.substring(0,Dt.lastIndexOf("0")+1),Dt.substring(Dt.lastIndexOf("0")+1)],Di=pi[0],an=pi[1]||"";De.posPre=Di.substring(0,Di.indexOf("#"));for(let yn=0;yn<an.length;yn++){const Dn=an.charAt(yn);"0"===Dn?De.minFrac=De.maxFrac=yn+1:"#"===Dn?De.maxFrac=yn+1:De.posSuf+=Dn}const gn=Di.split(",");if(De.gSize=gn[1]?gn[1].length:0,De.lgSize=gn[2]||gn[1]?(gn[2]||gn[1]).length:0,ei){const yn=Dt.length-De.posPre.length-De.posSuf.length,Dn=ei.indexOf("#");De.negPre=ei.substring(0,Dn).replace(/'/g,""),De.negSuf=ei.slice(Dn+yn).replace(/'/g,"")}else De.negPre=Ve+De.posPre,De.negSuf=De.posSuf;return De}(function ze(Z,Ve){return(0,e.H5H)(Z)[e.KH2.NumberFormats][Ve]}(Ve,Me.Decimal),Ee(Ve,c.MinusSign)),Ve,c.Group,c.Decimal,De)}(function Yr(Z){if("string"==typeof Z&&!isNaN(Number(Z)-parseFloat(Z)))return Number(Z);if("number"!=typeof Z)throw new Error(`${Z} is not a number`);return Z}(De),Dt,We)}catch(ei){throw hi()}}static#e=this.\u0275fac=function(We){return new(We||Z)(e.rXU(e.xe9,16))};static#t=this.\u0275pipe=e.EJ8({name:"number",type:Z,pure:!0,standalone:!0})}return Z})();let Ta=(()=>{class Z{transform(De,We,Dt){if(null==De)return null;if(!this.supports(De))throw hi();return De.slice(We,Dt)}supports(De){return"string"==typeof De||Array.isArray(De)}static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275pipe=e.EJ8({name:"slice",type:Z,pure:!1,standalone:!0})}return Z})(),wo=(()=>{class Z{static#e=this.\u0275fac=function(We){return new(We||Z)};static#t=this.\u0275mod=e.$C({type:Z});static#i=this.\u0275inj=e.G2t({})}return Z})();const zo="browser",da="server";function ao(Z){return Z===zo}function Oa(Z){return Z===da}let Fa=(()=>{class Z{static#e=this.\u0275prov=(0,e.jDH)({token:Z,providedIn:"root",factory:()=>ao((0,e.WQX)(e.Agw))?new Ro((0,e.WQX)(f),window):new ha})}return Z})();class Ro{constructor(Ve,De){this.document=Ve,this.window=De,this.offset=()=>[0,0]}setOffset(Ve){this.offset=Array.isArray(Ve)?()=>Ve:Ve}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ve){this.window.scrollTo(Ve[0],Ve[1])}scrollToAnchor(Ve){const De=function kr(Z,Ve){const De=Z.getElementById(Ve)||Z.getElementsByName(Ve)[0];if(De)return De;if("function"==typeof Z.createTreeWalker&&Z.body&&"function"==typeof Z.body.attachShadow){const We=Z.createTreeWalker(Z.body,NodeFilter.SHOW_ELEMENT);let Dt=We.currentNode;for(;Dt;){const ei=Dt.shadowRoot;if(ei){const pi=ei.getElementById(Ve)||ei.querySelector(`[name="${Ve}"]`);if(pi)return pi}Dt=We.nextNode()}}return null}(this.document,Ve);De&&(this.scrollToElement(De),De.focus())}setHistoryScrollRestoration(Ve){this.window.history.scrollRestoration=Ve}scrollToElement(Ve){const De=Ve.getBoundingClientRect(),We=De.left+this.window.pageXOffset,Dt=De.top+this.window.pageYOffset,ei=this.offset();this.window.scrollTo(We-ei[0],Dt-ei[1])}}class ha{setOffset(Ve){}getScrollPosition(){return[0,0]}scrollToPosition(Ve){}scrollToAnchor(Ve){}setHistoryScrollRestoration(Ve){}}class Br{}},1626:(Qe,te,g)=>{"use strict";g.d(te,{Nl:()=>ge,Qq:()=>ne,a7:()=>mt,q1:()=>Pt});var e=g(467),t=g(4438),w=g(7673),S=g(1985),l=g(2806),x=g(274),f=g(5964),I=g(6354),d=g(980),T=g(5558),y=g(177);class F{}class R{}class z{constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?"string"==typeof re?this.lazyInit=()=>{this.headers=new Map,re.split("\n").forEach(je=>{const Ce=je.indexOf(":");if(Ce>0){const ot=je.slice(0,Ce),ut=ot.toLowerCase(),ii=je.slice(Ce+1).trim();this.maybeSetNormalizedName(ot,ut),this.headers.has(ut)?this.headers.get(ut).push(ii):this.headers.set(ut,[ii])}})}:typeof Headers<"u"&&re instanceof Headers?(this.headers=new Map,re.forEach((je,Ce)=>{this.setHeaderEntries(Ce,je)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(re).forEach(([je,Ce])=>{this.setHeaderEntries(je,Ce)})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const je=this.headers.get(re.toLowerCase());return je&&je.length>0?je[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,je){return this.clone({name:re,value:je,op:"a"})}set(re,je){return this.clone({name:re,value:je,op:"s"})}delete(re,je){return this.clone({name:re,value:je,op:"d"})}maybeSetNormalizedName(re,je){this.normalizedNames.has(je)||this.normalizedNames.set(je,re)}init(){this.lazyInit&&(this.lazyInit instanceof z?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(re=>this.applyUpdate(re)),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach(je=>{this.headers.set(je,re.headers.get(je)),this.normalizedNames.set(je,re.normalizedNames.get(je))})}clone(re){const je=new z;return je.lazyInit=this.lazyInit&&this.lazyInit instanceof z?this.lazyInit:this,je.lazyUpdate=(this.lazyUpdate||[]).concat([re]),je}applyUpdate(re){const je=re.name.toLowerCase();switch(re.op){case"a":case"s":let Ce=re.value;if("string"==typeof Ce&&(Ce=[Ce]),0===Ce.length)return;this.maybeSetNormalizedName(re.name,je);const ot=("a"===re.op?this.headers.get(je):void 0)||[];ot.push(...Ce),this.headers.set(je,ot);break;case"d":const ut=re.value;if(ut){let ii=this.headers.get(je);if(!ii)return;ii=ii.filter(si=>-1===ut.indexOf(si)),0===ii.length?(this.headers.delete(je),this.normalizedNames.delete(je)):this.headers.set(je,ii)}else this.headers.delete(je),this.normalizedNames.delete(je)}}setHeaderEntries(re,je){const Ce=(Array.isArray(je)?je:[je]).map(ut=>ut.toString()),ot=re.toLowerCase();this.headers.set(ot,Ce),this.maybeSetNormalizedName(re,ot)}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(je=>re(this.normalizedNames.get(je),this.headers.get(je)))}}class ${encodeKey(re){return ee(re)}encodeValue(re){return ee(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const Q=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(bt){return encodeURIComponent(bt).replace(Q,(re,je)=>J[je]??re)}function ie(bt){return`${bt}`}class ge{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new $,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function j(bt,re){const je=new Map;return bt.length>0&&bt.replace(/^\?/,"").split("&").forEach(ot=>{const ut=ot.indexOf("="),[ii,si]=-1==ut?[re.decodeKey(ot),""]:[re.decodeKey(ot.slice(0,ut)),re.decodeValue(ot.slice(ut+1))],Pi=je.get(ii)||[];Pi.push(si),je.set(ii,Pi)}),je}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(je=>{const Ce=re.fromObject[je],ot=Array.isArray(Ce)?Ce.map(ie):[ie(Ce)];this.map.set(je,ot)})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const je=this.map.get(re);return je?je[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,je){return this.clone({param:re,value:je,op:"a"})}appendAll(re){const je=[];return Object.keys(re).forEach(Ce=>{const ot=re[Ce];Array.isArray(ot)?ot.forEach(ut=>{je.push({param:Ce,value:ut,op:"a"})}):je.push({param:Ce,value:ot,op:"a"})}),this.clone(je)}set(re,je){return this.clone({param:re,value:je,op:"s"})}delete(re,je){return this.clone({param:re,value:je,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const je=this.encoder.encodeKey(re);return this.map.get(re).map(Ce=>je+"="+this.encoder.encodeValue(Ce)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const je=new ge({encoder:this.encoder});return je.cloneFrom=this.cloneFrom||this,je.updates=(this.updates||[]).concat(re),je}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(re=>this.map.set(re,this.cloneFrom.map.get(re))),this.updates.forEach(re=>{switch(re.op){case"a":case"s":const je=("a"===re.op?this.map.get(re.param):void 0)||[];je.push(ie(re.value)),this.map.set(re.param,je);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let Ce=this.map.get(re.param)||[];const ot=Ce.indexOf(ie(re.value));-1!==ot&&Ce.splice(ot,1),Ce.length>0?this.map.set(re.param,Ce):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(re,je){return this.map.set(re,je),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}function de(bt){return typeof ArrayBuffer<"u"&&bt instanceof ArrayBuffer}function D(bt){return typeof Blob<"u"&&bt instanceof Blob}function n(bt){return typeof FormData<"u"&&bt instanceof FormData}class m{constructor(re,je,Ce,ot){let ut;if(this.url=je,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Te(bt){switch(bt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ot?(this.body=void 0!==Ce?Ce:null,ut=ot):ut=Ce,ut&&(this.reportProgress=!!ut.reportProgress,this.withCredentials=!!ut.withCredentials,ut.responseType&&(this.responseType=ut.responseType),ut.headers&&(this.headers=ut.headers),ut.context&&(this.context=ut.context),ut.params&&(this.params=ut.params),this.transferCache=ut.transferCache),this.headers??=new z,this.context??=new Me,this.params){const ii=this.params.toString();if(0===ii.length)this.urlWithParams=je;else{const si=je.indexOf("?");this.urlWithParams=je+(-1===si?"?":si<je.length-1?"&":"")+ii}}else this.params=new ge,this.urlWithParams=je}serializeBody(){return null===this.body?null:"string"==typeof this.body||de(this.body)||D(this.body)||n(this.body)||function c(bt){return typeof URLSearchParams<"u"&&bt instanceof URLSearchParams}(this.body)?this.body:this.body instanceof ge?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||n(this.body)?null:D(this.body)?this.body.type||null:de(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ge?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(re={}){const je=re.method||this.method,Ce=re.url||this.url,ot=re.responseType||this.responseType,ut=re.transferCache??this.transferCache,ii=void 0!==re.body?re.body:this.body,si=re.withCredentials??this.withCredentials,Pi=re.reportProgress??this.reportProgress;let mn=re.headers||this.headers,Fn=re.params||this.params;const $n=re.context??this.context;return void 0!==re.setHeaders&&(mn=Object.keys(re.setHeaders).reduce((Yn,Qn)=>Yn.set(Qn,re.setHeaders[Qn]),mn)),re.setParams&&(Fn=Object.keys(re.setParams).reduce((Yn,Qn)=>Yn.set(Qn,re.setParams[Qn]),Fn)),new m(je,Ce,ii,{params:Fn,headers:mn,context:$n,reportProgress:Pi,responseType:ot,withCredentials:si,transferCache:ut})}}var h=function(bt){return bt[bt.Sent=0]="Sent",bt[bt.UploadProgress=1]="UploadProgress",bt[bt.ResponseHeader=2]="ResponseHeader",bt[bt.DownloadProgress=3]="DownloadProgress",bt[bt.Response=4]="Response",bt[bt.User=5]="User",bt}(h||{});class C{constructor(re,je=200,Ce="OK"){this.headers=re.headers||new z,this.status=void 0!==re.status?re.status:je,this.statusText=re.statusText||Ce,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class k extends C{constructor(re={}){super(re),this.type=h.ResponseHeader}clone(re={}){return new k({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class L extends C{constructor(re={}){super(re),this.type=h.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new L({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class _ extends C{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}function N(bt,re){return{body:re,headers:bt.headers,context:bt.context,observe:bt.observe,params:bt.params,reportProgress:bt.reportProgress,responseType:bt.responseType,withCredentials:bt.withCredentials,transferCache:bt.transferCache}}let ne=(()=>{class bt{constructor(je){this.handler=je}request(je,Ce,ot={}){let ut;if(je instanceof m)ut=je;else{let Pi,mn;Pi=ot.headers instanceof z?ot.headers:new z(ot.headers),ot.params&&(mn=ot.params instanceof ge?ot.params:new ge({fromObject:ot.params})),ut=new m(je,Ce,void 0!==ot.body?ot.body:null,{headers:Pi,context:ot.context,params:mn,reportProgress:ot.reportProgress,responseType:ot.responseType||"json",withCredentials:ot.withCredentials,transferCache:ot.transferCache})}const ii=(0,w.of)(ut).pipe((0,x.H)(Pi=>this.handler.handle(Pi)));if(je instanceof m||"events"===ot.observe)return ii;const si=ii.pipe((0,f.p)(Pi=>Pi instanceof L));switch(ot.observe||"body"){case"body":switch(ut.responseType){case"arraybuffer":return si.pipe((0,I.T)(Pi=>{if(null!==Pi.body&&!(Pi.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Pi.body}));case"blob":return si.pipe((0,I.T)(Pi=>{if(null!==Pi.body&&!(Pi.body instanceof Blob))throw new Error("Response is not a Blob.");return Pi.body}));case"text":return si.pipe((0,I.T)(Pi=>{if(null!==Pi.body&&"string"!=typeof Pi.body)throw new Error("Response is not a string.");return Pi.body}));default:return si.pipe((0,I.T)(Pi=>Pi.body))}case"response":return si;default:throw new Error(`Unreachable: unhandled observe type ${ot.observe}}`)}}delete(je,Ce={}){return this.request("DELETE",je,Ce)}get(je,Ce={}){return this.request("GET",je,Ce)}head(je,Ce={}){return this.request("HEAD",je,Ce)}jsonp(je,Ce){return this.request("JSONP",je,{params:(new ge).append(Ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(je,Ce={}){return this.request("OPTIONS",je,Ce)}patch(je,Ce,ot={}){return this.request("PATCH",je,N(ot,Ce))}post(je,Ce,ot={}){return this.request("POST",je,N(ot,Ce))}put(je,Ce,ot={}){return this.request("PUT",je,N(ot,Ce))}static#e=this.\u0275fac=function(Ce){return new(Ce||bt)(t.KVO(F))};static#t=this.\u0275prov=t.jDH({token:bt,factory:bt.\u0275fac})}return bt})();const Ee=/^\)\]\}',?\n/;function qe(bt){if(bt.url)return bt.url;const re="X-Request-URL".toLocaleLowerCase();return bt.headers.get(re)}let Ke=(()=>{class bt{constructor(){this.fetchImpl=(0,t.WQX)(se,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,t.WQX)(t.SKi)}handle(je){return new S.c(Ce=>{const ot=new AbortController;return this.doRequest(je,ot.signal,Ce).then(X,ut=>Ce.error(new _({error:ut}))),()=>ot.abort()})}doRequest(je,Ce,ot){var ut=this;return(0,e.A)(function*(){const ii=ut.createRequestInit(je);let si;try{const rr=ut.fetchImpl(je.urlWithParams,{signal:Ce,...ii});(function me(bt){bt.then(X,X)})(rr),ot.next({type:h.Sent}),si=yield rr}catch(rr){return void ot.error(new _({error:rr,status:rr.status??0,statusText:rr.statusText,url:je.urlWithParams,headers:rr.headers}))}const Pi=new z(si.headers),mn=si.statusText,Fn=qe(si)??je.urlWithParams;let $n=si.status,Yn=null;if(je.reportProgress&&ot.next(new k({headers:Pi,status:$n,statusText:mn,url:Fn})),si.body){const rr=si.headers.get("content-length"),Rn=[],_i=si.body.getReader();let jt,Ci,Oi=0;const hi=typeof Zone<"u"&&Zone.current;yield ut.ngZone.runOutsideAngular((0,e.A)(function*(){for(;;){const{done:Vi,value:ji}=yield _i.read();if(Vi)break;if(Rn.push(ji),Oi+=ji.length,je.reportProgress){Ci="text"===je.responseType?(Ci??"")+(jt??=new TextDecoder).decode(ji,{stream:!0}):void 0;const rn=()=>ot.next({type:h.DownloadProgress,total:rr?+rr:void 0,loaded:Oi,partialText:Ci});hi?hi.run(rn):rn()}}}));const yi=ut.concatChunks(Rn,Oi);try{const Vi=si.headers.get("Content-Type")??"";Yn=ut.parseBody(je,yi,Vi)}catch(Vi){return void ot.error(new _({error:Vi,headers:new z(si.headers),status:si.status,statusText:si.statusText,url:qe(si)??je.urlWithParams}))}}0===$n&&($n=Yn?200:0),$n>=200&&$n<300?(ot.next(new L({body:Yn,headers:Pi,status:$n,statusText:mn,url:Fn})),ot.complete()):ot.error(new _({error:Yn,headers:Pi,status:$n,statusText:mn,url:Fn}))})()}parseBody(je,Ce,ot){switch(je.responseType){case"json":const ut=(new TextDecoder).decode(Ce).replace(Ee,"");return""===ut?null:JSON.parse(ut);case"text":return(new TextDecoder).decode(Ce);case"blob":return new Blob([Ce],{type:ot});case"arraybuffer":return Ce.buffer}}createRequestInit(je){const Ce={},ot=je.withCredentials?"include":void 0;if(je.headers.forEach((ut,ii)=>Ce[ut]=ii.join(",")),Ce.Accept??="application/json, text/plain, */*",!Ce["Content-Type"]){const ut=je.detectContentTypeHeader();null!==ut&&(Ce["Content-Type"]=ut)}return{body:je.serializeBody(),method:je.method,headers:Ce,credentials:ot}}concatChunks(je,Ce){const ot=new Uint8Array(Ce);let ut=0;for(const ii of je)ot.set(ii,ut),ut+=ii.length;return ot}static#e=this.\u0275fac=function(Ce){return new(Ce||bt)};static#t=this.\u0275prov=t.jDH({token:bt,factory:bt.\u0275fac})}return bt})();class se{}function X(){}function ce(bt,re){return re(bt)}function fe(bt,re){return(je,Ce)=>re.intercept(je,{handle:ot=>bt(ot,Ce)})}const mt=new t.nKC(""),_e=new t.nKC(""),be=new t.nKC(""),pe=new t.nKC("",{providedIn:"root",factory:()=>!0});function Ze(){let bt=null;return(re,je)=>{null===bt&&(bt=((0,t.WQX)(mt,{optional:!0})??[]).reduceRight(fe,ce));const Ce=(0,t.WQX)(t.TgB);if((0,t.WQX)(pe)){const ut=Ce.add();return bt(re,je).pipe((0,d.j)(()=>Ce.remove(ut)))}return bt(re,je)}}let pt=(()=>{class bt extends F{constructor(je,Ce){super(),this.backend=je,this.injector=Ce,this.chain=null,this.pendingTasks=(0,t.WQX)(t.TgB),this.contributeToStability=(0,t.WQX)(pe)}handle(je){if(null===this.chain){const Ce=Array.from(new Set([...this.injector.get(_e),...this.injector.get(be,[])]));this.chain=Ce.reduceRight((ot,ut)=>function ke(bt,re,je){return(Ce,ot)=>(0,t.N4e)(je,()=>re(Ce,ut=>bt(ut,ot)))}(ot,ut,this.injector),ce)}if(this.contributeToStability){const Ce=this.pendingTasks.add();return this.chain(je,ot=>this.backend.handle(ot)).pipe((0,d.j)(()=>this.pendingTasks.remove(Ce)))}return this.chain(je,Ce=>this.backend.handle(Ce))}static#e=this.\u0275fac=function(Ce){return new(Ce||bt)(t.KVO(R),t.KVO(t.uvJ))};static#t=this.\u0275prov=t.jDH({token:bt,factory:bt.\u0275fac})}return bt})();const Et=/^\)\]\}',?\n/;let oe=(()=>{class bt{constructor(je){this.xhrFactory=je}handle(je){if("JSONP"===je.method)throw new t.wOt(-2800,!1);const Ce=this.xhrFactory;return(Ce.\u0275loadImpl?(0,l.H)(Ce.\u0275loadImpl()):(0,w.of)(null)).pipe((0,T.n)(()=>new S.c(ut=>{const ii=Ce.build();if(ii.open(je.method,je.urlWithParams),je.withCredentials&&(ii.withCredentials=!0),je.headers.forEach((Rn,_i)=>ii.setRequestHeader(Rn,_i.join(","))),je.headers.has("Accept")||ii.setRequestHeader("Accept","application/json, text/plain, */*"),!je.headers.has("Content-Type")){const Rn=je.detectContentTypeHeader();null!==Rn&&ii.setRequestHeader("Content-Type",Rn)}if(je.responseType){const Rn=je.responseType.toLowerCase();ii.responseType="json"!==Rn?Rn:"text"}const si=je.serializeBody();let Pi=null;const mn=()=>{if(null!==Pi)return Pi;const Rn=ii.statusText||"OK",_i=new z(ii.getAllResponseHeaders()),Oi=function Vt(bt){return"responseURL"in bt&&bt.responseURL?bt.responseURL:/^X-Request-URL:/m.test(bt.getAllResponseHeaders())?bt.getResponseHeader("X-Request-URL"):null}(ii)||je.url;return Pi=new k({headers:_i,status:ii.status,statusText:Rn,url:Oi}),Pi},Fn=()=>{let{headers:Rn,status:_i,statusText:Oi,url:jt}=mn(),Ci=null;204!==_i&&(Ci=typeof ii.response>"u"?ii.responseText:ii.response),0===_i&&(_i=Ci?200:0);let hi=_i>=200&&_i<300;if("json"===je.responseType&&"string"==typeof Ci){const yi=Ci;Ci=Ci.replace(Et,"");try{Ci=""!==Ci?JSON.parse(Ci):null}catch(Vi){Ci=yi,hi&&(hi=!1,Ci={error:Vi,text:Ci})}}hi?(ut.next(new L({body:Ci,headers:Rn,status:_i,statusText:Oi,url:jt||void 0})),ut.complete()):ut.error(new _({error:Ci,headers:Rn,status:_i,statusText:Oi,url:jt||void 0}))},$n=Rn=>{const{url:_i}=mn(),Oi=new _({error:Rn,status:ii.status||0,statusText:ii.statusText||"Unknown Error",url:_i||void 0});ut.error(Oi)};let Yn=!1;const Qn=Rn=>{Yn||(ut.next(mn()),Yn=!0);let _i={type:h.DownloadProgress,loaded:Rn.loaded};Rn.lengthComputable&&(_i.total=Rn.total),"text"===je.responseType&&ii.responseText&&(_i.partialText=ii.responseText),ut.next(_i)},rr=Rn=>{let _i={type:h.UploadProgress,loaded:Rn.loaded};Rn.lengthComputable&&(_i.total=Rn.total),ut.next(_i)};return ii.addEventListener("load",Fn),ii.addEventListener("error",$n),ii.addEventListener("timeout",$n),ii.addEventListener("abort",$n),je.reportProgress&&(ii.addEventListener("progress",Qn),null!==si&&ii.upload&&ii.upload.addEventListener("progress",rr)),ii.send(si),ut.next({type:h.Sent}),()=>{ii.removeEventListener("error",$n),ii.removeEventListener("abort",$n),ii.removeEventListener("load",Fn),ii.removeEventListener("timeout",$n),je.reportProgress&&(ii.removeEventListener("progress",Qn),null!==si&&ii.upload&&ii.upload.removeEventListener("progress",rr)),ii.readyState!==ii.DONE&&ii.abort()}})))}static#e=this.\u0275fac=function(Ce){return new(Ce||bt)(t.KVO(y.N0))};static#t=this.\u0275prov=t.jDH({token:bt,factory:bt.\u0275fac})}return bt})();const tt=new t.nKC(""),zt=new t.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),St=new t.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class dt{}let Ae=(()=>{class bt{constructor(je,Ce,ot){this.doc=je,this.platform=Ce,this.cookieName=ot,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const je=this.doc.cookie||"";return je!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,y._b)(je,this.cookieName),this.lastCookieString=je),this.lastToken}static#e=this.\u0275fac=function(Ce){return new(Ce||bt)(t.KVO(y.qQ),t.KVO(t.Agw),t.KVO(zt))};static#t=this.\u0275prov=t.jDH({token:bt,factory:bt.\u0275fac})}return bt})();function we(bt,re){const je=bt.url.toLowerCase();if(!(0,t.WQX)(tt)||"GET"===bt.method||"HEAD"===bt.method||je.startsWith("http://")||je.startsWith("https://"))return re(bt);const Ce=(0,t.WQX)(dt).getToken(),ot=(0,t.WQX)(St);return null!=Ce&&!bt.headers.has(ot)&&(bt=bt.clone({headers:bt.headers.set(ot,Ce)})),re(bt)}var q=function(bt){return bt[bt.Interceptors=0]="Interceptors",bt[bt.LegacyInterceptors=1]="LegacyInterceptors",bt[bt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",bt[bt.NoXsrfProtection=3]="NoXsrfProtection",bt[bt.JsonpSupport=4]="JsonpSupport",bt[bt.RequestsMadeViaParent=5]="RequestsMadeViaParent",bt[bt.Fetch=6]="Fetch",bt}(q||{});function Ne(...bt){const re=[ne,oe,pt,{provide:F,useExisting:pt},{provide:R,useFactory:()=>(0,t.WQX)(Ke,{optional:!0})??(0,t.WQX)(oe)},{provide:_e,useValue:we,multi:!0},{provide:tt,useValue:!0},{provide:dt,useClass:Ae}];for(const je of bt)re.push(...je.\u0275providers);return(0,t.EmA)(re)}const $e=new t.nKC("");function Fe(){return function Re(bt,re){return{\u0275kind:bt,\u0275providers:re}}(q.LegacyInterceptors,[{provide:$e,useFactory:Ze},{provide:_e,useExisting:$e,multi:!0}])}let Pt=(()=>{class bt{static#e=this.\u0275fac=function(Ce){return new(Ce||bt)};static#t=this.\u0275mod=t.$C({type:bt});static#i=this.\u0275inj=t.G2t({providers:[Ne(Fe())]})}return bt})()},4438:(Qe,te,g)=>{"use strict";function e(i,a){return Object.is(i,a)}g.d(te,{bc$:()=>hh,iLQ:()=>lp,sZ2:()=>f1,hnV:()=>D8,Hbi:()=>V9,o8S:()=>Al,BIS:()=>Ef,gRc:()=>T9,Ql9:()=>kC,OM3:()=>du,Ocv:()=>PC,abz:()=>ml,Z63:()=>Da,aKT:()=>pd,uvJ:()=>So,zcH:()=>Bs,bkB:()=>Us,y_5:()=>ao,$GK:()=>rn,nKC:()=>Ni,zZn:()=>go,_q3:()=>W8,MKu:()=>Pu,xe9:()=>G3,Co$:()=>c7,Vns:()=>u0,SKi:()=>Ha,Xx1:()=>Oa,Agw:()=>ed,PLl:()=>lh,rOR:()=>o1,sFG:()=>z5,_9s:()=>b3,czy:()=>Lc,WPN:()=>Kc,kdw:()=>Fa,C4Q:()=>D1,NYb:()=>SC,giA:()=>u9,RxE:()=>C8,c1b:()=>ko,gXe:()=>ri,mal:()=>Ai,Af3:()=>De,tdH:()=>hu,L39:()=>Mp,EWP:()=>X3,a0P:()=>Pw,Ol2:()=>Y6,w6W:()=>Vb,oH4:()=>F8,QZP:()=>lb,Rfq:()=>St,WQX:()=>hn,naY:()=>S9,Hps:()=>R6,QuC:()=>so,EmA:()=>Ss,Udg:()=>kw,fpN:()=>qC,HJs:()=>Vw,N4e:()=>Z,vPA:()=>Mm,O8t:()=>Iw,H3F:()=>Qv,H8p:()=>Js,KH2:()=>ku,TgB:()=>B1,wOt:()=>be,WHO:()=>h9,e01:()=>E8,lNU:()=>_e,h9k:()=>j2,$MX:()=>y1,ZF7:()=>Xc,Kcf:()=>nc,e5t:()=>Dh,UyX:()=>m4,cWb:()=>Pf,osQ:()=>Yc,H5H:()=>Tg,Zy3:()=>pe,mq5:()=>C_,JZv:()=>Yt,LfX:()=>it,plB:()=>Ln,jNT:()=>T8,zjR:()=>f9,TL$:()=>ch,Tbb:()=>tt,rcV:()=>Ws,Vt3:()=>H6,GFd:()=>G6,OA$:()=>Nr,Jv_:()=>l8,aNF:()=>wv,R7$:()=>V4,BMQ:()=>rg,HbH:()=>vg,ZvI:()=>s_,AVh:()=>_g,vxM:()=>m_,wni:()=>av,VBU:()=>lc,FsC:()=>fo,jDH:()=>Li,G2t:()=>Qt,$C:()=>jo,EJ8:()=>Is,rXU:()=>$2,nrm:()=>jm,eu8:()=>Mg,bVm:()=>Xm,qex:()=>Wm,k0s:()=>Gm,j41:()=>R3,RV6:()=>x_,xGo:()=>f2,Mr5:()=>Eg,KVO:()=>zn,kS0:()=>Kl,QTQ:()=>Op,bIt:()=>Vg,lsd:()=>sv,joV:()=>cl,qSk:()=>T0,XpG:()=>Ug,nI1:()=>Lv,bMT:()=>Iv,i5U:()=>Rv,brH:()=>Ov,SdG:()=>q_,NAR:()=>J_,Y8G:()=>mg,FS9:()=>Gg,Mz_:()=>qm,FCK:()=>jg,lJ4:()=>Mv,eq3:()=>Ev,l_i:()=>h8,sMw:()=>Sv,mGM:()=>Yg,sdS:()=>lv,Dyx:()=>Cg,Z7z:()=>g_,fX1:()=>xg,Njj:()=>q1,tSv:()=>un,eBV:()=>w0,npT:()=>Uf,n$t:()=>Uh,xc7:()=>gg,Kam:()=>Hg,zvX:()=>Sg,DNE:()=>mu,C5r:()=>Nv,EFF:()=>Jg,JRh:()=>t8,SpI:()=>tp,Lme:()=>ip,E5c:()=>i8,LHq:()=>np,DH7:()=>rp,mxI:()=>o8,R50:()=>a8,GBs:()=>ov});let t=null,w=!1,S=1;const l=Symbol("SIGNAL");function x(i){const a=t;return t=i,a}const T={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function y(i){if(w)throw new Error("");if(null===t)return;t.consumerOnSignalRead(i);const a=t.nextProducerIndex++;Me(t),a<t.producerNode.length&&t.producerNode[a]!==i&&ae(t)&&ge(t.producerNode[a],t.producerIndexOfThis[a]),t.producerNode[a]!==i&&(t.producerNode[a]=i,t.producerIndexOfThis[a]=ae(t)?ie(i,t,a):0),t.producerLastReadVersion[a]=i.version}function R(i){if((!ae(i)||i.dirty)&&(i.dirty||i.lastCleanEpoch!==S)){if(!i.producerMustRecompute(i)&&!J(i))return i.dirty=!1,void(i.lastCleanEpoch=S);i.producerRecomputeValue(i),i.dirty=!1,i.lastCleanEpoch=S}}function z(i){if(void 0===i.liveConsumerNode)return;const a=w;w=!0;try{for(const s of i.liveConsumerNode)s.dirty||$(s)}finally{w=a}}function W(){return!1!==t?.consumerAllowSignalWrites}function $(i){i.dirty=!0,z(i),i.consumerMarkedDirty?.(i)}function j(i){return i&&(i.nextProducerIndex=0),x(i)}function Q(i,a){if(x(a),i&&void 0!==i.producerNode&&void 0!==i.producerIndexOfThis&&void 0!==i.producerLastReadVersion){if(ae(i))for(let s=i.nextProducerIndex;s<i.producerNode.length;s++)ge(i.producerNode[s],i.producerIndexOfThis[s]);for(;i.producerNode.length>i.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function J(i){Me(i);for(let a=0;a<i.producerNode.length;a++){const s=i.producerNode[a],p=i.producerLastReadVersion[a];if(p!==s.version||(R(s),p!==s.version))return!0}return!1}function ee(i){if(Me(i),ae(i))for(let a=0;a<i.producerNode.length;a++)ge(i.producerNode[a],i.producerIndexOfThis[a]);i.producerNode.length=i.producerLastReadVersion.length=i.producerIndexOfThis.length=0,i.liveConsumerNode&&(i.liveConsumerNode.length=i.liveConsumerIndexOfThis.length=0)}function ie(i,a,s){if(Te(i),Me(i),0===i.liveConsumerNode.length)for(let p=0;p<i.producerNode.length;p++)i.producerIndexOfThis[p]=ie(i.producerNode[p],i,p);return i.liveConsumerIndexOfThis.push(s),i.liveConsumerNode.push(a)-1}function ge(i,a){if(Te(i),Me(i),1===i.liveConsumerNode.length)for(let p=0;p<i.producerNode.length;p++)ge(i.producerNode[p],i.producerIndexOfThis[p]);const s=i.liveConsumerNode.length-1;if(i.liveConsumerNode[a]=i.liveConsumerNode[s],i.liveConsumerIndexOfThis[a]=i.liveConsumerIndexOfThis[s],i.liveConsumerNode.length--,i.liveConsumerIndexOfThis.length--,a<i.liveConsumerNode.length){const p=i.liveConsumerIndexOfThis[a],E=i.liveConsumerNode[a];Me(E),E.producerIndexOfThis[p]=a}}function ae(i){return i.consumerIsAlwaysLive||(i?.liveConsumerNode?.length??0)>0}function Me(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function Te(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}const D=Symbol("UNSET"),n=Symbol("COMPUTING"),c=Symbol("ERRORED"),m={...T,value:D,dirty:!0,error:null,equal:e,producerMustRecompute:i=>i.value===D||i.value===n,producerRecomputeValue(i){if(i.value===n)throw new Error("Detected cycle in computations.");const a=i.value;i.value=n;const s=j(i);let p;try{p=i.computation()}catch(E){p=c,i.error=E}finally{Q(i,s)}a!==D&&a!==c&&p!==c&&i.equal(a,p)?i.value=a:(i.value=p,i.version++)}};let C=function h(){throw new Error};function k(){C()}let _=null;function N(i,a){W()||k(),i.equal(i.value,a)||(i.value=a,function ze(i){i.version++,function F(){S++}(),z(i),_?.()}(i))}const Ee={...T,equal:e,value:void 0};const Ke=()=>{},se={...T,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:i=>{null!==i.schedule&&i.schedule(i.ref)},hasRun:!1,cleanupFn:Ke};var me=g(1413),ce=g(8359),fe=g(4412),ke=g(6354);const _e="https://g.co/ng/security#xss";class be extends Error{constructor(a,s){super(pe(a,s)),this.code=a}}function pe(i,a){return`NG0${Math.abs(i)}${a?": "+a:""}`}function ye(i){return{toString:i}.toString()}const Ie="__parameters__";function Ye(i,a,s){return ye(()=>{const p=function yt(i){return function(...s){if(i){const p=i(...s);for(const E in p)this[E]=p[E]}}}(a);function E(...P){if(this instanceof E)return p.apply(this,P),this;const K=new E(...P);return le.annotation=K,le;function le(Se,Je,vt){const Bt=Se.hasOwnProperty(Ie)?Se[Ie]:Object.defineProperty(Se,Ie,{value:[]})[Ie];for(;Bt.length<=vt;)Bt.push(null);return(Bt[vt]=Bt[vt]||[]).push(K),Se}}return s&&(E.prototype=Object.create(s.prototype)),E.prototype.ngMetadataName=i,E.annotationCls=E,E})}const Yt=globalThis;function Vt(i){for(let a in i)if(i[a]===Vt)return a;throw Error("Could not find renamed property on target object.")}function oe(i,a){for(const s in a)a.hasOwnProperty(s)&&!i.hasOwnProperty(s)&&(i[s]=a[s])}function tt(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(tt).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const a=i.toString();if(null==a)return""+a;const s=a.indexOf("\n");return-1===s?a:a.substring(0,s)}function $t(i,a){return null==i||""===i?null===a?"":a:null==a||""===a?i:i+" "+a}const Jt=Vt({__forward_ref__:Vt});function St(i){return i.__forward_ref__=St,i.toString=function(){return tt(this())},i}function dt(i){return Ae(i)?i():i}function Ae(i){return"function"==typeof i&&i.hasOwnProperty(Jt)&&i.__forward_ref__===St}function Li(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function Qt(i){return{providers:i.providers||[],imports:i.imports||[]}}function Mt(i){return ct(i,xi)||ct(i,zi)}function it(i){return null!==Mt(i)}function ct(i,a){return i.hasOwnProperty(a)?i[a]:null}function Ut(i){return i&&(i.hasOwnProperty(Si)||i.hasOwnProperty(en))?i[Si]:null}const xi=Vt({\u0275prov:Vt}),Si=Vt({\u0275inj:Vt}),zi=Vt({ngInjectableDef:Vt}),en=Vt({ngInjectorDef:Vt});class Ni{constructor(a,s){this._desc=a,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof s?this.__NG_ELEMENT_ID__=s:void 0!==s&&(this.\u0275prov=Li({token:this,providedIn:s.providedIn||"root",factory:s.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Pi(i){return i&&!!i.\u0275providers}const mn=Vt({\u0275cmp:Vt}),Fn=Vt({\u0275dir:Vt}),$n=Vt({\u0275pipe:Vt}),Yn=Vt({\u0275mod:Vt}),Qn=Vt({\u0275fac:Vt}),rr=Vt({__NG_ELEMENT_ID__:Vt}),Rn=Vt({__NG_ENV_ID__:Vt});function _i(i){return"string"==typeof i?i:null==i?"":String(i)}function ji(i,a){throw new be(-201,!1)}var rn=function(i){return i[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional",i}(rn||{});let ar;function sr(){return ar}function nr(i){const a=ar;return ar=i,a}function or(i,a,s){const p=Mt(i);return p&&"root"==p.providedIn?void 0===p.value?p.value=p.factory():p.value:s&rn.Optional?null:void 0!==a?a:void ji()}const zr={},Ho="__NG_DI_FLAG__",xo="ngTempTokenPath",Rr=/\n/gm,Ea="__source";let no;function xr(i){const a=no;return no=i,a}function Sa(i,a=rn.Default){if(void 0===no)throw new be(-203,!1);return null===no?or(i,void 0,a):no.get(i,a&rn.Optional?null:void 0,a)}function zn(i,a=rn.Default){return(sr()||Sa)(dt(i),a)}function hn(i,a=rn.Default){return zn(i,Yr(a))}function Yr(i){return typeof i>"u"||"number"==typeof i?i:(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Ta(i){const a=[];for(let s=0;s<i.length;s++){const p=dt(i[s]);if(Array.isArray(p)){if(0===p.length)throw new be(900,!1);let E,P=rn.Default;for(let K=0;K<p.length;K++){const le=p[K],Se=wo(le);"number"==typeof Se?-1===Se?E=le.token:P|=Se:E=le}a.push(zn(E,P))}else a.push(zn(p))}return a}function Co(i,a){return i[Ho]=a,i.prototype[Ho]=a,i}function wo(i){return i[Ho]}const ao=Co(Ye("Inject",i=>({token:i})),-1),Oa=Co(Ye("Optional"),8),Fa=Co(Ye("SkipSelf"),4);function kr(i,a){return i.hasOwnProperty(Qn)?i[Qn]:null}function Ua(i,a){i.forEach(s=>Array.isArray(s)?Ua(s,a):a(s))}function rs(i,a,s){a>=i.length?i.push(s):i.splice(a,0,s)}function Ga(i,a){return a>=i.length-1?i.pop():i.splice(a,1)[0]}function ga(i,a,s){let p=Lr(i,a);return p>=0?i[1|p]=s:(p=~p,function Uo(i,a,s,p){let E=i.length;if(E==a)i.push(s,p);else if(1===E)i.push(p,i[0]),i[0]=s;else{for(E--,i.push(i[E-1],i[E]);E>a;)i[E]=i[E-2],E--;i[a]=s,i[a+1]=p}}(i,p,a,s)),p}function Za(i,a){const s=Lr(i,a);if(s>=0)return i[1|s]}function Lr(i,a){return function Oo(i,a,s){let p=0,E=i.length>>s;for(;E!==p;){const P=p+(E-p>>1),K=i[P<<s];if(a===K)return P<<s;K>a?E=P:p=P+1}return~(E<<s)}(i,a,1)}const qr={},Bn=[],Da=new Ni(""),Go=new Ni("",-1),Wa=new Ni("");class as{get(a,s=zr){if(s===zr){const p=new Error(`NullInjectorError: No provider for ${tt(a)}!`);throw p.name="NullInjectorError",p}return s}}var Ft=function(i){return i[i.OnPush=0]="OnPush",i[i.Default=1]="Default",i}(Ft||{}),ri=function(i){return i[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",i}(ri||{}),xt=function(i){return i[i.None=0]="None",i[i.SignalBased=1]="SignalBased",i[i.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",i}(xt||{});function ai(i,a,s){let p=i.length;for(;;){const E=i.indexOf(a,s);if(-1===E)return E;if(0===E||i.charCodeAt(E-1)<=32){const P=a.length;if(E+P===p||i.charCodeAt(E+P)<=32)return E}s=E+1}}function Ei(i,a,s){let p=0;for(;p<s.length;){const E=s[p];if("number"==typeof E){if(0!==E)break;p++;const P=s[p++],K=s[p++],le=s[p++];i.setAttribute(a,K,le,P)}else{const P=E,K=s[++p];tr(P)?i.setProperty(a,P,K):i.setAttribute(a,P,K),p++}}return p}function Ki(i){return 3===i||4===i||6===i}function tr(i){return 64===i.charCodeAt(0)}function Or(i,a){if(null!==a&&0!==a.length)if(null===i||0===i.length)i=a.slice();else{let s=-1;for(let p=0;p<a.length;p++){const E=a[p];"number"==typeof E?s=E:0===s||Fr(i,s,E,null,-1===s||2===s?a[++p]:null)}}return i}function Fr(i,a,s,p,E){let P=0,K=i.length;if(-1===a)K=-1;else for(;P<i.length;){const le=i[P++];if("number"==typeof le){if(le===a){K=-1;break}if(le>a){K=P-1;break}}}for(;P<i.length;){const le=i[P];if("number"==typeof le)break;if(le===s){if(null===p)return void(null!==E&&(i[P+1]=E));if(p===i[P+1])return void(i[P+2]=E)}P++,null!==p&&P++,null!==E&&P++}-1!==K&&(i.splice(K,0,a),P=K+1),i.splice(P++,0,s),null!==p&&i.splice(P++,0,p),null!==E&&i.splice(P++,0,E)}const Mo="ng-template";function gs(i,a,s,p){let E=0;if(p){for(;E<a.length&&"string"==typeof a[E];E+=2)if("class"===a[E]&&-1!==ai(a[E+1].toLowerCase(),s,0))return!0}else if(oo(i))return!1;if(E=a.indexOf(1,E),E>-1){let P;for(;++E<a.length&&"string"==typeof(P=a[E]);)if(P.toLowerCase()===s)return!0}return!1}function oo(i){return 4===i.type&&i.value!==Mo}function Ms(i,a,s){return a===(4!==i.type||s?i.value:Mo)}function oa(i,a,s){let p=4;const E=i.attrs,P=null!==E?function At(i){for(let a=0;a<i.length;a++)if(Ki(i[a]))return a;return i.length}(E):0;let K=!1;for(let le=0;le<a.length;le++){const Se=a[le];if("number"!=typeof Se){if(!K)if(4&p){if(p=2|1&p,""!==Se&&!Ms(i,Se,s)||""===Se&&1===a.length){if(Ri(p))return!1;K=!0}}else if(8&p){if(null===E||!gs(i,E,Se,s)){if(Ri(p))return!1;K=!0}}else{const Je=a[++le],vt=lt(Se,E,oo(i),s);if(-1===vt){if(Ri(p))return!1;K=!0;continue}if(""!==Je){let Bt;if(Bt=vt>P?"":E[vt+1].toLowerCase(),2&p&&Je!==Bt){if(Ri(p))return!1;K=!0}}}}else{if(!K&&!Ri(p)&&!Ri(Se))return!1;if(K&&Ri(Se))continue;K=!1,p=Se|1&p}}return Ri(p)||K}function Ri(i){return!(1&i)}function lt(i,a,s,p){if(null===a)return-1;let E=0;if(p||!s){let P=!1;for(;E<a.length;){const K=a[E];if(K===i)return E;if(3===K||6===K)P=!0;else{if(1===K||2===K){let le=a[++E];for(;"string"==typeof le;)le=a[++E];continue}if(4===K)break;if(0===K){E+=4;continue}}E+=P?1:2}return-1}return function ni(i,a){let s=i.indexOf(4);if(s>-1)for(s++;s<i.length;){const p=i[s];if("number"==typeof p)return-1;if(p===a)return s;s++}return-1}(a,i)}function ht(i,a,s=!1){for(let p=0;p<a.length;p++)if(oa(i,a[p],s))return!0;return!1}function pn(i,a){e:for(let s=0;s<a.length;s++){const p=a[s];if(i.length===p.length){for(let E=0;E<i.length;E++)if(i[E]!==p[E])continue e;return!0}}return!1}function Zn(i,a){return i?":not("+a.trim()+")":a}function Fo(i){let a=i[0],s=1,p=2,E="",P=!1;for(;s<i.length;){let K=i[s];if("string"==typeof K)if(2&p){const le=i[++s];E+="["+K+(le.length>0?'="'+le+'"':"")+"]"}else 8&p?E+="."+K:4&p&&(E+=" "+K);else""!==E&&!Ri(K)&&(a+=Zn(P,E),E=""),p=K,P=P||!Ri(p);s++}return""!==E&&(a+=Zn(P,E)),a}function lc(i){return ye(()=>{const a=Aa(i),s={...a,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===Ft.OnPush,directiveDefs:null,pipeDefs:null,dependencies:a.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||ri.Emulated,styles:i.styles||Bn,_:null,schemas:i.schemas||null,tView:null,id:""};$s(s);const p=i.dependencies;return s.directiveDefs=dn(p,!1),s.pipeDefs=dn(p,!0),s.id=function uc(i){let a=0;const s=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(const E of s)a=Math.imul(31,a)+E.charCodeAt(0)|0;return a+=2147483648,"c"+a}(s),s})}function dc(i){return Vn(i)||Kr(i)}function hc(i){return null!==i}function jo(i){return ye(()=>({type:i.type,bootstrap:i.bootstrap||Bn,declarations:i.declarations||Bn,imports:i.imports||Bn,exports:i.exports||Bn,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Wo(i,a){if(null==i)return qr;const s={};for(const p in i)if(i.hasOwnProperty(p)){const E=i[p];let P,K,le=xt.None;Array.isArray(E)?(le=E[0],P=E[1],K=E[2]??P):(P=E,K=E),a?(s[P]=le!==xt.None?[p,le]:p,a[P]=K):s[P]=p}return s}function fo(i){return ye(()=>{const a=Aa(i);return $s(a),a})}function Is(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function Vn(i){return i[mn]||null}function Kr(i){return i[Fn]||null}function ua(i){return i[$n]||null}function so(i){const a=Vn(i)||Kr(i)||ua(i);return null!==a&&a.standalone}function Ir(i,a){const s=i[Yn]||null;if(!s&&!0===a)throw new Error(`Type ${tt(i)} does not have '\u0275mod' property.`);return s}function Aa(i){const a={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:a,inputTransforms:null,inputConfig:i.inputs||qr,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||Bn,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Wo(i.inputs,a),outputs:Wo(i.outputs),debugInfo:null}}function $s(i){i.features?.forEach(a=>a(i))}function dn(i,a){if(!i)return null;const s=a?ua:dc;return()=>("function"==typeof i?i():i).map(p=>s(p)).filter(hc)}function Ss(i){return{\u0275providers:i}}function fc(...i){return{\u0275providers:_s(0,i),\u0275fromNgModule:!0}}function _s(i,...a){const s=[],p=new Set;let E;const P=K=>{s.push(K)};return Ua(a,K=>{const le=K;vs(le,P,[],p)&&(E||=[],E.push(le))}),void 0!==E&&kl(E,P),s}function kl(i,a){for(let s=0;s<i.length;s++){const{ngModule:p,providers:E}=i[s];mc(E,P=>{a(P,p)})}}function vs(i,a,s,p){if(!(i=dt(i)))return!1;let E=null,P=Ut(i);const K=!P&&Vn(i);if(P||K){if(K&&!K.standalone)return!1;E=i}else{const Se=i.ngModule;if(P=Ut(Se),!P)return!1;E=Se}const le=p.has(E);if(K){if(le)return!1;if(p.add(E),K.dependencies){const Se="function"==typeof K.dependencies?K.dependencies():K.dependencies;for(const Je of Se)vs(Je,a,s,p)}}else{if(!P)return!1;{if(null!=P.imports&&!le){let Je;p.add(E);try{Ua(P.imports,vt=>{vs(vt,a,s,p)&&(Je||=[],Je.push(vt))})}finally{}void 0!==Je&&kl(Je,a)}if(!le){const Je=kr(E)||(()=>new E);a({provide:E,useFactory:Je,deps:Bn},E),a({provide:Wa,useValue:E,multi:!0},E),a({provide:Da,useValue:()=>zn(E),multi:!0},E)}const Se=P.providers;if(null!=Se&&!le){const Je=i;mc(Se,vt=>{a(vt,Je)})}}}return E!==i&&void 0!==i.providers}function mc(i,a){for(let s of i)Pi(s)&&(s=s.\u0275providers),Array.isArray(s)?mc(s,a):a(s)}const el=Vt({provide:String,useValue:Vt});function Qs(i){return null!==i&&"object"==typeof i&&el in i}function Eo(i){return"function"==typeof i}const Js=new Ni(""),bs={},gc={};let _c;function os(){return void 0===_c&&(_c=new as),_c}class So{}class Os extends So{get destroyed(){return this._destroyed}constructor(a,s,p,E){super(),this.parent=s,this.source=p,this.scopes=E,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,kt(a,K=>this.processProvider(K)),this.records.set(Go,ss(void 0,this)),E.has("environment")&&this.records.set(So,ss(void 0,this));const P=this.records.get(Js);null!=P&&"string"==typeof P.value&&this.scopes.add(P.value),this.injectorDefTypes=new Set(this.get(Wa,Bn,rn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const a=x(null);try{for(const p of this._ngOnDestroyHooks)p.ngOnDestroy();const s=this._onDestroyHooks;this._onDestroyHooks=[];for(const p of s)p()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),x(a)}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const s=xr(this),p=nr(void 0);try{return a()}finally{xr(s),nr(p)}}get(a,s=zr,p=rn.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(Rn))return a[Rn](this);p=Yr(p);const P=xr(this),K=nr(void 0);try{if(!(p&rn.SkipSelf)){let Se=this.records.get(a);if(void 0===Se){const Je=function Rt(i){return"function"==typeof i||"object"==typeof i&&i instanceof Ni}(a)&&Mt(a);Se=Je&&this.injectableDefInScope(Je)?ss(tl(a),bs):null,this.records.set(a,Se)}if(null!=Se)return this.hydrate(a,Se)}return(p&rn.Self?os():this.parent).get(a,s=p&rn.Optional&&s===zr?null:s)}catch(le){if("NullInjectorError"===le.name){if((le[xo]=le[xo]||[]).unshift(tt(a)),P)throw le;return function zo(i,a,s,p){const E=i[xo];throw a[Ea]&&E.unshift(a[Ea]),i.message=function da(i,a,s,p=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let E=tt(a);if(Array.isArray(a))E=a.map(tt).join(" -> ");else if("object"==typeof a){let P=[];for(let K in a)if(a.hasOwnProperty(K)){let le=a[K];P.push(K+":"+("string"==typeof le?JSON.stringify(le):tt(le)))}E=`{${P.join(", ")}}`}return`${s}${p?"("+p+")":""}[${E}]: ${i.replace(Rr,"\n ")}`}("\n"+i.message,E,s,p),i.ngTokenPath=E,i[xo]=null,i}(le,a,"R3InjectorError",this.source)}throw le}finally{nr(K),xr(P)}}resolveInjectorInitializers(){const a=x(null),s=xr(this),p=nr(void 0);try{const P=this.get(Da,Bn,rn.Self);for(const K of P)K()}finally{xr(s),nr(p),x(a)}}toString(){const a=[],s=this.records;for(const p of s.keys())a.push(tt(p));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new be(205,!1)}processProvider(a){let s=Eo(a=dt(a))?a:dt(a&&a.provide);const p=function Il(i){return Qs(i)?ss(void 0,i.useValue):ss(il(i),bs)}(a);if(!Eo(a)&&!0===a.multi){let E=this.records.get(s);E||(E=ss(void 0,bs,!0),E.factory=()=>Ta(E.multi),this.records.set(s,E)),s=a,E.multi.push(a)}this.records.set(s,p)}hydrate(a,s){const p=x(null);try{return s.value===bs&&(s.value=gc,s.value=s.factory()),"object"==typeof s.value&&s.value&&function nt(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}finally{x(p)}}injectableDefInScope(a){if(!a.providedIn)return!1;const s=dt(a.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(a){const s=this._onDestroyHooks.indexOf(a);-1!==s&&this._onDestroyHooks.splice(s,1)}}function tl(i){const a=Mt(i),s=null!==a?a.factory:kr(i);if(null!==s)return s;if(i instanceof Ni)throw new be(204,!1);if(i instanceof Function)return function Rc(i){if(i.length>0)throw new be(204,!1);const s=function wt(i){return i&&(i[xi]||i[zi])||null}(i);return null!==s?()=>s.factory(i):()=>new i}(i);throw new be(204,!1)}function il(i,a,s){let p;if(Eo(i)){const E=dt(i);return kr(E)||tl(E)}if(Qs(i))p=()=>dt(i.useValue);else if(function Rs(i){return!(!i||!i.useFactory)}(i))p=()=>i.useFactory(...Ta(i.deps||[]));else if(function Zs(i){return!(!i||!i.useExisting)}(i))p=()=>zn(dt(i.useExisting));else{const E=dt(i&&(i.useClass||i.provide));if(!function Fs(i){return!!i.deps}(i))return kr(E)||tl(E);p=()=>new E(...Ta(i.deps))}return p}function ss(i,a,s=!1){return{factory:i,value:a,multi:s?[]:void 0}}function kt(i,a){for(const s of i)Array.isArray(s)?kt(s,a):s&&Pi(s)?kt(s.\u0275providers,a):a(s)}function Z(i,a){i instanceof Os&&i.assertNotDestroyed();const p=xr(i),E=nr(void 0);try{return a()}finally{xr(p),nr(E)}}function Ve(){return void 0!==sr()||null!=function ho(){return no}()}function De(i){if(!Ve())throw new be(-203,!1)}const Hn=0,Bi=1,sn=2,fr=3,$r=4,fa=5,Ya=6,vc=7,Ur=8,va=9,cs=10,Wn=11,bc=12,Rl=13,yc=14,Qr=15,mo=16,To=17,qs=18,Oc=19,Ns=20,Gi=21,Fc=22,Ps=23,kn=25,nl=1,Xo=7,Nc=9,ea=10;var Fl=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i}(Fl||{});function ka(i){return Array.isArray(i)&&"object"==typeof i[nl]}function ba(i){return Array.isArray(i)&&!0===i[nl]}function Ts(i){return!!(4&i.flags)}function Vs(i){return i.componentOffset>-1}function Ja(i){return!(1&~i.flags)}function En(i){return!!i.template}function nn(i){return!!(512&i[sn])}class _r{constructor(a,s,p){this.previousValue=a,this.currentValue=s,this.firstChange=p}isFirstChange(){return this.firstChange}}function ys(i,a,s,p){null!==a?a.applyValueToInputSignal(a,p):i[s]=p}function Nr(){return Ka}function Ka(i){return i.type.prototype.ngOnChanges&&(i.setInput=xc),ls}function ls(){const i=Ko(this),a=i?.current;if(a){const s=i.previous;if(s===qr)i.previous=a;else for(let p in a)s[p]=a[p];i.current=null,this.ngOnChanges(a)}}function xc(i,a,s,p,E){const P=this.declaredInputs[p],K=Ko(i)||function Ds(i,a){return i[Pl]=a}(i,{previous:qr,current:null}),le=K.current||(K.current={}),Se=K.previous,Je=Se[P];le[P]=new _r(Je&&Je.currentValue,s,Se===qr),ys(i,a,E,s)}Nr.ngInherit=!0;const Pl="__ngSimpleChanges__";function Ko(i){return i[Pl]||null}const As=function(i,a,s){},Vl="svg";function wr(i){for(;Array.isArray(i);)i=i[Hn];return i}function La(i,a){return wr(a[i])}function po(i,a){return wr(a[i.index])}function ec(i,a){return i.data[a]}function Hl(i,a){return i[a]}function $o(i,a){const s=a[i];return ka(s)?s:s[Hn]}function zd(i){return!(128&~i[sn])}function qa(i,a){return null==a?null:i[a]}function Pc(i){i[To]=0}function y0(i){1024&i[sn]||(i[sn]|=1024,zd(i)&&Z1(i))}function al(i){return!!(9216&i[sn]||i[Ps]?.dirty)}function x0(i){i[cs].changeDetectionScheduler?.notify(7),64&i[sn]&&(i[sn]|=1024),al(i)&&Z1(i)}function Z1(i){i[cs].changeDetectionScheduler?.notify(0);let a=ol(i);for(;null!==a&&!(8192&a[sn])&&(a[sn]|=8192,zd(a));)a=ol(a)}function Bd(i,a){if(!(256&~i[sn]))throw new be(911,!1);null===i[Gi]&&(i[Gi]=[]),i[Gi].push(a)}function ol(i){const a=i[fr];return ba(a)?a[fr]:a}const Nn={lFrame:$u(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let C0=!1;function ju(){return Nn.bindingsEnabled}function sl(){return null!==Nn.skipHydrationRootTNode}function Ii(){return Nn.lFrame.lView}function ur(){return Nn.lFrame.tView}function w0(i){return Nn.lFrame.contextLView=i,i[Ur]}function q1(i){return Nn.lFrame.contextLView=null,i}function jr(){let i=M0();for(;null!==i&&64===i.type;)i=i.parent;return i}function M0(){return Nn.lFrame.currentTNode}function Ia(i,a){const s=Nn.lFrame;s.currentTNode=i,s.isParent=a}function ds(){return Nn.lFrame.isParent}function Ra(){Nn.lFrame.isParent=!1}function Yu(){return C0}function jd(i){C0=i}function hs(){const i=Nn.lFrame;let a=i.bindingRootIndex;return-1===a&&(a=i.bindingRootIndex=i.tView.bindingStartIndex),a}function tc(){return Nn.lFrame.bindingIndex}function us(){return Nn.lFrame.bindingIndex++}function Mc(i){const a=Nn.lFrame,s=a.bindingIndex;return a.bindingIndex=a.bindingIndex+i,s}function xa(i,a){const s=Nn.lFrame;s.bindingIndex=s.bindingRootIndex=i,n2(a)}function n2(i){Nn.lFrame.currentDirectiveIndex=i}function Ca(i){const a=Nn.lFrame.currentDirectiveIndex;return-1===a?null:i[a]}function Vc(){return Nn.lFrame.currentQueryIndex}function ic(i){Nn.lFrame.currentQueryIndex=i}function Ul(i){const a=i[Bi];return 2===a.type?a.declTNode:1===a.type?i[fa]:null}function zs(i,a,s){if(s&rn.SkipSelf){let E=a,P=i;for(;!(E=E.parent,null!==E||s&rn.Host||(E=Ul(P),null===E||(P=P[yc],10&E.type))););if(null===E)return!1;a=E,i=P}const p=Nn.lFrame=Wd();return p.currentTNode=a,p.lView=i,!0}function E0(i){const a=Wd(),s=i[Bi];Nn.lFrame=a,a.currentTNode=s.firstChild,a.lView=i,a.tView=s,a.contextLView=i,a.bindingIndex=s.bindingStartIndex,a.inI18n=!1}function Wd(){const i=Nn.lFrame,a=null===i?null:i.child;return null===a?$u(i):a}function $u(i){const a={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:i,child:null,inI18n:!1};return null!==i&&(i.child=a),a}function Gl(){const i=Nn.lFrame;return Nn.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const Xd=Gl;function S0(){const i=Gl();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function Va(){return Nn.lFrame.selectedIndex}function Hc(i){Nn.lFrame.selectedIndex=i}function Pr(){const i=Nn.lFrame;return ec(i.tView,i.selectedIndex)}function T0(){Nn.lFrame.currentNamespace=Vl}function cl(){!function A0(){Nn.lFrame.currentNamespace=null}()}let Zu=!0;function Yd(){return Zu}function Ec(i){Zu=i}function r2(i,a){for(let s=a.directiveStart,p=a.directiveEnd;s<p;s++){const P=i.data[s].type.prototype,{ngAfterContentInit:K,ngAfterContentChecked:le,ngAfterViewInit:Se,ngAfterViewChecked:Je,ngOnDestroy:vt}=P;K&&(i.contentHooks??=[]).push(-s,K),le&&((i.contentHooks??=[]).push(s,le),(i.contentCheckHooks??=[]).push(s,le)),Se&&(i.viewHooks??=[]).push(-s,Se),Je&&((i.viewHooks??=[]).push(s,Je),(i.viewCheckHooks??=[]).push(s,Je)),null!=vt&&(i.destroyHooks??=[]).push(s,vt)}}function a2(i,a,s){s2(i,a,3,s)}function o2(i,a,s,p){(3&i[sn])===s&&s2(i,a,s,p)}function Kd(i,a){let s=i[sn];(3&s)===a&&(s&=16383,s+=1,i[sn]=s)}function s2(i,a,s,p){const P=p??-1,K=a.length-1;let le=0;for(let Se=void 0!==p?65535&i[To]:0;Se<K;Se++)if("number"==typeof a[Se+1]){if(le=a[Se],null!=p&&le>=p)break}else a[Se]<0&&(i[To]+=65536),(le<P||-1==P)&&(ll(i,s,a,Se),i[To]=(4294901760&i[To])+Se+2),Se++}function L0(i,a){As(4,i,a);const s=x(null);try{a.call(i)}finally{x(s),As(5,i,a)}}function ll(i,a,s,p){const E=s[p]<0,P=s[p+1],le=i[E?-s[p]:s[p]];E?i[sn]>>14<i[To]>>16&&(3&i[sn])===a&&(i[sn]+=16384,L0(le,P)):L0(le,P)}const zc=-1;class Bc{constructor(a,s,p){this.factory=a,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=p}}function hl(i){return i!==zc}function Sc(i){return 32767&i}function ul(i,a){let s=function Tr(i){return i>>16}(i),p=a;for(;s>0;)p=p[yc],s--;return p}let R0=!0;function hd(i){const a=R0;return R0=i,a}const $d=255,Qd=5;let jl=0;const Tc={};function Uc(i,a){const s=Zd(i,a);if(-1!==s)return s;const p=a[Bi];p.firstCreatePass&&(i.injectorIndex=a.length,O0(p.data,i),O0(a,null),O0(p.blueprint,null));const E=Wl(i,a),P=i.injectorIndex;if(hl(E)){const K=Sc(E),le=ul(E,a),Se=le[Bi].data;for(let Je=0;Je<8;Je++)a[P+Je]=le[K+Je]|Se[K+Je]}return a[P+8]=E,P}function O0(i,a){i.push(0,0,0,0,0,0,0,0,a)}function Zd(i,a){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===a[i.injectorIndex+8]?-1:i.injectorIndex}function Wl(i,a){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let s=0,p=null,E=a;for(;null!==E;){if(p=z0(E),null===p)return zc;if(s++,E=E[yc],-1!==p.injectorIndex)return p.injectorIndex|s<<16}return zc}function fl(i,a,s){!function l2(i,a,s){let p;"string"==typeof s?p=s.charCodeAt(0)||0:s.hasOwnProperty(rr)&&(p=s[rr]),null==p&&(p=s[rr]=jl++);const E=p&$d;a.data[i+(E>>Qd)]|=1<<E}(i,a,s)}function d2(i,a,s){if(s&rn.Optional||void 0!==i)return i;ji()}function eo(i,a,s,p){if(s&rn.Optional&&void 0===p&&(p=null),!(s&(rn.Self|rn.Host))){const E=i[va],P=nr(void 0);try{return E?E.get(a,p,s&rn.Optional):or(a,p,s&rn.Optional)}finally{nr(P)}}return d2(p,0,s)}function N0(i,a,s,p=rn.Default,E){if(null!==i){if(2048&a[sn]&&!(p&rn.Self)){const K=function H0(i,a,s,p,E){let P=i,K=a;for(;null!==P&&null!==K&&2048&K[sn]&&!(512&K[sn]);){const le=h2(P,K,s,p|rn.Self,Tc);if(le!==Tc)return le;let Se=P.parent;if(!Se){const Je=K[Ns];if(Je){const vt=Je.get(s,Tc,p);if(vt!==Tc)return vt}Se=z0(K),K=K[yc]}P=Se}return E}(i,a,s,p,Tc);if(K!==Tc)return K}const P=h2(i,a,s,p,Tc);if(P!==Tc)return P}return eo(a,s,p,E)}function h2(i,a,s,p,E){const P=function ud(i){if("string"==typeof i)return i.charCodeAt(0)||0;const a=i.hasOwnProperty(rr)?i[rr]:void 0;return"number"==typeof a?a>=0?a&$d:V0:a}(s);if("function"==typeof P){if(!zs(a,i,p))return p&rn.Host?d2(E,0,p):eo(a,s,p,E);try{let K;if(K=P(p),null!=K||p&rn.Optional)return K;ji()}finally{Xd()}}else if("number"==typeof P){let K=null,le=Zd(i,a),Se=zc,Je=p&rn.Host?a[Qr][fa]:null;for((-1===le||p&rn.SkipSelf)&&(Se=-1===le?Wl(i,a):a[le+8],Se!==zc&&u2(p,!1)?(K=a[Bi],le=Sc(Se),a=ul(Se,a)):le=-1);-1!==le;){const vt=a[Bi];if(P0(P,le,vt.data)){const Bt=Dr(le,a,s,K,p,Je);if(Bt!==Tc)return Bt}Se=a[le+8],Se!==zc&&u2(p,a[Bi].data[le+8]===Je)&&P0(P,le,a)?(K=vt,le=Sc(Se),a=ul(Se,a)):le=-1}}return E}function Dr(i,a,s,p,E,P){const K=a[Bi],le=K.data[i+8],vt=Jd(le,K,s,null==p?Vs(le)&&R0:p!=K&&!!(3&le.type),E&rn.Host&&P===le);return null!==vt?ks(a,K,vt,le):Tc}function Jd(i,a,s,p,E){const P=i.providerIndexes,K=a.data,le=1048575&P,Se=i.directiveStart,vt=P>>20,ti=E?le+vt:i.directiveEnd;for(let ui=p?le:le+vt;ui<ti;ui++){const bi=K[ui];if(ui<Se&&s===bi||ui>=Se&&bi.type===s)return ui}if(E){const ui=K[Se];if(ui&&En(ui)&&ui.type===s)return Se}return null}function ks(i,a,s,p){let E=i[s];const P=a.data;if(function I0(i){return i instanceof Bc}(E)){const K=E;K.resolving&&function hi(i,a){throw a&&a.join(" > "),new be(-200,i)}(function Oi(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():_i(i)}(P[s]));const le=hd(K.canSeeViewProviders);K.resolving=!0;const Je=K.injectImpl?nr(K.injectImpl):null;zs(i,p,rn.Default);try{E=i[s]=K.factory(void 0,P,i,p),a.firstCreatePass&&s>=p.directiveStart&&function q3(i,a,s){const{ngOnChanges:p,ngOnInit:E,ngDoCheck:P}=a.type.prototype;if(p){const K=Ka(a);(s.preOrderHooks??=[]).push(i,K),(s.preOrderCheckHooks??=[]).push(i,K)}E&&(s.preOrderHooks??=[]).push(0-i,E),P&&((s.preOrderHooks??=[]).push(i,P),(s.preOrderCheckHooks??=[]).push(i,P))}(s,P[s],a)}finally{null!==Je&&nr(Je),hd(le),K.resolving=!1,Xd()}}return E}function P0(i,a,s){return!!(s[a+(i>>Qd)]&1<<i)}function u2(i,a){return!(i&rn.Self||i&rn.Host&&a)}class to{constructor(a,s){this._tNode=a,this._lView=s}get(a,s,p){return N0(this._tNode,this._lView,a,Yr(p),s)}}function V0(){return new to(jr(),Ii())}function f2(i){return ye(()=>{const a=i.prototype.constructor,s=a[Qn]||m2(a),p=Object.prototype;let E=Object.getPrototypeOf(i.prototype).constructor;for(;E&&E!==p;){const P=E[Qn]||m2(E);if(P&&P!==s)return P;E=Object.getPrototypeOf(E)}return P=>new P})}function m2(i){return Ae(i)?()=>{const a=m2(dt(i));return a&&a()}:kr(i)}function z0(i){const a=i[Bi],s=a.type;return 2===s?a.declTNode:1===s?i[fa]:null}function Kl(i){return function F0(i,a){if("class"===a)return i.classes;if("style"===a)return i.styles;const s=i.attrs;if(s){const p=s.length;let E=0;for(;E<p;){const P=s[E];if(Ki(P))break;if(0===P)E+=2;else if("number"==typeof P)for(E++;E<p&&"string"==typeof s[E];)E++;else{if(P===a)return s[E+1];E+=2}}}return null}(jr(),i)}function j0(i,a=null,s=null,p){const E=W0(i,a,s,p);return E.resolveInjectorInitializers(),E}function W0(i,a=null,s=null,p,E=new Set){const P=[s||Bn,fc(i)];return p=p||("object"==typeof i?void 0:tt(i)),new Os(P,a||os(),p||null,E)}class go{static#e=this.THROW_IF_NOT_FOUND=zr;static#t=this.NULL=new as;static create(a,s){if(Array.isArray(a))return j0({name:""},s,a,"");{const p=a.name??"";return j0({name:p},a.parent,a.providers,p)}}static#i=this.\u0275prov=Li({token:go,providedIn:"any",factory:()=>zn(Go)});static#n=this.__NG_ELEMENT_ID__=-1}new Ni("").__NG_ELEMENT_ID__=i=>{const a=jr();if(null===a)throw new be(204,!1);if(2&a.type)return a.value;if(i&rn.Optional)return null;throw new be(204,!1)};function n1(i){return i.ngOriginalError}class Bs{constructor(){this._console=console}handleError(a){const s=this._findOriginalError(a);this._console.error("ERROR",a),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(a){let s=a&&n1(a);for(;s&&n1(s);)s=n1(s);return s||null}}const r1=new Ni("",{providedIn:"root",factory:()=>hn(Bs).handleError.bind(void 0)});let ml=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=Y0;static#t=this.__NG_ENV_ID__=s=>s}return i})();class df extends ml{constructor(a){super(),this._lView=a}onDestroy(a){return Bd(this._lView,a),()=>function wc(i,a){if(null===i[Gi])return;const s=i[Gi].indexOf(a);-1!==s&&i[Gi].splice(s,1)}(this._lView,a)}}function Y0(){return new df(Ii())}function ff(){return $l(jr(),Ii())}function $l(i,a){return new pd(po(i,a))}let pd=(()=>{class i{constructor(s){this.nativeElement=s}static#e=this.__NG_ELEMENT_ID__=ff}return i})();function Ql(i){return i instanceof pd?i.nativeElement:i}function a1(i){return a=>{setTimeout(i,void 0,a)}}const Us=class mf extends me.B{constructor(a=!1){super(),this.destroyRef=void 0,this.__isAsync=a,Ve()&&(this.destroyRef=hn(ml,{optional:!0})??void 0)}emit(a){const s=x(null);try{super.next(a)}finally{x(s)}}subscribe(a,s,p){let E=a,P=s||(()=>null),K=p;if(a&&"object"==typeof a){const Se=a;E=Se.next?.bind(Se),P=Se.error?.bind(Se),K=Se.complete?.bind(Se)}this.__isAsync&&(P=a1(P),E&&(E=a1(E)),K&&(K=a1(K)));const le=super.subscribe({next:E,error:P,complete:K});return a instanceof ce.yU&&a.add(le),le}};function K0(){return this._results[Symbol.iterator]()}class o1{static#e=Symbol.iterator;get changes(){return this._changes??=new Us}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const s=o1.prototype;s[Symbol.iterator]||(s[Symbol.iterator]=K0)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,s){return this._results.reduce(a,s)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,s){this.dirty=!1;const p=function Br(i){return i.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function ha(i,a,s){if(i.length!==a.length)return!1;for(let p=0;p<i.length;p++){let E=i[p],P=a[p];if(s&&(E=s(E),P=s(P)),P!==E)return!1}return!0}(this._results,p,s))&&(this._results=p,this.length=p.length,this.last=p[this.length-1],this.first=p[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(a){this._onDirty=a}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function _d(i){return!(128&~i.flags)}const c1=new Map;let J0=0;const x2="__ngContext__";function Zo(i,a){ka(a)?(i[x2]=a[Oc],function Zl(i){c1.set(i[Oc],i)}(a)):i[x2]=a}function S2(i){return yf(i[bc])}function Jl(i){return yf(i[$r])}function yf(i){for(;null!==i&&!ba(i);)i=i[$r];return i}let u1;function ch(i){u1=i}function Dc(){if(void 0!==u1)return u1;if(typeof document<"u")return document;throw new be(210,!1)}const f1=new Ni("",{providedIn:"root",factory:()=>k2}),k2="ng",lh=new Ni(""),ed=new Ni("",{providedIn:"platform",factory:()=>"unknown"}),hh=new Ni(""),Ef=new Ni("",{providedIn:"root",factory:()=>Dc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Tf=()=>null;function io(i,a,s=!1){return Tf(i,a,s)}const P2=new Ni("",{providedIn:"root",factory:()=>!1});let Sd,v1;function gl(i){return function V2(){if(void 0===Sd&&(Sd=null,Yt.trustedTypes))try{Sd=Yt.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Sd}()?.createHTML(i)||i}function H2(){if(void 0===v1&&(v1=null,Yt.trustedTypes))try{v1=Yt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return v1}function Eh(i){return H2()?.createHTML(i)||i}function Th(i){return H2()?.createScriptURL(i)||i}class _l{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_e})`}}class b1 extends _l{getTypeName(){return"HTML"}}class Rf extends _l{getTypeName(){return"Style"}}class Of extends _l{getTypeName(){return"Script"}}class Ff extends _l{getTypeName(){return"URL"}}class Nf extends _l{getTypeName(){return"ResourceURL"}}function Ws(i){return i instanceof _l?i.changingThisBreaksApplicationSecurity:i}function Xc(i,a){const s=function z2(i){return i instanceof _l&&i.getTypeName()||null}(i);if(null!=s&&s!==a){if("ResourceURL"===s&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${s} (see ${_e})`)}return s===a}function nc(i){return new b1(i)}function Pf(i){return new Rf(i)}function m4(i){return new Of(i)}function Yc(i){return new Ff(i)}function Dh(i){return new Nf(i)}class kh{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a="<body><remove></remove>"+a;try{const s=(new window.DOMParser).parseFromString(gl(a),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(a):(s.removeChild(s.firstChild),s)}catch{return null}}}class Lh{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const s=this.inertDocument.createElement("template");return s.innerHTML=gl(a),s}}const Ih=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function y1(i){return(i=String(i)).match(Ih)?i:"unsafe:"+i}function kc(i){const a={};for(const s of i.split(","))a[s]=!0;return a}function Td(...i){const a={};for(const s of i)for(const p in s)s.hasOwnProperty(p)&&(a[p]=!0);return a}const Rh=kc("area,br,col,hr,img,wbr"),x1=kc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Oh=kc("rp,rt"),B2=Td(Rh,Td(x1,kc("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")),Td(Oh,kc("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")),Td(Oh,x1)),U2=kc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nh=Td(U2,kc("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),kc("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")),v4=kc("script,style,template");class Dd{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let s=a.firstChild,p=!0,E=[];for(;s;)if(s.nodeType===Node.ELEMENT_NODE?p=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,p&&s.firstChild)E.push(s),s=y4(s);else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let P=vl(s);if(P){s=P;break}s=E.pop()}return this.buf.join("")}startElement(a){const s=zf(a).toLowerCase();if(!B2.hasOwnProperty(s))return this.sanitizedSomething=!0,!v4.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const p=a.attributes;for(let E=0;E<p.length;E++){const P=p.item(E),K=P.name,le=K.toLowerCase();if(!Nh.hasOwnProperty(le)){this.sanitizedSomething=!0;continue}let Se=P.value;U2[le]&&(Se=y1(Se)),this.buf.push(" ",K,'="',Vh(Se),'"')}return this.buf.push(">"),!0}endElement(a){const s=zf(a).toLowerCase();B2.hasOwnProperty(s)&&!Rh.hasOwnProperty(s)&&(this.buf.push("</"),this.buf.push(s),this.buf.push(">"))}chars(a){this.buf.push(Vh(a))}}function vl(i){const a=i.nextSibling;if(a&&i!==a.previousSibling)throw Ph(a);return a}function y4(i){const a=i.firstChild;if(a&&function b4(i,a){return(i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(i,a))throw Ph(a);return a}function zf(i){const a=i.nodeName;return"string"==typeof a?a:"FORM"}function Ph(i){return new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`)}const Bf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,x4=/([^\#-~ |!])/g;function Vh(i){return i.replace(/&/g,"&").replace(Bf,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(x4,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let G2;function j2(i,a){let s=null;try{G2=G2||function Ah(i){const a=new Lh(i);return function Vf(){try{return!!(new window.DOMParser).parseFromString(gl(""),"text/html")}catch{return!1}}()?new kh(a):a}(i);let p=a?String(a):"";s=G2.getInertBodyElement(p);let E=5,P=p;do{if(0===E)throw new Error("Failed to sanitize html because the input is unstable");E--,p=P,P=s.innerHTML,s=G2.getInertBodyElement(p)}while(p!==P);return gl((new Dd).sanitizeChildren(Hh(s)||s))}finally{if(s){const p=Hh(s)||s;for(;p.firstChild;)p.removeChild(p.firstChild)}}}function Hh(i){return"content"in i&&function C4(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var Kc=function(i){return i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL",i}(Kc||{});function Uf(i){const a=Ad();return a?Eh(a.sanitize(Kc.HTML,i)||""):Xc(i,"HTML")?Eh(Ws(i)):j2(Dc(),_i(i))}function Gf(i){const a=Ad();return a?a.sanitize(Kc.URL,i)||"":Xc(i,"URL")?Ws(i):y1(_i(i))}function C1(i){const a=Ad();if(a)return Th(a.sanitize(Kc.RESOURCE_URL,i)||"");if(Xc(i,"ResourceURL"))return Th(Ws(i));throw new be(904,!1)}function Uh(i,a,s){return function Bh(i,a){return"src"===a&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===a&&("base"===i||"link"===i)?C1:Gf}(a,s)(i)}function Ad(){const i=Ii();return i&&i[cs].sanitizer}const jh=/^>|^->|<!--|-->|--!>|<!-$/g,Wh=/(<|>)/g,Xh="\u200b$1\u200b";function un(i){return i.ownerDocument.defaultView}function An(i){return i instanceof Function?i():i}var Lc=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(Lc||{});let M1;function $c(i,a){return M1(i,a)}function bl(i,a,s,p,E){if(null!=p){let P,K=!1;ba(p)?P=p:ka(p)&&(K=!0,p=p[Hn]);const le=wr(p);0===i&&null!==s?null==E?Tp(a,s,le):E1(a,s,le,E||null,!0):1===i&&null!==s?E1(a,s,le,E||null,!0):2===i?function $h(i,a,s){const p=Qf(i,a);p&&function Dp(i,a,s,p){i.removeChild(a,s,p)}(i,p,a,s)}(a,le,K):3===i&&a.destroyNode(le),null!=P&&function P4(i,a,s,p,E){const P=s[Xo];P!==wr(s)&&bl(a,i,p,P,E);for(let le=ea;le<s.length;le++){const Se=s[le];Qh(Se[Bi],Se,i,a,p,P)}}(a,i,P,s,E)}}function On(i,a){return i.createComment(function Wf(i){return i.replace(jh,a=>a.replace(Wh,Xh))}(a))}function Gn(i,a,s){return i.createElement(a,s)}function ac(i,a){a[cs].changeDetectionScheduler?.notify(8),Qh(i,a,a[Wn],2,null,null)}function wa(i,a){const s=i[Nc],p=a[fr];(ka(p)||a[Qr]!==p[fr][Qr])&&(i[sn]|=Fl.HasTransplantedViews),null===s?i[Nc]=[a]:s.push(a)}function Y2(i,a){const s=i[Nc],p=s.indexOf(a);s.splice(p,1)}function kd(i,a){if(i.length<=ea)return;const s=ea+a,p=i[s];if(p){const E=p[mo];null!==E&&E!==i&&Y2(E,p),a>0&&(i[s-1][$r]=p[$r]);const P=Ga(i,ea+a);!function Mr(i,a){ac(i,a),a[Hn]=null,a[fa]=null}(p[Bi],p);const K=P[qs];null!==K&&K.detachView(P[Bi]),p[fr]=null,p[$r]=null,p[sn]&=-129}return p}function vo(i,a){if(!(256&a[sn])){const s=a[Wn];s.destroyNode&&Qh(i,a,s,3,null,null),function xs(i){let a=i[bc];if(!a)return Qc(i[Bi],i);for(;a;){let s=null;if(ka(a))s=a[bc];else{const p=a[ea];p&&(s=p)}if(!s){for(;a&&!a[$r]&&a!==i;)ka(a)&&Qc(a[Bi],a),a=a[fr];null===a&&(a=i),ka(a)&&Qc(a[Bi],a),s=a&&a[$r]}a=s}}(a)}}function Qc(i,a){if(256&a[sn])return;const s=x(null);try{a[sn]&=-129,a[sn]|=256,a[Ps]&&ee(a[Ps]),function Ld(i,a){let s;if(null!=i&&null!=(s=i.destroyHooks))for(let p=0;p<s.length;p+=2){const E=a[s[p]];if(!(E instanceof Bc)){const P=s[p+1];if(Array.isArray(P))for(let K=0;K<P.length;K+=2){const le=E[P[K]],Se=P[K+1];As(4,le,Se);try{Se.call(le)}finally{As(5,le,Se)}}else{As(4,E,P);try{P.call(E)}finally{As(5,E,P)}}}}}(i,a),function Xs(i,a){const s=i.cleanup,p=a[vc];if(null!==s)for(let P=0;P<s.length-1;P+=2)if("string"==typeof s[P]){const K=s[P+3];K>=0?p[K]():p[-K].unsubscribe(),P+=2}else s[P].call(p[s[P+1]]);null!==p&&(a[vc]=null);const E=a[Gi];if(null!==E){a[Gi]=null;for(let P=0;P<E.length;P++)(0,E[P])()}}(i,a),1===a[Bi].type&&a[Wn].destroy();const p=a[mo];if(null!==p&&ba(a[fr])){p!==a[fr]&&Y2(p,a);const E=a[qs];null!==E&&E.detachView(i)}!function pf(i){c1.delete(i[Oc])}(a)}finally{x(s)}}function Id(i,a,s){return function $f(i,a,s){let p=a;for(;null!==p&&40&p.type;)p=(a=p).parent;if(null===p)return s[Hn];{const{componentOffset:E}=p;if(E>-1){const{encapsulation:P}=i.data[p.directiveStart+E];if(P===ri.None||P===ri.Emulated)return null}return po(p,s)}}(i,a.parent,s)}function E1(i,a,s,p,E){i.insertBefore(a,s,p,E)}function Tp(i,a,s){i.appendChild(a,s)}function A4(i,a,s,p,E){null!==p?E1(i,a,s,p,E):Tp(i,a,s)}function Qf(i,a){return i.parentNode(a)}function Ap(i,a,s){return L4(i,a,s)}let I4,L4=function k4(i,a,s){return 40&i.type?po(i,s):null};function Zf(i,a,s,p){const E=Id(i,p,a),P=a[Wn],le=Ap(p.parent||a[fa],p,a);if(null!=E)if(Array.isArray(s))for(let Se=0;Se<s.length;Se++)A4(P,E,s[Se],le,!1);else A4(P,E,s,le,!1);void 0!==I4&&I4(P,p,a,s,E)}function K2(i,a){if(null!==a){const s=a.type;if(3&s)return po(a,i);if(4&s)return O4(-1,i[a.index]);if(8&s){const p=a.child;if(null!==p)return K2(i,p);{const E=i[a.index];return ba(E)?O4(-1,E):wr(E)}}if(32&s)return $c(a,i)()||wr(i[a.index]);{const p=kp(i,a);return null!==p?Array.isArray(p)?p[0]:K2(ol(i[Qr]),p):K2(i,a.next)}}return null}function kp(i,a){return null!==a?i[Qr][fa].projection[a.projection]:null}function O4(i,a){const s=ea+i+1;if(s<a.length){const p=a[s],E=p[Bi].firstChild;if(null!==E)return K2(p,E)}return a[Xo]}function F4(i,a,s,p,E,P,K){for(;null!=s;){const le=p[s.index],Se=s.type;if(K&&0===a&&(le&&Zo(wr(le),p),s.flags|=2),32&~s.flags)if(8&Se)F4(i,a,s.child,p,E,P,!1),bl(a,i,E,le,P);else if(32&Se){const Je=$c(s,p);let vt;for(;vt=Je();)bl(a,i,E,vt,P);bl(a,i,E,le,P)}else 16&Se?N4(i,a,p,s,E,P):bl(a,i,E,le,P);s=K?s.projectionNext:s.next}}function Qh(i,a,s,p,E,P){F4(s,p,i.firstChild,a,E,P,!1)}function N4(i,a,s,p,E,P){const K=s[Qr],Se=K[fa].projection[p.projection];if(Array.isArray(Se))for(let Je=0;Je<Se.length;Je++)bl(a,i,E,Se[Je],P);else{let Je=Se;const vt=K[fr];_d(p)&&(Je.flags|=128),F4(i,a,Je,vt,E,P,!0)}}function Rp(i,a,s){""===s?i.removeAttribute(a,"class"):i.setAttribute(a,"class",s)}function Jf(i,a,s){const{mergedAttrs:p,classes:E,styles:P}=s;null!==p&&Ei(i,a,p),null!==E&&Rp(i,a,E),null!==P&&function Ip(i,a,s){i.setAttribute(a,"style",s)}(i,a,P)}const lr={};function V4(i=1){Zh(ur(),Ii(),Va()+i,!1)}function Zh(i,a,s,p){if(!p)if(3&~a[sn]){const P=i.preOrderHooks;null!==P&&o2(a,P,0,s)}else{const P=i.preOrderCheckHooks;null!==P&&a2(a,P,s)}Hc(s)}function $2(i,a=rn.Default){const s=Ii();return null===s?zn(i,a):N0(jr(),s,dt(i),a)}function Op(){throw new Error("invalid")}function Fp(i,a,s,p,E,P){const K=x(null);try{let le=null;E&xt.SignalBased&&(le=a[p][l]),null!==le&&void 0!==le.transformFn&&(P=le.transformFn(P)),E&xt.HasDecoratorInputTransform&&(P=i.inputTransforms[p].call(a,P)),null!==i.setInput?i.setInput(a,le,P,s,p):ys(a,le,p,P)}finally{x(K)}}function Jh(i,a,s,p,E,P,K,le,Se,Je,vt){const Bt=a.blueprint.slice();return Bt[Hn]=E,Bt[sn]=204|p,(null!==Je||i&&2048&i[sn])&&(Bt[sn]|=2048),Pc(Bt),Bt[fr]=Bt[yc]=i,Bt[Ur]=s,Bt[cs]=K||i&&i[cs],Bt[Wn]=le||i&&i[Wn],Bt[va]=Se||i&&i[va]||null,Bt[fa]=P,Bt[Oc]=function q0(){return J0++}(),Bt[Ya]=vt,Bt[Ns]=Je,Bt[Qr]=2==a.type?i[Qr]:Bt,Bt}function Q2(i,a,s,p,E){let P=i.data[a];if(null===P)P=function qf(i,a,s,p,E){const P=M0(),K=ds(),Se=i.data[a]=function d5(i,a,s,p,E,P){let K=a?a.injectorIndex:-1,le=0;return sl()&&(le|=128),{type:s,index:p,insertBeforeIndex:null,injectorIndex:K,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:le,providerIndexes:0,value:E,attrs:P,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,K?P:P&&P.parent,s,a,p,E);return null===i.firstChild&&(i.firstChild=Se),null!==P&&(K?null==P.child&&null!==Se.parent&&(P.child=Se):null===P.next&&(P.next=Se,Se.prev=P)),Se}(i,a,s,p,E),function dd(){return Nn.lFrame.inI18n}()&&(P.flags|=32);else if(64&P.type){P.type=s,P.value=p,P.attrs=E;const K=function Bl(){const i=Nn.lFrame,a=i.currentTNode;return i.isParent?a:a.parent}();P.injectorIndex=null===K?-1:K.injectorIndex}return Ia(P,!0),P}function Z2(i,a,s,p){if(0===s)return-1;const E=a.length;for(let P=0;P<s;P++)a.push(p),i.blueprint.push(p),i.data.push(null);return E}function Np(i,a,s,p,E){const P=Va(),K=2&p;try{Hc(-1),K&&a.length>kn&&Zh(i,a,kn,!1),As(K?2:0,E),s(p,E)}finally{Hc(P),As(K?3:1,E)}}function H4(i,a,s){if(Ts(a)){const p=x(null);try{const P=a.directiveEnd;for(let K=a.directiveStart;K<P;K++){const le=i.data[K];le.contentQueries&&le.contentQueries(1,s[K],K)}}finally{x(p)}}}function J2(i,a,s){ju()&&(function p5(i,a,s,p){const E=s.directiveStart,P=s.directiveEnd;Vs(s)&&function v5(i,a,s){const p=po(a,i),E=B4(s);let K=16;s.signals?K=4096:s.onPush&&(K=64);const le=i3(i,Jh(i,E,null,K,p,a,null,i[cs].rendererFactory.createRenderer(p,s),null,null,null));i[a.index]=le}(a,s,i.data[E+s.componentOffset]),i.firstCreatePass||Uc(s,a),Zo(p,a);const K=s.initialInputs;for(let le=E;le<P;le++){const Se=i.data[le],Je=ks(a,i,le,s);Zo(Je,a),null!==K&&Xp(0,le-E,Je,Se,0,K),En(Se)&&($o(s.index,a)[Ur]=ks(a,i,le,s))}}(i,a,s,po(s,a)),!(64&~s.flags)&&Up(i,a,s))}function z4(i,a,s=po){const p=a.localNames;if(null!==p){let E=a.index+1;for(let P=0;P<p.length;P+=2){const K=p[P+1],le=-1===K?s(a,i):i[K];i[E++]=le}}}function B4(i){const a=i.tView;return null===a||a.incompleteFirstPass?i.tView=U4(1,null,i.template,i.decls,i.vars,i.directiveDefs,i.pipeDefs,i.viewQuery,i.schemas,i.consts,i.id):a}function U4(i,a,s,p,E,P,K,le,Se,Je,vt){const Bt=kn+p,ti=Bt+E,ui=function a5(i,a){const s=[];for(let p=0;p<a;p++)s.push(p<i?null:lr);return s}(Bt,ti),bi="function"==typeof Je?Je():Je;return ui[Bi]={type:i,blueprint:ui,template:s,queries:null,viewQuery:le,declTNode:a,data:ui.slice().fill(null,Bt),bindingStartIndex:Bt,expandoStartIndex:ti,hostBindingOpCodes: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 P?P():P,pipeRegistry:"function"==typeof K?K():K,firstChild:null,schemas:Se,consts:bi,incompleteFirstPass:!1,ssrId:vt}}let G4=()=>null;function e3(i,a,s,p,E){for(let P in a){if(!a.hasOwnProperty(P))continue;const K=a[P];if(void 0===K)continue;p??={};let le,Se=xt.None;Array.isArray(K)?(le=K[0],Se=K[1]):le=K;let Je=P;if(null!==E){if(!E.hasOwnProperty(P))continue;Je=E[P]}0===i?j4(p,s,Je,le,Se):j4(p,s,Je,le)}return p}function j4(i,a,s,p,E){let P;i.hasOwnProperty(s)?(P=i[s]).push(a,p):P=i[s]=[a,p],void 0!==E&&P.push(E)}function fs(i,a,s,p,E,P,K,le){const Se=po(a,s);let vt,Je=a.inputs;!le&&null!=Je&&(vt=Je[p])?($4(i,s,vt,p,E),Vs(a)&&function h5(i,a){const s=$o(a,i);16&s[sn]||(s[sn]|=64)}(s,a.index)):3&a.type&&(p=function Hp(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(p),E=null!=K?K(E,a.value||"",p):E,P.setProperty(Se,p,E))}function t3(i,a,s,p){if(ju()){const E=null===p?null:{"":-1},P=function Gp(i,a){const s=i.directiveRegistry;let p=null,E=null;if(s)for(let P=0;P<s.length;P++){const K=s[P];if(ht(a,K.selectors,!1))if(p||(p=[]),En(K))if(null!==K.findHostDirectiveDefs){const le=[];E=E||new Map,K.findHostDirectiveDefs(K,le,E),p.unshift(...le,K),X4(i,a,le.length)}else p.unshift(K),X4(i,a,0);else E=E||new Map,K.findHostDirectiveDefs?.(K,p,E),p.push(K)}return null===p?null:[p,E]}(i,s);let K,le;null===P?K=le=null:[K,le]=P,null!==K&&zp(i,a,s,K,E,le),E&&function g5(i,a,s){if(a){const p=i.localNames=[];for(let E=0;E<a.length;E+=2){const P=s[a[E+1]];if(null==P)throw new be(-301,!1);p.push(a[E],P)}}}(s,p,E)}s.mergedAttrs=Or(s.mergedAttrs,s.attrs)}function zp(i,a,s,p,E,P){for(let Je=0;Je<p.length;Je++)fl(Uc(s,a),i,p[Je].type);!function Wp(i,a,s){i.flags|=1,i.directiveStart=a,i.directiveEnd=a+s,i.providerIndexes=a}(s,i.data.length,p.length);for(let Je=0;Je<p.length;Je++){const vt=p[Je];vt.providersResolver&&vt.providersResolver(vt)}let K=!1,le=!1,Se=Z2(i,a,p.length,null);for(let Je=0;Je<p.length;Je++){const vt=p[Je];s.mergedAttrs=Or(s.mergedAttrs,vt.hostAttrs),_5(i,s,a,Se,vt),jp(Se,vt,E),null!==vt.contentQueries&&(s.flags|=4),(null!==vt.hostBindings||null!==vt.hostAttrs||0!==vt.hostVars)&&(s.flags|=64);const Bt=vt.type.prototype;!K&&(Bt.ngOnChanges||Bt.ngOnInit||Bt.ngDoCheck)&&((i.preOrderHooks??=[]).push(s.index),K=!0),!le&&(Bt.ngOnChanges||Bt.ngDoCheck)&&((i.preOrderCheckHooks??=[]).push(s.index),le=!0),Se++}!function Vp(i,a,s){const E=a.directiveEnd,P=i.data,K=a.attrs,le=[];let Se=null,Je=null;for(let vt=a.directiveStart;vt<E;vt++){const Bt=P[vt],ti=s?s.get(Bt):null,bi=ti?ti.outputs:null;Se=e3(0,Bt.inputs,vt,Se,ti?ti.inputs:null),Je=e3(1,Bt.outputs,vt,Je,bi);const Fi=null===Se||null===K||oo(a)?null:Yp(Se,vt,K);le.push(Fi)}null!==Se&&(Se.hasOwnProperty("class")&&(a.flags|=8),Se.hasOwnProperty("style")&&(a.flags|=16)),a.initialInputs=le,a.inputs=Se,a.outputs=Je}(i,s,P)}function Up(i,a,s){const p=s.directiveStart,E=s.directiveEnd,P=s.index,K=function Pa(){return Nn.lFrame.currentDirectiveIndex}();try{Hc(P);for(let le=p;le<E;le++){const Se=i.data[le],Je=a[le];n2(le),(null!==Se.hostBindings||0!==Se.hostVars||null!==Se.hostAttrs)&&W4(Se,Je)}}finally{Hc(-1),n2(K)}}function W4(i,a){null!==i.hostBindings&&i.hostBindings(1,a)}function X4(i,a,s){a.componentOffset=s,(i.components??=[]).push(a.index)}function jp(i,a,s){if(s){if(a.exportAs)for(let p=0;p<a.exportAs.length;p++)s[a.exportAs[p]]=i;En(a)&&(s[""]=i)}}function _5(i,a,s,p,E){i.data[p]=E;const P=E.factory||(E.factory=kr(E.type)),K=new Bc(P,En(E),$2);i.blueprint[p]=K,s[p]=K,function m5(i,a,s,p,E){const P=E.hostBindings;if(P){let K=i.hostBindingOpCodes;null===K&&(K=i.hostBindingOpCodes=[]);const le=~a.index;(function Bp(i){let a=i.length;for(;a>0;){const s=i[--a];if("number"==typeof s&&s<0)return s}return 0})(K)!=le&&K.push(le),K.push(s,p,P)}}(i,a,p,Z2(i,s,E.hostVars,lr),E)}function xl(i,a,s,p,E,P){const K=po(i,a);!function Y4(i,a,s,p,E,P,K){if(null==P)i.removeAttribute(a,E,s);else{const le=null==K?_i(P):K(P,p||"",E);i.setAttribute(a,E,le,s)}}(a[Wn],K,P,i.value,s,p,E)}function Xp(i,a,s,p,E,P){const K=P[a];if(null!==K)for(let le=0;le<K.length;)Fp(p,s,K[le++],K[le++],K[le++],K[le++])}function Yp(i,a,s){let p=null,E=0;for(;E<s.length;){const P=s[E];if(0!==P)if(5!==P){if("number"==typeof P)break;if(i.hasOwnProperty(P)){null===p&&(p=[]);const K=i[P];for(let le=0;le<K.length;le+=3)if(K[le]===a){p.push(P,K[le+1],K[le+2],s[E+1]);break}}E+=2}else E+=2;else E+=4}return p}function Kp(i,a,s,p){return[i,!0,0,a,null,p,null,s,null,null]}function $p(i,a){const s=i.contentQueries;if(null!==s){const p=x(null);try{for(let E=0;E<s.length;E+=2){const K=s[E+1];if(-1!==K){const le=i.data[K];ic(s[E]),le.contentQueries(2,a[K],K)}}}finally{x(p)}}}function i3(i,a){return i[bc]?i[Rl][$r]=a:i[bc]=a,i[Rl]=a,a}function K4(i,a,s){ic(0);const p=x(null);try{a(i,s)}finally{x(p)}}function Qp(i){return i[vc]||(i[vc]=[])}function Zp(i){return i.cleanup||(i.cleanup=[])}function Jp(i,a,s){return(null===i||En(i))&&(s=function ld(i){for(;Array.isArray(i);){if("object"==typeof i[nl])return i;i=i[Hn]}return null}(s[a.index])),s[Wn]}function q2(i,a){const s=i[va],p=s?s.get(Bs,null):null;p&&p.handleError(a)}function $4(i,a,s,p,E){for(let P=0;P<s.length;){const K=s[P++],le=s[P++],Se=s[P++];Fp(i.data[K],a[K],p,le,Se,E)}}function Zc(i,a,s){const p=La(a,i);!function wn(i,a,s){i.setValue(a,s)}(i[Wn],p,s)}function qp(i,a){const s=$o(a,i),p=s[Bi];!function pr(i,a){for(let s=a.length;s<i.blueprint.length;s++)a.push(i.blueprint[s])}(p,s);const E=s[Hn];null!==E&&null===s[Ya]&&(s[Ya]=io(E,s[va])),Ic(p,s,s[Ur])}function Ic(i,a,s){E0(a);try{const p=i.viewQuery;null!==p&&K4(1,p,s);const E=i.template;null!==E&&Np(i,a,E,1,s),i.firstCreatePass&&(i.firstCreatePass=!1),a[qs]?.finishViewCreation(i),i.staticContentQueries&&$p(i,a),i.staticViewQueries&&K4(2,i.viewQuery,s);const P=i.components;null!==P&&function Q4(i,a){for(let s=0;s<a.length;s++)qp(i,a[s])}(a,P)}catch(p){throw i.firstCreatePass&&(i.incompleteFirstPass=!0,i.firstCreatePass=!1),p}finally{a[sn]&=-5,S0()}}function Rd(i,a,s,p){const E=x(null);try{const P=a.tView,Se=Jh(i,P,s,4096&i[sn]?4096:16,null,a,null,null,p?.injector??null,p?.embeddedViewInjector??null,p?.dehydratedView??null);Se[mo]=i[a.index];const vt=i[qs];return null!==vt&&(Se[qs]=vt.createEmbeddedView(P)),Ic(P,Se,s),Se}finally{x(E)}}function Cs(i,a){const s=ea+a;if(s<i.length)return i[s]}function Od(i,a){return!a||null===a.firstChild||_d(i)}function S1(i,a,s,p=!0){const E=a[Bi];if(function yl(i,a,s,p){const E=ea+p,P=s.length;p>0&&(s[E-1][$r]=a),p<P-ea?(a[$r]=s[E],rs(s,ea+p,a)):(s.push(a),a[$r]=null),a[fr]=s;const K=a[mo];null!==K&&s!==K&&wa(K,a);const le=a[qs];null!==le&&le.insertView(i),x0(a),a[sn]|=128}(E,a,i,s),p){const K=O4(s,i),le=a[Wn],Se=Qf(le,i[Xo]);null!==Se&&function _o(i,a,s,p,E,P){p[Hn]=E,p[fa]=a,Qh(i,p,s,1,E,P)}(E,i[fa],le,a,Se,K)}const P=a[Ya];null!==P&&null!==P.firstChild&&(P.firstChild=null)}function n3(i,a){const s=kd(i,a);return void 0!==s&&vo(s[Bi],s),s}function Cl(i,a,s,p,E=!1){for(;null!==s;){const P=a[s.index];null!==P&&p.push(wr(P)),ba(P)&&qh(P,p);const K=s.type;if(8&K)Cl(i,a,s.child,p);else if(32&K){const le=$c(s,a);let Se;for(;Se=le();)p.push(Se)}else if(16&K){const le=kp(a,s);if(Array.isArray(le))p.push(...le);else{const Se=ol(a[Qr]);Cl(Se[Bi],Se,le,p,!0)}}s=E?s.projectionNext:s.next}return p}function qh(i,a){for(let s=ea;s<i.length;s++){const p=i[s],E=p[Bi].firstChild;null!==E&&Cl(p[Bi],p,E,a)}i[Xo]!==i[Hn]&&a.push(i[Xo])}let wl=[];const t0={...T,consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{Z1(i.lView)},consumerOnSignalRead(){this.lView[Ps]=this}},r3=100;function n0(i,a=!0,s=0){const p=i[cs],E=p.rendererFactory;E.begin?.();try{!function J4(i,a){const s=Yu();try{jd(!0),r0(i,a);let p=0;for(;al(i);){if(p===r3)throw new be(103,!1);p++,r0(i,1)}}finally{jd(s)}}(i,s)}catch(K){throw a&&q2(i,K),K}finally{E.end?.(),p.inlineEffectRunner?.flush()}}function e6(i,a,s,p){const E=a[sn];if(!(256&~E))return;a[cs].inlineEffectRunner?.flush(),E0(a);let le=null,Se=null;(function q4(i){return 2!==i.type})(i)&&(Se=function e0(i){return i[Ps]??function jn(i){const a=wl.pop()??Object.create(t0);return a.lView=i,a}(i)}(a),le=j(Se));try{Pc(a),function Ku(i){return Nn.lFrame.bindingIndex=i}(i.bindingStartIndex),null!==s&&Np(i,a,s,2,p);const Je=!(3&~E);if(Je){const ti=i.preOrderCheckHooks;null!==ti&&a2(a,ti,null)}else{const ti=i.preOrderHooks;null!==ti&&o2(a,ti,0,null),Kd(a,0)}if(function a3(i){for(let a=S2(i);null!==a;a=Jl(a)){if(!(a[sn]&Fl.HasTransplantedViews))continue;const s=a[Nc];for(let p=0;p<s.length;p++)y0(s[p])}}(a),em(a,0),null!==i.contentQueries&&$p(i,a),Je){const ti=i.contentCheckHooks;null!==ti&&a2(a,ti)}else{const ti=i.contentHooks;null!==ti&&o2(a,ti,1),Kd(a,1)}!function r5(i,a){const s=i.hostBindingOpCodes;if(null!==s)try{for(let p=0;p<s.length;p++){const E=s[p];if(E<0)Hc(~E);else{const P=E,K=s[++p],le=s[++p];xa(K,P),le(2,a[P])}}}finally{Hc(-1)}}(i,a);const vt=i.components;null!==vt&&o3(a,vt,0);const Bt=i.viewQuery;if(null!==Bt&&K4(2,Bt,p),Je){const ti=i.viewCheckHooks;null!==ti&&a2(a,ti)}else{const ti=i.viewHooks;null!==ti&&o2(a,ti,2),Kd(a,2)}if(!0===i.firstUpdatePass&&(i.firstUpdatePass=!1),a[Fc]){for(const ti of a[Fc])ti();a[Fc]=null}a[sn]&=-73}catch(Je){throw Z1(a),Je}finally{null!==Se&&(Q(Se,le),function Z4(i){i.lView[Ps]!==i&&(i.lView=null,wl.push(i))}(Se)),S0()}}function em(i,a){for(let s=S2(i);null!==s;s=Jl(s))for(let p=ea;p<s.length;p++)tu(s[p],a)}function Jo(i,a,s){tu($o(a,i),s)}function tu(i,a){zd(i)&&r0(i,a)}function r0(i,a){const p=i[Bi],E=i[sn],P=i[Ps];let K=!!(0===a&&16&E);if(K||=!!(64&E&&0===a),K||=!!(1024&E),K||=!(!P?.dirty||!J(P)),K||=!1,P&&(P.dirty=!1),i[sn]&=-9217,K)e6(p,i,p.template,i[Ur]);else if(8192&E){em(i,1);const le=p.components;null!==le&&o3(i,le,1)}}function o3(i,a,s){for(let p=0;p<a.length;p++)Jo(i,a[p],s)}function T1(i,a){const s=Yu()?64:1088;for(i[cs].changeDetectionScheduler?.notify(a);i;){i[sn]|=s;const p=ol(i);if(nn(i)&&!p)return i;i=p}return null}class Ys{get rootNodes(){const a=this._lView,s=a[Bi];return Cl(s,a,s.firstChild,[])}constructor(a,s,p=!0){this._lView=a,this._cdRefInjectingView=s,this.notifyErrorHandler=p,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ur]}set context(a){this._lView[Ur]=a}get destroyed(){return!(256&~this._lView[sn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const a=this._lView[fr];if(ba(a)){const s=a[8],p=s?s.indexOf(this):-1;p>-1&&(kd(a,p),Ga(s,p))}this._attachedToViewContainer=!1}vo(this._lView[Bi],this._lView)}onDestroy(a){Bd(this._lView,a)}markForCheck(){T1(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[sn]&=-129}reattach(){x0(this._lView),this._lView[sn]|=128}detectChanges(){this._lView[sn]|=1024,n0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new be(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const a=nn(this._lView),s=this._lView[mo];null!==s&&!a&&Y2(s,this._lView),ac(this._lView[Bi],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new be(902,!1);this._appRef=a;const s=nn(this._lView),p=this._lView[mo];null!==p&&!s&&wa(p,this._lView),x0(this._lView)}}let D1=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=tm}return i})();const s3=D1,ad=class extends s3{constructor(a,s,p){super(),this._declarationLView=a,this._declarationTContainer=s,this.elementRef=p}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,s){return this.createEmbeddedViewImpl(a,s)}createEmbeddedViewImpl(a,s,p){const E=Rd(this._declarationLView,this._declarationTContainer,a,{embeddedViewInjector:s,dehydratedView:p});return new Ys(E)}};function tm(){return A1(jr(),Ii())}function A1(i,a){return 4&i.type?new ad(a,i,$l(i,a)):null}let bm=()=>null;function F1(i,a){return bm(i,a)}class N1{}const Nd=new Ni("",{providedIn:"root",factory:()=>!1}),_6=new Ni("");class V5{}class v6{}class H5{resolveComponentFactory(a){throw function b6(i){const a=Error(`No component factory found for ${tt(i)}.`);return a.ngComponent=i,a}(a)}}class du{static#e=this.NULL=new H5}class b3{}let z5=(()=>{class i{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function B5(){const i=Ii(),s=$o(jr().index,i);return(ka(s)?s:i)[Wn]}()}return i})(),C6=(()=>{class i{static#e=this.\u0275prov=Li({token:i,providedIn:"root",factory:()=>null})}return i})();const y3={};function hu(i,a){if(null!==function f(){return t}())throw new be(-602,!1)}const w6=new Set;function oc(i){w6.has(i)||(w6.add(i),performance?.mark?.("mark_feature_usage",{detail:{feature:i}}))}function M6(i){let a=!0;return setTimeout(()=>{a&&(a=!1,i())}),"function"==typeof Yt.requestAnimationFrame&&Yt.requestAnimationFrame(()=>{a&&(a=!1,i())}),()=>{a=!1}}function E6(i){let a=!0;return queueMicrotask(()=>{a&&i()}),()=>{a=!1}}function x3(...i){}class Ha{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:p=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Us(!1),this.onMicrotaskEmpty=new Us(!1),this.onStable=new Us(!1),this.onError=new Us(!1),typeof Zone>"u")throw new be(908,!1);Zone.assertZonePatched();const E=this;E._nesting=0,E._outer=E._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(E._inner=E._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(E._inner=E._inner.fork(Zone.longStackTraceZoneSpec)),E.shouldCoalesceEventChangeDetection=!p&&s,E.shouldCoalesceRunChangeDetection=p,E.callbackScheduled=!1,function u(i){const a=()=>{!function G5(i){i.isCheckStableRunning||i.callbackScheduled||(i.callbackScheduled=!0,Zone.root.run(()=>{M6(()=>{i.callbackScheduled=!1,A(i),i.isCheckStableRunning=!0,C3(i),i.isCheckStableRunning=!1})}),A(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,p,E,P,K,le)=>{if(function Y(i){return Ct(i,"__ignore_ng_zone__")}(le))return s.invokeTask(E,P,K,le);try{return o(i),s.invokeTask(E,P,K,le)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===P.type||i.shouldCoalesceRunChangeDetection)&&a(),M(i)}},onInvoke:(s,p,E,P,K,le,Se)=>{try{return o(i),s.invoke(E,P,K,le,Se)}finally{i.shouldCoalesceRunChangeDetection&&!i.callbackScheduled&&!function Le(i){return Ct(i,"__scheduler_tick__")}(le)&&a(),M(i)}},onHasTask:(s,p,E,P)=>{s.hasTask(E,P),p===E&&("microTask"==P.change?(i._hasPendingMicrotasks=P.microTask,A(i),C3(i)):"macroTask"==P.change&&(i.hasPendingMacrotasks=P.macroTask))},onHandleError:(s,p,E,P)=>(s.handleError(E,P),i.runOutsideAngular(()=>i.onError.emit(P)),!1)})}(E)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ha.isInAngularZone())throw new be(909,!1)}static assertNotInAngularZone(){if(Ha.isInAngularZone())throw new be(909,!1)}run(a,s,p){return this._inner.run(a,s,p)}runTask(a,s,p,E){const P=this._inner,K=P.scheduleEventTask("NgZoneEvent: "+E,a,S6,x3,x3);try{return P.runTask(K,s,p)}finally{P.cancelTask(K)}}runGuarded(a,s,p){return this._inner.runGuarded(a,s,p)}runOutsideAngular(a){return this._outer.run(a)}}const S6={};function C3(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function A(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&!0===i.callbackScheduled)}function o(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function M(i){i._nesting--,C3(i)}class B{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Us,this.onMicrotaskEmpty=new Us,this.onStable=new Us,this.onError=new Us}run(a,s,p){return a.apply(s,p)}runGuarded(a,s,p){return a.apply(s,p)}runOutsideAngular(a){return a()}runTask(a,s,p,E){return a.apply(s,p)}}function Ct(i,a){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0]?.data?.[a]}var Ht=function(i){return i[i.EarlyRead=0]="EarlyRead",i[i.Write=1]="Write",i[i.MixedReadWrite=2]="MixedReadWrite",i[i.Read=3]="Read",i}(Ht||{});const li={destroy(){}};function Ai(i,a){!a&&De();const s=a?.injector??hn(go);if(!function Un(i){return"browser"===(i??hn(go)).get(ed)}(s))return li;oc("NgAfterNextRender");const p=s.get(ki),E=p.handler??=new Tn,P=a?.phase??Ht.MixedReadWrite,K=()=>{E.unregister(Se),le()},le=s.get(ml).onDestroy(K),Se=Z(s,()=>new cn(P,()=>{K(),i()}));return E.register(Se),{destroy:K}}class cn{constructor(a,s){this.phase=a,this.callbackFn=s,this.zone=hn(Ha),this.errorHandler=hn(Bs,{optional:!0}),hn(N1,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(a){this.errorHandler?.handleError(a)}}}class Tn{constructor(){this.executingCallbacks=!1,this.buckets={[Ht.EarlyRead]:new Set,[Ht.Write]:new Set,[Ht.MixedReadWrite]:new Set,[Ht.Read]:new Set},this.deferredCallbacks=new Set}register(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)}unregister(a){this.buckets[a.phase].delete(a),this.deferredCallbacks.delete(a)}execute(){this.executingCallbacks=!0;for(const a of Object.values(this.buckets))for(const s of a)s.invoke();this.executingCallbacks=!1;for(const a of this.deferredCallbacks)this.buckets[a.phase].add(a);this.deferredCallbacks.clear()}destroy(){for(const a of Object.values(this.buckets))a.clear();this.deferredCallbacks.clear()}}let ki=(()=>{class i{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const s=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const p of s)p()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Li({token:i,providedIn:"root",factory:()=>new i})}return i})();function Ln(i){return!!Ir(i)}function Er(i,a,s){let p=s?i.styles:null,E=s?i.classes:null,P=0;if(null!==a)for(let K=0;K<a.length;K++){const le=a[K];"number"==typeof le?P=le:1==P?E=$t(E,le):2==P&&(p=$t(p,le+": "+a[++K]+";"))}s?i.styles=p:i.stylesWithoutHost=p,s?i.classes=E:i.classesWithoutHost=E}class aa extends du{constructor(a){super(),this.ngModule=a}resolveComponentFactory(a){const s=Vn(a);return new Do(s,this.ngModule)}}function Ls(i){const a=[];for(const s in i){if(!i.hasOwnProperty(s))continue;const p=i[s];void 0!==p&&a.push({propName:Array.isArray(p)?p[0]:p,templateName:s})}return a}class pa{constructor(a,s){this.injector=a,this.parentInjector=s}get(a,s,p){p=Yr(p);const E=this.injector.get(a,y3,p);return E!==y3||s===y3?E:this.parentInjector.get(a,s,p)}}class Do extends v6{get inputs(){const a=this.componentDef,s=a.inputTransforms,p=Ls(a.inputs);if(null!==s)for(const E of p)s.hasOwnProperty(E.propName)&&(E.transform=s[E.propName]);return p}get outputs(){return Ls(this.componentDef.outputs)}constructor(a,s){super(),this.componentDef=a,this.ngModule=s,this.componentType=a.type,this.selector=function vr(i){return i.map(Fo).join(",")}(a.selectors),this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[],this.isBoundToModule=!!s}create(a,s,p,E){const P=x(null);try{let K=(E=E||this.ngModule)instanceof So?E:E?.injector;K&&null!==this.componentDef.getStandaloneInjector&&(K=this.componentDef.getStandaloneInjector(K)||K);const le=K?new pa(a,K):a,Se=le.get(b3,null);if(null===Se)throw new be(407,!1);const Je=le.get(C6,null),ti={rendererFactory:Se,sanitizer:Je,inlineEffectRunner:null,afterRenderEventManager:le.get(ki,null),changeDetectionScheduler:le.get(N1,null)},ui=Se.createRenderer(null,this.componentDef),bi=this.componentDef.selectors[0][0]||"div",Fi=p?function o5(i,a,s,p){const P=p.get(P2,!1)||s===ri.ShadowDom,K=i.selectRootElement(a,P);return function s5(i){G4(i)}(K),K}(ui,p,this.componentDef.encapsulation,le):Gn(ui,bi,function za(i){const a=i.toLowerCase();return"svg"===a?Vl:"math"===a?"math":null}(bi));let qi=512;this.componentDef.signals?qi|=4096:this.componentDef.onPush||(qi|=16);let ln=null;null!==Fi&&(ln=io(Fi,le,!0));const Hi=U4(0,null,null,1,0,null,null,null,null,null,null),er=Jh(null,Hi,null,qi,null,null,ti,ui,le,null,ln);let Jr,Ba;E0(er);try{const ws=this.componentDef;let qc,Ep=null;ws.findHostDirectiveDefs?(qc=[],Ep=new Map,ws.findHostDirectiveDefs(ws,qc,Ep),qc.push(ws)):qc=[ws];const DE=function Ao(i,a){const s=i[Bi],p=kn;return i[p]=a,Q2(s,p,2,"#host",null)}(er,Fi),AE=function co(i,a,s,p,E,P,K){const le=E[Bi];!function lo(i,a,s,p){for(const E of i)a.mergedAttrs=Or(a.mergedAttrs,E.hostAttrs);null!==a.mergedAttrs&&(Er(a,a.mergedAttrs,!0),null!==s&&Jf(p,s,a))}(p,i,a,K);let Se=null;null!==a&&(Se=io(a,E[va]));const Je=P.rendererFactory.createRenderer(a,s);let vt=16;s.signals?vt=4096:s.onPush&&(vt=64);const Bt=Jh(E,B4(s),null,vt,E[i.index],i,P,Je,null,null,Se);return le.firstCreatePass&&X4(le,i,p.length-1),i3(E,Bt),E[i.index]=Bt}(DE,Fi,ws,qc,er,ti,ui);Ba=ec(Hi,kn),Fi&&function P1(i,a,s,p){if(p)Ei(i,s,["ng-version","18.0.1"]);else{const{attrs:E,classes:P}=function Xa(i){const a=[],s=[];let p=1,E=2;for(;p<i.length;){let P=i[p];if("string"==typeof P)2===E?""!==P&&a.push(P,i[++p]):8===E&&s.push(P);else{if(!Ri(E))break;E=P}p++}return{attrs:a,classes:s}}(a.selectors[0]);E&&Ei(i,s,E),P&&P.length>0&&Rp(i,s,P.join(" "))}}(ui,ws,Fi,p),void 0!==s&&function V1(i,a,s){const p=i.projection=[];for(let E=0;E<a.length;E++){const P=s[E];p.push(null!=P?Array.from(P):null)}}(Ba,this.ngContentSelectors,s),Jr=function h0(i,a,s,p,E,P){const K=jr(),le=E[Bi],Se=po(K,E);zp(le,E,K,s,null,p);for(let vt=0;vt<s.length;vt++)Zo(ks(E,le,K.directiveStart+vt,K),E);Up(le,E,K),Se&&Zo(Se,E);const Je=ks(E,le,K.directiveStart+K.componentOffset,K);if(i[Ur]=E[Ur]=Je,null!==P)for(const vt of P)vt(Je,a);return H4(le,K,E),Je}(AE,ws,qc,Ep,er,[H1]),Ic(Hi,er,null)}finally{S0()}return new Zr(this.componentType,Jr,$l(Ba,er),er,Ba)}finally{x(P)}}}class Zr extends V5{constructor(a,s,p,E,P){super(),this.location=p,this._rootLView=E,this._tNode=P,this.previousInputValues=null,this.instance=s,this.hostView=this.changeDetectorRef=new Ys(E,void 0,!1),this.componentType=a}setInput(a,s){const p=this._tNode.inputs;let E;if(null!==p&&(E=p[a])){if(this.previousInputValues??=new Map,this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),s))return;const P=this._rootLView;$4(P[Bi],P,E,a,s),this.previousInputValues.set(a,s),T1($o(this._tNode.index,P),1)}}get injector(){return new to(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(a){this.hostView.onDestroy(a)}}function H1(){const i=jr();r2(Ii()[Bi],i)}let ko=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=Pd}return i})();function Pd(){return $a(jr(),Ii())}const Mn=ko,dr=class extends Mn{constructor(a,s,p){super(),this._lContainer=a,this._hostTNode=s,this._hostLView=p}get element(){return $l(this._hostTNode,this._hostLView)}get injector(){return new to(this._hostTNode,this._hostLView)}get parentInjector(){const a=Wl(this._hostTNode,this._hostLView);if(hl(a)){const s=ul(a,this._hostLView),p=Sc(a);return new to(s[Bi].data[p+8],s)}return new to(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const s=yr(this._lContainer);return null!==s&&s[a]||null}get length(){return this._lContainer.length-ea}createEmbeddedView(a,s,p){let E,P;"number"==typeof p?E=p:null!=p&&(E=p.index,P=p.injector);const K=F1(this._lContainer,a.ssrId),le=a.createEmbeddedViewImpl(s||{},P,K);return this.insertImpl(le,E,Od(this._hostTNode,K)),le}createComponent(a,s,p,E,P){const K=a&&!function gn(i){return"function"==typeof i}(a);let le;if(K)le=s;else{const bi=s||{};le=bi.index,p=bi.injector,E=bi.projectableNodes,P=bi.environmentInjector||bi.ngModuleRef}const Se=K?a:new Do(Vn(a)),Je=p||this.parentInjector;if(!P&&null==Se.ngModule){const Fi=(K?Je:this.parentInjector).get(So,null);Fi&&(P=Fi)}const vt=Vn(Se.componentType??{}),Bt=F1(this._lContainer,vt?.id??null),ui=Se.create(Je,E,Bt?.firstChild??null,P);return this.insertImpl(ui.hostView,le,Od(this._hostTNode,Bt)),ui}insert(a,s){return this.insertImpl(a,s,!0)}insertImpl(a,s,p){const E=a._lView;if(function Wt(i){return ba(i[fr])}(E)){const le=this.indexOf(a);if(-1!==le)this.detach(le);else{const Se=E[fr],Je=new dr(Se,Se[fa],Se[fr]);Je.detach(Je.indexOf(a))}}const P=this._adjustIndex(s),K=this._lContainer;return S1(K,E,P,p),a.attachToViewContainerRef(),rs(tn(K),P,a),a}move(a,s){return this.insert(a,s)}indexOf(a){const s=yr(this._lContainer);return null!==s?s.indexOf(a):-1}remove(a){const s=this._adjustIndex(a,-1),p=kd(this._lContainer,s);p&&(Ga(tn(this._lContainer),s),vo(p[Bi],p))}detach(a){const s=this._adjustIndex(a,-1),p=kd(this._lContainer,s);return p&&null!=Ga(tn(this._lContainer),s)?new Ys(p):null}_adjustIndex(a,s=0){return a??this.length+s}};function yr(i){return i[8]}function tn(i){return i[8]||(i[8]=[])}function $a(i,a){let s;const p=a[i.index];return ba(p)?s=p:(s=Kp(p,a,null,i),a[i.index]=s,i3(a,s)),ps(s,a,i,p),new dr(s,i,a)}let ps=function Qa(i,a,s,p){if(i[Xo])return;let E;E=8&s.type?wr(p):function Wr(i,a){const s=i[Wn],p=s.createComment(""),E=po(a,i);return E1(s,Qf(s,E),p,function t5(i,a){return i.nextSibling(a)}(s,E),!1),p}(a,s),i[Xo]=E},Vo=()=>!1;class xm{constructor(a){this.queryList=a,this.matches=null}clone(){return new xm(this.queryList)}setDirty(){this.queryList.setDirty()}}class T6{constructor(a=[]){this.queries=a}createEmbeddedView(a){const s=a.queries;if(null!==s){const p=null!==a.contentQueries?a.contentQueries[0]:s.length,E=[];for(let P=0;P<p;P++){const K=s.getByIndex(P);E.push(this.queries[K.indexInDeclarationView].clone())}return new T6(E)}return null}insertView(a){this.dirtyQueriesWithMatches(a)}detachView(a){this.dirtyQueriesWithMatches(a)}finishViewCreation(a){this.dirtyQueriesWithMatches(a)}dirtyQueriesWithMatches(a){for(let s=0;s<this.queries.length;s++)null!==I6(a,s).matches&&this.queries[s].setDirty()}}class j5{constructor(a,s,p=null){this.flags=s,this.read=p,this.predicate="string"==typeof a?function mb(i){return i.split(",").map(a=>a.trim())}(a):a}}class D6{constructor(a=[]){this.queries=a}elementStart(a,s){for(let p=0;p<this.queries.length;p++)this.queries[p].elementStart(a,s)}elementEnd(a){for(let s=0;s<this.queries.length;s++)this.queries[s].elementEnd(a)}embeddedTView(a){let s=null;for(let p=0;p<this.length;p++){const E=null!==s?s.length:0,P=this.getByIndex(p).embeddedTView(a,E);P&&(P.indexInDeclarationView=p,null!==s?s.push(P):s=[P])}return null!==s?new D6(s):null}template(a,s){for(let p=0;p<this.queries.length;p++)this.queries[p].template(a,s)}getByIndex(a){return this.queries[a]}get length(){return this.queries.length}track(a){this.queries.push(a)}}class Cm{constructor(a,s=-1){this.metadata=a,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=s}elementStart(a,s){this.isApplyingToNode(s)&&this.matchTNode(a,s)}elementEnd(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)}template(a,s){this.elementStart(a,s)}embeddedTView(a,s){return this.isApplyingToNode(a)?(this.crossesNgTemplate=!0,this.addMatch(-a.index,s),new Cm(this.metadata)):null}isApplyingToNode(a){if(this._appliesToNextNode&&1&~this.metadata.flags){const s=this._declarationNodeIndex;let p=a.parent;for(;null!==p&&8&p.type&&p.index!==s;)p=p.parent;return s===(null!==p?p.index:-1)}return this._appliesToNextNode}matchTNode(a,s){const p=this.metadata.predicate;if(Array.isArray(p))for(let E=0;E<p.length;E++){const P=p[E];this.matchTNodeWithReadOption(a,s,hb(s,P)),this.matchTNodeWithReadOption(a,s,Jd(s,a,P,!1,!1))}else p===D1?4&s.type&&this.matchTNodeWithReadOption(a,s,-1):this.matchTNodeWithReadOption(a,s,Jd(s,a,p,!1,!1))}matchTNodeWithReadOption(a,s,p){if(null!==p){const E=this.metadata.read;if(null!==E)if(E===pd||E===ko||E===D1&&4&s.type)this.addMatch(s.index,-2);else{const P=Jd(s,a,E,!1,!1);null!==P&&this.addMatch(s.index,P)}else this.addMatch(s.index,p)}}addMatch(a,s){null===this.matches?this.matches=[a,s]:this.matches.push(a,s)}}function hb(i,a){const s=i.localNames;if(null!==s)for(let p=0;p<s.length;p+=2)if(s[p]===a)return s[p+1];return null}function W5(i,a,s,p){return-1===s?function ub(i,a){return 11&i.type?$l(i,a):4&i.type?A1(i,a):null}(a,i):-2===s?function fb(i,a,s){return s===pd?$l(a,i):s===D1?A1(a,i):s===ko?$a(a,i):void 0}(i,a,p):ks(i,i[Bi],s,a)}function A6(i,a,s,p){const E=a[qs].queries[p];if(null===E.matches){const P=i.data,K=s.matches,le=[];for(let Se=0;null!==K&&Se<K.length;Se+=2){const Je=K[Se];le.push(Je<0?null:W5(a,P[Je],K[Se+1],s.metadata.read))}E.matches=le}return E.matches}function k6(i,a,s,p){const E=i.queries.getByIndex(s),P=E.matches;if(null!==P){const K=A6(i,a,E,s);for(let le=0;le<P.length;le+=2){const Se=P[le];if(Se>0)p.push(K[le/2]);else{const Je=P[le+1],vt=a[-Se];for(let Bt=ea;Bt<vt.length;Bt++){const ti=vt[Bt];ti[mo]===ti[fr]&&k6(ti[Bi],ti,Je,p)}if(null!==vt[Nc]){const Bt=vt[Nc];for(let ti=0;ti<Bt.length;ti++){const ui=Bt[ti];k6(ui[Bi],ui,Je,p)}}}}}return p}function X5(i,a,s){const p=new o1(!(4&~s));return function l5(i,a,s,p){const E=Qp(a);E.push(s),i.firstCreatePass&&Zp(i).push(p,E.length-1)}(i,a,p,p.destroy),(a[qs]??=new T6).queries.push(new xm(p))-1}function K5(i,a,s){null===i.queries&&(i.queries=new D6),i.queries.track(new Cm(a,s))}function I6(i,a){return i.queries.getByIndex(a)}function $5(i,a){const s=i[Bi],p=I6(s,a);return p.crossesNgTemplate?k6(s,i,a,[]):A6(s,i,p,a)}function R6(i){return"function"==typeof i&&void 0!==i[l]}function Mm(i,a){oc("NgSignals");const s=function r(i){const a=Object.create(Ee);a.value=i;const s=()=>(y(a),a.value);return s[l]=a,s}(i),p=s[l];return a?.equal&&(p.equal=a.equal),s.set=E=>N(p,E),s.update=E=>function ne(i,a){W()||k(),N(i,a(i.value))}(p,E),s.asReadonly=Q5.bind(s),s}function Q5(){const i=this[l];if(void 0===i.readonlyFn){const a=()=>this();a[l]=i,i.readonlyFn=a}return i.readonlyFn}function Z5(i){return R6(i)&&"function"==typeof i.set}function H6(i){let a=function a7(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),s=!0;const p=[i];for(;a;){let E;if(En(i))E=a.\u0275cmp||a.\u0275dir;else{if(a.\u0275cmp)throw new be(903,!1);E=a.\u0275dir}if(E){if(s){p.push(E);const K=i;K.inputs=Sm(i.inputs),K.inputTransforms=Sm(i.inputTransforms),K.declaredInputs=Sm(i.declaredInputs),K.outputs=Sm(i.outputs);const le=E.hostBindings;le&&M3(i,le);const Se=E.viewQuery,Je=E.contentQueries;if(Se&&Ib(i,Se),Je&&Rb(i,Je),z6(i,E),oe(i.outputs,E.outputs),En(E)&&E.data.animation){const vt=i.data;vt.animation=(vt.animation||[]).concat(E.data.animation)}}const P=E.features;if(P)for(let K=0;K<P.length;K++){const le=P[K];le&&le.ngInherit&&le(i),le===H6&&(s=!1)}}a=Object.getPrototypeOf(a)}!function Lb(i){let a=0,s=null;for(let p=i.length-1;p>=0;p--){const E=i[p];E.hostVars=a+=E.hostVars,E.hostAttrs=Or(E.hostAttrs,s=Or(s,E.hostAttrs))}}(p)}function z6(i,a){for(const s in a.inputs){if(!a.inputs.hasOwnProperty(s)||i.inputs.hasOwnProperty(s))continue;const p=a.inputs[s];if(void 0!==p&&(i.inputs[s]=p,i.declaredInputs[s]=a.declaredInputs[s],null!==a.inputTransforms)){const E=Array.isArray(p)?p[0]:p;if(!a.inputTransforms.hasOwnProperty(E))continue;i.inputTransforms??={},i.inputTransforms[E]=a.inputTransforms[E]}}}function Sm(i){return i===qr?{}:i===Bn?[]:i}function Ib(i,a){const s=i.viewQuery;i.viewQuery=s?(p,E)=>{a(p,E),s(p,E)}:a}function Rb(i,a){const s=i.contentQueries;i.contentQueries=s?(p,E,P)=>{a(p,E,P),s(p,E,P)}:a}function M3(i,a){const s=i.hostBindings;i.hostBindings=s?(p,E)=>{a(p,E),s(p,E)}:a}function G6(i){const a=i.inputConfig,s={};for(const p in a)if(a.hasOwnProperty(p)){const E=a[p];Array.isArray(E)&&E[3]&&(s[p]=E[3])}i.inputTransforms=s}class u0{}class c7{}function Vb(i,a){return new j6(i,a??null,[])}class j6 extends u0{constructor(a,s,p){super(),this._parent=s,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new aa(this);const E=Ir(a);this._bootstrapComponents=An(E.bootstrap),this._r3Injector=W0(a,s,[{provide:u0,useValue:this},{provide:du,useValue:this.componentFactoryResolver},...p],tt(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(s=>s()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class W6 extends c7{constructor(a){super(),this.moduleType=a}create(a){return new j6(this.moduleType,a,[])}}class X6 extends u0{constructor(a){super(),this.componentFactoryResolver=new aa(this),this.instance=null;const s=new Os([...a.providers,{provide:u0,useValue:this},{provide:du,useValue:this.componentFactoryResolver}],a.parent||os(),a.debugName,new Set(["environment"]));this.injector=s,a.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function Y6(i,a,s=null){return new X6({providers:i,parent:a,debugName:s,runEnvironmentInitializers:!0}).injector}let B1=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new fe.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function E3(i){return!!K6(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function K6(i){return null!==i&&("function"==typeof i||"object"==typeof i)}function Sl(i,a,s){return i[a]=s}function Lo(i,a,s){return!Object.is(i[a],s)&&(i[a]=s,!0)}function U1(i,a,s,p){const E=Lo(i,a,s);return Lo(i,a+1,p)||E}function Am(i,a,s,p,E){const P=U1(i,a,s,p);return Lo(i,a+2,E)||P}function T3(i,a,s,p,E,P,K,le,Se,Je){const vt=s+kn,Bt=a.firstCreatePass?function f7(i,a,s,p,E,P,K,le,Se){const Je=a.consts,vt=Q2(a,i,4,K||null,le||null);t3(a,s,vt,qa(Je,Se)),r2(a,vt);const Bt=vt.tView=U4(2,vt,p,E,P,a.directiveRegistry,a.pipeRegistry,null,a.schemas,Je,null);return null!==a.queries&&(a.queries.template(a,vt),Bt.queries=a.queries.embeddedTView(vt)),vt}(vt,a,i,p,E,P,K,le,Se):a.data[vt];Ia(Bt,!1);const ti=m7(a,i,Bt,s);Yd()&&Zf(a,i,ti,Bt),Zo(ti,i);const ui=Kp(ti,i,ti,Bt);return i[vt]=ui,i3(i,ui),function Kn(i,a,s){return Vo(i,a,s)}(ui,Bt,i),Ja(Bt)&&J2(a,i,Bt),null!=Se&&z4(i,Bt,Je),Bt}function mu(i,a,s,p,E,P,K,le){const Se=Ii(),Je=ur();return T3(Se,Je,i,a,s,p,E,qa(Je.consts,P),K,le),mu}let m7=function p7(i,a,s,p){return Ec(!0),a[Wn].createComment("")};function rg(i,a,s,p){const E=Ii();return Lo(E,us(),a)&&(ur(),xl(Pr(),E,i,a,s,p)),rg}function xu(i,a,s,p){return Lo(i,us(),s)?a+_i(s)+p:lr}function W1(i,a,s,p,E,P){const le=U1(i,tc(),s,E);return Mc(2),le?a+_i(s)+p+_i(E)+P:lr}function wu(i,a,s,p,E,P,K,le,Se,Je){const Bt=function Jc(i,a,s,p,E,P){const K=U1(i,a,s,p);return U1(i,a+2,E,P)||K}(i,tc(),s,E,K,Se);return Mc(4),Bt?a+_i(s)+p+_i(E)+P+_i(K)+le+_i(Se)+Je:lr}function Vm(i,a){return i<<17|a<<2}function Y1(i){return i>>17&32767}function lg(i){return 2|i}function p0(i){return(131068&i)>>2}function dg(i,a){return-131069&i|a<<2}function hg(i){return 1|i}function K7(i,a,s,p){const E=i[s+1],P=null===a;let K=p?Y1(E):p0(E),le=!1;for(;0!==K&&(!1===le||P);){const Je=i[K+1];ug(i[K],a)&&(le=!0,i[K+1]=p?hg(Je):lg(Je)),K=p?Y1(Je):p0(Je)}le&&(i[s+1]=p?lg(E):hg(E))}function ug(i,a){return null===i||null==a||(Array.isArray(i)?i[1]:i)===a||!(!Array.isArray(i)||"string"!=typeof a)&&Lr(i,a)>=0}const es={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $7(i){return i.substring(es.key,es.keyEnd)}function fg(i,a){const s=es.textEnd;return s===a?-1:(a=es.keyEnd=function q7(i,a,s){for(;a<s&&i.charCodeAt(a)>32;)a++;return a}(i,es.key=a,s),Tu(i,a,s))}function Tu(i,a,s){for(;a<s&&i.charCodeAt(a)<=32;)a++;return a}function mg(i,a,s){const p=Ii();return Lo(p,us(),a)&&fs(ur(),Pr(),p,i,a,p[Wn],s,!1),mg}function pg(i,a,s,p,E){const K=E?"class":"style";$4(i,s,a.inputs[K],K,p)}function gg(i,a,s){return Tl(i,a,s,!1),gg}function _g(i,a){return Tl(i,a,null,!0),_g}function vg(i){Dl(Ey,cd,i,!0)}function cd(i,a){for(let s=function _y(i){return function J7(i){es.key=0,es.keyEnd=0,es.value=0,es.valueEnd=0,es.textEnd=i.length}(i),fg(i,Tu(i,0,es.textEnd))}(a);s>=0;s=fg(a,s))ga(i,$7(a),!0)}function Tl(i,a,s,p){const E=Ii(),P=ur(),K=Mc(2);P.firstUpdatePass&&n_(P,i,K,p),a!==lr&&Lo(E,K,a)&&a_(P,P.data[Va()],E,E[Wn],i,E[K+1]=function Ty(i,a){return null==i||""===i||("string"==typeof a?i+=a:"object"==typeof i&&(i=tt(Ws(i)))),i}(a,s),p,K)}function Dl(i,a,s,p){const E=ur(),P=Mc(2);E.firstUpdatePass&&n_(E,null,P,p);const K=Ii();if(s!==lr&&Lo(K,P,s)){const le=E.data[Va()];if(o_(le,p)&&!zm(E,P)){let Se=p?le.classesWithoutHost:le.stylesWithoutHost;null!==Se&&(s=$t(Se,s||"")),pg(E,le,K,s,p)}else!function Sy(i,a,s,p,E,P,K,le){E===lr&&(E=Bn);let Se=0,Je=0,vt=0<E.length?E[0]:null,Bt=0<P.length?P[0]:null;for(;null!==vt||null!==Bt;){const ti=Se<E.length?E[Se+1]:void 0,ui=Je<P.length?P[Je+1]:void 0;let Fi,bi=null;vt===Bt?(Se+=2,Je+=2,ti!==ui&&(bi=Bt,Fi=ui)):null===Bt||null!==vt&&vt<Bt?(Se+=2,bi=vt):(Je+=2,bi=Bt,Fi=ui),null!==bi&&a_(i,a,s,p,bi,Fi,K,le),vt=Se<E.length?E[Se]:null,Bt=Je<P.length?P[Je]:null}}(E,le,K,K[Wn],K[P+1],K[P+1]=function Du(i,a,s){if(null==s||""===s)return Bn;const p=[],E=Ws(s);if(Array.isArray(E))for(let P=0;P<E.length;P++)i(p,E[P],!0);else if("object"==typeof E)for(const P in E)E.hasOwnProperty(P)&&i(p,P,E[P]);else"string"==typeof E&&a(p,E);return p}(i,a,s),p,P)}}function zm(i,a){return a>=i.expandoStartIndex}function n_(i,a,s,p){const E=i.data;if(null===E[s+1]){const P=E[Va()],K=zm(i,s);o_(P,p)&&null===a&&!K&&(a=!1),a=function xy(i,a,s,p){const E=Ca(i);let P=p?a.residualClasses:a.residualStyles;if(null===E)0===(p?a.classBindings:a.styleBindings)&&(s=L3(s=bg(null,i,a,s,p),a.attrs,p),P=null);else{const K=a.directiveStylingLast;if(-1===K||i[K]!==E)if(s=bg(E,i,a,s,p),null===P){let Se=function Cy(i,a,s){const p=s?a.classBindings:a.styleBindings;if(0!==p0(p))return i[Y1(p)]}(i,a,p);void 0!==Se&&Array.isArray(Se)&&(Se=bg(null,i,a,Se[1],p),Se=L3(Se,a.attrs,p),function wy(i,a,s,p){i[Y1(s?a.classBindings:a.styleBindings)]=p}(i,a,p,Se))}else P=function My(i,a,s){let p;const E=a.directiveEnd;for(let P=1+a.directiveStylingLast;P<E;P++)p=L3(p,i[P].hostAttrs,s);return L3(p,a.attrs,s)}(i,a,p)}return void 0!==P&&(p?a.residualClasses=P:a.residualStyles=P),s}(E,P,a,p),function gy(i,a,s,p,E,P){let K=P?a.classBindings:a.styleBindings,le=Y1(K),Se=p0(K);i[p]=s;let vt,Je=!1;if(Array.isArray(s)?(vt=s[1],(null===vt||Lr(s,vt)>0)&&(Je=!0)):vt=s,E)if(0!==Se){const ti=Y1(i[le+1]);i[p+1]=Vm(ti,le),0!==ti&&(i[ti+1]=dg(i[ti+1],p)),i[le+1]=function my(i,a){return 131071&i|a<<17}(i[le+1],p)}else i[p+1]=Vm(le,0),0!==le&&(i[le+1]=dg(i[le+1],p)),le=p;else i[p+1]=Vm(Se,0),0===le?le=p:i[Se+1]=dg(i[Se+1],p),Se=p;Je&&(i[p+1]=lg(i[p+1])),K7(i,vt,p,!0),K7(i,vt,p,!1),function Y7(i,a,s,p,E){const P=E?i.residualClasses:i.residualStyles;null!=P&&"string"==typeof a&&Lr(P,a)>=0&&(s[p+1]=hg(s[p+1]))}(a,vt,i,p,P),K=Vm(le,Se),P?a.classBindings=K:a.styleBindings=K}(E,P,a,s,K,p)}}function bg(i,a,s,p,E){let P=null;const K=s.directiveEnd;let le=s.directiveStylingLast;for(-1===le?le=s.directiveStart:le++;le<K&&(P=a[le],p=L3(p,P.hostAttrs,E),P!==i);)le++;return null!==i&&(s.directiveStylingLast=le),p}function L3(i,a,s){const p=s?1:2;let E=-1;if(null!==a)for(let P=0;P<a.length;P++){const K=a[P];"number"==typeof K?E=K:E===p&&(Array.isArray(i)||(i=void 0===i?[]:["",i]),ga(i,K,!!s||a[++P]))}return void 0===i?null:i}function Ey(i,a,s){const p=String(a);""!==p&&!p.includes(" ")&&ga(i,p,s)}function a_(i,a,s,p,E,P,K,le){if(!(3&a.type))return;const Se=i.data,Je=Se[le+1],vt=function py(i){return!(1&~i)}(Je)?Au(Se,a,s,E,p0(Je),K):void 0;Bm(vt)||(Bm(P)||function Hm(i){return!(2&~i)}(Je)&&(P=Au(Se,null,s,E,le,K)),function n5(i,a,s,p,E){if(a)E?i.addClass(s,p):i.removeClass(s,p);else{let P=-1===p.indexOf("-")?void 0:Lc.DashCase;null==E?i.removeStyle(s,p,P):("string"==typeof E&&E.endsWith("!important")&&(E=E.slice(0,-10),P|=Lc.Important),i.setStyle(s,p,E,P))}}(p,K,La(Va(),s),E,P))}function Au(i,a,s,p,E,P){const K=null===a;let le;for(;E>0;){const Se=i[E],Je=Array.isArray(Se),vt=Je?Se[1]:Se,Bt=null===vt;let ti=s[E+1];ti===lr&&(ti=Bt?Bn:void 0);let ui=Bt?Za(ti,p):vt===p?ti:void 0;if(Je&&!Bm(ui)&&(ui=Za(Se,p)),Bm(ui)&&(le=ui,K))return le;const bi=i[E+1];E=K?Y1(bi):p0(bi)}if(null!==a){let Se=P?a.residualClasses:a.residualStyles;null!=Se&&(le=Za(Se,p))}return le}function Bm(i){return void 0!==i}function o_(i,a){return!!(i.flags&(a?8:16))}function s_(i,a,s){Dl(ga,cd,xu(Ii(),i,a,s),!0)}class Oy{destroy(a){}updateValue(a,s){}swap(a,s){const p=Math.min(a,s),E=Math.max(a,s),P=this.detach(E);if(E-p>1){const K=this.detach(p);this.attach(p,P),this.attach(E,K)}else this.attach(p,P)}move(a,s){this.attach(s,this.detach(a))}}function I3(i,a,s,p,E){return i===s&&Object.is(a,p)?1:Object.is(E(i,a),E(s,p))?-1:0}function yg(i,a,s,p){return!(void 0===a||!a.has(p)||(i.attach(s,a.get(p)),a.delete(p),0))}function h_(i,a,s,p,E){if(yg(i,a,p,s(p,E)))i.updateValue(p,E);else{const P=i.create(p,E);i.attach(p,P)}}function u_(i,a,s,p){const E=new Set;for(let P=a;P<=s;P++)E.add(p(P,i.at(P)));return E}class f_{constructor(){this.kvMap=new Map,this._vMap=void 0}has(a){return this.kvMap.has(a)}delete(a){if(!this.has(a))return!1;const s=this.kvMap.get(a);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(a,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(a),!0}get(a){return this.kvMap.get(a)}set(a,s){if(this.kvMap.has(a)){let p=this.kvMap.get(a);void 0===this._vMap&&(this._vMap=new Map);const E=this._vMap;for(;E.has(p);)p=E.get(p);E.set(p,s)}else this.kvMap.set(a,s)}forEach(a){for(let[s,p]of this.kvMap)if(a(p,s),void 0!==this._vMap){const E=this._vMap;for(;E.has(p);)p=E.get(p),a(p,s)}}}function m_(i,a){oc("NgControlFlow");const s=Ii(),p=us(),E=s[p]!==lr?s[p]:-1,P=-1!==E?Um(s,kn+E):void 0;if(Lo(s,p,i)){const le=x(null);try{if(void 0!==P&&n3(P,0),-1!==i){const Se=kn+i,Je=Um(s,Se),vt=wg(s[Bi],Se),Bt=F1(Je,vt.tView.ssrId);S1(Je,Rd(s,vt,a,{dehydratedView:Bt}),0,Od(vt,Bt))}}finally{x(le)}}else if(void 0!==P){const le=Cs(P,0);void 0!==le&&(le[Ur]=a)}}class Ny{constructor(a,s,p){this.lContainer=a,this.$implicit=s,this.$index=p}get $count(){return this.lContainer.length-ea}}function xg(i,a){return a}class Py{constructor(a,s,p){this.hasEmptyBlock=a,this.trackByFn=s,this.liveCollection=p}}function g_(i,a,s,p,E,P,K,le,Se,Je,vt,Bt,ti){oc("NgControlFlow");const ui=Ii(),bi=ur(),Fi=void 0!==Se,qi=Ii(),ln=le?K.bind(qi[Qr][Ur]):K,Hi=new Py(Fi,ln);qi[kn+i]=Hi,T3(ui,bi,i+1,a,s,p,E,qa(bi.consts,P)),Fi&&T3(ui,bi,i+2,Se,Je,vt,Bt,qa(bi.consts,ti))}class Hy extends Oy{constructor(a,s,p){super(),this.lContainer=a,this.hostLView=s,this.templateTNode=p,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ea}at(a){return this.getLView(a)[Ur].$implicit}attach(a,s){const p=s[Ya];this.needsIndexUpdate||=a!==this.length,S1(this.lContainer,s,a,Od(this.templateTNode,p))}detach(a){return this.needsIndexUpdate||=a!==this.length-1,function zy(i,a){return kd(i,a)}(this.lContainer,a)}create(a,s){const p=F1(this.lContainer,this.templateTNode.tView.ssrId),E=Rd(this.hostLView,this.templateTNode,new Ny(this.lContainer,s,a),{dehydratedView:p});return this.operationsCounter?.recordCreate(),E}destroy(a){vo(a[Bi],a),this.operationsCounter?.recordDestroy()}updateValue(a,s){this.getLView(a)[Ur].$implicit=s}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let a=0;a<this.length;a++)this.getLView(a)[Ur].$index=a}getLView(a){return function By(i,a){return Cs(i,a)}(this.lContainer,a)}}function Cg(i){const a=x(null),s=Va();try{const p=Ii(),E=p[Bi],P=p[s],K=s+1,le=Um(p,K);if(void 0===P.liveCollection){const Je=wg(E,K);P.liveCollection=new Hy(le,p,Je)}else P.liveCollection.reset();const Se=P.liveCollection;if(function Fy(i,a,s){let p,E,P=0,K=i.length-1;if(Array.isArray(a)){let Se=a.length-1;for(;P<=K&&P<=Se;){const Je=i.at(P),vt=a[P],Bt=I3(P,Je,P,vt,s);if(0!==Bt){Bt<0&&i.updateValue(P,vt),P++;continue}const ti=i.at(K),ui=a[Se],bi=I3(K,ti,Se,ui,s);if(0!==bi){bi<0&&i.updateValue(K,ui),K--,Se--;continue}const Fi=s(P,Je),qi=s(K,ti),ln=s(P,vt);if(Object.is(ln,qi)){const Hi=s(Se,ui);Object.is(Hi,Fi)?(i.swap(P,K),i.updateValue(K,ui),Se--,K--):i.move(K,P),i.updateValue(P,vt),P++}else if(p??=new f_,E??=u_(i,P,K,s),yg(i,p,P,ln))i.updateValue(P,vt),P++,K++;else if(E.has(ln))p.set(Fi,i.detach(P)),K--;else{const Hi=i.create(P,a[P]);i.attach(P,Hi),P++,K++}}for(;P<=Se;)h_(i,p,s,P,a[P]),P++}else if(null!=a){const Se=a[Symbol.iterator]();let Je=Se.next();for(;!Je.done&&P<=K;){const vt=i.at(P),Bt=Je.value,ti=I3(P,vt,P,Bt,s);if(0!==ti)ti<0&&i.updateValue(P,Bt),P++,Je=Se.next();else{p??=new f_,E??=u_(i,P,K,s);const ui=s(P,Bt);if(yg(i,p,P,ui))i.updateValue(P,Bt),P++,K++,Je=Se.next();else if(E.has(ui)){const bi=s(P,vt);p.set(bi,i.detach(P)),K--}else i.attach(P,i.create(P,Bt)),P++,K++,Je=Se.next()}}for(;!Je.done;)h_(i,p,s,i.length,Je.value),Je=Se.next()}for(;P<=K;)i.destroy(i.detach(K--));p?.forEach(Se=>{i.destroy(Se)})}(Se,i,P.trackByFn),Se.updateIndexes(),P.hasEmptyBlock){const Je=us(),vt=0===Se.length;if(Lo(p,Je,vt)){const Bt=s+2,ti=Um(p,Bt);if(vt){const ui=wg(E,Bt),bi=F1(ti,ui.tView.ssrId);S1(ti,Rd(p,ui,void 0,{dehydratedView:bi}),0,Od(ui,bi))}else n3(ti,0)}}}finally{x(a)}}function Um(i,a){return i[a]}function wg(i,a){return ec(i,a)}function R3(i,a,s,p){const E=Ii(),P=ur(),K=kn+i,le=E[Wn],Se=P.firstCreatePass?function Uy(i,a,s,p,E,P){const K=a.consts,Se=Q2(a,i,2,p,qa(K,E));return t3(a,s,Se,qa(K,P)),null!==Se.attrs&&Er(Se,Se.attrs,!1),null!==Se.mergedAttrs&&Er(Se,Se.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,Se),Se}(K,P,E,a,s,p):P.data[K],Je=__(P,E,Se,le,a,i);E[K]=Je;const vt=Ja(Se);return Ia(Se,!0),Jf(le,Je,Se),!function fu(i){return!(32&~i.flags)}(Se)&&Yd()&&Zf(P,E,Je,Se),0===function Ud(){return Nn.lFrame.elementDepthCount}()&&Zo(Je,E),function Uu(){Nn.lFrame.elementDepthCount++}(),vt&&(J2(P,E,Se),H4(P,Se,E)),null!==p&&z4(E,Se),R3}function Gm(){let i=jr();ds()?Ra():(i=i.parent,Ia(i,!1));const a=i;(function $3(i){return Nn.skipHydrationRootTNode===i})(a)&&function J3(){Nn.skipHydrationRootTNode=null}(),function Gu(){Nn.lFrame.elementDepthCount--}();const s=ur();return s.firstCreatePass&&(r2(s,i),Ts(i)&&s.queries.elementEnd(i)),null!=a.classesWithoutHost&&function Ju(i){return!!(8&i.flags)}(a)&&pg(s,a,Ii(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function qu(i){return!!(16&i.flags)}(a)&&pg(s,a,Ii(),a.stylesWithoutHost,!1),Gm}function jm(i,a,s,p){return R3(i,a,s,p),Gm(),jm}let __=(i,a,s,p,E,P)=>(Ec(!0),Gn(p,E,function k0(){return Nn.lFrame.currentNamespace}()));function Wm(i,a,s){const p=Ii(),E=ur(),P=i+kn,K=E.firstCreatePass?function jy(i,a,s,p,E){const P=a.consts,K=qa(P,p),le=Q2(a,i,8,"ng-container",K);return null!==K&&Er(le,K,!0),t3(a,s,le,qa(P,E)),null!==a.queries&&a.queries.elementStart(a,le),le}(P,E,p,a,s):E.data[P];Ia(K,!0);const le=b_(E,p,K,i);return p[P]=le,Yd()&&Zf(E,p,le,K),Zo(le,p),Ja(K)&&(J2(E,p,K),H4(E,K,p)),null!=s&&z4(p,K),Wm}function Xm(){let i=jr();const a=ur();return ds()?Ra():(i=i.parent,Ia(i,!1)),a.firstCreatePass&&(r2(a,i),Ts(i)&&a.queries.elementEnd(i)),Xm}function Mg(i,a,s){return Wm(i,a,s),Xm(),Mg}let b_=(i,a,s,p)=>(Ec(!0),On(a[Wn],""));function x_(){return Ii()}function Eg(i,a,s){const p=Ii();return Lo(p,us(),a)&&fs(ur(),Pr(),p,i,a,p[Wn],s,!0),Eg}function Sg(i,a,s){const p=Ii();if(Lo(p,us(),a)){const P=ur(),K=Pr();fs(P,K,p,i,a,Jp(Ca(P.data),K,p),s,!0)}return Sg}const K1=void 0;var Yy=["en",[["a","p"],["AM","PM"],K1],[["AM","PM"],K1,K1],[["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"]],K1,[["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"]],K1,[["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}",K1,"{1} 'at' {0}",K1],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Xy(i){const s=Math.floor(Math.abs(i)),p=i.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===p?1:5}];let Vd={};function Tg(i){const a=function Ky(i){return i.toLowerCase().replace(/_/g,"-")}(i);let s=w_(a);if(s)return s;const p=a.split("-")[0];if(s=w_(p),s)return s;if("en"===p)return Yy;throw new be(701,!1)}function C_(i){return Tg(i)[ku.PluralCase]}function w_(i){return i in Vd||(Vd[i]=Yt.ng&&Yt.ng.common&&Yt.ng.common.locales&&Yt.ng.common.locales[i]),Vd[i]}var ku=function(i){return i[i.LocaleId=0]="LocaleId",i[i.DayPeriodsFormat=1]="DayPeriodsFormat",i[i.DayPeriodsStandalone=2]="DayPeriodsStandalone",i[i.DaysFormat=3]="DaysFormat",i[i.DaysStandalone=4]="DaysStandalone",i[i.MonthsFormat=5]="MonthsFormat",i[i.MonthsStandalone=6]="MonthsStandalone",i[i.Eras=7]="Eras",i[i.FirstDayOfWeek=8]="FirstDayOfWeek",i[i.WeekendRange=9]="WeekendRange",i[i.DateFormat=10]="DateFormat",i[i.TimeFormat=11]="TimeFormat",i[i.DateTimeFormat=12]="DateTimeFormat",i[i.NumberSymbols=13]="NumberSymbols",i[i.NumberFormats=14]="NumberFormats",i[i.CurrencyCode=15]="CurrencyCode",i[i.CurrencySymbol=16]="CurrencySymbol",i[i.CurrencyName=17]="CurrencyName",i[i.Currencies=18]="Currencies",i[i.Directionality=19]="Directionality",i[i.PluralCase=20]="PluralCase",i[i.ExtraData=21]="ExtraData",i}(ku||{});const Lu="en-US";let Dg=Lu;let K_=(i,a,s)=>{};function Vg(i,a,s,p){const E=Ii(),P=ur(),K=jr();return Bg(P,E,E[Wn],K,i,a,p),Vg}function Hg(i,a){const s=jr(),p=Ii(),E=ur();return Bg(E,p,Jp(Ca(E.data),s,p),s,i,a),Hg}function Bg(i,a,s,p,E,P,K){const le=Ja(p),Je=i.firstCreatePass&&Zp(i),vt=a[Ur],Bt=Qp(a);let ti=!0;if(3&p.type||K){const Fi=po(p,a),qi=K?K(Fi):Fi,ln=Bt.length,Hi=K?Jr=>K(wr(Jr[p.index])):p.index;K_(Fi,E,P);let er=null;if(!K&&le&&(er=function zg(i,a,s,p){const E=i.cleanup;if(null!=E)for(let P=0;P<E.length-1;P+=2){const K=E[P];if(K===s&&E[P+1]===p){const le=a[vc],Se=E[P+2];return le.length>Se?le[Se]:null}"string"==typeof K&&(P+=2)}return null}(i,a,E,p.index)),null!==er)(er.__ngLastListenerFn__||er).__ngNextListenerFn__=P,er.__ngLastListenerFn__=P,ti=!1;else{P=Z_(p,a,vt,P);const Jr=s.listen(qi,E,P);Bt.push(P,Jr),Je&&Je.push(E,Hi,ln,ln+1)}}else P=Z_(p,a,vt,P);const ui=p.outputs;let bi;if(ti&&null!==ui&&(bi=ui[E])){const Fi=bi.length;if(Fi)for(let qi=0;qi<Fi;qi+=2){const Ba=a[bi[qi]][bi[qi+1]].subscribe(P),ws=Bt.length;Bt.push(P,Ba),Je&&Je.push(E,p.index,ws,-(ws+1))}}}function Q_(i,a,s,p){const E=x(null);try{return As(6,a,s),!1!==s(p)}catch(P){return q2(i,P),!1}finally{As(7,a,s),x(E)}}function Z_(i,a,s,p){return function E(P){if(P===Function)return p;T1(i.componentOffset>-1?$o(i.index,a):a,5);let le=Q_(a,s,p,P),Se=E.__ngNextListenerFn__;for(;Se;)le=Q_(a,s,Se,P)&&le,Se=Se.__ngNextListenerFn__;return le}}function Ug(i=1){return function Qu(i){return(Nn.lFrame.contextLView=function Bu(i,a){for(;i>0;)a=a[yc],i--;return a}(i,Nn.lFrame.contextLView))[Ur]}(i)}function xx(i,a){let s=null;const p=function Ue(i){const a=i.attrs;if(null!=a){const s=a.indexOf(5);if(!(1&s))return a[s+1]}return null}(i);for(let E=0;E<a.length;E++){const P=a[E];if("*"!==P){if(null===p?ht(i,P,!0):pn(p,P))return E}else s=E}return s}function J_(i){const a=Ii()[Qr][fa];if(!a.projection){const p=a.projection=function Na(i,a){const s=[];for(let p=0;p<i;p++)s.push(a);return s}(i?i.length:1,null),E=p.slice();let P=a.child;for(;null!==P;){const K=i?xx(P,i):0;null!==K&&(E[K]?E[K].projectionNext=P:p[K]=P,E[K]=P),P=P.next}}}function q_(i,a=0,s,p,E,P){const K=Ii(),le=ur(),Se=p?i+1:null;null!==Se&&T3(K,le,Se,p,E,P,null,s);const Je=Q2(le,kn+i,16,null,s||null);null===Je.projection&&(Je.projection=a),Ra();const Bt=!K[Ya]||sl();null===K[Qr][fa].projection[Je.projection]&&null!==Se?function ev(i,a,s){const p=kn+s,E=a.data[p],P=i[p],K=F1(P,E.tView.ssrId);S1(P,Rd(i,E,void 0,{dehydratedView:K}),0,Od(E,K))}(K,le,Se):Bt&&32&~Je.flags&&function i5(i,a,s){N4(a[Wn],0,a,s,Id(i,s,a),Ap(s.parent||a[fa],s,a))}(le,K,Je)}function Gg(i,a,s){return qm(i,"",a,"",s),Gg}function qm(i,a,s,p,E){const P=Ii(),K=xu(P,a,s,p);return K!==lr&&fs(ur(),Pr(),P,i,K,P[Wn],E,!1),qm}function jg(i,a,s,p,E,P,K){const le=Ii(),Se=W1(le,a,s,p,E,P);return Se!==lr&&fs(ur(),Pr(),le,i,Se,le[Wn],K,!1),jg}function av(i,a,s,p){!function Y5(i,a,s,p){const E=ur();if(E.firstCreatePass){const P=jr();K5(E,new j5(a,s,p),P.index),function pb(i,a){const s=i.contentQueries||(i.contentQueries=[]);a!==(s.length?s[s.length-1]:-1)&&s.push(i.queries.length-1,a)}(E,i),!(2&~s)&&(E.staticContentQueries=!0)}return X5(E,Ii(),s)}(i,a,s,p)}function ov(i,a,s){!function L6(i,a,s){const p=ur();return p.firstCreatePass&&(K5(p,new j5(i,a,s),-1),!(2&~a)&&(p.staticViewQueries=!0)),X5(p,Ii(),a)}(i,a,s)}function Yg(i){const a=Ii(),s=ur(),p=Vc();ic(p+1);const E=I6(s,p);if(i.dirty&&function Y3(i){return!(4&~i[sn])}(a)===!(2&~E.metadata.flags)){if(null===E.matches)i.reset([]);else{const P=$5(a,p);i.reset(P,Ql),i.notifyOnChanges()}return!0}return!1}function sv(){return function wm(i,a){return i[qs].queries[a].queryList}(Ii(),Vc())}function lv(i){return Hl(function Gd(){return Nn.lFrame.contextLView}(),kn+i)}function Jg(i,a=""){const s=Ii(),p=ur(),E=i+kn,P=p.firstCreatePass?Q2(p,E,1,a,null):p.data[E],K=qg(p,s,P,a,i);s[E]=K,Yd()&&Zf(p,s,K,P),Ia(P,!1)}let qg=(i,a,s,p,E)=>(Ec(!0),function X2(i,a){return i.createText(a)}(a[Wn],p));function t8(i){return tp("",i,""),t8}function tp(i,a,s){const p=Ii(),E=xu(p,i,a,s);return E!==lr&&Zc(p,Va(),E),tp}function ip(i,a,s,p,E){const P=Ii(),K=W1(P,i,a,s,p,E);return K!==lr&&Zc(P,Va(),K),ip}function i8(i,a,s,p,E,P,K){const le=Ii(),Se=function Cu(i,a,s,p,E,P,K,le){const Je=Am(i,tc(),s,E,K);return Mc(3),Je?a+_i(s)+p+_i(E)+P+_i(K)+le:lr}(le,i,a,s,p,E,P,K);return Se!==lr&&Zc(le,Va(),Se),i8}function np(i,a,s,p,E,P,K,le,Se){const Je=Ii(),vt=wu(Je,i,a,s,p,E,P,K,le,Se);return vt!==lr&&Zc(Je,Va(),vt),np}function a8(i,a,s){Z5(a)&&(a=a());const p=Ii();return Lo(p,us(),a)&&fs(ur(),Pr(),p,i,a,p[Wn],s,!1),a8}function rp(i,a){const s=Z5(i);return s&&i.set(a),s}function o8(i,a){const s=Ii(),p=ur(),E=jr();return Bg(p,s,s[Wn],E,i,a),o8}function s8(i,a,s,p,E){if(i=dt(i),Array.isArray(i))for(let P=0;P<i.length;P++)s8(i[P],a,s,p,E);else{const P=ur(),K=Ii(),le=jr();let Se=Eo(i)?i:dt(i.provide);const Je=il(i),vt=1048575&le.providerIndexes,Bt=le.directiveStart,ti=le.providerIndexes>>20;if(Eo(i)||!i.multi){const ui=new Bc(Je,E,$2),bi=c8(Se,a,E?vt:vt+ti,Bt);-1===bi?(fl(Uc(le,K),P,Se),g0(P,i,a.length),a.push(Se),le.directiveStart++,le.directiveEnd++,E&&(le.providerIndexes+=1048576),s.push(ui),K.push(ui)):(s[bi]=ui,K[bi]=ui)}else{const ui=c8(Se,a,vt+ti,Bt),bi=c8(Se,a,vt,vt+ti),qi=bi>=0&&s[bi];if(E&&!qi||!E&&!(ui>=0&&s[ui])){fl(Uc(le,K),P,Se);const ln=function Ox(i,a,s,p,E){const P=new Bc(i,s,$2);return P.multi=[],P.index=a,P.componentProviders=0,xv(P,E,p&&!s),P}(E?Cv:Rx,s.length,E,p,Je);!E&&qi&&(s[bi].providerFactory=ln),g0(P,i,a.length,0),a.push(Se),le.directiveStart++,le.directiveEnd++,E&&(le.providerIndexes+=1048576),s.push(ln),K.push(ln)}else g0(P,i,ui>-1?ui:bi,xv(s[E?bi:ui],Je,!E&&p));!E&&p&&qi&&s[bi].componentProviders++}}}function g0(i,a,s,p){const E=Eo(a),P=function pc(i){return!!i.useClass}(a);if(E||P){const Se=(P?dt(a.useClass):a).prototype.ngOnDestroy;if(Se){const Je=i.destroyHooks||(i.destroyHooks=[]);if(!E&&a.multi){const vt=Je.indexOf(s);-1===vt?Je.push(s,[p,Se]):Je[vt+1].push(p,Se)}else Je.push(s,Se)}}}function xv(i,a,s){return s&&i.componentProviders++,i.multi.push(a)-1}function c8(i,a,s,p){for(let E=s;E<p;E++)if(a[E]===i)return E;return-1}function Rx(i,a,s,p){return ap(this.multi,[])}function Cv(i,a,s,p){const E=this.multi;let P;if(this.providerFactory){const K=this.providerFactory.componentProviders,le=ks(s,s[Bi],this.providerFactory.index,p);P=le.slice(0,K),ap(E,P);for(let Se=K;Se<le.length;Se++)P.push(le[Se])}else P=[],ap(E,P);return P}function ap(i,a){for(let s=0;s<i.length;s++)a.push((0,i[s])());return a}function l8(i,a=[]){return s=>{s.providersResolver=(p,E)=>function Ix(i,a,s){const p=ur();if(p.firstCreatePass){const E=En(i);s8(s,p.data,p.blueprint,E,!0),s8(a,p.data,p.blueprint,E,!1)}}(p,E?E(i):i,a)}}let Fx=(()=>{class i{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const p=_s(0,s.type),E=p.length>0?Y6([p],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,E)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Li({token:i,providedIn:"environment",factory:()=>new i(zn(So))})}return i})();function wv(i){oc("NgStandalone"),i.getStandaloneInjector=a=>a.get(Fx).getOrCreateStandaloneInjector(i)}function Mv(i,a,s){const p=hs()+i,E=Ii();return E[p]===lr?Sl(E,p,s?a.call(s):a()):function S3(i,a){return i[a]}(E,p)}function Ev(i,a,s,p){return Ou(Ii(),hs(),i,a,s,p)}function h8(i,a,s,p,E){return Tv(Ii(),hs(),i,a,s,p,E)}function Sv(i,a,s,p,E,P){return Dv(Ii(),hs(),i,a,s,p,E,P)}function P3(i,a){const s=i[a];return s===lr?void 0:s}function Ou(i,a,s,p,E,P){const K=a+s;return Lo(i,K,E)?Sl(i,K+1,P?p.call(P,E):p(E)):P3(i,K+1)}function Tv(i,a,s,p,E,P,K){const le=a+s;return U1(i,le,E,P)?Sl(i,le+2,K?p.call(K,E,P):p(E,P)):P3(i,le+2)}function Dv(i,a,s,p,E,P,K,le){const Se=a+s;return Am(i,Se,E,P,K)?Sl(i,Se+3,le?p.call(le,E,P,K):p(E,P,K)):P3(i,Se+3)}function Lv(i,a){const s=ur();let p;const E=i+kn;s.firstCreatePass?(p=function jx(i,a){if(a)for(let s=a.length-1;s>=0;s--){const p=a[s];if(i===p.name)return p}}(a,s.pipeRegistry),s.data[E]=p,p.onDestroy&&(s.destroyHooks??=[]).push(E,p.onDestroy)):p=s.data[E];const P=p.factory||(p.factory=kr(p.type)),le=nr($2);try{const Se=hd(!1),Je=P();return hd(Se),function Mx(i,a,s,p){s>=i.data.length&&(i.data[s]=null,i.blueprint[s]=null),a[s]=p}(s,Ii(),E,Je),Je}finally{nr(le)}}function Iv(i,a,s){const p=i+kn,E=Ii(),P=Hl(E,p);return V3(E,p)?Ou(E,hs(),a,P.transform,s,P):P.transform(s)}function Rv(i,a,s,p){const E=i+kn,P=Ii(),K=Hl(P,E);return V3(P,E)?Tv(P,hs(),a,K.transform,s,p,K):K.transform(s,p)}function Ov(i,a,s,p,E){const P=i+kn,K=Ii(),le=Hl(K,P);return V3(K,P)?Dv(K,hs(),a,le.transform,s,p,E,le):le.transform(s,p,E)}function V3(i,a){return i[Bi].data[a].pure}function Nv(i,a){return A1(i,a)}class C8{constructor(a){this.full=a;const s=a.split(".");this.major=s[0],this.minor=s[1],this.patch=s.slice(2).join(".")}}let Qv=(()=>{class i{log(s){console.log(s)}warn(s){console.warn(s)}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();const h9=new Ni(""),E8=new Ni("");let S8,SC=(()=>{class i{constructor(s,p,E){this._ngZone=s,this.registry=p,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,S8||(function TC(i){S8=i}(E),E.addToWindow(p)),this._watchAngularEvents(),s.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ha.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(p=>!p.updateCb||!p.updateCb(s)||(clearTimeout(p.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,p,E){let P=-1;p&&p>0&&(P=setTimeout(()=>{this._callbacks=this._callbacks.filter(K=>K.timeoutId!==P),s()},p)),this._callbacks.push({doneCb:s,timeoutId:P,updateCb:E})}whenStable(s,p,E){if(E&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(s,p,E),this._runCallbacksIfReady()}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,p,E){return[]}static#e=this.\u0275fac=function(p){return new(p||i)(zn(Ha),zn(u9),zn(E8))};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac})}return i})(),u9=(()=>{class i{constructor(){this._applications=new Map}registerApplication(s,p){this._applications.set(s,p)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,p=!0){return S8?.findTestabilityInTree(this,s,p)??null}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();function T8(i){return!!i&&"function"==typeof i.then}function f9(i){return!!i&&"function"==typeof i.subscribe}const D8=new Ni("");let A8=(()=>{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,p)=>{this.resolve=s,this.reject=p}),this.appInits=hn(D8,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const E of this.appInits){const P=E();if(T8(P))s.push(P);else if(f9(P)){const K=new Promise((le,Se)=>{P.subscribe({complete:le,error:Se})});s.push(K)}}const p=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{p()}).catch(E=>{this.reject(E)}),0===s.length&&p(),this.initialized=!0}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const lp=new Ni("");function _9(i,a){return Array.isArray(a)?a.reduce(_9,i):{...i,...a}}let Al=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=hn(r1),this.afterRenderEffectManager=hn(ki),this.zonelessEnabled=hn(Nd),this.externalTestViews=new Set,this.beforeRender=new me.B,this.afterTick=new me.B,this.componentTypes=[],this.components=[],this.isStable=hn(B1).hasPendingTasks.pipe((0,ke.T)(s=>!s)),this._injector=hn(So)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,p){const E=s instanceof v6;if(!this._injector.get(A8).done)throw!E&&so(s),new be(405,!1);let K;K=E?s:this._injector.get(du).resolveComponentFactory(s),this.componentTypes.push(K.componentType);const le=function p9(i){return i.isBoundToModule}(K)?void 0:this._injector.get(u0),Je=K.create(go.NULL,[],p||K.selector,le),vt=Je.location.nativeElement,Bt=Je.injector.get(h9,null);return Bt?.registerApplication(vt),Je.onDestroy(()=>{this.detachView(Je.hostView),B3(this.components,Je),Bt?.unregisterApplication(vt)}),this._loadComponent(Je),Je}tick(){this._tick(!0)}_tick(s){if(this._runningTick)throw new be(101,!1);const p=x(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(s)}catch(E){this.internalErrorHandler(E)}finally{this._runningTick=!1,x(p),this.afterTick.next()}}detectChangesInAttachedViews(s){let p=null;this._injector.destroyed||(p=this._injector.get(b3,null,{optional:!0}));let E=0;const P=this.afterRenderEffectManager;for(;E<10;){const K=0===E;if(s||!K){this.beforeRender.next(K);for(let{_lView:le,notifyErrorHandler:Se}of this._views)DC(le,Se,K,this.zonelessEnabled)}else p?.begin?.(),p?.end?.();if(E++,P.executeInternalCallbacks(),!this.allViews.some(({_lView:le})=>al(le))&&(P.execute(),!this.allViews.some(({_lView:le})=>al(le))))break}}attachView(s){const p=s;this._views.push(p),p.attachToAppRef(this)}detachView(s){const p=s;B3(this._views,p),p.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const p=this._injector.get(lp,[]);[...this._bootstrapListeners,...p].forEach(E=>E(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>B3(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new be(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function B3(i,a){const s=i.indexOf(a);s>-1&&i.splice(s,1)}function DC(i,a,s,p){(s||al(i))&&n0(i,a,s&&!p?0:1)}class AC{constructor(a,s){this.ngModuleFactory=a,this.componentFactories=s}}let kC=(()=>{class i{compileModuleSync(s){return new W6(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const p=this.compileModuleSync(s),P=An(Ir(s).declarations).reduce((K,le)=>{const Se=Vn(le);return Se&&K.push(new Do(Se)),K},[]);return new AC(p,P)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),IC=(()=>{class i{constructor(){this.zone=hn(Ha),this.changeDetectionScheduler=hn(N1),this.applicationRef=hn(Al)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function hp({ngZoneFactory:i,ignoreChangesOutsideZone:a}){return i??=()=>new Ha(L8()),[{provide:Ha,useFactory:i},{provide:Da,multi:!0,useFactory:()=>{const s=hn(IC,{optional:!0});return()=>s.initialize()}},{provide:Da,multi:!0,useFactory:()=>{const s=hn(OC);return()=>{s.initialize()}}},{provide:r1,useFactory:RC},!0===a?{provide:_6,useValue:!0}:[]]}function RC(){const i=hn(Ha),a=hn(Bs);return s=>i.runOutsideAngular(()=>a.handleError(s))}function L8(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}let OC=(()=>{class i{constructor(){this.subscription=new ce.yU,this.initialized=!1,this.zone=hn(Ha),this.pendingTasks=hn(B1)}initialize(){if(this.initialized)return;this.initialized=!0;let s=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(s=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ha.assertNotInAngularZone(),queueMicrotask(()=>{null!==s&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(s),s=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ha.assertInAngularZone(),s??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),U3=(()=>{class i{constructor(){this.appRef=hn(Al),this.taskService=hn(B1),this.ngZone=hn(Ha),this.zonelessEnabled=hn(Nd),this.disableScheduling=hn(_6,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ce.yU,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof B||!this.zoneIsDefined)}notify(s){if(!this.zonelessEnabled&&5===s)return;switch(s){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const p=this.useMicrotaskScheduler?E6:M6;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=p(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=p(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Ha.isInAngularZone())}tick(s){if(this.runningTick||this.appRef.destroyed)return;const p=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(s)},void 0,this.schedulerTickApplyArgs)}catch(E){throw this.taskService.remove(p),E}finally{this.cleanup()}this.useMicrotaskScheduler=!0,E6(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(p)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static#e=this.\u0275fac=function(p){return new(p||i)};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const G3=new Ni("",{providedIn:"root",factory:()=>hn(G3,rn.Optional|rn.SkipSelf)||function NC(){return typeof $localize<"u"&&$localize.locale||Lu}()}),PC=new Ni("",{providedIn:"root",factory:()=>"USD"}),O8=new Ni("");let C9=(()=>{class i{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,p){const E=function Gt(i="zone.js",a){return"noop"===i?new B:"zone.js"===i?new Ha(a):i}(p?.ngZone,L8({eventCoalescing:p?.ngZoneEventCoalescing,runCoalescing:p?.ngZoneRunCoalescing}));return E.run(()=>{const P=p?.ignoreChangesOutsideZone,K=function zb(i,a,s){return new j6(i,a,s)}(s.moduleType,this.injector,[...hp({ngZoneFactory:()=>E,ignoreChangesOutsideZone:P}),{provide:N1,useExisting:U3}]),le=K.injector.get(Bs,null);return E.runOutsideAngular(()=>{const Se=E.onError.subscribe({next:Je=>{le.handleError(Je)}});K.onDestroy(()=>{B3(this._modules,K),Se.unsubscribe()})}),function g9(i,a,s){try{const p=s();return T8(p)?p.catch(E=>{throw a.runOutsideAngular(()=>i.handleError(E)),E}):p}catch(p){throw a.runOutsideAngular(()=>i.handleError(p)),p}}(le,E,()=>{const Se=K.injector.get(A8);return Se.runInitializers(),Se.donePromise.then(()=>(function S_(i){"string"==typeof i&&(Dg=i.toLowerCase().replace(/_/g,"-"))}(K.injector.get(G3,Lu)||Lu),this._moduleDoBootstrap(K),K))})})}bootstrapModule(s,p=[]){const E=_9({},p);return function LC(i,a,s){const p=new W6(s);return Promise.resolve(p)}(0,0,s).then(P=>this.bootstrapModuleFactory(P,E))}_moduleDoBootstrap(s){const p=s.injector.get(Al);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(E=>p.bootstrap(E));else{if(!s.instance.ngDoBootstrap)throw new be(-403,!1);s.instance.ngDoBootstrap(p)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new be(404,!1);this._modules.slice().forEach(p=>p.destroy()),this._destroyListeners.forEach(p=>p());const s=this._injector.get(O8,null);s&&(s.forEach(p=>p()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(p){return new(p||i)(zn(go))};static#t=this.\u0275prov=Li({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})(),$1=null;const w9=new Ni("");function F8(i,a,s=[]){const p=`Platform: ${a}`,E=new Ni(p);return(P=[])=>{let K=N8();if(!K||K.injector.get(w9,!1)){const le=[...s,...P,{provide:E,useValue:!0}];i?i(le):function VC(i){if($1&&!$1.get(w9,!1))throw new be(400,!1);(function m9(){!function L(i){C=i}(()=>{throw new be(600,!1)})})(),$1=i;const a=i.get(C9);(function P8(i){i.get(lh,null)?.forEach(s=>s())})(i)}(function M9(i=[],a){return go.create({name:a,providers:[{provide:Js,useValue:"platform"},{provide:O8,useValue:new Set([()=>$1=null])},...i]})}(le,p))}return function E9(i){const a=N8();if(!a)throw new be(401,!1);return a}()}}function N8(){return $1?.get(C9)??null}function S9(){return!1}let T9=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=zC}return i})();function zC(i){return function D9(i,a,s){if(Vs(i)&&!s){const p=$o(i.index,a);return new Ys(p,p)}return 47&i.type?new Ys(a[Qr],a):null}(jr(),Ii(),!(16&~i))}class R9{constructor(){}supports(a){return E3(a)}create(a){return new jC(a)}}const O9=(i,a)=>a;class jC{constructor(a){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=a||O9}forEachItem(a){let s;for(s=this._itHead;null!==s;s=s._next)a(s)}forEachOperation(a){let s=this._itHead,p=this._removalsHead,E=0,P=null;for(;s||p;){const K=!p||s&&s.currentIndex<G8(p,E,P)?s:p,le=G8(K,E,P),Se=K.currentIndex;if(K===p)E--,p=p._nextRemoved;else if(s=s._next,null==K.previousIndex)E++;else{P||(P=[]);const Je=le-E,vt=Se-E;if(Je!=vt){for(let ti=0;ti<Je;ti++){const ui=ti<P.length?P[ti]:P[ti]=0,bi=ui+ti;vt<=bi&&bi<Je&&(P[ti]=ui+1)}P[K.previousIndex]=vt-Je}}le!==Se&&a(K,le,Se)}}forEachPreviousItem(a){let s;for(s=this._previousItHead;null!==s;s=s._nextPrevious)a(s)}forEachAddedItem(a){let s;for(s=this._additionsHead;null!==s;s=s._nextAdded)a(s)}forEachMovedItem(a){let s;for(s=this._movesHead;null!==s;s=s._nextMoved)a(s)}forEachRemovedItem(a){let s;for(s=this._removalsHead;null!==s;s=s._nextRemoved)a(s)}forEachIdentityChange(a){let s;for(s=this._identityChangesHead;null!==s;s=s._nextIdentityChange)a(s)}diff(a){if(null==a&&(a=[]),!E3(a))throw new be(900,!1);return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let E,P,K,s=this._itHead,p=!1;if(Array.isArray(a)){this.length=a.length;for(let le=0;le<this.length;le++)P=a[le],K=this._trackByFn(le,P),null!==s&&Object.is(s.trackById,K)?(p&&(s=this._verifyReinsertion(s,P,K,le)),Object.is(s.item,P)||this._addIdentityChange(s,P)):(s=this._mismatch(s,P,K,le),p=!0),s=s._next}else E=0,function Bb(i,a){if(Array.isArray(i))for(let s=0;s<i.length;s++)a(i[s]);else{const s=i[Symbol.iterator]();let p;for(;!(p=s.next()).done;)a(p.value)}}(a,le=>{K=this._trackByFn(E,le),null!==s&&Object.is(s.trackById,K)?(p&&(s=this._verifyReinsertion(s,le,K,E)),Object.is(s.item,le)||this._addIdentityChange(s,le)):(s=this._mismatch(s,le,K,E),p=!0),s=s._next,E++}),this.length=E;return this._truncate(s),this.collection=a,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(a,s,p,E){let P;return null===a?P=this._itTail:(P=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null))?(Object.is(a.item,s)||this._addIdentityChange(a,s),this._reinsertAfter(a,P,E)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(p,E))?(Object.is(a.item,s)||this._addIdentityChange(a,s),this._moveAfter(a,P,E)):a=this._addAfter(new WC(s,p),P,E),a}_verifyReinsertion(a,s,p,E){let P=null===this._unlinkedRecords?null:this._unlinkedRecords.get(p,null);return null!==P?a=this._reinsertAfter(P,a._prev,E):a.currentIndex!=E&&(a.currentIndex=E,this._addToMoves(a,E)),a}_truncate(a){for(;null!==a;){const s=a._next;this._addToRemovals(this._unlink(a)),a=s}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(a,s,p){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const E=a._prevRemoved,P=a._nextRemoved;return null===E?this._removalsHead=P:E._nextRemoved=P,null===P?this._removalsTail=E:P._prevRemoved=E,this._insertAfter(a,s,p),this._addToMoves(a,p),a}_moveAfter(a,s,p){return this._unlink(a),this._insertAfter(a,s,p),this._addToMoves(a,p),a}_addAfter(a,s,p){return this._insertAfter(a,s,p),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,s,p){const E=null===s?this._itHead:s._next;return a._next=E,a._prev=s,null===E?this._itTail=a:E._prev=a,null===s?this._itHead=a:s._next=a,null===this._linkedRecords&&(this._linkedRecords=new F9),this._linkedRecords.put(a),a.currentIndex=p,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const s=a._prev,p=a._next;return null===s?this._itHead=p:s._next=p,null===p?this._itTail=s:p._prev=s,a}_addToMoves(a,s){return a.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new F9),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a}_addIdentityChange(a,s){return a.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class WC{constructor(a,s){this.item=a,this.trackById=s,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class XC{constructor(){this._head=null,this._tail=null}add(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)}get(a,s){let p;for(p=this._head;null!==p;p=p._nextDup)if((null===s||s<=p.currentIndex)&&Object.is(p.trackById,a))return p;return null}remove(a){const s=a._prevDup,p=a._nextDup;return null===s?this._head=p:s._nextDup=p,null===p?this._tail=s:p._prevDup=s,null===this._head}}class F9{constructor(){this.map=new Map}put(a){const s=a.trackById;let p=this.map.get(s);p||(p=new XC,this.map.set(s,p)),p.add(a)}get(a,s){const E=this.map.get(a);return E?E.get(a,s):null}remove(a){const s=a.trackById;return this.map.get(s).remove(a)&&this.map.delete(s),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function G8(i,a,s){const p=i.previousIndex;if(null===p)return p;let E=0;return s&&p<s.length&&(E=s[p]),p+a+E}class N9{constructor(){}supports(a){return a instanceof Map||K6(a)}create(){return new YC}}class YC{constructor(){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}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(a){let s;for(s=this._mapHead;null!==s;s=s._next)a(s)}forEachPreviousItem(a){let s;for(s=this._previousMapHead;null!==s;s=s._nextPrevious)a(s)}forEachChangedItem(a){let s;for(s=this._changesHead;null!==s;s=s._nextChanged)a(s)}forEachAddedItem(a){let s;for(s=this._additionsHead;null!==s;s=s._nextAdded)a(s)}forEachRemovedItem(a){let s;for(s=this._removalsHead;null!==s;s=s._nextRemoved)a(s)}diff(a){if(a){if(!(a instanceof Map||K6(a)))throw new be(900,!1)}else a=new Map;return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let s=this._mapHead;if(this._appendAfter=null,this._forEach(a,(p,E)=>{if(s&&s.key===E)this._maybeAddToChanges(s,p),this._appendAfter=s,s=s._next;else{const P=this._getOrCreateRecordForKey(E,p);s=this._insertBeforeOrAppend(s,P)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let p=s;null!==p;p=p._nextRemoved)p===this._mapHead&&(this._mapHead=null),this._records.delete(p.key),p._nextRemoved=p._next,p.previousValue=p.currentValue,p.currentValue=null,p._prev=null,p._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,s){if(a){const p=a._prev;return s._next=a,s._prev=p,a._prev=s,p&&(p._next=s),a===this._mapHead&&(this._mapHead=s),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(a,s){if(this._records.has(a)){const E=this._records.get(a);this._maybeAddToChanges(E,s);const P=E._prev,K=E._next;return P&&(P._next=K),K&&(K._prev=P),E._next=null,E._prev=null,E}const p=new KC(a);return this._records.set(a,p),p.currentValue=s,this._addToAdditions(p),p}_reset(){if(this.isDirty){let a;for(this._previousMapHead=this._mapHead,a=this._previousMapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(a,s){Object.is(s,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=s,this._addToChanges(a))}_addToAdditions(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)}_addToChanges(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)}_forEach(a,s){a instanceof Map?a.forEach(s):Object.keys(a).forEach(p=>s(a[p],p))}}class KC{constructor(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function j8(){return new W8([new R9])}let W8=(()=>{class i{static#e=this.\u0275prov=Li({token:i,providedIn:"root",factory:j8});constructor(s){this.factories=s}static create(s,p){if(null!=p){const E=p.factories.slice();s=s.concat(E)}return new i(s)}static extend(s){return{provide:i,useFactory:p=>i.create(s,p||j8()),deps:[[i,new Fa,new Oa]]}}find(s){const p=this.factories.find(E=>E.supports(s));if(null!=p)return p;throw new be(901,!1)}}return i})();function P9(){return new Pu([new N9])}let Pu=(()=>{class i{static#e=this.\u0275prov=Li({token:i,providedIn:"root",factory:P9});constructor(s){this.factories=s}static create(s,p){if(p){const E=p.factories.slice();s=s.concat(E)}return new i(s)}static extend(s){return{provide:i,useFactory:p=>i.create(s,p||P9()),deps:[[i,new Fa,new Oa]]}}find(s){const p=this.factories.find(E=>E.supports(s));if(p)return p;throw new be(901,!1)}}return i})();const qC=F8(null,"core",[]);let V9=(()=>{class i{constructor(s){}static#e=this.\u0275fac=function(p){return new(p||i)(zn(Al))};static#t=this.\u0275mod=jo({type:i});static#i=this.\u0275inj=Qt({})}return i})();function Mp(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}function kw(i,a=NaN){return isNaN(parseFloat(i))||isNaN(Number(i))?a:Number(i)}function X3(i,a){oc("NgSignals");const s=function de(i){const a=Object.create(m);a.computation=i;const s=()=>{if(R(a),y(a),a.value===c)throw a.error;return a.value};return s[l]=a,s}(i);return a?.equal&&(s[l].equal=a.equal),s}function Iw(i){const a=x(null);try{return i()}finally{x(a)}}const Rw=new Ni("",{providedIn:"root",factory:()=>hn(Ow)});let Ow=(()=>{class i{static#e=this.\u0275prov=Li({token:i,providedIn:"root",factory:()=>new Fw})}return i})();class Fw{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=hn(B1),this.taskId=null}scheduleEffect(a){if(this.enqueue(a),null===this.taskId){const s=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(s),this.taskId=null})}}enqueue(a){const s=a.creationZone;this.queues.has(s)||this.queues.set(s,new Set);const p=this.queues.get(s);p.has(a)||(this.queuedEffectCount++,p.add(a))}flush(){for(;this.queuedEffectCount>0;)for(const[a,s]of this.queues)null===a?this.flushQueue(s):a.run(()=>this.flushQueue(s))}flushQueue(a){for(const s of a)a.delete(s),this.queuedEffectCount--,s.run()}}class Nw{constructor(a,s,p,E,P,K){this.scheduler=a,this.effectFn=s,this.creationZone=p,this.injector=P,this.watcher=function qe(i,a,s){const p=Object.create(se);s&&(p.consumerAllowSignalWrites=!0),p.fn=i,p.schedule=a;const E=Se=>{p.cleanupFn=Se};return p.ref={notify:()=>$(p),run:()=>{if(null===p.fn)return;if(function I(){return w}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(p.dirty=!1,p.hasRun&&!J(p))return;p.hasRun=!0;const Se=j(p);try{p.cleanupFn(),p.cleanupFn=Ke,p.fn(E)}finally{Q(p,Se)}},cleanup:()=>p.cleanupFn(),destroy:()=>function K(Se){(function P(Se){return null===Se.fn&&null===Se.schedule})(Se)||(ee(Se),Se.cleanupFn(),Se.fn=null,Se.schedule=null,Se.cleanupFn=Ke)}(p),[l]:p},p.ref}(le=>this.runEffect(le),()=>this.schedule(),K),this.unregisterOnDestroy=E?.onDestroy(()=>this.destroy())}runEffect(a){try{this.effectFn(a)}catch(s){this.injector.get(Bs,null,{optional:!0})?.handleError(s)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function lb(i,a){oc("NgSignals"),!a?.injector&&De();const s=a?.injector??hn(go),p=!0!==a?.manualCleanup?s.get(ml):null,E=new Nw(s.get(Rw),i,typeof Zone>"u"?null:Zone.current,p,s,a?.allowSignalWrites??!1),P=s.get(T9,null,{optional:!0});return P&&8&P._lView[sn]?(P._lView[Fc]??=[]).push(E.watcher.notify):E.watcher.notify(),E}function Pw(i,a){const s=Vn(i),p=a.elementInjector||os();return new Do(s).create(p,a.projectableNodes,a.hostElement,a.environmentInjector)}function Vw(i){const a=Vn(i);if(!a)return null;const s=new Do(a);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}},9079:(Qe,te,g)=>{"use strict";g.d(te,{ot:()=>f});var e=g(4438);function f(I,d){const T=!d?.manualCleanup;T&&!d?.injector&&(0,e.Af3)(f);const y=T?d?.injector?.get(e.abz)??(0,e.WQX)(e.abz):null;let F;F=(0,e.vPA)(d?.requireSync?{kind:0}:{kind:1,value:d?.initialValue});const R=I.subscribe({next:z=>F.set({kind:1,value:z}),error:z=>{if(d?.rejectErrors)throw z;F.set({kind:2,error:z})}});return y?.onDestroy(R.unsubscribe.bind(R)),(0,e.EWP)(()=>{const z=F();switch(z.kind){case 1:return z.value;case 2:throw z.error;case 0:throw new e.wOt(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},4545:(Qe,te,g)=>{"use strict";function e(T){for(let y in T){let F=T[y]??"";switch(y){case"display":T.display="flex"===F?["-webkit-flex","flex"]:"inline-flex"===F?["-webkit-inline-flex","inline-flex"]:F;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":T["-webkit-"+y]=F;break;case"flex-direction":T["-webkit-flex-direction"]=F,T["flex-direction"]=F;break;case"order":T.order=T["-webkit-"+y]=isNaN(+F)?"0":F}}return T}g.d(te,{C5:()=>d,O5:()=>e,Uo:()=>w,Vc:()=>x,uG:()=>S});const t="inline",w=["row","column","row-reverse","column-reverse"];function S(T){let[y,F,R]=l(T);return function I(T,y=null,F=!1){return{display:F?"inline-flex":"flex","box-sizing":"border-box","flex-direction":T,"flex-wrap":y||null}}(y,F,R)}function l(T){T=T?.toLowerCase()??"";let[y,F,R]=T.split(" ");return w.find(z=>z===y)||(y=w[0]),F===t&&(F=R!==t?R:"",R=t),[y,f(F),!!R]}function x(T){let[y]=l(T);return y.indexOf("row")>-1}function f(T){if(T)switch(T.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":T="wrap-reverse";break;case"no":case"none":case"nowrap":T="nowrap";break;default:T="wrap"}return T}function d(T,...y){if(null==T)throw TypeError("Cannot convert undefined or null to object");for(let F of y)if(null!=F)for(let R in F)F.hasOwnProperty(R)&&(T[R]=F[R]);return T}},9340:(Qe,te,g)=>{"use strict";g.d(te,{Ce:()=>Q,DJ:()=>at,EA:()=>j,PV:()=>$,SL:()=>J,Ui:()=>R,ZH:()=>ge,cL:()=>Nt,hN:()=>Ye,qH:()=>Ze,r3:()=>ie});var e=g(4438),t=g(177),w=g(4412),S=g(1985),l=g(7786),x=g(1413),f=g(4545),I=g(5964),d=g(8141);const y={provide:e.iLQ,useFactory:function T(Et,Vt){return()=>{if((0,t.UE)(Vt)){const oe=Array.from(Et.querySelectorAll(`[class*=${F}]`)),tt=/\bflex-layout-.+?\b/g;oe.forEach($t=>{$t.classList.contains(`${F}ssr`)&&$t.parentNode?$t.parentNode.removeChild($t):$t.className.replace(tt,"")})}}},deps:[t.qQ,e.Agw],multi:!0},F="flex-layout-";let R=(()=>{class Et{}return Et.\u0275fac=function(oe){return new(oe||Et)},Et.\u0275mod=e.$C({type:Et}),Et.\u0275inj=e.G2t({providers:[y]}),Et})();class z{constructor(Vt=!1,oe="all",tt="",$t="",zt=0){this.matches=Vt,this.mediaQuery=oe,this.mqAlias=tt,this.suffix=$t,this.priority=zt,this.property=""}clone(){return new z(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let W=(()=>{class Et{constructor(){this.stylesheet=new Map}addStyleToElement(oe,tt,$t){const zt=this.stylesheet.get(oe);zt?zt.set(tt,$t):this.stylesheet.set(oe,new Map([[tt,$t]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(oe,tt){const $t=this.stylesheet.get(oe);let zt="";if($t){const Jt=$t.get(tt);("number"==typeof Jt||"string"==typeof Jt)&&(zt=Jt+"")}return zt}}return Et.\u0275fac=function(oe){return new(oe||Et)},Et.\u0275prov=e.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();const $={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},j=new e.nKC("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>$}),Q=new e.nKC("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),J=new e.nKC("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ee(Et,Vt){return Et=Et?.clone()??new z,Vt&&(Et.mqAlias=Vt.alias,Et.mediaQuery=Vt.mediaQuery,Et.suffix=Vt.suffix,Et.priority=Vt.priority),Et}class ie{constructor(){this.shouldCache=!0}sideEffect(Vt,oe,tt){}}let ge=(()=>{class Et{constructor(oe,tt,$t,zt){this._serverStylesheet=oe,this._serverModuleLoaded=tt,this._platformId=$t,this.layoutConfig=zt}applyStyleToElement(oe,tt,$t=null){let zt={};"string"==typeof tt&&(zt[tt]=$t,tt=zt),zt=this.layoutConfig.disableVendorPrefixes?tt:(0,f.O5)(tt),this._applyMultiValueStyleToElement(zt,oe)}applyStyleToElements(oe,tt=[]){const $t=this.layoutConfig.disableVendorPrefixes?oe:(0,f.O5)(oe);tt.forEach(zt=>{this._applyMultiValueStyleToElement($t,zt)})}getFlowDirection(oe){const tt="flex-direction";let $t=this.lookupStyle(oe,tt);return[$t||"row",this.lookupInlineStyle(oe,tt)||(0,t.Vy)(this._platformId)&&this._serverModuleLoaded?$t:""]}hasWrap(oe){return"wrap"===this.lookupStyle(oe,"flex-wrap")}lookupAttributeValue(oe,tt){return oe.getAttribute(tt)??""}lookupInlineStyle(oe,tt){return(0,t.UE)(this._platformId)?oe.style.getPropertyValue(tt):function ae(Et,Vt){return de(Et)[Vt]??""}(oe,tt)}lookupStyle(oe,tt,$t=!1){let zt="";return oe&&((zt=this.lookupInlineStyle(oe,tt))||((0,t.UE)(this._platformId)?$t||(zt=getComputedStyle(oe).getPropertyValue(tt)):this._serverModuleLoaded&&(zt=this._serverStylesheet.getStyleForElement(oe,tt)))),zt?zt.trim():""}_applyMultiValueStyleToElement(oe,tt){Object.keys(oe).sort().forEach($t=>{const zt=oe[$t],Jt=Array.isArray(zt)?zt:[zt];Jt.sort();for(let St of Jt)St=St?St+"":"",(0,t.UE)(this._platformId)||!this._serverModuleLoaded?(0,t.UE)(this._platformId)?tt.style.setProperty($t,St):Me(tt,$t,St):this._serverStylesheet.addStyleToElement(tt,$t,St)})}}return Et.\u0275fac=function(oe){return new(oe||Et)(e.KVO(W),e.KVO(Q),e.KVO(e.Agw),e.KVO(j))},Et.\u0275prov=e.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();function Me(Et,Vt,oe){Vt=Vt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const tt=de(Et);tt[Vt]=oe??"",function Te(Et,Vt){let oe="";for(const tt in Vt)Vt[tt]&&(oe+=`${tt}:${Vt[tt]};`);Et.setAttribute("style",oe)}(Et,tt)}function de(Et){const Vt={},oe=Et.getAttribute("style");if(oe){const tt=oe.split(/;+/g);for(let $t=0;$t<tt.length;$t++){const zt=tt[$t].trim();if(zt.length>0){const Jt=zt.indexOf(":");if(-1===Jt)throw new Error(`Invalid CSS style: ${zt}`);Vt[zt.substr(0,Jt).trim()]=zt.substr(Jt+1).trim()}}}return Vt}function D(Et,Vt){return(Vt&&Vt.priority||0)-(Et&&Et.priority||0)}function n(Et,Vt){return(Et.priority||0)-(Vt.priority||0)}let c=(()=>{class Et{constructor(oe,tt,$t){this._zone=oe,this._platformId=tt,this._document=$t,this.source=new w.t(new z(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const oe=[];return this.registry.forEach((tt,$t)=>{tt.matches&&oe.push($t)}),oe}isActive(oe){return this.registry.get(oe)?.matches??this.registerQuery(oe).some($t=>$t.matches)}observe(oe,tt=!1){if(oe&&oe.length){const $t=this._observable$.pipe((0,I.p)(Jt=>!tt||oe.indexOf(Jt.mediaQuery)>-1)),zt=new S.c(Jt=>{const St=this.registerQuery(oe);if(St.length){const dt=St.pop();St.forEach(Ae=>{Jt.next(Ae)}),this.source.next(dt)}Jt.complete()});return(0,l.h)(zt,$t)}return this._observable$}registerQuery(oe){const tt=Array.isArray(oe)?oe:[oe],$t=[];return function h(Et,Vt){const oe=Et.filter(tt=>!m[tt]);if(oe.length>0){const tt=oe.join(", ");try{const $t=Vt.createElement("style");$t.setAttribute("type","text/css"),$t.styleSheet||$t.appendChild(Vt.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${tt} {.fx-query-test{ }}\n`)),Vt.head.appendChild($t),oe.forEach(zt=>m[zt]=$t)}catch($t){console.error($t)}}}(tt,this._document),tt.forEach(zt=>{const Jt=dt=>{this._zone.run(()=>this.source.next(new z(dt.matches,zt)))};let St=this.registry.get(zt);St||(St=this.buildMQL(zt),St.addListener(Jt),this.pendingRemoveListenerFns.push(()=>St.removeListener(Jt)),this.registry.set(zt,St)),St.matches&&$t.push(new z(!0,zt))}),$t}ngOnDestroy(){let oe;for(;oe=this.pendingRemoveListenerFns.pop();)oe()}buildMQL(oe){return function k(Et,Vt){return Vt&&window.matchMedia("all").addListener?window.matchMedia(Et):function C(Et){const Vt=new EventTarget;return Vt.matches="all"===Et||""===Et,Vt.media=Et,Vt.addListener=()=>{},Vt.removeListener=()=>{},Vt.addEventListener=()=>{},Vt.dispatchEvent=()=>!1,Vt.onchange=null,Vt}(Et)}(oe,(0,t.UE)(this._platformId))}}return Et.\u0275fac=function(oe){return new(oe||Et)(e.KVO(e.SKi),e.KVO(e.Agw),e.KVO(t.qQ))},Et.\u0275prov=e.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();const m={},L=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],_="(orientation: portrait) and (max-width: 599.98px)",r="(orientation: landscape) and (max-width: 959.98px)",v="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",V="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",N="(orientation: portrait) and (min-width: 840px)",ne="(orientation: landscape) and (min-width: 1280px)",Ee={HANDSET:`${_}, ${r}`,TABLET:`${v} , ${V}`,WEB:`${N}, ${ne} `,HANDSET_PORTRAIT:`${_}`,TABLET_PORTRAIT:`${v} `,WEB_PORTRAIT:`${N}`,HANDSET_LANDSCAPE:`${r}`,TABLET_LANDSCAPE:`${V}`,WEB_LANDSCAPE:`${ne}`},ze=[{alias:"handset",priority:2e3,mediaQuery:Ee.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Ee.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Ee.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Ee.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Ee.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Ee.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Ee.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Ee.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Ee.WEB_PORTRAIT,overlapping:!0}],qe=/(\.|-|_)/g;function Ke(Et){let Vt=Et.length>0?Et.charAt(0):"",oe=Et.length>1?Et.slice(1):"";return Vt.toUpperCase()+oe}const ce=new e.nKC("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Et=(0,e.WQX)(J),Vt=(0,e.WQX)(j),oe=[].concat.apply([],(Et||[]).map($t=>Array.isArray($t)?$t:[$t]));return function me(Et,Vt=[]){const oe={};return Et.forEach(tt=>{oe[tt.alias]=tt}),Vt.forEach(tt=>{oe[tt.alias]?(0,f.C5)(oe[tt.alias],tt):oe[tt.alias]=tt}),function X(Et){return Et.forEach(Vt=>{Vt.suffix||(Vt.suffix=function se(Et){return Et.replace(qe,"|").split("|").map(Ke).join("")}(Vt.alias),Vt.overlapping=!!Vt.overlapping)}),Et}(Object.keys(oe).map(tt=>oe[tt]))}((Vt.disableDefaultBps?[]:L).concat(Vt.addOrientationBps?ze:[]),oe)}});let fe=(()=>{class Et{constructor(oe){this.findByMap=new Map,this.items=[...oe].sort(n)}findByAlias(oe){return oe?this.findWithPredicate(oe,tt=>tt.alias===oe):null}findByQuery(oe){return this.findWithPredicate(oe,tt=>tt.mediaQuery===oe)}get overlappings(){return this.items.filter(oe=>oe.overlapping)}get aliases(){return this.items.map(oe=>oe.alias)}get suffixes(){return this.items.map(oe=>oe?.suffix??"")}findWithPredicate(oe,tt){let $t=this.findByMap.get(oe);return $t||($t=this.items.find(tt)??null,this.findByMap.set(oe,$t)),$t??null}}return Et.\u0275fac=function(oe){return new(oe||Et)(e.KVO(ce))},Et.\u0275prov=e.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();const ke="print",mt={alias:ke,mediaQuery:ke,priority:1e3};let _e=(()=>{class Et{constructor(oe,tt,$t){this.breakpoints=oe,this.layoutConfig=tt,this._document=$t,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new be,this.deactivations=[]}withPrintQuery(oe){return[...oe,ke]}isPrintEvent(oe){return oe.mediaQuery.startsWith(ke)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(oe=>this.breakpoints.findByAlias(oe)).filter(oe=>null!==oe)}getEventBreakpoints({mediaQuery:oe}){const tt=this.breakpoints.findByQuery(oe);return(tt?[...this.printBreakPoints,tt]:this.printBreakPoints).sort(D)}updateEvent(oe){let tt=this.breakpoints.findByQuery(oe.mediaQuery);return this.isPrintEvent(oe)&&(tt=this.getEventBreakpoints(oe)[0],oe.mediaQuery=tt?.mediaQuery??""),ee(oe,tt)}registerBeforeAfterPrintHooks(oe){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const tt=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(oe,this.getEventBreakpoints(new z(!0,ke))),oe.updateStyles())},$t=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(oe),oe.updateStyles())};this._document.defaultView.addEventListener("beforeprint",tt),this._document.defaultView.addEventListener("afterprint",$t),this.beforePrintEventListeners.push(tt),this.afterPrintEventListeners.push($t)}interceptEvents(oe){return tt=>{this.isPrintEvent(tt)?tt.matches&&!this.isPrinting?(this.startPrinting(oe,this.getEventBreakpoints(tt)),oe.updateStyles()):!tt.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(oe),oe.updateStyles()):this.collectActivations(oe,tt)}}blockPropagation(){return oe=>!(this.isPrinting||this.isPrintEvent(oe))}startPrinting(oe,tt){this.isPrinting=!0,this.formerActivations=oe.activatedBreakpoints,oe.activatedBreakpoints=this.queue.addPrintBreakpoints(tt)}stopPrinting(oe){oe.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(oe,tt){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!tt.matches){const $t=this.breakpoints.findByQuery(tt.mediaQuery);if($t){const zt=this.formerActivations&&this.formerActivations.includes($t),Jt=!this.formerActivations&&oe.activatedBreakpoints.includes($t);(zt||Jt)&&(this.deactivations.push($t),this.deactivations.sort(D))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(oe=>this._document.defaultView.removeEventListener("beforeprint",oe)),this.afterPrintEventListeners.forEach(oe=>this._document.defaultView.removeEventListener("afterprint",oe)))}}return Et.\u0275fac=function(oe){return new(oe||Et)(e.KVO(fe),e.KVO(j),e.KVO(t.qQ))},Et.\u0275prov=e.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();class be{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Vt){return Vt.push(mt),Vt.sort(D),Vt.forEach(oe=>this.addBreakpoint(oe)),this.printBreakpoints}addBreakpoint(Vt){Vt&&void 0===this.printBreakpoints.find(tt=>tt.mediaQuery===Vt.mediaQuery)&&(this.printBreakpoints=function pe(Et){return Et?.mediaQuery.startsWith(ke)??!1}(Vt)?[Vt,...this.printBreakpoints]:[...this.printBreakpoints,Vt])}clear(){this.printBreakpoints=[]}}let Ze=(()=>{class Et{constructor(oe,tt,$t){this.matchMedia=oe,this.breakpoints=tt,this.hook=$t,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new x.B,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(oe){this._activatedBreakpoints=[...oe]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(oe){this._useFallbacks=oe}onMediaChange(oe){const tt=this.findByQuery(oe.mediaQuery);if(tt){oe=ee(oe,tt);const $t=this.activatedBreakpoints.indexOf(tt);oe.matches&&-1===$t?(this._activatedBreakpoints.push(tt),this._activatedBreakpoints.sort(D),this.updateStyles()):!oe.matches&&-1!==$t&&(this._activatedBreakpoints.splice($t,1),this._activatedBreakpoints.sort(D),this.updateStyles())}}init(oe,tt,$t,zt,Jt=[]){_t(this.updateMap,oe,tt,$t),_t(this.clearMap,oe,tt,zt),this.buildElementKeyMap(oe,tt),this.watchExtraTriggers(oe,tt,Jt)}getValue(oe,tt,$t){const zt=this.elementMap.get(oe);if(zt){const Jt=void 0!==$t?zt.get($t):this.getActivatedValues(zt,tt);if(Jt)return Jt.get(tt)}}hasValue(oe,tt){const $t=this.elementMap.get(oe);if($t){const zt=this.getActivatedValues($t,tt);if(zt)return void 0!==zt.get(tt)||!1}return!1}setValue(oe,tt,$t,zt){let Jt=this.elementMap.get(oe);if(Jt){const dt=(Jt.get(zt)??new Map).set(tt,$t);Jt.set(zt,dt),this.elementMap.set(oe,Jt)}else Jt=(new Map).set(zt,(new Map).set(tt,$t)),this.elementMap.set(oe,Jt);const St=this.getValue(oe,tt);void 0!==St&&this.updateElement(oe,tt,St)}trackValue(oe,tt){return this.subject.asObservable().pipe((0,I.p)($t=>$t.element===oe&&$t.key===tt))}updateStyles(){this.elementMap.forEach((oe,tt)=>{const $t=new Set(this.elementKeyMap.get(tt));let zt=this.getActivatedValues(oe);zt&&zt.forEach((Jt,St)=>{this.updateElement(tt,St,Jt),$t.delete(St)}),$t.forEach(Jt=>{if(zt=this.getActivatedValues(oe,Jt),zt){const St=zt.get(Jt);this.updateElement(tt,Jt,St)}else this.clearElement(tt,Jt)})})}clearElement(oe,tt){const $t=this.clearMap.get(oe);if($t){const zt=$t.get(tt);zt&&(zt(),this.subject.next({element:oe,key:tt,value:""}))}}updateElement(oe,tt,$t){const zt=this.updateMap.get(oe);if(zt){const Jt=zt.get(tt);Jt&&(Jt($t),this.subject.next({element:oe,key:tt,value:$t}))}}releaseElement(oe){const tt=this.watcherMap.get(oe);tt&&(tt.forEach(zt=>zt.unsubscribe()),this.watcherMap.delete(oe));const $t=this.elementMap.get(oe);$t&&($t.forEach((zt,Jt)=>$t.delete(Jt)),this.elementMap.delete(oe))}triggerUpdate(oe,tt){const $t=this.elementMap.get(oe);if($t){const zt=this.getActivatedValues($t,tt);zt&&(tt?this.updateElement(oe,tt,zt.get(tt)):zt.forEach((Jt,St)=>this.updateElement(oe,St,Jt)))}}buildElementKeyMap(oe,tt){let $t=this.elementKeyMap.get(oe);$t||($t=new Set,this.elementKeyMap.set(oe,$t)),$t.add(tt)}watchExtraTriggers(oe,tt,$t){if($t&&$t.length){let zt=this.watcherMap.get(oe);if(zt||(zt=new Map,this.watcherMap.set(oe,zt)),!zt.get(tt)){const St=(0,l.h)(...$t).subscribe(()=>{const dt=this.getValue(oe,tt);this.updateElement(oe,tt,dt)});zt.set(tt,St)}}}findByQuery(oe){return this.breakpoints.findByQuery(oe)}getActivatedValues(oe,tt){for(let zt=0;zt<this.activatedBreakpoints.length;zt++){const St=oe.get(this.activatedBreakpoints[zt].alias);if(St&&(void 0===tt||St.has(tt)&&null!=St.get(tt)))return St}if(!this._useFallbacks)return;const $t=oe.get("");return void 0===tt||$t&&$t.has(tt)?$t:void 0}observeActivations(){const oe=this.breakpoints.items.map(tt=>tt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(oe)).pipe((0,d.M)(this.hook.interceptEvents(this)),(0,I.p)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Et.\u0275fac=function(oe){return new(oe||Et)(e.KVO(c),e.KVO(fe),e.KVO(_e))},Et.\u0275prov=e.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et})();function _t(Et,Vt,oe,tt){if(void 0!==tt){const $t=Et.get(Vt)??new Map;$t.set(oe,tt),Et.set(Vt,$t)}}let at=(()=>{class Et{constructor(oe,tt,$t,zt){this.elementRef=oe,this.styleBuilder=tt,this.styler=$t,this.marshal=zt,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new x.B,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(oe){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,oe,this.marshal.activatedAlias)}ngOnChanges(oe){Object.keys(oe).forEach(tt=>{if(-1!==this.inputs.indexOf(tt)){const $t=tt.split(".").slice(1).join(".");this.setValue(oe[tt].currentValue,$t)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(oe=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),oe)}addStyles(oe,tt){const $t=this.styleBuilder,zt=$t.shouldCache;let Jt=this.styleCache.get(oe);(!Jt||!zt)&&(Jt=$t.buildStyles(oe,tt),zt&&this.styleCache.set(oe,Jt)),this.mru={...Jt},this.applyStyleToElement(Jt),$t.sideEffect(oe,Jt,tt)}clearStyles(){Object.keys(this.mru).forEach(oe=>{this.mru[oe]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(oe,tt=!1){if(oe){const[$t,zt]=this.styler.getFlowDirection(oe);if(!zt&&tt){const Jt=(0,f.uG)($t);this.styler.applyStyleToElements(Jt,[oe])}return $t.trim()}return"row"}hasWrap(oe){return this.styler.hasWrap(oe)}applyStyleToElement(oe,tt,$t=this.nativeElement){this.styler.applyStyleToElement($t,oe,tt)}setValue(oe,tt){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,oe,tt)}updateWithValue(oe){this.currentValue!==oe&&(this.addStyles(oe),this.currentValue=oe)}}return Et.\u0275fac=function(oe){return new(oe||Et)(e.rXU(e.aKT),e.rXU(ie),e.rXU(ge),e.rXU(Ze))},Et.\u0275dir=e.FsC({type:Et,features:[e.OA$]}),Et})();function Ye(Et,Vt="1",oe="1"){let tt=[Vt,oe,Et],$t=Et.indexOf("calc");if($t>0){tt[2]=rt(Et.substring($t).trim());let zt=Et.substr(0,$t).trim().split(" ");2==zt.length&&(tt[0]=zt[0],tt[1]=zt[1])}else if(0==$t)tt[2]=rt(Et.trim());else{let zt=Et.split(" ");tt=3===zt.length?zt:[Vt,oe,Et]}return tt}function rt(Et){return Et.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const Yt="x";function Nt(Et,Vt){if(void 0===Vt)return Et;const oe=tt=>{const $t=+tt.slice(0,-Yt.length);return Et.endsWith(Yt)&&!isNaN($t)?`${$t*Vt.value}${Vt.unit}`:Et};return Et.includes(" ")?Et.split(" ").map(oe).join(" "):oe(Et)}},6038:(Qe,te,g)=>{"use strict";g.d(te,{Cc:()=>r,PW:()=>$,eI:()=>k});var e=g(4438),t=g(9340),w=g(177),x=(g(4085),g(6977),g(345));let R=(()=>{class v extends t.DJ{constructor(N,ne,Ee,ze,qe,Ke,se){super(N,null,ne,Ee),this.ngClassInstance=se,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new w.YU(ze,qe,N,Ke)),this.init(),this.setValue("","")}set klass(N){this.ngClassInstance.klass=N,this.setValue(N,"")}updateWithValue(N){this.ngClassInstance.ngClass=N,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return v.\u0275fac=function(N){return new(N||v)(e.rXU(e.aKT),e.rXU(t.ZH),e.rXU(t.qH),e.rXU(e._q3),e.rXU(e.MKu),e.rXU(e.sFG),e.rXU(w.YU,10))},v.\u0275dir=e.FsC({type:v,inputs:{klass:[0,"class","klass"]},features:[e.Vt3]}),v})();const z=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let $=(()=>{class v extends R{constructor(){super(...arguments),this.inputs=z}}return v.\u0275fac=(()=>{let V;return function(ne){return(V||(V=e.xGo(v)))(ne||v)}})(),v.\u0275dir=e.FsC({type:v,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[e.Vt3]}),v})();class ae{constructor(V,N,ne=!0){this.key=V,this.value=N,this.key=ne?V.replace(/['"]/g,"").trim():V.trim(),this.value=ne?N.replace(/['"]/g,"").trim():N.trim(),this.value=this.value.replace(/;/,"")}}function Me(v){let V=typeof v;return"object"===V?v.constructor===Array?"array":v.constructor===Set?"set":"object":V}function n(v){const[V,...N]=v.split(":");return new ae(V,N.join(":"))}function c(v,V){return V.key&&(v[V.key]=V.value),v}let m=(()=>{class v extends t.DJ{constructor(N,ne,Ee,ze,qe,Ke,se,X,me){super(N,null,ne,Ee),this.sanitizer=ze,this.ngStyleInstance=se,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new w.B3(N,qe,Ke)),this.init();const ce=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(ce),this.isServer=X&&(0,w.Vy)(me)}updateWithValue(N){const ne=this.buildStyleMap(N);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...ne},this.isServer&&this.applyStyleToElement(ne),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(N){const ne=Ee=>this.sanitizer.sanitize(e.WPN.STYLE,Ee)??"";if(N)switch(Me(N)){case"string":return L(function Te(v,V=";"){return String(v).trim().split(V).map(N=>N.trim()).filter(N=>""!==N)}(N),ne);case"array":return L(N,ne);default:return function D(v,V){let N=[];return"set"===Me(v)?v.forEach(ne=>N.push(ne)):Object.keys(v).forEach(ne=>{N.push(`${ne}:${v[ne]}`)}),function de(v,V){return v.map(n).filter(ne=>!!ne).map(ne=>(V&&(ne.value=V(ne.value)),ne)).reduce(c,{})}(N,V)}(N,ne)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return v.\u0275fac=function(N){return new(N||v)(e.rXU(e.aKT),e.rXU(t.ZH),e.rXU(t.qH),e.rXU(x.up),e.rXU(e.MKu),e.rXU(e.sFG),e.rXU(w.B3,10),e.rXU(t.Ce),e.rXU(e.Agw))},v.\u0275dir=e.FsC({type:v,features:[e.Vt3]}),v})();const h=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let k=(()=>{class v extends m{constructor(){super(...arguments),this.inputs=h}}return v.\u0275fac=(()=>{let V;return function(ne){return(V||(V=e.xGo(v)))(ne||v)}})(),v.\u0275dir=e.FsC({type:v,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[e.Vt3]}),v})();function L(v,V){return v.map(n).filter(ne=>!!ne).map(ne=>(V&&(ne.value=V(ne.value)),ne)).reduce(c,{})}let r=(()=>{class v{}return v.\u0275fac=function(N){return new(N||v)},v.\u0275mod=e.$C({type:v}),v.\u0275inj=e.G2t({imports:[t.Ui]}),v})()},2920:(Qe,te,g)=>{"use strict";g.d(te,{DJ:()=>y,UI:()=>C,sA:()=>Ye,w2:()=>Jt});var e=g(4438),t=g(8203),w=g(9340),S=g(4545),x=(g(1413),g(6977));let f=(()=>{class St extends w.r3{buildStyles(Ae,{display:we}){const he=(0,S.uG)(Ae);return{...he,display:"none"===we?we:he.display}}}return St.\u0275fac=(()=>{let dt;return function(we){return(dt||(dt=e.xGo(St)))(we||St)}})(),St.\u0275prov=e.jDH({token:St,factory:St.\u0275fac,providedIn:"root"}),St})();const I=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let T=(()=>{class St extends w.DJ{constructor(Ae,we,he,q,Re){super(Ae,he,we,q),this._config=Re,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Ae){const he=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=F.get(he)??new Map,F.set(he,this.styleCache),this.currentValue!==Ae&&(this.addStyles(Ae,{display:he}),this.currentValue=Ae)}}return St.\u0275fac=function(Ae){return new(Ae||St)(e.rXU(e.aKT),e.rXU(w.ZH),e.rXU(f),e.rXU(w.qH),e.rXU(w.EA))},St.\u0275dir=e.FsC({type:St,features:[e.Vt3]}),St})(),y=(()=>{class St extends T{constructor(){super(...arguments),this.inputs=I}}return St.\u0275fac=(()=>{let dt;return function(we){return(dt||(dt=e.xGo(St)))(we||St)}})(),St.\u0275dir=e.FsC({type:St,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[e.Vt3]}),St})();const F=new Map;let n=(()=>{class St extends w.r3{constructor(Ae){super(),this.layoutConfig=Ae}buildStyles(Ae,we){let[he,q,...Re]=Ae.split(" "),Ne=Re.join(" ");const gt=we.direction.indexOf("column")>-1?"column":"row",$e=(0,S.Vc)(gt)?"max-width":"max-height",Fe=(0,S.Vc)(gt)?"min-width":"min-height",Ge=String(Ne).indexOf("calc")>-1,et=Ge||"auto"===Ne,st=String(Ne).indexOf("%")>-1&&!Ge,Tt=String(Ne).indexOf("px")>-1||String(Ne).indexOf("rem")>-1||String(Ne).indexOf("em")>-1||String(Ne).indexOf("vw")>-1||String(Ne).indexOf("vh")>-1;let mi=Ge||Tt;he="0"==he?0:he,q="0"==q?0:q;const Kt=!he&&!q;let Pt={};const Xi={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Ne||""){case"":Ne="row"===gt?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":he=0,Ne="auto";break;case"grow":Ne="100%";break;case"noshrink":q=0,Ne="auto";break;case"auto":break;case"none":he=0,q=0,Ne="auto";break;default:!mi&&!st&&!isNaN(Ne)&&(Ne+="%"),"0%"===Ne&&(mi=!0),"0px"===Ne&&(Ne="0%"),Pt=(0,S.C5)(Xi,Ge?{"flex-grow":he,"flex-shrink":q,"flex-basis":mi?Ne:"100%"}:{flex:`${he} ${q} ${mi?Ne:"100%"}`})}return Pt.flex||Pt["flex-grow"]||(Pt=(0,S.C5)(Xi,Ge?{"flex-grow":he,"flex-shrink":q,"flex-basis":Ne}:{flex:`${he} ${q} ${Ne}`})),"0%"!==Ne&&"0px"!==Ne&&"0.000000001px"!==Ne&&"auto"!==Ne&&(Pt[Fe]=Kt||mi&&he?Ne:null,Pt[$e]=Kt||!et&&q?Ne:null),Pt[Fe]||Pt[$e]?we.hasWrap&&(Pt[Ge?"flex-basis":"flex"]=Pt[$e]?Ge?Pt[$e]:`${he} ${q} ${Pt[$e]}`:Ge?Pt[Fe]:`${he} ${q} ${Pt[Fe]}`):Pt=(0,S.C5)(Xi,Ge?{"flex-grow":he,"flex-shrink":q,"flex-basis":Ne}:{flex:`${he} ${q} ${Ne}`}),(0,S.C5)(Pt,{"box-sizing":"border-box"})}}return St.\u0275fac=function(Ae){return new(Ae||St)(e.KVO(w.EA))},St.\u0275prov=e.jDH({token:St,factory:St.\u0275fac,providedIn:"root"}),St})();const c=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let h=(()=>{class St extends w.DJ{constructor(Ae,we,he,q,Re){super(Ae,q,we,Re),this.layoutConfig=he,this.marshal=Re,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(Ae){this.flexShrink=Ae||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Ae){this.flexGrow=Ae||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,x.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,x.Q)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Ae){const he=Ae.value.split(" ");this.direction=he[0],this.wrap=void 0!==he[1]&&"wrap"===he[1],this.triggerUpdate()}updateWithValue(Ae){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const he=this.direction,q=he.startsWith("row"),Re=this.wrap;q&&Re?this.styleCache=_:q&&!Re?this.styleCache=k:!q&&Re?this.styleCache=r:!q&&!Re&&(this.styleCache=L);const Ne=String(Ae).replace(";",""),gt=(0,w.hN)(Ne,this.flexGrow,this.flexShrink);this.addStyles(gt.join(" "),{direction:he,hasWrap:Re})}triggerReflow(){const Ae=this.activatedValue;if(void 0!==Ae){const we=(0,w.hN)(Ae+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,we.join(" "))}}}return St.\u0275fac=function(Ae){return new(Ae||St)(e.rXU(e.aKT),e.rXU(w.ZH),e.rXU(w.EA),e.rXU(n),e.rXU(w.qH))},St.\u0275dir=e.FsC({type:St,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[e.Vt3]}),St})(),C=(()=>{class St extends h{constructor(){super(...arguments),this.inputs=c}}return St.\u0275fac=(()=>{let dt;return function(we){return(dt||(dt=e.xGo(St)))(we||St)}})(),St.\u0275dir=e.FsC({type:St,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[e.Vt3]}),St})();const k=new Map,L=new Map,_=new Map,r=new Map;let Ie=(()=>{class St extends w.r3{buildStyles(Ae,we){const he={},[q,Re]=Ae.split(" ");switch(q){case"center":he["justify-content"]="center";break;case"space-around":he["justify-content"]="space-around";break;case"space-between":he["justify-content"]="space-between";break;case"space-evenly":he["justify-content"]="space-evenly";break;case"end":case"flex-end":he["justify-content"]="flex-end";break;default:he["justify-content"]="flex-start"}switch(Re){case"start":case"flex-start":he["align-items"]=he["align-content"]="flex-start";break;case"center":he["align-items"]=he["align-content"]="center";break;case"end":case"flex-end":he["align-items"]=he["align-content"]="flex-end";break;case"space-between":he["align-content"]="space-between",he["align-items"]="stretch";break;case"space-around":he["align-content"]="space-around",he["align-items"]="stretch";break;case"baseline":he["align-content"]="stretch",he["align-items"]="baseline";break;default:he["align-items"]=he["align-content"]="stretch"}return(0,S.C5)(he,{display:we.inline?"inline-flex":"flex","flex-direction":we.layout,"box-sizing":"border-box","max-width":"stretch"===Re?(0,S.Vc)(we.layout)?null:"100%":null,"max-height":"stretch"===Re&&(0,S.Vc)(we.layout)?"100%":null})}}return St.\u0275fac=(()=>{let dt;return function(we){return(dt||(dt=e.xGo(St)))(we||St)}})(),St.\u0275prov=e.jDH({token:St,factory:St.\u0275fac,providedIn:"root"}),St})();const He=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let yt=(()=>{class St extends w.DJ{constructor(Ae,we,he,q){super(Ae,he,we,q),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,x.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Ae){const we=this.layout||"row",he=this.inline;"row"===we&&he?this.styleCache=Vt:"row"!==we||he?"row-reverse"===we&&he?this.styleCache=tt:"row-reverse"!==we||he?"column"===we&&he?this.styleCache=oe:"column"!==we||he?"column-reverse"===we&&he?this.styleCache=$t:"column-reverse"===we&&!he&&(this.styleCache=Et):this.styleCache=Yt:this.styleCache=Nt:this.styleCache=rt,this.addStyles(Ae,{layout:we,inline:he})}onLayoutChange(Ae){const we=Ae.value.split(" ");this.layout=we[0],this.inline=Ae.value.includes("inline"),S.Uo.find(he=>he===this.layout)||(this.layout="row"),this.triggerUpdate()}}return St.\u0275fac=function(Ae){return new(Ae||St)(e.rXU(e.aKT),e.rXU(w.ZH),e.rXU(Ie),e.rXU(w.qH))},St.\u0275dir=e.FsC({type:St,features:[e.Vt3]}),St})(),Ye=(()=>{class St extends yt{constructor(){super(...arguments),this.inputs=He}}return St.\u0275fac=(()=>{let dt;return function(we){return(dt||(dt=e.xGo(St)))(we||St)}})(),St.\u0275dir=e.FsC({type:St,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[e.Vt3]}),St})();const rt=new Map,Yt=new Map,Nt=new Map,Et=new Map,Vt=new Map,oe=new Map,tt=new Map,$t=new Map;let Jt=(()=>{class St{}return St.\u0275fac=function(Ae){return new(Ae||St)},St.\u0275mod=e.$C({type:St}),St.\u0275inj=e.G2t({imports:[w.Ui,t.jI]}),St})()},9417:(Qe,te,g)=>{"use strict";g.d(te,{BC:()=>pe,JD:()=>wo,Q0:()=>Sr,VZ:()=>uo,X1:()=>Ri,YN:()=>oa,YS:()=>Lr,cV:()=>Yn,cb:()=>Ze,cz:()=>Q,hs:()=>_i,j4:()=>Sa,k0:()=>ie,kq:()=>d,l_:()=>ho,me:()=>W,ok:()=>Mo,qT:()=>or,vO:()=>ke,vS:()=>nr,xq:()=>_a,zX:()=>Bo,ze:()=>oo});var e=g(4438),t=g(177),w=g(2806),S=g(7468),l=g(1413),x=g(6354);let f=(()=>{class lt{constructor(Ue,At){this._renderer=Ue,this._elementRef=At,this.onChange=ni=>{},this.onTouched=()=>{}}setProperty(Ue,At){this._renderer.setProperty(this._elementRef.nativeElement,Ue,At)}registerOnTouched(Ue){this.onTouched=Ue}registerOnChange(Ue){this.onChange=Ue}setDisabledState(Ue){this.setProperty("disabled",Ue)}static#e=this.\u0275fac=function(At){return new(At||lt)(e.rXU(e.sFG),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:lt})}return lt})(),I=(()=>{class lt extends f{static#e=this.\u0275fac=(()=>{let Ue;return function(ni){return(Ue||(Ue=e.xGo(lt)))(ni||lt)}})();static#t=this.\u0275dir=e.FsC({type:lt,features:[e.Vt3]})}return lt})();const d=new e.nKC(""),F={provide:d,useExisting:(0,e.Rfq)(()=>W),multi:!0},z=new e.nKC("");let W=(()=>{class lt extends f{constructor(Ue,At,ni){super(Ue,At),this._compositionMode=ni,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function R(){const lt=(0,t.QT)()?(0,t.QT)().getUserAgent():"";return/android (\d+)/.test(lt.toLowerCase())}())}writeValue(Ue){this.setProperty("value",Ue??"")}_handleInput(Ue){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ue)}_compositionStart(){this._composing=!0}_compositionEnd(Ue){this._composing=!1,this._compositionMode&&this.onChange(Ue)}static#e=this.\u0275fac=function(At){return new(At||lt)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(z,8))};static#t=this.\u0275dir=e.FsC({type:lt,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(At,ni){1&At&&e.bIt("input",function(Zn){return ni._handleInput(Zn.target.value)})("blur",function(){return ni.onTouched()})("compositionstart",function(){return ni._compositionStart()})("compositionend",function(Zn){return ni._compositionEnd(Zn.target.value)})},features:[e.Jv_([F]),e.Vt3]})}return lt})();function $(lt){return null==lt||("string"==typeof lt||Array.isArray(lt))&&0===lt.length}function j(lt){return null!=lt&&"number"==typeof lt.length}const Q=new e.nKC(""),J=new e.nKC(""),ee=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ie{static min(ht){return ge(ht)}static max(ht){return ae(ht)}static required(ht){return Me(ht)}static requiredTrue(ht){return Te(ht)}static email(ht){return function de(lt){return $(lt.value)||ee.test(lt.value)?null:{email:!0}}(ht)}static minLength(ht){return function D(lt){return ht=>$(ht.value)||!j(ht.value)?null:ht.value.length<lt?{minlength:{requiredLength:lt,actualLength:ht.value.length}}:null}(ht)}static maxLength(ht){return function n(lt){return ht=>j(ht.value)&&ht.value.length>lt?{maxlength:{requiredLength:lt,actualLength:ht.value.length}}:null}(ht)}static pattern(ht){return function c(lt){if(!lt)return m;let ht,Ue;return"string"==typeof lt?(Ue="","^"!==lt.charAt(0)&&(Ue+="^"),Ue+=lt,"$"!==lt.charAt(lt.length-1)&&(Ue+="$"),ht=new RegExp(Ue)):(Ue=lt.toString(),ht=lt),At=>{if($(At.value))return null;const ni=At.value;return ht.test(ni)?null:{pattern:{requiredPattern:Ue,actualValue:ni}}}}(ht)}static nullValidator(ht){return null}static compose(ht){return v(ht)}static composeAsync(ht){return N(ht)}}function ge(lt){return ht=>{if($(ht.value)||$(lt))return null;const Ue=parseFloat(ht.value);return!isNaN(Ue)&&Ue<lt?{min:{min:lt,actual:ht.value}}:null}}function ae(lt){return ht=>{if($(ht.value)||$(lt))return null;const Ue=parseFloat(ht.value);return!isNaN(Ue)&&Ue>lt?{max:{max:lt,actual:ht.value}}:null}}function Me(lt){return $(lt.value)?{required:!0}:null}function Te(lt){return!0===lt.value?null:{required:!0}}function m(lt){return null}function h(lt){return null!=lt}function C(lt){return(0,e.jNT)(lt)?(0,w.H)(lt):lt}function k(lt){let ht={};return lt.forEach(Ue=>{ht=null!=Ue?{...ht,...Ue}:ht}),0===Object.keys(ht).length?null:ht}function L(lt,ht){return ht.map(Ue=>Ue(lt))}function r(lt){return lt.map(ht=>function _(lt){return!lt.validate}(ht)?ht:Ue=>ht.validate(Ue))}function v(lt){if(!lt)return null;const ht=lt.filter(h);return 0==ht.length?null:function(Ue){return k(L(Ue,ht))}}function V(lt){return null!=lt?v(r(lt)):null}function N(lt){if(!lt)return null;const ht=lt.filter(h);return 0==ht.length?null:function(Ue){const At=L(Ue,ht).map(C);return(0,S.p)(At).pipe((0,x.T)(k))}}function ne(lt){return null!=lt?N(r(lt)):null}function Ee(lt,ht){return null===lt?[ht]:Array.isArray(lt)?[...lt,ht]:[lt,ht]}function ze(lt){return lt._rawValidators}function qe(lt){return lt._rawAsyncValidators}function Ke(lt){return lt?Array.isArray(lt)?lt:[lt]:[]}function se(lt,ht){return Array.isArray(lt)?lt.includes(ht):lt===ht}function X(lt,ht){const Ue=Ke(ht);return Ke(lt).forEach(ni=>{se(Ue,ni)||Ue.push(ni)}),Ue}function me(lt,ht){return Ke(ht).filter(Ue=>!se(lt,Ue))}class ce{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ht){this._rawValidators=ht||[],this._composedValidatorFn=V(this._rawValidators)}_setAsyncValidators(ht){this._rawAsyncValidators=ht||[],this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ht){this._onDestroyCallbacks.push(ht)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ht=>ht()),this._onDestroyCallbacks=[]}reset(ht=void 0){this.control&&this.control.reset(ht)}hasError(ht,Ue){return!!this.control&&this.control.hasError(ht,Ue)}getError(ht,Ue){return this.control?this.control.getError(ht,Ue):null}}class fe extends ce{get formDirective(){return null}get path(){return null}}class ke extends ce{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mt{constructor(ht){this._cd=ht}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let pe=(()=>{class lt extends mt{constructor(Ue){super(Ue)}static#e=this.\u0275fac=function(At){return new(At||lt)(e.rXU(ke,2))};static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(At,ni){2&At&&e.AVh("ng-untouched",ni.isUntouched)("ng-touched",ni.isTouched)("ng-pristine",ni.isPristine)("ng-dirty",ni.isDirty)("ng-valid",ni.isValid)("ng-invalid",ni.isInvalid)("ng-pending",ni.isPending)},features:[e.Vt3]})}return lt})(),Ze=(()=>{class lt extends mt{constructor(Ue){super(Ue)}static#e=this.\u0275fac=function(At){return new(At||lt)(e.rXU(fe,10))};static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(At,ni){2&At&&e.AVh("ng-untouched",ni.isUntouched)("ng-touched",ni.isTouched)("ng-pristine",ni.isPristine)("ng-dirty",ni.isDirty)("ng-valid",ni.isValid)("ng-invalid",ni.isInvalid)("ng-pending",ni.isPending)("ng-submitted",ni.isSubmitted)},features:[e.Vt3]})}return lt})();const $t="VALID",zt="INVALID",Jt="PENDING",St="DISABLED";class dt{}class Ae extends dt{constructor(ht,Ue){super(),this.value=ht,this.source=Ue}}class we extends dt{constructor(ht,Ue){super(),this.pristine=ht,this.source=Ue}}class he extends dt{constructor(ht,Ue){super(),this.touched=ht,this.source=Ue}}class q extends dt{constructor(ht,Ue){super(),this.status=ht,this.source=Ue}}class Re extends dt{constructor(ht){super(),this.source=ht}}class Ne extends dt{constructor(ht){super(),this.source=ht}}function gt(lt){return(et(lt)?lt.validators:lt)||null}function Fe(lt,ht){return(et(ht)?ht.asyncValidators:lt)||null}function et(lt){return null!=lt&&!Array.isArray(lt)&&"object"==typeof lt}function st(lt,ht,Ue){const At=lt.controls;if(!(ht?Object.keys(At):At).length)throw new e.wOt(1e3,"");if(!At[Ue])throw new e.wOt(1001,"")}function Tt(lt,ht,Ue){lt._forEachChild((At,ni)=>{if(void 0===Ue[ni])throw new e.wOt(1002,"")})}class mi{constructor(ht,Ue){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new l.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(ht),this._assignAsyncValidators(Ue)}get validator(){return this._composedValidatorFn}set validator(ht){this._rawValidators=this._composedValidatorFn=ht}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ht){this._rawAsyncValidators=this._composedAsyncValidatorFn=ht}get parent(){return this._parent}get valid(){return this.status===$t}get invalid(){return this.status===zt}get pending(){return this.status==Jt}get disabled(){return this.status===St}get enabled(){return this.status!==St}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ht){this._assignValidators(ht)}setAsyncValidators(ht){this._assignAsyncValidators(ht)}addValidators(ht){this.setValidators(X(ht,this._rawValidators))}addAsyncValidators(ht){this.setAsyncValidators(X(ht,this._rawAsyncValidators))}removeValidators(ht){this.setValidators(me(ht,this._rawValidators))}removeAsyncValidators(ht){this.setAsyncValidators(me(ht,this._rawAsyncValidators))}hasValidator(ht){return se(this._rawValidators,ht)}hasAsyncValidator(ht){return se(this._rawAsyncValidators,ht)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ht={}){const Ue=!1===this.touched;this.touched=!0;const At=ht.sourceControl??this;this._parent&&!ht.onlySelf&&this._parent.markAsTouched({...ht,sourceControl:At}),Ue&&!1!==ht.emitEvent&&this._events.next(new he(!0,At))}markAllAsTouched(ht={}){this.markAsTouched({onlySelf:!0,emitEvent:ht.emitEvent,sourceControl:this}),this._forEachChild(Ue=>Ue.markAllAsTouched(ht))}markAsUntouched(ht={}){const Ue=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const At=ht.sourceControl??this;this._forEachChild(ni=>{ni.markAsUntouched({onlySelf:!0,emitEvent:ht.emitEvent,sourceControl:At})}),this._parent&&!ht.onlySelf&&this._parent._updateTouched(ht,At),Ue&&!1!==ht.emitEvent&&this._events.next(new he(!1,At))}markAsDirty(ht={}){const Ue=!0===this.pristine;this.pristine=!1;const At=ht.sourceControl??this;this._parent&&!ht.onlySelf&&this._parent.markAsDirty({...ht,sourceControl:At}),Ue&&!1!==ht.emitEvent&&this._events.next(new we(!1,At))}markAsPristine(ht={}){const Ue=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const At=ht.sourceControl??this;this._forEachChild(ni=>{ni.markAsPristine({onlySelf:!0,emitEvent:ht.emitEvent})}),this._parent&&!ht.onlySelf&&this._parent._updatePristine(ht,At),Ue&&!1!==ht.emitEvent&&this._events.next(new we(!0,At))}markAsPending(ht={}){this.status=Jt;const Ue=ht.sourceControl??this;!1!==ht.emitEvent&&(this._events.next(new q(this.status,Ue)),this.statusChanges.emit(this.status)),this._parent&&!ht.onlySelf&&this._parent.markAsPending({...ht,sourceControl:Ue})}disable(ht={}){const Ue=this._parentMarkedDirty(ht.onlySelf);this.status=St,this.errors=null,this._forEachChild(ni=>{ni.disable({...ht,onlySelf:!0})}),this._updateValue();const At=ht.sourceControl??this;!1!==ht.emitEvent&&(this._events.next(new Ae(this.value,At)),this._events.next(new q(this.status,At)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ht,skipPristineCheck:Ue},this),this._onDisabledChange.forEach(ni=>ni(!0))}enable(ht={}){const Ue=this._parentMarkedDirty(ht.onlySelf);this.status=$t,this._forEachChild(At=>{At.enable({...ht,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ht.emitEvent}),this._updateAncestors({...ht,skipPristineCheck:Ue},this),this._onDisabledChange.forEach(At=>At(!1))}_updateAncestors(ht,Ue){this._parent&&!ht.onlySelf&&(this._parent.updateValueAndValidity(ht),ht.skipPristineCheck||this._parent._updatePristine({},Ue),this._parent._updateTouched({},Ue))}setParent(ht){this._parent=ht}getRawValue(){return this.value}updateValueAndValidity(ht={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const At=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===$t||this.status===Jt)&&this._runAsyncValidator(At,ht.emitEvent)}const Ue=ht.sourceControl??this;!1!==ht.emitEvent&&(this._events.next(new Ae(this.value,Ue)),this._events.next(new q(this.status,Ue)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ht.onlySelf&&this._parent.updateValueAndValidity({...ht,sourceControl:Ue})}_updateTreeValidity(ht={emitEvent:!0}){this._forEachChild(Ue=>Ue._updateTreeValidity(ht)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ht.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?St:$t}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ht,Ue){if(this.asyncValidator){this.status=Jt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Ue};const At=C(this.asyncValidator(this));this._asyncValidationSubscription=At.subscribe(ni=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(ni,{emitEvent:Ue,shouldHaveEmitted:ht})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const ht=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,ht}return!1}setErrors(ht,Ue={}){this.errors=ht,this._updateControlsErrors(!1!==Ue.emitEvent,this,Ue.shouldHaveEmitted)}get(ht){let Ue=ht;return null==Ue||(Array.isArray(Ue)||(Ue=Ue.split(".")),0===Ue.length)?null:Ue.reduce((At,ni)=>At&&At._find(ni),this)}getError(ht,Ue){const At=Ue?this.get(Ue):this;return At&&At.errors?At.errors[ht]:null}hasError(ht,Ue){return!!this.getError(ht,Ue)}get root(){let ht=this;for(;ht._parent;)ht=ht._parent;return ht}_updateControlsErrors(ht,Ue,At){this.status=this._calculateStatus(),ht&&this.statusChanges.emit(this.status),(ht||At)&&this._events.next(new q(this.status,Ue)),this._parent&&this._parent._updateControlsErrors(ht,Ue,At)}_initObservables(){this.valueChanges=new e.bkB,this.statusChanges=new e.bkB}_calculateStatus(){return this._allControlsDisabled()?St:this.errors?zt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Jt)?Jt:this._anyControlsHaveStatus(zt)?zt:$t}_anyControlsHaveStatus(ht){return this._anyControls(Ue=>Ue.status===ht)}_anyControlsDirty(){return this._anyControls(ht=>ht.dirty)}_anyControlsTouched(){return this._anyControls(ht=>ht.touched)}_updatePristine(ht,Ue){const At=!this._anyControlsDirty(),ni=this.pristine!==At;this.pristine=At,this._parent&&!ht.onlySelf&&this._parent._updatePristine(ht,Ue),ni&&this._events.next(new we(this.pristine,Ue))}_updateTouched(ht={},Ue){this.touched=this._anyControlsTouched(),this._events.next(new he(this.touched,Ue)),this._parent&&!ht.onlySelf&&this._parent._updateTouched(ht,Ue)}_registerOnCollectionChange(ht){this._onCollectionChange=ht}_setUpdateStrategy(ht){et(ht)&&null!=ht.updateOn&&(this._updateOn=ht.updateOn)}_parentMarkedDirty(ht){return!ht&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ht){return null}_assignValidators(ht){this._rawValidators=Array.isArray(ht)?ht.slice():ht,this._composedValidatorFn=function $e(lt){return Array.isArray(lt)?V(lt):lt||null}(this._rawValidators)}_assignAsyncValidators(ht){this._rawAsyncValidators=Array.isArray(ht)?ht.slice():ht,this._composedAsyncValidatorFn=function Ge(lt){return Array.isArray(lt)?ne(lt):lt||null}(this._rawAsyncValidators)}}class Kt extends mi{constructor(ht,Ue,At){super(gt(Ue),Fe(At,Ue)),this.controls=ht,this._initObservables(),this._setUpdateStrategy(Ue),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ht,Ue){return this.controls[ht]?this.controls[ht]:(this.controls[ht]=Ue,Ue.setParent(this),Ue._registerOnCollectionChange(this._onCollectionChange),Ue)}addControl(ht,Ue,At={}){this.registerControl(ht,Ue),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}removeControl(ht,Ue={}){this.controls[ht]&&this.controls[ht]._registerOnCollectionChange(()=>{}),delete this.controls[ht],this.updateValueAndValidity({emitEvent:Ue.emitEvent}),this._onCollectionChange()}setControl(ht,Ue,At={}){this.controls[ht]&&this.controls[ht]._registerOnCollectionChange(()=>{}),delete this.controls[ht],Ue&&this.registerControl(ht,Ue),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}contains(ht){return this.controls.hasOwnProperty(ht)&&this.controls[ht].enabled}setValue(ht,Ue={}){Tt(this,0,ht),Object.keys(ht).forEach(At=>{st(this,!0,At),this.controls[At].setValue(ht[At],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this.updateValueAndValidity(Ue)}patchValue(ht,Ue={}){null!=ht&&(Object.keys(ht).forEach(At=>{const ni=this.controls[At];ni&&ni.patchValue(ht[At],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this.updateValueAndValidity(Ue))}reset(ht={},Ue={}){this._forEachChild((At,ni)=>{At.reset(ht?ht[ni]:null,{onlySelf:!0,emitEvent:Ue.emitEvent})}),this._updatePristine(Ue,this),this._updateTouched(Ue,this),this.updateValueAndValidity(Ue)}getRawValue(){return this._reduceChildren({},(ht,Ue,At)=>(ht[At]=Ue.getRawValue(),ht))}_syncPendingControls(){let ht=this._reduceChildren(!1,(Ue,At)=>!!At._syncPendingControls()||Ue);return ht&&this.updateValueAndValidity({onlySelf:!0}),ht}_forEachChild(ht){Object.keys(this.controls).forEach(Ue=>{const At=this.controls[Ue];At&&ht(At,Ue)})}_setUpControls(){this._forEachChild(ht=>{ht.setParent(this),ht._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ht){for(const[Ue,At]of Object.entries(this.controls))if(this.contains(Ue)&&ht(At))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ue,At,ni)=>((At.enabled||this.disabled)&&(Ue[ni]=At.value),Ue))}_reduceChildren(ht,Ue){let At=ht;return this._forEachChild((ni,pn)=>{At=Ue(At,ni,pn)}),At}_allControlsDisabled(){for(const ht of Object.keys(this.controls))if(this.controls[ht].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ht){return this.controls.hasOwnProperty(ht)?this.controls[ht]:null}}class fi extends Kt{}const Qi=new e.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Li}),Li="always";function Zi(lt,ht){return[...ht.path,lt]}function Qt(lt,ht,Ue=Li){wt(lt,ht),ht.valueAccessor.writeValue(lt.value),(lt.disabled||"always"===Ue)&&ht.valueAccessor.setDisabledState?.(lt.disabled),function xi(lt,ht){ht.valueAccessor.registerOnChange(Ue=>{lt._pendingValue=Ue,lt._pendingChange=!0,lt._pendingDirty=!0,"change"===lt.updateOn&&zi(lt,ht)})}(lt,ht),function en(lt,ht){const Ue=(At,ni)=>{ht.valueAccessor.writeValue(At),ni&&ht.viewToModelUpdate(At)};lt.registerOnChange(Ue),ht._registerOnDestroy(()=>{lt._unregisterOnChange(Ue)})}(lt,ht),function Si(lt,ht){ht.valueAccessor.registerOnTouched(()=>{lt._pendingTouched=!0,"blur"===lt.updateOn&<._pendingChange&&zi(lt,ht),"submit"!==lt.updateOn&<.markAsTouched()})}(lt,ht),function ct(lt,ht){if(ht.valueAccessor.setDisabledState){const Ue=At=>{ht.valueAccessor.setDisabledState(At)};lt.registerOnDisabledChange(Ue),ht._registerOnDestroy(()=>{lt._unregisterOnDisabledChange(Ue)})}}(lt,ht)}function Mt(lt,ht,Ue=!0){const At=()=>{};ht.valueAccessor&&(ht.valueAccessor.registerOnChange(At),ht.valueAccessor.registerOnTouched(At)),Ut(lt,ht),lt&&(ht._invokeOnDestroyCallbacks(),lt._registerOnCollectionChange(()=>{}))}function it(lt,ht){lt.forEach(Ue=>{Ue.registerOnValidatorChange&&Ue.registerOnValidatorChange(ht)})}function wt(lt,ht){const Ue=ze(lt);null!==ht.validator?lt.setValidators(Ee(Ue,ht.validator)):"function"==typeof Ue&<.setValidators([Ue]);const At=qe(lt);null!==ht.asyncValidator?lt.setAsyncValidators(Ee(At,ht.asyncValidator)):"function"==typeof At&<.setAsyncValidators([At]);const ni=()=>lt.updateValueAndValidity();it(ht._rawValidators,ni),it(ht._rawAsyncValidators,ni)}function Ut(lt,ht){let Ue=!1;if(null!==lt){if(null!==ht.validator){const ni=ze(lt);if(Array.isArray(ni)&&ni.length>0){const pn=ni.filter(Zn=>Zn!==ht.validator);pn.length!==ni.length&&(Ue=!0,lt.setValidators(pn))}}if(null!==ht.asyncValidator){const ni=qe(lt);if(Array.isArray(ni)&&ni.length>0){const pn=ni.filter(Zn=>Zn!==ht.asyncValidator);pn.length!==ni.length&&(Ue=!0,lt.setAsyncValidators(pn))}}}const At=()=>{};return it(ht._rawValidators,At),it(ht._rawAsyncValidators,At),Ue}function zi(lt,ht){lt._pendingDirty&<.markAsDirty(),lt.setValue(lt._pendingValue,{emitModelToViewChange:!1}),ht.viewToModelUpdate(lt._pendingValue),lt._pendingChange=!1}function Ni(lt,ht){wt(lt,ht)}function ot(lt,ht){if(!lt.hasOwnProperty("model"))return!1;const Ue=lt.model;return!!Ue.isFirstChange()||!Object.is(ht,Ue.currentValue)}function ii(lt,ht){lt._syncPendingControls(),ht.forEach(Ue=>{const At=Ue.control;"submit"===At.updateOn&&At._pendingChange&&(Ue.viewToModelUpdate(At._pendingValue),At._pendingChange=!1)})}function si(lt,ht){if(!ht)return null;let Ue,At,ni;return Array.isArray(ht),ht.forEach(pn=>{pn.constructor===W?Ue=pn:function ut(lt){return Object.getPrototypeOf(lt.constructor)===I}(pn)?At=pn:ni=pn}),ni||At||Ue||null}const Fn={provide:fe,useExisting:(0,e.Rfq)(()=>Yn)},$n=Promise.resolve();let Yn=(()=>{class lt extends fe{constructor(Ue,At,ni){super(),this.callSetDisabledState=ni,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.bkB,this.form=new Kt({},V(Ue),ne(At))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ue){$n.then(()=>{const At=this._findContainer(Ue.path);Ue.control=At.registerControl(Ue.name,Ue.control),Qt(Ue.control,Ue,this.callSetDisabledState),Ue.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ue)})}getControl(Ue){return this.form.get(Ue.path)}removeControl(Ue){$n.then(()=>{const At=this._findContainer(Ue.path);At&&At.removeControl(Ue.name),this._directives.delete(Ue)})}addFormGroup(Ue){$n.then(()=>{const At=this._findContainer(Ue.path),ni=new Kt({});Ni(ni,Ue),At.registerControl(Ue.name,ni),ni.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ue){$n.then(()=>{const At=this._findContainer(Ue.path);At&&At.removeControl(Ue.name)})}getFormGroup(Ue){return this.form.get(Ue.path)}updateModel(Ue,At){$n.then(()=>{this.form.get(Ue.path).setValue(At)})}setValue(Ue){this.control.setValue(Ue)}onSubmit(Ue){return this.submitted=!0,ii(this.form,this._directives),this.ngSubmit.emit(Ue),"dialog"===Ue?.target?.method}onReset(){this.resetForm()}resetForm(Ue=void 0){this.form.reset(Ue),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ue){return Ue.pop(),Ue.length?this.form.get(Ue):this.form}static#e=this.\u0275fac=function(At){return new(At||lt)(e.rXU(Q,10),e.rXU(J,10),e.rXU(Qi,8))};static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(At,ni){1&At&&e.bIt("submit",function(Zn){return ni.onSubmit(Zn)})("reset",function(){return ni.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([Fn]),e.Vt3]})}return lt})();function Qn(lt,ht){const Ue=lt.indexOf(ht);Ue>-1&<.splice(Ue,1)}function rr(lt){return"object"==typeof lt&&null!==lt&&2===Object.keys(lt).length&&"value"in lt&&"disabled"in lt}const Rn=class extends mi{constructor(ht=null,Ue,At){super(gt(Ue),Fe(At,Ue)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ht),this._setUpdateStrategy(Ue),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),et(Ue)&&(Ue.nonNullable||Ue.initialValueIsDefault)&&(this.defaultValue=rr(ht)?ht.value:ht)}setValue(ht,Ue={}){this.value=this._pendingValue=ht,this._onChange.length&&!1!==Ue.emitModelToViewChange&&this._onChange.forEach(At=>At(this.value,!1!==Ue.emitViewToModelChange)),this.updateValueAndValidity(Ue)}patchValue(ht,Ue={}){this.setValue(ht,Ue)}reset(ht=this.defaultValue,Ue={}){this._applyFormState(ht),this.markAsPristine(Ue),this.markAsUntouched(Ue),this.setValue(this.value,Ue),this._pendingChange=!1}_updateValue(){}_anyControls(ht){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ht){this._onChange.push(ht)}_unregisterOnChange(ht){Qn(this._onChange,ht)}registerOnDisabledChange(ht){this._onDisabledChange.push(ht)}_unregisterOnDisabledChange(ht){Qn(this._onDisabledChange,ht)}_forEachChild(ht){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ht){rr(ht)?(this.value=this._pendingValue=ht.value,ht.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ht}},_i=Rn,ar={provide:ke,useExisting:(0,e.Rfq)(()=>nr)},sr=Promise.resolve();let nr=(()=>{class lt extends ke{constructor(Ue,At,ni,pn,Zn,Fo){super(),this._changeDetectorRef=Zn,this.callSetDisabledState=Fo,this.control=new Rn,this._registered=!1,this.name="",this.update=new e.bkB,this._parent=Ue,this._setValidators(At),this._setAsyncValidators(ni),this.valueAccessor=si(0,pn)}ngOnChanges(Ue){if(this._checkForErrors(),!this._registered||"name"in Ue){if(this._registered&&(this._checkName(),this.formDirective)){const At=Ue.name.previousValue;this.formDirective.removeControl({name:At,path:this._getPath(At)})}this._setUpControl()}"isDisabled"in Ue&&this._updateDisabled(Ue),ot(Ue,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Ue){this.viewModel=Ue,this.update.emit(Ue)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Qt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ue){sr.then(()=>{this.control.setValue(Ue,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ue){const At=Ue.isDisabled.currentValue,ni=0!==At&&(0,e.L39)(At);sr.then(()=>{ni&&!this.control.disabled?this.control.disable():!ni&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ue){return this._parent?Zi(Ue,this._parent):[Ue]}static#e=this.\u0275fac=function(At){return new(At||lt)(e.rXU(fe,9),e.rXU(Q,10),e.rXU(J,10),e.rXU(d,10),e.rXU(e.gRc,8),e.rXU(Qi,8))};static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e.Jv_([ar]),e.Vt3,e.OA$]})}return lt})(),or=(()=>{class lt{static#e=this.\u0275fac=function(At){return new(At||lt)};static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return lt})();const Xr={provide:d,useExisting:(0,e.Rfq)(()=>Sr),multi:!0};let Sr=(()=>{class lt extends I{writeValue(Ue){this.setProperty("value",Ue??"")}registerOnChange(Ue){this.onChange=At=>{Ue(""==At?null:parseFloat(At))}}static#e=this.\u0275fac=(()=>{let Ue;return function(ni){return(Ue||(Ue=e.xGo(lt)))(ni||lt)}})();static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(At,ni){1&At&&e.bIt("input",function(Zn){return ni.onChange(Zn.target.value)})("blur",function(){return ni.onTouched()})},features:[e.Jv_([Xr]),e.Vt3]})}return lt})();const Ea=new e.nKC(""),no={provide:ke,useExisting:(0,e.Rfq)(()=>ho)};let ho=(()=>{class lt extends ke{set isDisabled(Ue){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ue,At,ni,pn,Zn){super(),this._ngModelWarningConfig=pn,this.callSetDisabledState=Zn,this.update=new e.bkB,this._ngModelWarningSent=!1,this._setValidators(Ue),this._setAsyncValidators(At),this.valueAccessor=si(0,ni)}ngOnChanges(Ue){if(this._isControlChanged(Ue)){const At=Ue.form.previousValue;At&&Mt(At,this,!1),Qt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ot(Ue,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Mt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ue){this.viewModel=Ue,this.update.emit(Ue)}_isControlChanged(Ue){return Ue.hasOwnProperty("form")}static#t=this.\u0275fac=function(At){return new(At||lt)(e.rXU(Q,10),e.rXU(J,10),e.rXU(d,10),e.rXU(Ea,8),e.rXU(Qi,8))};static#i=this.\u0275dir=e.FsC({type:lt,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e.Jv_([no]),e.Vt3,e.OA$]})}return lt})();const xr={provide:fe,useExisting:(0,e.Rfq)(()=>Sa)};let Sa=(()=>{class lt extends fe{constructor(Ue,At,ni){super(),this.callSetDisabledState=ni,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.bkB,this._setValidators(Ue),this._setAsyncValidators(At)}ngOnChanges(Ue){this._checkFormPresent(),Ue.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ut(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ue){const At=this.form.get(Ue.path);return Qt(At,Ue,this.callSetDisabledState),At.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ue),At}getControl(Ue){return this.form.get(Ue.path)}removeControl(Ue){Mt(Ue.control||null,Ue,!1),function Pi(lt,ht){const Ue=lt.indexOf(ht);Ue>-1&<.splice(Ue,1)}(this.directives,Ue)}addFormGroup(Ue){this._setUpFormContainer(Ue)}removeFormGroup(Ue){this._cleanUpFormContainer(Ue)}getFormGroup(Ue){return this.form.get(Ue.path)}addFormArray(Ue){this._setUpFormContainer(Ue)}removeFormArray(Ue){this._cleanUpFormContainer(Ue)}getFormArray(Ue){return this.form.get(Ue.path)}updateModel(Ue,At){this.form.get(Ue.path).setValue(At)}onSubmit(Ue){return this.submitted=!0,ii(this.form,this.directives),this.ngSubmit.emit(Ue),this.form._events.next(new Re(this.control)),"dialog"===Ue?.target?.method}onReset(){this.resetForm()}resetForm(Ue=void 0){this.form.reset(Ue),this.submitted=!1,this.form._events.next(new Ne(this.form))}_updateDomValue(){this.directives.forEach(Ue=>{const At=Ue.control,ni=this.form.get(Ue.path);At!==ni&&(Mt(At||null,Ue),(lt=>lt instanceof Rn)(ni)&&(Qt(ni,Ue,this.callSetDisabledState),Ue.control=ni))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ue){const At=this.form.get(Ue.path);Ni(At,Ue),At.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ue){if(this.form){const At=this.form.get(Ue.path);At&&function fn(lt,ht){return Ut(lt,ht)}(At,Ue)&&At.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){wt(this.form,this),this._oldForm&&Ut(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(At){return new(At||lt)(e.rXU(Q,10),e.rXU(J,10),e.rXU(Qi,8))};static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["","formGroup",""]],hostBindings:function(At,ni){1&At&&e.bIt("submit",function(Zn){return ni.onSubmit(Zn)})("reset",function(){return ni.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([xr]),e.Vt3,e.OA$]})}return lt})();const Co={provide:ke,useExisting:(0,e.Rfq)(()=>wo)};let wo=(()=>{class lt extends ke{set isDisabled(Ue){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ue,At,ni,pn,Zn){super(),this._ngModelWarningConfig=Zn,this._added=!1,this.name=null,this.update=new e.bkB,this._ngModelWarningSent=!1,this._parent=Ue,this._setValidators(At),this._setAsyncValidators(ni),this.valueAccessor=si(0,pn)}ngOnChanges(Ue){this._added||this._setUpControl(),ot(Ue,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ue){this.viewModel=Ue,this.update.emit(Ue)}get path(){return Zi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(At){return new(At||lt)(e.rXU(fe,13),e.rXU(Q,10),e.rXU(J,10),e.rXU(d,10),e.rXU(Ea,8))};static#i=this.\u0275dir=e.FsC({type:lt,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.Jv_([Co]),e.Vt3,e.OA$]})}return lt})();function Ga(lt){return"number"==typeof lt?lt:parseFloat(lt)}let Na=(()=>{class lt{constructor(){this._validator=m}ngOnChanges(Ue){if(this.inputName in Ue){const At=this.normalizeInput(Ue[this.inputName].currentValue);this._enabled=this.enabled(At),this._validator=this._enabled?this.createValidator(At):m,this._onChange&&this._onChange()}}validate(Ue){return this._validator(Ue)}registerOnValidatorChange(Ue){this._onChange=Ue}enabled(Ue){return null!=Ue}static#e=this.\u0275fac=function(At){return new(At||lt)};static#t=this.\u0275dir=e.FsC({type:lt,features:[e.OA$]})}return lt})();const ja={provide:Q,useExisting:(0,e.Rfq)(()=>Bo),multi:!0};let Bo=(()=>{class lt extends Na{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ue=>Ga(Ue),this.createValidator=Ue=>ae(Ue)}static#e=this.\u0275fac=(()=>{let Ue;return function(ni){return(Ue||(Ue=e.xGo(lt)))(ni||lt)}})();static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(At,ni){2&At&&e.BMQ("max",ni._enabled?ni.max:null)},inputs:{max:"max"},features:[e.Jv_([ja]),e.Vt3]})}return lt})();const Uo={provide:Q,useExisting:(0,e.Rfq)(()=>uo),multi:!0};let uo=(()=>{class lt extends Na{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ue=>Ga(Ue),this.createValidator=Ue=>ge(Ue)}static#e=this.\u0275fac=(()=>{let Ue;return function(ni){return(Ue||(Ue=e.xGo(lt)))(ni||lt)}})();static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(At,ni){2&At&&e.BMQ("min",ni._enabled?ni.min:null)},inputs:{min:"min"},features:[e.Jv_([Uo]),e.Vt3]})}return lt})();const ga={provide:Q,useExisting:(0,e.Rfq)(()=>Lr),multi:!0},Za={provide:Q,useExisting:(0,e.Rfq)(()=>_a),multi:!0};let Lr=(()=>{class lt extends Na{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.L39,this.createValidator=Ue=>Me}enabled(Ue){return Ue}static#e=this.\u0275fac=(()=>{let Ue;return function(ni){return(Ue||(Ue=e.xGo(lt)))(ni||lt)}})();static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(At,ni){2&At&&e.BMQ("required",ni._enabled?"":null)},inputs:{required:"required"},features:[e.Jv_([ga]),e.Vt3]})}return lt})(),_a=(()=>{class lt extends Lr{constructor(){super(...arguments),this.createValidator=Ue=>Te}static#e=this.\u0275fac=(()=>{let Ue;return function(ni){return(Ue||(Ue=e.xGo(lt)))(ni||lt)}})();static#t=this.\u0275dir=e.FsC({type:lt,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(At,ni){2&At&&e.BMQ("required",ni._enabled?"":null)},features:[e.Jv_([Za]),e.Vt3]})}return lt})(),Ei=(()=>{class lt{static#e=this.\u0275fac=function(At){return new(At||lt)};static#t=this.\u0275mod=e.$C({type:lt});static#i=this.\u0275inj=e.G2t({})}return lt})();class Ki extends mi{constructor(ht,Ue,At){super(gt(Ue),Fe(At,Ue)),this.controls=ht,this._initObservables(),this._setUpdateStrategy(Ue),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ht){return this.controls[this._adjustIndex(ht)]}push(ht,Ue={}){this.controls.push(ht),this._registerControl(ht),this.updateValueAndValidity({emitEvent:Ue.emitEvent}),this._onCollectionChange()}insert(ht,Ue,At={}){this.controls.splice(ht,0,Ue),this._registerControl(Ue),this.updateValueAndValidity({emitEvent:At.emitEvent})}removeAt(ht,Ue={}){let At=this._adjustIndex(ht);At<0&&(At=0),this.controls[At]&&this.controls[At]._registerOnCollectionChange(()=>{}),this.controls.splice(At,1),this.updateValueAndValidity({emitEvent:Ue.emitEvent})}setControl(ht,Ue,At={}){let ni=this._adjustIndex(ht);ni<0&&(ni=0),this.controls[ni]&&this.controls[ni]._registerOnCollectionChange(()=>{}),this.controls.splice(ni,1),Ue&&(this.controls.splice(ni,0,Ue),this._registerControl(Ue)),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ht,Ue={}){Tt(this,0,ht),ht.forEach((At,ni)=>{st(this,!1,ni),this.at(ni).setValue(At,{onlySelf:!0,emitEvent:Ue.emitEvent})}),this.updateValueAndValidity(Ue)}patchValue(ht,Ue={}){null!=ht&&(ht.forEach((At,ni)=>{this.at(ni)&&this.at(ni).patchValue(At,{onlySelf:!0,emitEvent:Ue.emitEvent})}),this.updateValueAndValidity(Ue))}reset(ht=[],Ue={}){this._forEachChild((At,ni)=>{At.reset(ht[ni],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this._updatePristine(Ue,this),this._updateTouched(Ue,this),this.updateValueAndValidity(Ue)}getRawValue(){return this.controls.map(ht=>ht.getRawValue())}clear(ht={}){this.controls.length<1||(this._forEachChild(Ue=>Ue._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ht.emitEvent}))}_adjustIndex(ht){return ht<0?ht+this.length:ht}_syncPendingControls(){let ht=this.controls.reduce((Ue,At)=>!!At._syncPendingControls()||Ue,!1);return ht&&this.updateValueAndValidity({onlySelf:!0}),ht}_forEachChild(ht){this.controls.forEach((Ue,At)=>{ht(Ue,At)})}_updateValue(){this.value=this.controls.filter(ht=>ht.enabled||this.disabled).map(ht=>ht.value)}_anyControls(ht){return this.controls.some(Ue=>Ue.enabled&&ht(Ue))}_setUpControls(){this._forEachChild(ht=>this._registerControl(ht))}_allControlsDisabled(){for(const ht of this.controls)if(ht.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ht){ht.setParent(this),ht._registerOnCollectionChange(this._onCollectionChange)}_find(ht){return this.at(ht)??null}}function Fr(lt){return!!lt&&(void 0!==lt.asyncValidators||void 0!==lt.validators||void 0!==lt.updateOn)}let Mo=(()=>{class lt{constructor(){this.useNonNullable=!1}get nonNullable(){const Ue=new lt;return Ue.useNonNullable=!0,Ue}group(Ue,At=null){const ni=this._reduceControls(Ue);let pn={};return Fr(At)?pn=At:null!==At&&(pn.validators=At.validator,pn.asyncValidators=At.asyncValidator),new Kt(ni,pn)}record(Ue,At=null){const ni=this._reduceControls(Ue);return new fi(ni,At)}control(Ue,At,ni){let pn={};return this.useNonNullable?(Fr(At)?pn=At:(pn.validators=At,pn.asyncValidators=ni),new Rn(Ue,{...pn,nonNullable:!0})):new Rn(Ue,At,ni)}array(Ue,At,ni){const pn=Ue.map(Zn=>this._createControl(Zn));return new Ki(pn,At,ni)}_reduceControls(Ue){const At={};return Object.keys(Ue).forEach(ni=>{At[ni]=this._createControl(Ue[ni])}),At}_createControl(Ue){return Ue instanceof Rn||Ue instanceof mi?Ue:Array.isArray(Ue)?this.control(Ue[0],Ue.length>1?Ue[1]:null,Ue.length>2?Ue[2]:null):this.control(Ue)}static#e=this.\u0275fac=function(At){return new(At||lt)};static#t=this.\u0275prov=e.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})(),oo=(()=>{class lt extends Mo{group(Ue,At=null){return super.group(Ue,At)}control(Ue,At,ni){return super.control(Ue,At,ni)}array(Ue,At,ni){return super.array(Ue,At,ni)}static#e=this.\u0275fac=(()=>{let Ue;return function(ni){return(Ue||(Ue=e.xGo(lt)))(ni||lt)}})();static#t=this.\u0275prov=e.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})(),oa=(()=>{class lt{static withConfig(Ue){return{ngModule:lt,providers:[{provide:Qi,useValue:Ue.callSetDisabledState??Li}]}}static#e=this.\u0275fac=function(At){return new(At||lt)};static#t=this.\u0275mod=e.$C({type:lt});static#i=this.\u0275inj=e.G2t({imports:[Ei]})}return lt})(),Ri=(()=>{class lt{static withConfig(Ue){return{ngModule:lt,providers:[{provide:Ea,useValue:Ue.warnOnNgModelWithFormControl??"always"},{provide:Qi,useValue:Ue.callSetDisabledState??Li}]}}static#e=this.\u0275fac=function(At){return new(At||lt)};static#t=this.\u0275mod=e.$C({type:lt});static#i=this.\u0275inj=e.G2t({imports:[Ei]})}return lt})()},850:(Qe,te,g)=>{"use strict";g.d(te,{$3:()=>_,jL:()=>qe,pN:()=>ze});var e=g(4438),t=g(6600),w=g(177),S=g(5542),l=g(6969),x=g(8617),f=g(6860),I=g(9969),d=g(8359),T=g(1413),y=g(9030),F=g(7786),R=g(7673),z=g(3726),W=g(7336),$=g(6939),j=g(9417),Q=g(6467),J=g(9172),ee=g(5558),ie=g(6697),ge=g(5964),ae=g(6354),Me=g(8141),Te=g(5335),de=g(8203);const D=["panel"],n=["*"];function c(Ke,se){if(1&Ke){const X=e.RV6();e.j41(0,"div",1,0),e.bIt("@panelAnimation.done",function(ce){e.eBV(X);const fe=e.XpG();return e.Njj(fe._animationDone.next(ce))}),e.SdG(2),e.k0s()}if(2&Ke){const X=se.id,me=e.XpG();e.HbH(me._classList),e.AVh("mat-mdc-autocomplete-visible",me.showPanel)("mat-mdc-autocomplete-hidden",!me.showPanel)("mat-primary","primary"===me._color)("mat-accent","accent"===me._color)("mat-warn","warn"===me._color),e.Y8G("id",me.id)("@panelAnimation",me.isOpen?"visible":"hidden"),e.BMQ("aria-label",me.ariaLabel||null)("aria-labelledby",me._getPanelAriaLabelledby(X))}}const m=(0,I.hZ)("panelAnimation",[(0,I.wk)("void, hidden",(0,I.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,I.kY)(":enter, hidden => visible",[(0,I.Os)([(0,I.i0)("0.03s linear",(0,I.iF)({opacity:1})),(0,I.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,I.iF)({transform:"scaleY(1)"}))])]),(0,I.kY)(":leave, visible => hidden",[(0,I.i0)("0.075s linear",(0,I.iF)({opacity:0}))])]);let h=0;class C{constructor(se,X){this.source=se,this.option=X}}const k=new e.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function L(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let _=(()=>{class Ke{get isOpen(){return this._isOpen&&this.showPanel}_setColor(X){this._color=X,this._changeDetectorRef.markForCheck()}set classList(X){this._classList=X,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(X){this._hideSingleSelectionIndicator=X,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const X of this.options)X._changeDetectorRef.markForCheck()}constructor(X,me,ce,fe){this._changeDetectorRef=X,this._elementRef=me,this._defaults=ce,this._activeOptionChanges=d.yU.EMPTY,this._animationDone=new e.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.bkB,this.opened=new e.bkB,this.closed=new e.bkB,this.optionActivated=new e.bkB,this.id="mat-autocomplete-"+h++,this.inertGroups=fe?.SAFARI||!1,this.autoActiveFirstOption=!!ce.autoActiveFirstOption,this.autoSelectActiveOption=!!ce.autoSelectActiveOption,this.requireSelection=!!ce.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new x.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(X=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[X]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(X){this.panel&&(this.panel.nativeElement.scrollTop=X)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(X){const me=new C(this,X);this.optionSelected.emit(me)}_getPanelAriaLabelledby(X){return this.ariaLabel?null:this.ariaLabelledby?(X?X+" ":"")+this.ariaLabelledby:X}_skipPredicate(){return!1}static#e=this.\u0275fac=function(me){return new(me||Ke)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU(k),e.rXU(f.OD))};static#t=this.\u0275cmp=e.VBU({type:Ke,selectors:[["mat-autocomplete"]],contentQueries:function(me,ce,fe){if(1&me&&(e.wni(fe,t.wT,5),e.wni(fe,t.QC,5)),2&me){let ke;e.mGM(ke=e.lsd())&&(ce.options=ke),e.mGM(ke=e.lsd())&&(ce.optionGroups=ke)}},viewQuery:function(me,ce){if(1&me&&(e.GBs(e.C4Q,7),e.GBs(D,5)),2&me){let fe;e.mGM(fe=e.lsd())&&(ce.template=fe.first),e.mGM(fe=e.lsd())&&(ce.panel=fe.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",e.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",e.L39],requireSelection:[2,"requireSelection","requireSelection",e.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",e.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",e.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[e.Jv_([{provide:t.is,useExisting:Ke}]),e.GFd,e.aNF],ngContentSelectors:n,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(me,ce){1&me&&(e.NAR(),e.DNE(0,c,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[m]},changeDetection:0})}return Ke})();const v={provide:j.kq,useExisting:(0,e.Rfq)(()=>ze),multi:!0},N=new e.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const Ke=(0,e.WQX)(l.hJ);return()=>Ke.scrollStrategies.reposition()}}),Ee={provide:N,deps:[l.hJ],useFactory:function ne(Ke){return()=>Ke.scrollStrategies.reposition()}};let ze=(()=>{class Ke{constructor(X,me,ce,fe,ke,mt,_e,be,pe,Ze,_t){this._element=X,this._overlay=me,this._viewContainerRef=ce,this._zone=fe,this._changeDetectorRef=ke,this._dir=_e,this._formField=be,this._document=pe,this._viewportRuler=Ze,this._defaults=_t,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=d.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new T.B,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,y.v)(()=>{const at=this.autocomplete?this.autocomplete.options:null;return at?at.changes.pipe((0,J.Z)(at),(0,ee.n)(()=>(0,F.h)(...at.map(pt=>pt.onSelectionChange)))):this._zone.onStable.pipe((0,ie.s)(1),(0,ee.n)(()=>this.optionSelections))}),this._handlePanelKeydown=at=>{(at.keyCode===W._f&&!(0,W.rp)(at)||at.keyCode===W.i7&&(0,W.rp)(at,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),at.stopPropagation(),at.preventDefault())},this._trackedModal=null,this._scrollStrategy=mt}ngAfterViewInit(){const X=this._getWindow();typeof X<"u"&&this._zone.runOutsideAngular(()=>X.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(X){X.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const X=this._getWindow();typeof X<"u"&&X.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,x.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,F.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ge.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ge.p)(()=>this._overlayAttached)):(0,R.of)()).pipe((0,ae.T)(X=>X instanceof t.MI?X:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,F.h)((0,z.R)(this._document,"click"),(0,z.R)(this._document,"auxclick"),(0,z.R)(this._document,"touchend")).pipe((0,ge.p)(X=>{const me=(0,f.Fb)(X),ce=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,fe=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&me!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ce||!ce.contains(me))&&(!fe||!fe.contains(me))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(me)}))}writeValue(X){Promise.resolve(null).then(()=>this._assignOptionValue(X))}registerOnChange(X){this._onChange=X}registerOnTouched(X){this._onTouched=X}setDisabledState(X){this._element.nativeElement.disabled=X}_handleKeydown(X){const me=X.keyCode,ce=(0,W.rp)(X);if(me===W._f&&!ce&&X.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&me===W.Fm&&this.panelOpen&&!ce)this.activeOption._selectViaInteraction(),this._resetActiveItem(),X.preventDefault();else if(this.autocomplete){const fe=this.autocomplete._keyManager.activeItem,ke=me===W.i7||me===W.n6;me===W.wn||ke&&!ce&&this.panelOpen?this.autocomplete._keyManager.onKeydown(X):ke&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(ke||this.autocomplete._keyManager.activeItem!==fe)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(X){let me=X.target,ce=me.value;if("number"===me.type&&(ce=""==ce?null:parseFloat(ce)),this._previousValue!==ce){if(this._previousValue=ce,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(ce),ce){if(this.panelOpen&&!this.autocomplete.requireSelection){const fe=this.autocomplete.options?.find(ke=>ke.selected);fe&&ce!==this._getDisplayValue(fe.value)&&fe.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===X.target){const fe=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(fe)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(X=!1){this._formField&&"auto"===this._formField.floatLabel&&(X?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const X=this._zone.onStable.pipe((0,ie.s)(1)),me=this.autocomplete.options.changes.pipe((0,Me.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,Te.c)(0));return(0,F.h)(X,me).pipe((0,ee.n)(()=>(this._zone.run(()=>{const ce=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ce!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ie.s)(1)).subscribe(ce=>this._setValueAndClose(ce))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(X){const me=this.autocomplete;return me&&me.displayWith?me.displayWith(X):X}_assignOptionValue(X){const me=this._getDisplayValue(X);null==X&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(me??"")}_updateNativeInputValue(X){this._formField?this._formField._control.value=X:this._element.nativeElement.value=X,this._previousValue=X}_setValueAndClose(X){const me=this.autocomplete,ce=X?X.source:this._pendingAutoselectedOption;ce?(this._clearPreviousSelectedOption(ce),this._assignOptionValue(ce.value),this._onChange(ce.value),me._emitSelectEvent(ce),this._element.nativeElement.focus()):me.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),me._animationDone?me._animationDone.pipe((0,ie.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(X,me){this.autocomplete?.options?.forEach(ce=>{ce!==X&&ce.selected&&ce.deselect(me)})}_openPanelInternal(X=this._element.nativeElement.value){this._attachOverlay(X),this._floatLabel(),this._trackedModal&&(0,x.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(X){let me=this._overlayRef;me?(this._positionStrategy.setOrigin(this._getConnectedElement()),me.updateSize({width:this._getPanelWidth()})):(this._portal=new $.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),me=this._overlay.create(this._getOverlayConfig()),this._overlayRef=me,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&me&&me.updateSize({width:this._getPanelWidth()})})),me&&!me.hasAttached()&&(me.attach(this._portal),this._valueOnAttach=X,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ce!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const X=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=X.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=X.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new l.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const X=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(X),this._positionStrategy=X,X}_setStrategyPositions(X){const me=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ce=this._aboveClass,fe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ce},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ce}];let ke;ke="above"===this.position?fe:"below"===this.position?me:[...me,...fe],X.withPositions(ke)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const X=this.autocomplete;if(X.autoActiveFirstOption){let me=-1;for(let ce=0;ce<X.options.length;ce++)if(!X.options.get(ce).disabled){me=ce;break}X._keyManager.setActiveItem(me)}else X._keyManager.setActiveItem(-1)}_canOpen(){const X=this._element.nativeElement;return!X.readOnly&&!X.disabled&&!this.autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(X){const me=this.autocomplete,ce=(0,t.jb)(X,me.options,me.optionGroups);if(0===X&&1===ce)me._setScrollTop(0);else if(me.panel){const fe=me.options.toArray()[X];if(fe){const ke=fe._getHostElement(),mt=(0,t.TL)(ke.offsetTop,ke.offsetHeight,me._getScrollTop(),me.panel.nativeElement.offsetHeight);me._setScrollTop(mt)}}}_applyModalPanelOwnership(){const X=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!X)return;const me=this.autocomplete.id;this._trackedModal&&(0,x.Ae)(this._trackedModal,"aria-owns",me),(0,x.px)(X,"aria-owns",me),this._trackedModal=X}_clearFromModal(){this._trackedModal&&((0,x.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(me){return new(me||Ke)(e.rXU(e.aKT),e.rXU(l.hJ),e.rXU(e.c1b),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(N),e.rXU(de.dS,8),e.rXU(Q.xb,9),e.rXU(w.qQ,8),e.rXU(S.Xj),e.rXU(k,8))};static#t=this.\u0275dir=e.FsC({type:Ke,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(me,ce){1&me&&e.bIt("focusin",function(){return ce._handleFocus()})("blur",function(){return ce._onTouched()})("input",function(ke){return ce._handleInput(ke)})("keydown",function(ke){return ce._handleKeydown(ke)})("click",function(){return ce._handleClick()}),2&me&&e.BMQ("autocomplete",ce.autocompleteAttribute)("role",ce.autocompleteDisabled?null:"combobox")("aria-autocomplete",ce.autocompleteDisabled?null:"list")("aria-activedescendant",ce.panelOpen&&ce.activeOption?ce.activeOption.id:null)("aria-expanded",ce.autocompleteDisabled?null:ce.panelOpen.toString())("aria-controls",ce.autocompleteDisabled||!ce.panelOpen||null==ce.autocomplete?null:ce.autocomplete.id)("aria-haspopup",ce.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",e.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[e.Jv_([v]),e.GFd,e.OA$]})}return Ke})(),qe=(()=>{class Ke{static#e=this.\u0275fac=function(me){return new(me||Ke)};static#t=this.\u0275mod=e.$C({type:Ke});static#i=this.\u0275inj=e.G2t({providers:[Ee],imports:[l.z_,t.Sy,t.yE,w.MD,S.Gj,t.Sy,t.yE]})}return Ke})()},1975:(Qe,te,g)=>{"use strict";g.d(te,{Y:()=>T,k:()=>d});var e=g(4438),t=g(6600),w=g(8617),S=g(177);let l=0;const x="mat-badge-content",f=new Set;let I=(()=>{class y{static#e=this.\u0275fac=function(z){return new(z||y)};static#t=this.\u0275cmp=e.VBU({type:y,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(z,W){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"],encapsulation:2,changeDetection:0})}return y})(),d=(()=>{class y{get color(){return this._color}set color(R){this._setColor(R),this._color=R}get content(){return this._content}set content(R){this._updateRenderedContent(R)}get description(){return this._description}set description(R){this._updateDescription(R)}constructor(R,z,W,$,j){this._ngZone=R,this._elementRef=z,this._ariaDescriber=W,this._renderer=$,this._animationMode=j,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1,this._interactivityChecker=(0,e.WQX)(w.Z7),this._document=(0,e.WQX)(S.qQ);const Q=(0,e.WQX)(e.o8S);if(!f.has(Q)){f.add(Q);const J=(0,e.a0P)(I,{environmentInjector:(0,e.WQX)(e.uvJ)});Q.onDestroy(()=>{f.delete(Q),0===f.size&&J.destroy()})}}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const R=this._renderer.createElement("span"),z="mat-badge-active";return R.setAttribute("id",`mat-badge-content-${this._id}`),R.setAttribute("aria-hidden","true"),R.classList.add(x),"NoopAnimations"===this._animationMode&&R.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(R),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{R.classList.add(z)})}):R.classList.add(z),R}_updateRenderedContent(R){const z=`${R??""}`.trim();this._isInitialized&&z&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=z),this._content=z}_updateDescription(R){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!R||this._isHostInteractive())&&this._removeInlineDescription(),this._description=R,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,R):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(R){const z=this._elementRef.nativeElement.classList;z.remove(`mat-badge-${this._color}`),R&&z.add(`mat-badge-${R}`)}_clearExistingBadges(){const R=this._elementRef.nativeElement.querySelectorAll(`:scope > .${x}`);for(const z of Array.from(R))z!==this._badgeElement&&z.remove()}static#e=this.\u0275fac=function(z){return new(z||y)(e.rXU(e.SKi),e.rXU(e.aKT),e.rXU(w.vr),e.rXU(e.sFG),e.rXU(e.bc$,8))};static#t=this.\u0275dir=e.FsC({type:y,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(z,W){2&z&&e.AVh("mat-badge-overlap",W.overlap)("mat-badge-above",W.isAbove())("mat-badge-below",!W.isAbove())("mat-badge-before",!W.isAfter())("mat-badge-after",W.isAfter())("mat-badge-small","small"===W.size)("mat-badge-medium","medium"===W.size)("mat-badge-large","large"===W.size)("mat-badge-hidden",W.hidden||!W.content)("mat-badge-disabled",W.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",e.L39],disabled:[2,"matBadgeDisabled","disabled",e.L39],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",e.L39]},standalone:!0,features:[e.GFd]})}return y})(),T=(()=>{class y{static#e=this.\u0275fac=function(z){return new(z||y)};static#t=this.\u0275mod=e.$C({type:y});static#i=this.\u0275inj=e.G2t({imports:[w.Pd,t.yE,t.yE]})}return y})()},8834:(Qe,te,g)=>{"use strict";g.d(te,{$0:()=>n,$z:()=>ge,Hl:()=>k,iY:()=>h});var e=g(6860),t=g(4438),w=g(8617),S=g(6600);const l=["mat-button",""],x=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],f=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],y=["mat-mini-fab",""],R=["mat-icon-button",""],z=["*"],$=new t.nKC("MAT_BUTTON_CONFIG"),Q=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let J=(()=>{class L{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(r){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,r)}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=r,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._updateRippleDisabled()}constructor(r,v,V,N){this._elementRef=r,this._platform=v,this._ngZone=V,this._animationMode=N,this._focusMonitor=(0,t.WQX)(w.FN),this._rippleLoader=(0,t.WQX)(S.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const ne=(0,t.WQX)($,{optional:!0}),Ee=r.nativeElement,ze=Ee.classList;this.disabledInteractive=ne?.disabledInteractive??!1,this._rippleLoader?.configureRipple(Ee,{className:"mat-mdc-button-ripple"});for(const{attribute:qe,mdcClasses:Ke}of Q)Ee.hasAttribute(qe)&&ze.add(...Ke)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(r="program",v){r?this._focusMonitor.focusVia(this._elementRef.nativeElement,r,v):this._elementRef.nativeElement.focus(v)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(v){t.QTQ()};static#t=this.\u0275dir=t.FsC({type:L,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",t.L39],disabled:[2,"disabled","disabled",t.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",t.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",t.L39]},features:[t.GFd]})}return L})(),ge=(()=>{class L extends J{constructor(r,v,V,N){super(r,v,V,N)}static#e=this.\u0275fac=function(v){return new(v||L)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8))};static#t=this.\u0275cmp=t.VBU({type:L,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(v,V){2&v&&(t.BMQ("disabled",V._getDisabledAttribute())("aria-disabled",V._getAriaDisabled()),t.HbH(V.color?"mat-"+V.color:""),t.AVh("mat-mdc-button-disabled",V.disabled)("mat-mdc-button-disabled-interactive",V.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===V._animationMode)("mat-unthemed",!V.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:l,ngContentSelectors:f,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(v,V){1&v&&(t.NAR(x),t.nrm(0,"span",0),t.SdG(1),t.j41(2,"span",1),t.SdG(3,1),t.k0s(),t.SdG(4,2),t.nrm(5,"span",2)(6,"span",3)),2&v&&t.AVh("mdc-button__ripple",!V._isFab)("mdc-fab__ripple",V._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return L})();const Me=new t.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:Te});function Te(){return{color:"accent"}}const de=Te();let n=(()=>{class L extends J{constructor(r,v,V,N,ne){super(r,v,V,N),this._options=ne,this._isFab=!0,this._options=this._options||de,this.color=this._options.color||de.color}static#e=this.\u0275fac=function(v){return new(v||L)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8),t.rXU(Me,8))};static#t=this.\u0275cmp=t.VBU({type:L,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(v,V){2&v&&(t.BMQ("disabled",V._getDisabledAttribute())("aria-disabled",V._getAriaDisabled()),t.HbH(V.color?"mat-"+V.color:""),t.AVh("mat-mdc-button-disabled",V.disabled)("mat-mdc-button-disabled-interactive",V.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===V._animationMode)("mat-unthemed",!V.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:y,ngContentSelectors:f,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(v,V){1&v&&(t.NAR(x),t.nrm(0,"span",0),t.SdG(1),t.j41(2,"span",1),t.SdG(3,1),t.k0s(),t.SdG(4,2),t.nrm(5,"span",2)(6,"span",3)),2&v&&t.AVh("mdc-button__ripple",!V._isFab)("mdc-fab__ripple",V._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0})}return L})(),h=(()=>{class L extends J{constructor(r,v,V,N){super(r,v,V,N),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(v){return new(v||L)(t.rXU(t.aKT),t.rXU(e.OD),t.rXU(t.SKi),t.rXU(t.bc$,8))};static#t=this.\u0275cmp=t.VBU({type:L,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(v,V){2&v&&(t.BMQ("disabled",V._getDisabledAttribute())("aria-disabled",V._getAriaDisabled()),t.HbH(V.color?"mat-"+V.color:""),t.AVh("mat-mdc-button-disabled",V.disabled)("mat-mdc-button-disabled-interactive",V.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===V._animationMode)("mat-unthemed",!V.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[t.Vt3,t.aNF],attrs:R,ngContentSelectors:z,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(v,V){1&v&&(t.NAR(),t.nrm(0,"span",0),t.SdG(1),t.nrm(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return L})(),k=(()=>{class L{static#e=this.\u0275fac=function(v){return new(v||L)};static#t=this.\u0275mod=t.$C({type:L});static#i=this.\u0275inj=t.G2t({imports:[S.yE,S.pZ,S.yE]})}return L})()},5596:(Qe,te,g)=>{"use strict";g.d(te,{Hu:()=>Te,Lc:()=>z,MM:()=>$,RN:()=>T,dh:()=>y,m2:()=>R});var e=g(4438),t=g(177),w=g(6600);const S=["*"],f=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],I=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],d=new e.nKC("MAT_CARD_CONFIG");let T=(()=>{class de{constructor(n){this.appearance=n?.appearance||"raised"}static#e=this.\u0275fac=function(c){return new(c||de)(e.rXU(d,8))};static#t=this.\u0275cmp=e.VBU({type:de,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(c,m){2&c&&e.AVh("mat-mdc-card-outlined","outlined"===m.appearance)("mdc-card--outlined","outlined"===m.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[e.aNF],ngContentSelectors:S,decls:1,vars:0,template:function(c,m){1&c&&(e.NAR(),e.SdG(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return de})(),y=(()=>{class de{static#e=this.\u0275fac=function(c){return new(c||de)};static#t=this.\u0275dir=e.FsC({type:de,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}return de})(),R=(()=>{class de{static#e=this.\u0275fac=function(c){return new(c||de)};static#t=this.\u0275dir=e.FsC({type:de,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}return de})(),z=(()=>{class de{static#e=this.\u0275fac=function(c){return new(c||de)};static#t=this.\u0275dir=e.FsC({type:de,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}return de})(),$=(()=>{class de{static#e=this.\u0275fac=function(c){return new(c||de)};static#t=this.\u0275cmp=e.VBU({type:de,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[e.aNF],ngContentSelectors:I,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(c,m){1&c&&(e.NAR(f),e.SdG(0),e.j41(1,"div",0),e.SdG(2,1),e.k0s(),e.SdG(3,2))},encapsulation:2,changeDetection:0})}return de})(),Te=(()=>{class de{static#e=this.\u0275fac=function(c){return new(c||de)};static#t=this.\u0275mod=e.$C({type:de});static#i=this.\u0275inj=e.G2t({imports:[w.yE,t.MD,w.yE]})}return de})()},2765:(Qe,te,g)=>{"use strict";g.d(te,{So:()=>z,g7:()=>Q});var e=g(4438),t=g(9417),w=g(6600);const S=["input"],l=["label"],x=["*"],f=new e.nKC("mat-checkbox-default-options",{providedIn:"root",factory:I});function I(){return{color:"accent",clickAction:"check-indeterminate"}}var d=function(J){return J[J.Init=0]="Init",J[J.Checked=1]="Checked",J[J.Unchecked=2]="Unchecked",J[J.Indeterminate=3]="Indeterminate",J}(d||{});const T={provide:t.kq,useExisting:(0,e.Rfq)(()=>z),multi:!0};class y{}let F=0;const R=I();let z=(()=>{class J{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ie){const ge=new y;return ge.source=this,ge.checked=ie,ge}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ie,ge,ae,Me,Te,de){this._elementRef=ie,this._changeDetectorRef=ge,this._ngZone=ae,this._animationMode=Te,this._options=de,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.bkB,this.indeterminateChange=new e.bkB,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=d.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||R,this.color=this._options.color||R.color,this.tabIndex=parseInt(Me)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++F}ngOnChanges(ie){ie.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ie){ie!=this.checked&&(this._checked=ie,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ie){ie!==this.disabled&&(this._disabled=ie,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ie){const ge=ie!=this._indeterminate;this._indeterminate=ie,ge&&(this._transitionCheckState(this._indeterminate?d.Indeterminate:this.checked?d.Checked:d.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._controlValueAccessorChangeFn=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie}validate(ie){return this.required&&!0!==ie.value?{required:!0}:null}registerOnValidatorChange(ie){this._validatorChangeFn=ie}_transitionCheckState(ie){let ge=this._currentCheckState,ae=this._getAnimationTargetElement();if(ge!==ie&&ae&&(this._currentAnimationClass&&ae.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ge,ie),this._currentCheckState=ie,this._currentAnimationClass.length>0)){ae.classList.add(this._currentAnimationClass);const Me=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ae.classList.remove(Me)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const ie=this._options?.clickAction;this.disabled||"noop"===ie?!this.disabled&&"noop"===ie&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ie&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?d.Checked:d.Unchecked),this._emitChangeEvent())}_onInteractionEvent(ie){ie.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ie,ge){if("NoopAnimations"===this._animationMode)return"";switch(ie){case d.Init:if(ge===d.Checked)return this._animationClasses.uncheckedToChecked;if(ge==d.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case d.Unchecked:return ge===d.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case d.Checked:return ge===d.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case d.Indeterminate:return ge===d.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ie){const ge=this._inputElement;ge&&(ge.nativeElement.indeterminate=ie)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(ie){ie.target&&this._labelElement.nativeElement.contains(ie.target)&&ie.stopPropagation()}static#e=this.\u0275fac=function(ge){return new(ge||J)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.SKi),e.kS0("tabindex"),e.rXU(e.bc$,8),e.rXU(f,8))};static#t=this.\u0275cmp=e.VBU({type:J,selectors:[["mat-checkbox"]],viewQuery:function(ge,ae){if(1&ge&&(e.GBs(S,5),e.GBs(l,5),e.GBs(w.r6,5)),2&ge){let Me;e.mGM(Me=e.lsd())&&(ae._inputElement=Me.first),e.mGM(Me=e.lsd())&&(ae._labelElement=Me.first),e.mGM(Me=e.lsd())&&(ae.ripple=Me.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(ge,ae){2&ge&&(e.Mr5("id",ae.id),e.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),e.HbH(ae.color?"mat-"+ae.color:"mat-accent"),e.AVh("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mdc-checkbox--disabled",ae.disabled)("mat-mdc-checkbox-disabled",ae.disabled)("mat-mdc-checkbox-checked",ae.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",e.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",ie=>null==ie?void 0:(0,e.Udg)(ie)],color:"color",checked:[2,"checked","checked",e.L39],disabled:[2,"disabled","disabled",e.L39],indeterminate:[2,"indeterminate","indeterminate",e.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[e.Jv_([T,{provide:t.cz,useExisting:J,multi:!0}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:x,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(ge,ae){if(1&ge){const Me=e.RV6();e.NAR(),e.j41(0,"div",3),e.bIt("click",function(de){return e.eBV(Me),e.Njj(ae._preventBubblingFromLabel(de))}),e.j41(1,"div",4,0)(3,"div",5),e.bIt("click",function(){return e.eBV(Me),e.Njj(ae._onTouchTargetClick())}),e.k0s(),e.j41(4,"input",6,1),e.bIt("blur",function(){return e.eBV(Me),e.Njj(ae._onBlur())})("click",function(){return e.eBV(Me),e.Njj(ae._onInputClick())})("change",function(de){return e.eBV(Me),e.Njj(ae._onInteractionEvent(de))}),e.k0s(),e.nrm(6,"div",7),e.j41(7,"div",8),e.qSk(),e.j41(8,"svg",9),e.nrm(9,"path",10),e.k0s(),e.joV(),e.nrm(10,"div",11),e.k0s(),e.nrm(11,"div",12),e.k0s(),e.j41(12,"label",13,2),e.SdG(14),e.k0s()()}if(2&ge){const Me=e.sdS(2);e.Y8G("labelPosition",ae.labelPosition),e.R7$(4),e.AVh("mdc-checkbox--selected",ae.checked),e.Y8G("checked",ae.checked)("indeterminate",ae.indeterminate)("disabled",ae.disabled)("id",ae.inputId)("required",ae.required)("tabIndex",ae.disabled?-1:ae.tabIndex),e.BMQ("aria-label",ae.ariaLabel||null)("aria-labelledby",ae.ariaLabelledby)("aria-describedby",ae.ariaDescribedby)("aria-checked",ae.indeterminate?"mixed":null)("name",ae.name)("value",ae.value),e.R7$(7),e.Y8G("matRippleTrigger",Me)("matRippleDisabled",ae.disableRipple||ae.disabled)("matRippleCentered",!0),e.R7$(),e.Y8G("for",ae.inputId)}},dependencies:[w.r6,w.tO],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return J})(),Q=(()=>{class J{static#e=this.\u0275fac=function(ge){return new(ge||J)};static#t=this.\u0275mod=e.$C({type:J});static#i=this.\u0275inj=e.G2t({imports:[z,w.yE,w.yE]})}return J})()},6471:(Qe,te,g)=>{"use strict";g.d(te,{Jl:()=>qe,YN:()=>at});var e=g(4438),t=g(177),w=g(6600),S=g(8617),l=g(1413),x=g(7786),f=g(6697),y=(g(6977),g(9172),g(5558),g(7336));g(8203),g(9417),g(6467);const W=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],$=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function j(pt,Xt){1&pt&&(e.j41(0,"span",3),e.SdG(1,1),e.k0s())}function Q(pt,Xt){1&pt&&(e.j41(0,"span",6),e.SdG(1,2),e.k0s())}const k=new e.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[y.Fm]})}),L=new e.nKC("MatChipAvatar"),_=new e.nKC("MatChipTrailingIcon"),r=new e.nKC("MatChipRemove"),v=new e.nKC("MatChip");let V=(()=>{class pt{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(ye){this._disabled=ye}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(ye,ue){this._elementRef=ye,this._parentChip=ue,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,"BUTTON"===ye.nativeElement.nodeName&&ye.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(ye){!this.disabled&&this.isInteractive&&this._isPrimary&&(ye.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(ye){(ye.keyCode===y.Fm||ye.keyCode===y.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(ye.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(ue){return new(ue||pt)(e.rXU(e.aKT),e.rXU(v))};static#t=this.\u0275dir=e.FsC({type:pt,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(ue,Ie){1&ue&&e.bIt("click",function(Xe){return Ie._handleClick(Xe)})("keydown",function(Xe){return Ie._handleKeydown(Xe)}),2&ue&&(e.BMQ("tabindex",Ie._getTabindex())("disabled",Ie._getDisabledAttribute())("aria-disabled",Ie.disabled),e.AVh("mdc-evolution-chip__action--primary",Ie._isPrimary)("mdc-evolution-chip__action--presentational",!Ie.isInteractive)("mdc-evolution-chip__action--trailing",!Ie._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",e.L39],tabIndex:[2,"tabIndex","tabIndex",ye=>null==ye?-1:(0,e.Udg)(ye)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[e.GFd]})}return pt})(),ze=0,qe=(()=>{class pt{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(ye){this._value=ye}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(ye){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,ye)}constructor(ye,ue,Ie,He,Xe,yt,Ye,rt){this._changeDetectorRef=ye,this._elementRef=ue,this._ngZone=Ie,this._focusMonitor=He,this._globalRippleOptions=Ye,this._onFocus=new l.B,this._onBlur=new l.B,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ze++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new e.bkB,this.destroyed=new e.bkB,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,e.WQX)(w.Ej),this._document=Xe,this._animationsDisabled="NoopAnimations"===yt,null!=rt&&(this.tabIndex=parseInt(rt)??-1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const ye=this._elementRef.nativeElement;this._isBasicChip=ye.hasAttribute(this.basicChipAttrName)||ye.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,x.h)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(ye){(ye.keyCode===y.G_&&!ye.repeat||ye.keyCode===y.SJ)&&(ye.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(ye){return this._getActions().find(ue=>{const Ie=ue._elementRef.nativeElement;return Ie===ye||Ie.contains(ye)})}_getActions(){const ye=[];return this.primaryAction&&ye.push(this.primaryAction),this.removeIcon&&ye.push(this.removeIcon),this.trailingIcon&&ye.push(this.trailingIcon),ye}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ye=>{const ue=null!==ye;ue!==this._hasFocusInternal&&(this._hasFocusInternal=ue,ue?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,f.s)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(ue){return new(ue||pt)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(S.FN),e.rXU(t.qQ),e.rXU(e.bc$,8),e.rXU(w.$E,8),e.kS0("tabindex"))};static#t=this.\u0275cmp=e.VBU({type:pt,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(ue,Ie,He){if(1&ue&&(e.wni(He,L,5),e.wni(He,_,5),e.wni(He,r,5),e.wni(He,L,5),e.wni(He,_,5),e.wni(He,r,5)),2&ue){let Xe;e.mGM(Xe=e.lsd())&&(Ie.leadingIcon=Xe.first),e.mGM(Xe=e.lsd())&&(Ie.trailingIcon=Xe.first),e.mGM(Xe=e.lsd())&&(Ie.removeIcon=Xe.first),e.mGM(Xe=e.lsd())&&(Ie._allLeadingIcons=Xe),e.mGM(Xe=e.lsd())&&(Ie._allTrailingIcons=Xe),e.mGM(Xe=e.lsd())&&(Ie._allRemoveIcons=Xe)}},viewQuery:function(ue,Ie){if(1&ue&&e.GBs(V,5),2&ue){let He;e.mGM(He=e.lsd())&&(Ie.primaryAction=He.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(ue,Ie){1&ue&&e.bIt("keydown",function(Xe){return Ie._handleKeydown(Xe)}),2&ue&&(e.Mr5("id",Ie.id),e.BMQ("role",Ie.role)("tabindex",Ie._getTabIndex())("aria-label",Ie.ariaLabel),e.HbH("mat-"+(Ie.color||"primary")),e.AVh("mdc-evolution-chip",!Ie._isBasicChip)("mdc-evolution-chip--disabled",Ie.disabled)("mdc-evolution-chip--with-trailing-action",Ie._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Ie.leadingIcon)("mdc-evolution-chip--with-primary-icon",Ie.leadingIcon)("mdc-evolution-chip--with-avatar",Ie.leadingIcon)("mat-mdc-chip-with-avatar",Ie.leadingIcon)("mat-mdc-chip-highlighted",Ie.highlighted)("mat-mdc-chip-disabled",Ie.disabled)("mat-mdc-basic-chip",Ie._isBasicChip)("mat-mdc-standard-chip",!Ie._isBasicChip)("mat-mdc-chip-with-trailing-icon",Ie._hasTrailingIcon())("_mat-animation-noopable",Ie._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",e.L39],highlighted:[2,"highlighted","highlighted",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],disabled:[2,"disabled","disabled",e.L39],tabIndex:[2,"tabIndex","tabIndex",ye=>null==ye?void 0:(0,e.Udg)(ye)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[e.Jv_([{provide:v,useExisting:pt}]),e.GFd,e.aNF],ngContentSelectors:$,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(ue,Ie){1&ue&&(e.NAR(W),e.nrm(0,"span",0),e.j41(1,"span",1)(2,"span",2),e.DNE(3,j,2,0,"span",3),e.j41(4,"span",4),e.SdG(5),e.nrm(6,"span",5),e.k0s()()(),e.DNE(7,Q,2,0,"span",6)),2&ue&&(e.R7$(2),e.Y8G("isInteractive",!1),e.R7$(),e.vxM(Ie.leadingIcon?3:-1),e.R7$(4),e.vxM(Ie._hasTrailingIcon()?7:-1))},dependencies:[V],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return pt})(),at=(()=>{class pt{static#e=this.\u0275fac=function(ue){return new(ue||pt)};static#t=this.\u0275mod=e.$C({type:pt});static#i=this.\u0275inj=e.G2t({providers:[w.es,{provide:k,useValue:{separatorKeyCodes:[y.Fm]}}],imports:[w.yE,w.pZ,w.yE]})}return pt})()},6600:(Qe,te,g)=>{"use strict";g.d(te,{r5:()=>ie,ed:()=>ge,MJ:()=>V,es:()=>ce,de:()=>N,Ju:()=>r,QC:()=>Vt,is:()=>Nt,$E:()=>Xe,yE:()=>Te,Np:()=>_e,WX:()=>se,wT:()=>zt,Sy:()=>dt,MI:()=>$t,wg:()=>rt,O5:()=>Yt,r6:()=>yt,Ej:()=>gt,pZ:()=>Ye,xW:()=>ze,ug:()=>Ie,X0:()=>k,tO:()=>$e,jb:()=>Jt,TL:()=>St});var e=g(4438),t=g(8617),w=g(8203),l=g(177),x=g(6860),f=g(4085),I=g(1413),d=g(7336);const F=["text"],R=[[["mat-icon"]],"*"],z=["mat-icon","*"];function W(Fe,Ge){if(1&Fe&&e.nrm(0,"mat-pseudo-checkbox",1),2&Fe){const et=e.XpG();e.Y8G("disabled",et.disabled)("state",et.selected?"checked":"unchecked")}}function $(Fe,Ge){if(1&Fe&&e.nrm(0,"mat-pseudo-checkbox",3),2&Fe){const et=e.XpG();e.Y8G("disabled",et.disabled)}}function j(Fe,Ge){if(1&Fe&&(e.j41(0,"span",4),e.EFF(1),e.k0s()),2&Fe){const et=e.XpG();e.R7$(),e.SpI("(",et.group.label,")")}}const Q=["mat-internal-form-field",""],J=["*"];let ie=(()=>{class Fe{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#i=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#n=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return Fe})(),ge=(()=>{class Fe{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#i=this.EXITING="195ms"}return Fe})();const Me=new e.nKC("mat-sanity-checks",{providedIn:"root",factory:function ae(){return!0}});let Te=(()=>{class Fe{constructor(et,st,Tt){this._sanityChecks=st,this._document=Tt,this._hasDoneGlobalChecks=!1,et._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(et){return!(0,x.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[et])}static#e=this.\u0275fac=function(st){return new(st||Fe)(e.KVO(t.Q_),e.KVO(Me,8),e.KVO(l.qQ))};static#t=this.\u0275mod=e.$C({type:Fe});static#i=this.\u0275inj=e.G2t({imports:[w.jI,w.jI]})}return Fe})();class k{constructor(Ge,et,st,Tt,mi){this._defaultMatcher=Ge,this.ngControl=et,this._parentFormGroup=st,this._parentForm=Tt,this._stateChanges=mi,this.errorState=!1}updateErrorState(){const Ge=this.errorState,et=this._parentFormGroup||this._parentForm,st=this.matcher||this._defaultMatcher,Tt=this.ngControl?this.ngControl.control:null,mi=st?.isErrorState(Tt,et)??!1;mi!==Ge&&(this.errorState=mi,this._stateChanges.next())}}const r=new e.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function v(){return(0,e.WQX)(e.xe9)}});class V{constructor(){this._localeChanges=new I.B,this.localeChanges=this._localeChanges}getValidDateOrNull(Ge){return this.isDateInstance(Ge)&&this.isValid(Ge)?Ge:null}deserialize(Ge){return null==Ge||this.isDateInstance(Ge)&&this.isValid(Ge)?Ge:this.invalid()}setLocale(Ge){this.locale=Ge,this._localeChanges.next()}compareDate(Ge,et){return this.getYear(Ge)-this.getYear(et)||this.getMonth(Ge)-this.getMonth(et)||this.getDate(Ge)-this.getDate(et)}sameDate(Ge,et){if(Ge&&et){let st=this.isValid(Ge),Tt=this.isValid(et);return st&&Tt?!this.compareDate(Ge,et):st==Tt}return Ge==et}clampDate(Ge,et,st){return et&&this.compareDate(Ge,et)<0?et:st&&this.compareDate(Ge,st)>0?st:Ge}}const N=new e.nKC("mat-date-formats"),ne=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ee(Fe,Ge){const et=Array(Fe);for(let st=0;st<Fe;st++)et[st]=Ge(st);return et}let ze=(()=>{class Fe extends V{constructor(et){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,e.WQX)(r,{optional:!0}),void 0!==et&&(this._matDateLocale=et),super.setLocale(this._matDateLocale)}getYear(et){return et.getFullYear()}getMonth(et){return et.getMonth()}getDate(et){return et.getDate()}getDayOfWeek(et){return et.getDay()}getMonthNames(et){const st=new Intl.DateTimeFormat(this.locale,{month:et,timeZone:"utc"});return Ee(12,Tt=>this._format(st,new Date(2017,Tt,1)))}getDateNames(){const et=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ee(31,st=>this._format(et,new Date(2017,0,st+1)))}getDayOfWeekNames(et){const st=new Intl.DateTimeFormat(this.locale,{weekday:et,timeZone:"utc"});return Ee(7,Tt=>this._format(st,new Date(2017,0,Tt+1)))}getYearName(et){const st=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(st,et)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(et){return this.getDate(this._createDateWithOverflow(this.getYear(et),this.getMonth(et)+1,0))}clone(et){return new Date(et.getTime())}createDate(et,st,Tt){let mi=this._createDateWithOverflow(et,st,Tt);return mi.getMonth(),mi}today(){return new Date}parse(et,st){return"number"==typeof et?new Date(et):et?new Date(Date.parse(et)):null}format(et,st){if(!this.isValid(et))throw Error("NativeDateAdapter: Cannot format invalid date.");const Tt=new Intl.DateTimeFormat(this.locale,{...st,timeZone:"utc"});return this._format(Tt,et)}addCalendarYears(et,st){return this.addCalendarMonths(et,12*st)}addCalendarMonths(et,st){let Tt=this._createDateWithOverflow(this.getYear(et),this.getMonth(et)+st,this.getDate(et));return this.getMonth(Tt)!=((this.getMonth(et)+st)%12+12)%12&&(Tt=this._createDateWithOverflow(this.getYear(Tt),this.getMonth(Tt),0)),Tt}addCalendarDays(et,st){return this._createDateWithOverflow(this.getYear(et),this.getMonth(et),this.getDate(et)+st)}toIso8601(et){return[et.getUTCFullYear(),this._2digit(et.getUTCMonth()+1),this._2digit(et.getUTCDate())].join("-")}deserialize(et){if("string"==typeof et){if(!et)return null;if(ne.test(et)){let st=new Date(et);if(this.isValid(st))return st}}return super.deserialize(et)}isDateInstance(et){return et instanceof Date}isValid(et){return!isNaN(et.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(et,st,Tt){const mi=new Date;return mi.setFullYear(et,st,Tt),mi.setHours(0,0,0,0),mi}_2digit(et){return("00"+et).slice(-2)}_format(et,st){const Tt=new Date;return Tt.setUTCFullYear(st.getFullYear(),st.getMonth(),st.getDate()),Tt.setUTCHours(st.getHours(),st.getMinutes(),st.getSeconds(),st.getMilliseconds()),et.format(Tt)}static#e=this.\u0275fac=function(st){return new(st||Fe)(e.KVO(r,8))};static#t=this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();const qe={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"}}};let se=(()=>{class Fe{static#e=this.\u0275fac=function(st){return new(st||Fe)};static#t=this.\u0275mod=e.$C({type:Fe});static#i=this.\u0275inj=e.G2t({providers:[X()]})}return Fe})();function X(Fe=qe){return[{provide:V,useClass:ze},{provide:N,useValue:Fe}]}let ce=(()=>{class Fe{isErrorState(et,st){return!!(et&&et.invalid&&(et.touched||st&&st.submitted))}static#e=this.\u0275fac=function(st){return new(st||Fe)};static#t=this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})(),_e=(()=>{class Fe{static#e=this.\u0275fac=function(st){return new(st||Fe)};static#t=this.\u0275mod=e.$C({type:Fe});static#i=this.\u0275inj=e.G2t({imports:[Te,Te]})}return Fe})();var be=function(Fe){return Fe[Fe.FADING_IN=0]="FADING_IN",Fe[Fe.VISIBLE=1]="VISIBLE",Fe[Fe.FADING_OUT=2]="FADING_OUT",Fe[Fe.HIDDEN=3]="HIDDEN",Fe}(be||{});class pe{constructor(Ge,et,st,Tt=!1){this._renderer=Ge,this.element=et,this.config=st,this._animationForciblyDisabledThroughCss=Tt,this.state=be.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ze=(0,x.BQ)({passive:!0,capture:!0});class _t{constructor(){this._events=new Map,this._delegateEventHandler=Ge=>{const et=(0,x.Fb)(Ge);et&&this._events.get(Ge.type)?.forEach((st,Tt)=>{(Tt===et||Tt.contains(et))&&st.forEach(mi=>mi.handleEvent(Ge))})}}addHandler(Ge,et,st,Tt){const mi=this._events.get(et);if(mi){const Kt=mi.get(st);Kt?Kt.add(Tt):mi.set(st,new Set([Tt]))}else this._events.set(et,new Map([[st,new Set([Tt])]])),Ge.runOutsideAngular(()=>{document.addEventListener(et,this._delegateEventHandler,Ze)})}removeHandler(Ge,et,st){const Tt=this._events.get(Ge);if(!Tt)return;const mi=Tt.get(et);mi&&(mi.delete(st),0===mi.size&&Tt.delete(et),0===Tt.size&&(this._events.delete(Ge),document.removeEventListener(Ge,this._delegateEventHandler,Ze)))}}const at={enterDuration:225,exitDuration:150},Xt=(0,x.BQ)({passive:!0,capture:!0}),ye=["mousedown","touchstart"],ue=["mouseup","mouseleave","touchend","touchcancel"];class Ie{static#e=this._eventManager=new _t;constructor(Ge,et,st,Tt){this._target=Ge,this._ngZone=et,this._platform=Tt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Tt.isBrowser&&(this._containerElement=(0,f.i8)(st))}fadeInRipple(Ge,et,st={}){const Tt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),mi={...at,...st.animation};st.centered&&(Ge=Tt.left+Tt.width/2,et=Tt.top+Tt.height/2);const Kt=st.radius||function He(Fe,Ge,et){const st=Math.max(Math.abs(Fe-et.left),Math.abs(Fe-et.right)),Tt=Math.max(Math.abs(Ge-et.top),Math.abs(Ge-et.bottom));return Math.sqrt(st*st+Tt*Tt)}(Ge,et,Tt),Pt=Ge-Tt.left,Xi=et-Tt.top,di=mi.enterDuration,fi=document.createElement("div");fi.classList.add("mat-ripple-element"),fi.style.left=Pt-Kt+"px",fi.style.top=Xi-Kt+"px",fi.style.height=2*Kt+"px",fi.style.width=2*Kt+"px",null!=st.color&&(fi.style.backgroundColor=st.color),fi.style.transitionDuration=`${di}ms`,this._containerElement.appendChild(fi);const vn=window.getComputedStyle(fi),Li=vn.transitionDuration,Zi="none"===vn.transitionProperty||"0s"===Li||"0s, 0s"===Li||0===Tt.width&&0===Tt.height,Qt=new pe(this,fi,st,Zi);fi.style.transform="scale3d(1, 1, 1)",Qt.state=be.FADING_IN,st.persistent||(this._mostRecentTransientRipple=Qt);let Mt=null;return!Zi&&(di||mi.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const it=()=>this._finishRippleTransition(Qt),ct=()=>this._destroyRipple(Qt);fi.addEventListener("transitionend",it),fi.addEventListener("transitioncancel",ct),Mt={onTransitionEnd:it,onTransitionCancel:ct}}),this._activeRipples.set(Qt,Mt),(Zi||!di)&&this._finishRippleTransition(Qt),Qt}fadeOutRipple(Ge){if(Ge.state===be.FADING_OUT||Ge.state===be.HIDDEN)return;const et=Ge.element,st={...at,...Ge.config.animation};et.style.transitionDuration=`${st.exitDuration}ms`,et.style.opacity="0",Ge.state=be.FADING_OUT,(Ge._animationForciblyDisabledThroughCss||!st.exitDuration)&&this._finishRippleTransition(Ge)}fadeOutAll(){this._getActiveRipples().forEach(Ge=>Ge.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ge=>{Ge.config.persistent||Ge.fadeOut()})}setupTriggerEvents(Ge){const et=(0,f.i8)(Ge);!this._platform.isBrowser||!et||et===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=et,ye.forEach(st=>{Ie._eventManager.addHandler(this._ngZone,st,et,this)}))}handleEvent(Ge){"mousedown"===Ge.type?this._onMousedown(Ge):"touchstart"===Ge.type?this._onTouchStart(Ge):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ue.forEach(et=>{this._triggerElement.addEventListener(et,this,Xt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ge){Ge.state===be.FADING_IN?this._startFadeOutTransition(Ge):Ge.state===be.FADING_OUT&&this._destroyRipple(Ge)}_startFadeOutTransition(Ge){const et=Ge===this._mostRecentTransientRipple,{persistent:st}=Ge.config;Ge.state=be.VISIBLE,!st&&(!et||!this._isPointerDown)&&Ge.fadeOut()}_destroyRipple(Ge){const et=this._activeRipples.get(Ge)??null;this._activeRipples.delete(Ge),this._activeRipples.size||(this._containerRect=null),Ge===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ge.state=be.HIDDEN,null!==et&&(Ge.element.removeEventListener("transitionend",et.onTransitionEnd),Ge.element.removeEventListener("transitioncancel",et.onTransitionCancel)),Ge.element.remove()}_onMousedown(Ge){const et=(0,t._G)(Ge),st=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!et&&!st&&(this._isPointerDown=!0,this.fadeInRipple(Ge.clientX,Ge.clientY,this._target.rippleConfig))}_onTouchStart(Ge){if(!this._target.rippleDisabled&&!(0,t.w6)(Ge)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const et=Ge.changedTouches;if(et)for(let st=0;st<et.length;st++)this.fadeInRipple(et[st].clientX,et[st].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(Ge=>{!Ge.config.persistent&&(Ge.state===be.VISIBLE||Ge.config.terminateOnPointerUp&&Ge.state===be.FADING_IN)&&Ge.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ge=this._triggerElement;Ge&&(ye.forEach(et=>Ie._eventManager.removeHandler(et,Ge,this)),this._pointerUpEventsRegistered&&(ue.forEach(et=>Ge.removeEventListener(et,this,Xt)),this._pointerUpEventsRegistered=!1))}}const Xe=new e.nKC("mat-ripple-global-options");let yt=(()=>{class Fe{get disabled(){return this._disabled}set disabled(et){et&&this.fadeOutAllNonPersistent(),this._disabled=et,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(et){this._trigger=et,this._setupTriggerEventsIfEnabled()}constructor(et,st,Tt,mi,Kt){this._elementRef=et,this._animationMode=Kt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=mi||{},this._rippleRenderer=new Ie(this,st,et,Tt)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(et,st=0,Tt){return"number"==typeof et?this._rippleRenderer.fadeInRipple(et,st,{...this.rippleConfig,...Tt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...et})}static#e=this.\u0275fac=function(st){return new(st||Fe)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(x.OD),e.rXU(Xe,8),e.rXU(e.bc$,8))};static#t=this.\u0275dir=e.FsC({type:Fe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(st,Tt){2&st&&e.AVh("mat-ripple-unbounded",Tt.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return Fe})(),Ye=(()=>{class Fe{static#e=this.\u0275fac=function(st){return new(st||Fe)};static#t=this.\u0275mod=e.$C({type:Fe});static#i=this.\u0275inj=e.G2t({imports:[Te,Te]})}return Fe})(),rt=(()=>{class Fe{constructor(et){this._animationMode=et,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(st){return new(st||Fe)(e.rXU(e.bc$,8))};static#t=this.\u0275cmp=e.VBU({type:Fe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(st,Tt){2&st&&e.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===Tt.state)("mat-pseudo-checkbox-checked","checked"===Tt.state)("mat-pseudo-checkbox-disabled",Tt.disabled)("mat-pseudo-checkbox-minimal","minimal"===Tt.appearance)("mat-pseudo-checkbox-full","full"===Tt.appearance)("_mat-animation-noopable","NoopAnimations"===Tt._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(st,Tt){},styles:['.mat-pseudo-checkbox{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-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return Fe})(),Yt=(()=>{class Fe{static#e=this.\u0275fac=function(st){return new(st||Fe)};static#t=this.\u0275mod=e.$C({type:Fe});static#i=this.\u0275inj=e.G2t({imports:[Te]})}return Fe})();const Nt=new e.nKC("MAT_OPTION_PARENT_COMPONENT"),Vt=new e.nKC("MatOptgroup");let tt=0;class $t{constructor(Ge,et=!1){this.source=Ge,this.isUserInput=et}}let zt=(()=>{class Fe{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(et){this._disabled=et}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(et,st,Tt,mi){this._element=et,this._changeDetectorRef=st,this._parent=Tt,this.group=mi,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+tt++,this.onSelectionChange=new e.bkB,this._stateChanges=new I.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(et=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),et&&this._emitSelectionChangeEvent())}deselect(et=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),et&&this._emitSelectionChangeEvent())}focus(et,st){const Tt=this._getHostElement();"function"==typeof Tt.focus&&Tt.focus(st)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(et){(et.keyCode===d.Fm||et.keyCode===d.t6)&&!(0,d.rp)(et)&&(this._selectViaInteraction(),et.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const et=this.viewValue;et!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=et)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(et=!1){this.onSelectionChange.emit(new $t(this,et))}static#e=this.\u0275fac=function(st){return new(st||Fe)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(Nt,8),e.rXU(Vt,8))};static#t=this.\u0275cmp=e.VBU({type:Fe,selectors:[["mat-option"]],viewQuery:function(st,Tt){if(1&st&&e.GBs(F,7),2&st){let mi;e.mGM(mi=e.lsd())&&(Tt._text=mi.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(st,Tt){1&st&&e.bIt("click",function(){return Tt._selectViaInteraction()})("keydown",function(Kt){return Tt._handleKeydown(Kt)}),2&st&&(e.Mr5("id",Tt.id),e.BMQ("aria-selected",Tt.selected)("aria-disabled",Tt.disabled.toString()),e.AVh("mdc-list-item--selected",Tt.selected)("mat-mdc-option-multiple",Tt.multiple)("mat-mdc-option-active",Tt.active)("mdc-list-item--disabled",Tt.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",e.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:z,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(st,Tt){1&st&&(e.NAR(R),e.DNE(0,W,1,2,"mat-pseudo-checkbox",1),e.SdG(1),e.j41(2,"span",2,0),e.SdG(4,1),e.k0s(),e.DNE(5,$,1,1,"mat-pseudo-checkbox",3)(6,j,2,1,"span",4),e.nrm(7,"div",5)),2&st&&(e.vxM(Tt.multiple?0:-1),e.R7$(5),e.vxM(Tt.multiple||!Tt.selected||Tt.hideSingleSelectionIndicator?-1:5),e.R7$(),e.vxM(Tt.group&&Tt.group._inert?6:-1),e.R7$(),e.Y8G("matRippleTrigger",Tt._getHostElement())("matRippleDisabled",Tt.disabled||Tt.disableRipple))},dependencies:[rt,yt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Fe})();function Jt(Fe,Ge,et){if(et.length){let st=Ge.toArray(),Tt=et.toArray(),mi=0;for(let Kt=0;Kt<Fe+1;Kt++)st[Kt].group&&st[Kt].group===Tt[mi]&&mi++;return mi}return 0}function St(Fe,Ge,et,st){return Fe<et?Fe:Fe+Ge>et+st?Math.max(0,Fe-st+Ge):et}let dt=(()=>{class Fe{static#e=this.\u0275fac=function(st){return new(st||Fe)};static#t=this.\u0275mod=e.$C({type:Fe});static#i=this.\u0275inj=e.G2t({imports:[Ye,Te,Yt]})}return Fe})();const Ae={capture:!0},we=["focus","click","mouseenter","touchstart"],he="mat-ripple-loader-uninitialized",q="mat-ripple-loader-class-name",Re="mat-ripple-loader-centered",Ne="mat-ripple-loader-disabled";let gt=(()=>{class Fe{constructor(){this._document=(0,e.WQX)(l.qQ,{optional:!0}),this._animationMode=(0,e.WQX)(e.bc$,{optional:!0}),this._globalRippleOptions=(0,e.WQX)(Xe,{optional:!0}),this._platform=(0,e.WQX)(x.OD),this._ngZone=(0,e.WQX)(e.SKi),this._hosts=new Map,this._onInteraction=et=>{if(!(et.target instanceof HTMLElement))return;const Tt=et.target.closest(`[${he}]`);Tt&&this._createRipple(Tt)},this._ngZone.runOutsideAngular(()=>{for(const et of we)this._document?.addEventListener(et,this._onInteraction,Ae)})}ngOnDestroy(){const et=this._hosts.keys();for(const st of et)this.destroyRipple(st);for(const st of we)this._document?.removeEventListener(st,this._onInteraction,Ae)}configureRipple(et,st){et.setAttribute(he,""),(st.className||!et.hasAttribute(q))&&et.setAttribute(q,st.className||""),st.centered&&et.setAttribute(Re,""),st.disabled&&et.setAttribute(Ne,"")}getRipple(et){return this._hosts.get(et)||this._createRipple(et)}setDisabled(et,st){const Tt=this._hosts.get(et);Tt?Tt.disabled=st:st?et.setAttribute(Ne,""):et.removeAttribute(Ne)}_createRipple(et){if(!this._document)return;const st=this._hosts.get(et);if(st)return st;et.querySelector(".mat-ripple")?.remove();const Tt=this._document.createElement("span");Tt.classList.add("mat-ripple",et.getAttribute(q)),et.append(Tt);const mi=new yt(new e.aKT(Tt),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return mi._isInitialized=!0,mi.trigger=et,mi.centered=et.hasAttribute(Re),mi.disabled=et.hasAttribute(Ne),this.attachRipple(et,mi),mi}attachRipple(et,st){et.removeAttribute(he),this._hosts.set(et,st)}destroyRipple(et){const st=this._hosts.get(et);st&&(st.ngOnDestroy(),this._hosts.delete(et))}static#e=this.\u0275fac=function(st){return new(st||Fe)};static#t=this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})(),$e=(()=>{class Fe{static#e=this.\u0275fac=function(st){return new(st||Fe)};static#t=this.\u0275cmp=e.VBU({type:Fe,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(st,Tt){2&st&&e.AVh("mdc-form-field--align-end","before"===Tt.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[e.aNF],attrs:Q,ngContentSelectors:J,decls:1,vars:0,template:function(st,Tt){1&st&&(e.NAR(),e.SdG(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}return Fe})()},5084:(Qe,te,g)=>{"use strict";g.d(te,{Vh:()=>et,X6:()=>fn,bU:()=>fi,bZ:()=>Xi});var e=g(8617),t=g(6969),w=g(6939),S=g(177),l=g(4438),x=g(8834),f=g(5542),I=g(6600),d=g(1413),T=g(8359),y=g(7786),F=g(7673),R=g(7336),z=g(8203),W=g(6860),$=g(6697),j=g(9172),Q=g(5964),J=g(4085),ee=g(9969),ie=g(9417),ge=g(6467),ae=g(9631);const Me=["mat-calendar-body",""];function Te(Zt,bt){if(1&Zt&&(l.j41(0,"tr",0)(1,"td",3),l.EFF(2),l.k0s()()),2&Zt){const re=l.XpG();l.R7$(),l.xc7("padding-top",re._cellPadding)("padding-bottom",re._cellPadding),l.BMQ("colspan",re.numCols),l.R7$(),l.SpI(" ",re.label," ")}}function de(Zt,bt){if(1&Zt&&(l.j41(0,"td",3),l.EFF(1),l.k0s()),2&Zt){const re=l.XpG(2);l.xc7("padding-top",re._cellPadding)("padding-bottom",re._cellPadding),l.BMQ("colspan",re._firstRowOffset),l.R7$(),l.SpI(" ",re._firstRowOffset>=re.labelMinRequiredCells?re.label:""," ")}}function D(Zt,bt){if(1&Zt){const re=l.RV6();l.j41(0,"td",6)(1,"button",7),l.bIt("click",function(Ce){const ot=l.eBV(re).$implicit,ut=l.XpG(2);return l.Njj(ut._cellClicked(ot,Ce))})("focus",function(Ce){const ot=l.eBV(re).$implicit,ut=l.XpG(2);return l.Njj(ut._emitActiveDateChange(ot,Ce))}),l.j41(2,"span",8),l.EFF(3),l.k0s(),l.nrm(4,"span",9),l.k0s()()}if(2&Zt){const re=bt.$implicit,je=bt.$index,Ce=l.XpG().$index,ot=l.XpG();l.xc7("width",ot._cellWidth)("padding-top",ot._cellPadding)("padding-bottom",ot._cellPadding),l.BMQ("data-mat-row",Ce)("data-mat-col",je),l.R7$(),l.AVh("mat-calendar-body-disabled",!re.enabled)("mat-calendar-body-active",ot._isActiveCell(Ce,je))("mat-calendar-body-range-start",ot._isRangeStart(re.compareValue))("mat-calendar-body-range-end",ot._isRangeEnd(re.compareValue))("mat-calendar-body-in-range",ot._isInRange(re.compareValue))("mat-calendar-body-comparison-bridge-start",ot._isComparisonBridgeStart(re.compareValue,Ce,je))("mat-calendar-body-comparison-bridge-end",ot._isComparisonBridgeEnd(re.compareValue,Ce,je))("mat-calendar-body-comparison-start",ot._isComparisonStart(re.compareValue))("mat-calendar-body-comparison-end",ot._isComparisonEnd(re.compareValue))("mat-calendar-body-in-comparison-range",ot._isInComparisonRange(re.compareValue))("mat-calendar-body-preview-start",ot._isPreviewStart(re.compareValue))("mat-calendar-body-preview-end",ot._isPreviewEnd(re.compareValue))("mat-calendar-body-in-preview",ot._isInPreview(re.compareValue)),l.Y8G("ngClass",re.cssClasses)("tabindex",ot._isActiveCell(Ce,je)?0:-1),l.BMQ("aria-label",re.ariaLabel)("aria-disabled",!re.enabled||null)("aria-pressed",ot._isSelected(re.compareValue))("aria-current",ot.todayValue===re.compareValue?"date":null)("aria-describedby",ot._getDescribedby(re.compareValue)),l.R7$(),l.AVh("mat-calendar-body-selected",ot._isSelected(re.compareValue))("mat-calendar-body-comparison-identical",ot._isComparisonIdentical(re.compareValue))("mat-calendar-body-today",ot.todayValue===re.compareValue),l.R7$(),l.SpI(" ",re.displayValue," ")}}function n(Zt,bt){if(1&Zt&&(l.j41(0,"tr",1),l.DNE(1,de,2,6,"td",4),l.Z7z(2,D,5,48,"td",5,l.fX1),l.k0s()),2&Zt){const re=bt.$implicit,je=bt.$index,Ce=l.XpG();l.R7$(),l.vxM(0===je&&Ce._firstRowOffset?1:-1),l.R7$(),l.Dyx(re)}}function c(Zt,bt){if(1&Zt&&(l.j41(0,"th",2)(1,"span",6),l.EFF(2),l.k0s(),l.j41(3,"span",3),l.EFF(4),l.k0s()()),2&Zt){const re=bt.$implicit;l.R7$(2),l.JRh(re.long),l.R7$(2),l.JRh(re.narrow)}}const m=["*"];function h(Zt,bt){}function C(Zt,bt){if(1&Zt){const re=l.RV6();l.j41(0,"mat-month-view",4),l.mxI("activeDateChange",function(Ce){l.eBV(re);const ot=l.XpG();return l.DH7(ot.activeDate,Ce)||(ot.activeDate=Ce),l.Njj(Ce)}),l.bIt("_userSelection",function(Ce){l.eBV(re);const ot=l.XpG();return l.Njj(ot._dateSelected(Ce))})("dragStarted",function(Ce){l.eBV(re);const ot=l.XpG();return l.Njj(ot._dragStarted(Ce))})("dragEnded",function(Ce){l.eBV(re);const ot=l.XpG();return l.Njj(ot._dragEnded(Ce))}),l.k0s()}if(2&Zt){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)("comparisonStart",re.comparisonStart)("comparisonEnd",re.comparisonEnd)("startDateAccessibleName",re.startDateAccessibleName)("endDateAccessibleName",re.endDateAccessibleName)("activeDrag",re._activeDrag)}}function k(Zt,bt){if(1&Zt){const re=l.RV6();l.j41(0,"mat-year-view",5),l.mxI("activeDateChange",function(Ce){l.eBV(re);const ot=l.XpG();return l.DH7(ot.activeDate,Ce)||(ot.activeDate=Ce),l.Njj(Ce)}),l.bIt("monthSelected",function(Ce){l.eBV(re);const ot=l.XpG();return l.Njj(ot._monthSelectedInYearView(Ce))})("selectedChange",function(Ce){l.eBV(re);const ot=l.XpG();return l.Njj(ot._goToDateInView(Ce,"month"))}),l.k0s()}if(2&Zt){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)}}function L(Zt,bt){if(1&Zt){const re=l.RV6();l.j41(0,"mat-multi-year-view",6),l.mxI("activeDateChange",function(Ce){l.eBV(re);const ot=l.XpG();return l.DH7(ot.activeDate,Ce)||(ot.activeDate=Ce),l.Njj(Ce)}),l.bIt("yearSelected",function(Ce){l.eBV(re);const ot=l.XpG();return l.Njj(ot._yearSelectedInMultiYearView(Ce))})("selectedChange",function(Ce){l.eBV(re);const ot=l.XpG();return l.Njj(ot._goToDateInView(Ce,"year"))}),l.k0s()}if(2&Zt){const re=l.XpG();l.R50("activeDate",re.activeDate),l.Y8G("selected",re.selected)("dateFilter",re.dateFilter)("maxDate",re.maxDate)("minDate",re.minDate)("dateClass",re.dateClass)}}function _(Zt,bt){}const r=["button"],v=[[["","matDatepickerToggleIcon",""]]],V=["[matDatepickerToggleIcon]"];function N(Zt,bt){1&Zt&&(l.qSk(),l.j41(0,"svg",2),l.nrm(1,"path",3),l.k0s())}let Ke=(()=>{class Zt{constructor(){this.changes=new d.B,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(re,je){return`${re} \u2013 ${je}`}formatYearRangeLabel(re,je){return`${re} to ${je}`}static#e=this.\u0275fac=function(je){return new(je||Zt)};static#t=this.\u0275prov=l.jDH({token:Zt,factory:Zt.\u0275fac,providedIn:"root"})}return Zt})();class se{constructor(bt,re,je,Ce,ot={},ut=bt,ii){this.value=bt,this.displayValue=re,this.ariaLabel=je,this.enabled=Ce,this.cssClasses=ot,this.compareValue=ut,this.rawValue=ii}}let X=1;const me=(0,W.BQ)({passive:!1,capture:!0}),ce=(0,W.BQ)({passive:!0,capture:!0}),fe=(0,W.BQ)({passive:!0});let ke=(()=>{class Zt{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(re,je){this._elementRef=re,this._ngZone=je,this._platform=(0,l.WQX)(W.OD),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new l.bkB,this.previewChange=new l.bkB,this.activeDateChange=new l.bkB,this.dragStarted=new l.bkB,this.dragEnded=new l.bkB,this._didDragSinceMouseDown=!1,this._enterHandler=Ce=>{if(this._skipNextFocus&&"focus"===Ce.type)this._skipNextFocus=!1;else if(Ce.target&&this.isRange){const ot=this._getCellFromElement(Ce.target);ot&&this._ngZone.run(()=>this.previewChange.emit({value:ot.enabled?ot:null,event:Ce}))}},this._touchmoveHandler=Ce=>{if(!this.isRange)return;const ot=_t(Ce),ut=ot?this._getCellFromElement(ot):null;ot!==Ce.target&&(this._didDragSinceMouseDown=!0),_e(Ce.target)&&Ce.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:ut?.enabled?ut:null,event:Ce}))},this._leaveHandler=Ce=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ce.type&&(this._didDragSinceMouseDown=!0),Ce.target&&this._getCellFromElement(Ce.target)&&(!Ce.relatedTarget||!this._getCellFromElement(Ce.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ce})))},this._mousedownHandler=Ce=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const ot=Ce.target&&this._getCellFromElement(Ce.target);!ot||!this._isInRange(ot.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:ot.rawValue,event:Ce})})},this._mouseupHandler=Ce=>{if(!this.isRange)return;const ot=_e(Ce.target);ot?ot.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const ut=this._getCellFromElement(ot);this.dragEnded.emit({value:ut?.rawValue??null,event:Ce})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ce})})},this._touchendHandler=Ce=>{const ot=_t(Ce);ot&&this._mouseupHandler({target:ot})},this._id="mat-calendar-body-"+X++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,je.runOutsideAngular(()=>{const Ce=re.nativeElement;Ce.addEventListener("touchmove",this._touchmoveHandler,me),Ce.addEventListener("mouseenter",this._enterHandler,ce),Ce.addEventListener("focus",this._enterHandler,ce),Ce.addEventListener("mouseleave",this._leaveHandler,ce),Ce.addEventListener("blur",this._leaveHandler,ce),Ce.addEventListener("mousedown",this._mousedownHandler,fe),Ce.addEventListener("touchstart",this._mousedownHandler,fe),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(re,je){this._didDragSinceMouseDown||re.enabled&&this.selectedValueChange.emit({value:re.value,event:je})}_emitActiveDateChange(re,je){re.enabled&&this.activeDateChange.emit({value:re.value,event:je})}_isSelected(re){return this.startValue===re||this.endValue===re}ngOnChanges(re){const je=re.numCols,{rows:Ce,numCols:ot}=this;(re.rows||je)&&(this._firstRowOffset=Ce&&Ce.length&&Ce[0].length?ot-Ce[0].length:0),(re.cellAspectRatio||je||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ot+"%"),(je||!this._cellWidth)&&(this._cellWidth=100/ot+"%")}ngOnDestroy(){const re=this._elementRef.nativeElement;re.removeEventListener("touchmove",this._touchmoveHandler,me),re.removeEventListener("mouseenter",this._enterHandler,ce),re.removeEventListener("focus",this._enterHandler,ce),re.removeEventListener("mouseleave",this._leaveHandler,ce),re.removeEventListener("blur",this._leaveHandler,ce),re.removeEventListener("mousedown",this._mousedownHandler,fe),re.removeEventListener("touchstart",this._mousedownHandler,fe),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(re,je){let Ce=re*this.numCols+je;return re&&(Ce-=this._firstRowOffset),Ce==this.activeCell}_focusActiveCell(re=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,$.s)(1)).subscribe(()=>{setTimeout(()=>{const je=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");je&&(re||(this._skipNextFocus=!0),je.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(re){return be(re,this.startValue,this.endValue)}_isRangeEnd(re){return pe(re,this.startValue,this.endValue)}_isInRange(re){return Ze(re,this.startValue,this.endValue,this.isRange)}_isComparisonStart(re){return be(re,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(re,je,Ce){if(!this._isComparisonStart(re)||this._isRangeStart(re)||!this._isInRange(re))return!1;let ot=this.rows[je][Ce-1];if(!ot){const ut=this.rows[je-1];ot=ut&&ut[ut.length-1]}return ot&&!this._isRangeEnd(ot.compareValue)}_isComparisonBridgeEnd(re,je,Ce){if(!this._isComparisonEnd(re)||this._isRangeEnd(re)||!this._isInRange(re))return!1;let ot=this.rows[je][Ce+1];if(!ot){const ut=this.rows[je+1];ot=ut&&ut[0]}return ot&&!this._isRangeStart(ot.compareValue)}_isComparisonEnd(re){return pe(re,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(re){return Ze(re,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(re){return this.comparisonStart===this.comparisonEnd&&re===this.comparisonStart}_isPreviewStart(re){return be(re,this.previewStart,this.previewEnd)}_isPreviewEnd(re){return pe(re,this.previewStart,this.previewEnd)}_isInPreview(re){return Ze(re,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(re){return this.isRange?this.startValue===re&&this.endValue===re?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===re?this._startDateLabelId:this.endValue===re?this._endDateLabelId:null:null}_getCellFromElement(re){const je=_e(re);if(je){const Ce=je.getAttribute("data-mat-row"),ot=je.getAttribute("data-mat-col");if(Ce&&ot)return this.rows[parseInt(Ce)][parseInt(ot)]}return null}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(l.aKT),l.rXU(l.SKi))};static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[l.OA$,l.aNF],attrs:Me,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(je,Ce){1&je&&(l.DNE(0,Te,3,6,"tr",0),l.Z7z(1,n,4,1,"tr",1,l.fX1),l.j41(3,"label",2),l.EFF(4),l.k0s(),l.j41(5,"label",2),l.EFF(6),l.k0s()),2&je&&(l.vxM(Ce._firstRowOffset<Ce.labelMinRequiredCells?0:-1),l.R7$(),l.Dyx(Ce.rows),l.R7$(2),l.Y8G("id",Ce._startDateLabelId),l.R7$(),l.SpI(" ",Ce.startDateAccessibleName,"\n"),l.R7$(),l.Y8G("id",Ce._endDateLabelId),l.R7$(),l.SpI(" ",Ce.endDateAccessibleName,"\n"))},dependencies:[S.YU],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}'],encapsulation:2,changeDetection:0})}return Zt})();function mt(Zt){return"TD"===Zt?.nodeName}function _e(Zt){let bt;return mt(Zt)?bt=Zt:mt(Zt.parentNode)?bt=Zt.parentNode:mt(Zt.parentNode?.parentNode)&&(bt=Zt.parentNode.parentNode),null!=bt?.getAttribute("data-mat-row")?bt:null}function be(Zt,bt,re){return null!==re&&bt!==re&&Zt<re&&Zt===bt}function pe(Zt,bt,re){return null!==bt&&bt!==re&&Zt>=bt&&Zt===re}function Ze(Zt,bt,re,je){return je&&null!==bt&&null!==re&&bt!==re&&Zt>=bt&&Zt<=re}function _t(Zt){const bt=Zt.changedTouches[0];return document.elementFromPoint(bt.clientX,bt.clientY)}class at{constructor(bt,re){this.start=bt,this.end=re}}let pt=(()=>{class Zt{constructor(re,je){this.selection=re,this._adapter=je,this._selectionChanged=new d.B,this.selectionChanged=this._selectionChanged,this.selection=re}updateSelection(re,je){const Ce=this.selection;this.selection=re,this._selectionChanged.next({selection:re,source:je,oldValue:Ce})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(re){return this._adapter.isDateInstance(re)&&this._adapter.isValid(re)}static#e=this.\u0275fac=function(je){l.QTQ()};static#t=this.\u0275prov=l.jDH({token:Zt,factory:Zt.\u0275fac})}return Zt})(),Xt=(()=>{class Zt extends pt{constructor(re){super(null,re)}add(re){super.updateSelection(re,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const re=new Zt(this._adapter);return re.updateSelection(this.selection,this),re}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.KVO(I.MJ))};static#t=this.\u0275prov=l.jDH({token:Zt,factory:Zt.\u0275fac})}return Zt})();const Ie={provide:pt,deps:[[new l.Xx1,new l.kdw,pt],I.MJ],useFactory:function ue(Zt,bt){return Zt||new Xt(bt)}},yt=new l.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let Et=(()=>{class Zt{get activeDate(){return this._activeDate}set activeDate(re){const je=this._activeDate,Ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ce,this.minDate,this.maxDate),this._hasSameMonthAndYear(je,this._activeDate)||this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof at?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,je,Ce,ot,ut){this._changeDetectorRef=re,this._dateFormats=je,this._dateAdapter=Ce,this._dir=ot,this._rangeStrategy=ut,this._rerenderSubscription=T.yU.EMPTY,this.activeDrag=null,this.selectedChange=new l.bkB,this._userSelection=new l.bkB,this.dragStarted=new l.bkB,this.dragEnded=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.Z)(null)).subscribe(()=>this._init())}ngOnChanges(re){const je=re.comparisonStart||re.comparisonEnd;je&&!je.firstChange&&this._setRanges(this.selected),re.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(re){const je=re.value,Ce=this._getDateFromDayOfMonth(je);let ot,ut;this._selected instanceof at?(ot=this._getDateInCurrentMonth(this._selected.start),ut=this._getDateInCurrentMonth(this._selected.end)):ot=ut=this._getDateInCurrentMonth(this._selected),(ot!==je||ut!==je)&&this.selectedChange.emit(Ce),this._userSelection.emit({value:Ce,event:re.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(re){const Ce=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(re.value),this._dateAdapter.compareDate(Ce,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(re){const je=this._activeDate,Ce=this._isRtl();switch(re.keyCode){case R.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ce?1:-1);break;case R.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ce?-1:1);break;case R.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case R.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case R.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case R.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case R.w_:this.activeDate=re.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case R.dB:this.activeDate=re.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case R.Fm:case R.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&re.preventDefault());case R._f:return void(null!=this._previewEnd&&!(0,R.rp)(re)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:re}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:re})),re.preventDefault(),re.stopPropagation()));default:return}this._dateAdapter.compareDate(je,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===R.t6||re.keyCode===R.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:re}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let re=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(re)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(re){this._matCalendarBody._focusActiveCell(re)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:re,value:je}){if(this._rangeStrategy){const Ce=je?je.rawValue:null,ot=this._rangeStrategy.createPreview(Ce,this.selected,re);if(this._previewStart=this._getCellCompareValue(ot.start),this._previewEnd=this._getCellCompareValue(ot.end),this.activeDrag&&Ce){const ut=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ce,re);ut&&(this._previewStart=this._getCellCompareValue(ut.start),this._previewEnd=this._getCellCompareValue(ut.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(re){if(this.activeDrag)if(re.value){const je=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,re.value,re.event);this.dragEnded.emit({value:je??null,event:re.event})}else this.dragEnded.emit({value:null,event:re.event})}_getDateFromDayOfMonth(re){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),re)}_initWeekdays(){const re=this._dateAdapter.getFirstDayOfWeek(),je=this._dateAdapter.getDayOfWeekNames("narrow");let ot=this._dateAdapter.getDayOfWeekNames("long").map((ut,ii)=>({long:ut,narrow:je[ii]}));this._weekdays=ot.slice(re).concat(ot.slice(0,re))}_createWeekCells(){const re=this._dateAdapter.getNumDaysInMonth(this.activeDate),je=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ce=0,ot=this._firstWeekOffset;Ce<re;Ce++,ot++){7==ot&&(this._weeks.push([]),ot=0);const ut=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Ce+1),ii=this._shouldEnableDate(ut),si=this._dateAdapter.format(ut,this._dateFormats.display.dateA11yLabel),Pi=this.dateClass?this.dateClass(ut,"month"):void 0;this._weeks[this._weeks.length-1].push(new se(Ce+1,je[Ce],si,ii,Pi,this._getCellCompareValue(ut),ut))}}_shouldEnableDate(re){return!!re&&(!this.minDate||this._dateAdapter.compareDate(re,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(re,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(re))}_getDateInCurrentMonth(re){return re&&this._hasSameMonthAndYear(re,this.activeDate)?this._dateAdapter.getDate(re):null}_hasSameMonthAndYear(re,je){return!(!re||!je||this._dateAdapter.getMonth(re)!=this._dateAdapter.getMonth(je)||this._dateAdapter.getYear(re)!=this._dateAdapter.getYear(je))}_getCellCompareValue(re){if(re){const je=this._dateAdapter.getYear(re),Ce=this._dateAdapter.getMonth(re),ot=this._dateAdapter.getDate(re);return new Date(je,Ce,ot).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(re){re instanceof at?(this._rangeStart=this._getCellCompareValue(re.start),this._rangeEnd=this._getCellCompareValue(re.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(re),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(re){return!this.dateFilter||this.dateFilter(re)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(l.gRc),l.rXU(I.de,8),l.rXU(I.MJ,8),l.rXU(z.dS,8),l.rXU(yt,8))};static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["mat-month-view"]],viewQuery:function(je,Ce){if(1&je&&l.GBs(ke,5),2&je){let ot;l.mGM(ot=l.lsd())&&(Ce._matCalendarBody=ot.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[l.OA$,l.aNF],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(je,Ce){1&je&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.Z7z(3,c,5,2,"th",2,l.fX1),l.k0s(),l.j41(5,"tr",3),l.nrm(6,"th",4),l.k0s()(),l.j41(7,"tbody",5),l.bIt("selectedValueChange",function(ut){return Ce._dateSelected(ut)})("activeDateChange",function(ut){return Ce._updateActiveDate(ut)})("previewChange",function(ut){return Ce._previewChanged(ut)})("dragStarted",function(ut){return Ce.dragStarted.emit(ut)})("dragEnded",function(ut){return Ce._dragEnded(ut)})("keyup",function(ut){return Ce._handleCalendarBodyKeyup(ut)})("keydown",function(ut){return Ce._handleCalendarBodyKeydown(ut)}),l.k0s()()),2&je&&(l.R7$(3),l.Dyx(Ce._weekdays),l.R7$(4),l.Y8G("label",Ce._monthLabel)("rows",Ce._weeks)("todayValue",Ce._todayDate)("startValue",Ce._rangeStart)("endValue",Ce._rangeEnd)("comparisonStart",Ce._comparisonRangeStart)("comparisonEnd",Ce._comparisonRangeEnd)("previewStart",Ce._previewStart)("previewEnd",Ce._previewEnd)("isRange",Ce._isRange)("labelMinRequiredCells",3)("activeCell",Ce._dateAdapter.getDate(Ce.activeDate)-1)("startDateAccessibleName",Ce.startDateAccessibleName)("endDateAccessibleName",Ce.endDateAccessibleName))},dependencies:[ke],encapsulation:2,changeDetection:0})}return Zt})();const Vt=24;let tt=(()=>{class Zt{get activeDate(){return this._activeDate}set activeDate(re){let je=this._activeDate;const Ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ce,this.minDate,this.maxDate),$t(this._dateAdapter,je,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof at?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setSelectedYear(re)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,je,Ce){this._changeDetectorRef=re,this._dateAdapter=je,this._dir=Ce,this._rerenderSubscription=T.yU.EMPTY,this.selectedChange=new l.bkB,this.yearSelected=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const je=this._dateAdapter.getYear(this._activeDate)-zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Ce=0,ot=[];Ce<Vt;Ce++)ot.push(je+Ce),4==ot.length&&(this._years.push(ot.map(ut=>this._createCellForYear(ut))),ot=[]);this._changeDetectorRef.markForCheck()}_yearSelected(re){const je=re.value,Ce=this._dateAdapter.createDate(je,0,1),ot=this._getDateFromYear(je);this.yearSelected.emit(Ce),this.selectedChange.emit(ot)}_updateActiveDate(re){const Ce=this._activeDate;this.activeDate=this._getDateFromYear(re.value),this._dateAdapter.compareDate(Ce,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(re){const je=this._activeDate,Ce=this._isRtl();switch(re.keyCode){case R.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ce?1:-1);break;case R.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ce?-1:1);break;case R.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case R.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case R.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case R.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Vt-zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case R.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10*-Vt:-Vt);break;case R.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10*Vt:Vt);break;case R.Fm:case R.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(je,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===R.t6||re.keyCode===R.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:re}),this._selectionKeyPressed=!1)}_getActiveCell(){return zt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(re){const je=this._dateAdapter.getMonth(this.activeDate),Ce=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(re,je,1));return this._dateAdapter.createDate(re,je,Math.min(this._dateAdapter.getDate(this.activeDate),Ce))}_createCellForYear(re){const je=this._dateAdapter.createDate(re,0,1),Ce=this._dateAdapter.getYearName(je),ot=this.dateClass?this.dateClass(je,"multi-year"):void 0;return new se(re,Ce,Ce,this._shouldEnableYear(re),ot)}_shouldEnableYear(re){if(null==re||this.maxDate&&re>this._dateAdapter.getYear(this.maxDate)||this.minDate&&re<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let Ce=this._dateAdapter.createDate(re,0,1);this._dateAdapter.getYear(Ce)==re;Ce=this._dateAdapter.addCalendarDays(Ce,1))if(this.dateFilter(Ce))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(re){if(this._selectedYear=null,re instanceof at){const je=re.start||re.end;je&&(this._selectedYear=this._dateAdapter.getYear(je))}else re&&(this._selectedYear=this._dateAdapter.getYear(re))}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(l.gRc),l.rXU(I.MJ,8),l.rXU(z.dS,8))};static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["mat-multi-year-view"]],viewQuery:function(je,Ce){if(1&je&&l.GBs(ke,5),2&je){let ot;l.mGM(ot=l.lsd())&&(Ce._matCalendarBody=ot.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],standalone:!0,features:[l.aNF],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(je,Ce){1&je&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.nrm(3,"th",2),l.k0s()(),l.j41(4,"tbody",3),l.bIt("selectedValueChange",function(ut){return Ce._yearSelected(ut)})("activeDateChange",function(ut){return Ce._updateActiveDate(ut)})("keyup",function(ut){return Ce._handleCalendarBodyKeyup(ut)})("keydown",function(ut){return Ce._handleCalendarBodyKeydown(ut)}),l.k0s()()),2&je&&(l.R7$(4),l.Y8G("rows",Ce._years)("todayValue",Ce._todayYear)("startValue",Ce._selectedYear)("endValue",Ce._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",Ce._getActiveCell()))},dependencies:[ke],encapsulation:2,changeDetection:0})}return Zt})();function $t(Zt,bt,re,je,Ce){const ot=Zt.getYear(bt),ut=Zt.getYear(re),ii=Jt(Zt,je,Ce);return Math.floor((ot-ii)/Vt)===Math.floor((ut-ii)/Vt)}function zt(Zt,bt,re,je){return function St(Zt,bt){return(Zt%bt+bt)%bt}(Zt.getYear(bt)-Jt(Zt,re,je),Vt)}function Jt(Zt,bt,re){let je=0;return re?je=Zt.getYear(re)-Vt+1:bt&&(je=Zt.getYear(bt)),je}let dt=(()=>{class Zt{get activeDate(){return this._activeDate}set activeDate(re){let je=this._activeDate;const Ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ce,this.minDate,this.maxDate),this._dateAdapter.getYear(je)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(re){this._selected=re instanceof at?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re)),this._setSelectedMonth(re)}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}constructor(re,je,Ce,ot){this._changeDetectorRef=re,this._dateFormats=je,this._dateAdapter=Ce,this._dir=ot,this._rerenderSubscription=T.yU.EMPTY,this.selectedChange=new l.bkB,this.monthSelected=new l.bkB,this.activeDateChange=new l.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(re){const je=re.value,Ce=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),je,1);this.monthSelected.emit(Ce);const ot=this._getDateFromMonth(je);this.selectedChange.emit(ot)}_updateActiveDate(re){const Ce=this._activeDate;this.activeDate=this._getDateFromMonth(re.value),this._dateAdapter.compareDate(Ce,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(re){const je=this._activeDate,Ce=this._isRtl();switch(re.keyCode){case R.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ce?1:-1);break;case R.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ce?-1:1);break;case R.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case R.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case R.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case R.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case R.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?-10:-1);break;case R.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,re.altKey?10:1);break;case R.Fm:case R.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(je,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),re.preventDefault()}_handleCalendarBodyKeyup(re){(re.keyCode===R.t6||re.keyCode===R.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:re}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let re=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(je=>je.map(Ce=>this._createCellForMonth(Ce,re[Ce]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(re){return re&&this._dateAdapter.getYear(re)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(re):null}_getDateFromMonth(re){const je=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,1),Ce=this._dateAdapter.getNumDaysInMonth(je);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,Math.min(this._dateAdapter.getDate(this.activeDate),Ce))}_createCellForMonth(re,je){const Ce=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),re,1),ot=this._dateAdapter.format(Ce,this._dateFormats.display.monthYearA11yLabel),ut=this.dateClass?this.dateClass(Ce,"year"):void 0;return new se(re,je.toLocaleUpperCase(),ot,this._shouldEnableMonth(re),ut)}_shouldEnableMonth(re){const je=this._dateAdapter.getYear(this.activeDate);if(null==re||this._isYearAndMonthAfterMaxDate(je,re)||this._isYearAndMonthBeforeMinDate(je,re))return!1;if(!this.dateFilter)return!0;for(let ot=this._dateAdapter.createDate(je,re,1);this._dateAdapter.getMonth(ot)==re;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isYearAndMonthAfterMaxDate(re,je){if(this.maxDate){const Ce=this._dateAdapter.getYear(this.maxDate),ot=this._dateAdapter.getMonth(this.maxDate);return re>Ce||re===Ce&&je>ot}return!1}_isYearAndMonthBeforeMinDate(re,je){if(this.minDate){const Ce=this._dateAdapter.getYear(this.minDate),ot=this._dateAdapter.getMonth(this.minDate);return re<Ce||re===Ce&&je<ot}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(re){this._selectedMonth=re instanceof at?this._getMonthInCurrentYear(re.start)||this._getMonthInCurrentYear(re.end):this._getMonthInCurrentYear(re)}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(l.gRc),l.rXU(I.de,8),l.rXU(I.MJ,8),l.rXU(z.dS,8))};static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["mat-year-view"]],viewQuery:function(je,Ce){if(1&je&&l.GBs(ke,5),2&je){let ot;l.mGM(ot=l.lsd())&&(Ce._matCalendarBody=ot.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],standalone:!0,features:[l.aNF],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(je,Ce){1&je&&(l.j41(0,"table",0)(1,"thead",1)(2,"tr"),l.nrm(3,"th",2),l.k0s()(),l.j41(4,"tbody",3),l.bIt("selectedValueChange",function(ut){return Ce._monthSelected(ut)})("activeDateChange",function(ut){return Ce._updateActiveDate(ut)})("keyup",function(ut){return Ce._handleCalendarBodyKeyup(ut)})("keydown",function(ut){return Ce._handleCalendarBodyKeydown(ut)}),l.k0s()()),2&je&&(l.R7$(4),l.Y8G("label",Ce._yearLabel)("rows",Ce._months)("todayValue",Ce._todayMonth)("startValue",Ce._selectedMonth)("endValue",Ce._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",Ce._dateAdapter.getMonth(Ce.activeDate)))},dependencies:[ke],encapsulation:2,changeDetection:0})}return Zt})(),Ae=1,we=(()=>{class Zt{constructor(re,je,Ce,ot,ut){this._intl=re,this.calendar=je,this._dateAdapter=Ce,this._dateFormats=ot,this._id="mat-calendar-header-"+Ae++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>ut.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-Vt)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:Vt)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(re,je){return"month"==this.calendar.currentView?this._dateAdapter.getYear(re)==this._dateAdapter.getYear(je)&&this._dateAdapter.getMonth(re)==this._dateAdapter.getMonth(je):"year"==this.calendar.currentView?this._dateAdapter.getYear(re)==this._dateAdapter.getYear(je):$t(this._dateAdapter,re,je,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const je=this._dateAdapter.getYear(this.calendar.activeDate)-zt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ce=je+Vt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(je,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ce,0,1))]}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(Ke),l.rXU((0,l.Rfq)(()=>he)),l.rXU(I.MJ,8),l.rXU(I.de,8),l.rXU(l.gRc))};static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[l.aNF],ngContentSelectors:m,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],[1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(je,Ce){1&je&&(l.NAR(),l.j41(0,"div",0)(1,"div",1)(2,"label",2),l.EFF(3),l.k0s(),l.j41(4,"button",3),l.bIt("click",function(){return Ce.currentPeriodClicked()}),l.j41(5,"span",4),l.EFF(6),l.k0s(),l.qSk(),l.j41(7,"svg",5),l.nrm(8,"polygon",6),l.k0s()(),l.joV(),l.nrm(9,"div",7),l.SdG(10),l.j41(11,"button",8),l.bIt("click",function(){return Ce.previousClicked()}),l.k0s(),l.j41(12,"button",9),l.bIt("click",function(){return Ce.nextClicked()}),l.k0s()()()),2&je&&(l.R7$(2),l.Y8G("id",Ce._periodButtonLabelId),l.R7$(),l.JRh(Ce.periodButtonDescription),l.R7$(),l.BMQ("aria-label",Ce.periodButtonLabel)("aria-describedby",Ce._periodButtonLabelId),l.R7$(2),l.JRh(Ce.periodButtonText),l.R7$(),l.AVh("mat-calendar-invert","month"!==Ce.calendar.currentView),l.R7$(4),l.Y8G("disabled",!Ce.previousEnabled()),l.BMQ("aria-label",Ce.prevButtonLabel),l.R7$(),l.Y8G("disabled",!Ce.nextEnabled()),l.BMQ("aria-label",Ce.nextButtonLabel))},dependencies:[x.$z,x.iY],encapsulation:2,changeDetection:0})}return Zt})(),he=(()=>{class Zt{get startAt(){return this._startAt}set startAt(re){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get selected(){return this._selected}set selected(re){this._selected=re instanceof at?re:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get minDate(){return this._minDate}set minDate(re){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get maxDate(){return this._maxDate}set maxDate(re){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get activeDate(){return this._clampedActiveDate}set activeDate(re){this._clampedActiveDate=this._dateAdapter.clampDate(re,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(re){const je=this._currentView!==re?re:null;this._currentView=re,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),je&&this.viewChanged.emit(je)}constructor(re,je,Ce,ot){this._dateAdapter=je,this._dateFormats=Ce,this._changeDetectorRef=ot,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.bkB,this.yearSelected=new l.bkB,this.monthSelected=new l.bkB,this.viewChanged=new l.bkB(!0),this._userSelection=new l.bkB,this._userDragDrop=new l.bkB,this._activeDrag=null,this.stateChanges=new d.B,this._intlChanges=re.changes.subscribe(()=>{ot.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new w.A8(this.headerComponent||we),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(re){const je=re.minDate&&!this._dateAdapter.sameDate(re.minDate.previousValue,re.minDate.currentValue)?re.minDate:void 0,Ce=re.maxDate&&!this._dateAdapter.sameDate(re.maxDate.previousValue,re.maxDate.currentValue)?re.maxDate:void 0,ot=je||Ce||re.dateFilter;if(ot&&!ot.firstChange){const ut=this._getCurrentViewComponent();ut&&(this._changeDetectorRef.detectChanges(),ut._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(re){const je=re.value;(this.selected instanceof at||je&&!this._dateAdapter.sameDate(je,this.selected))&&this.selectedChange.emit(je),this._userSelection.emit(re)}_yearSelectedInMultiYearView(re){this.yearSelected.emit(re)}_monthSelectedInYearView(re){this.monthSelected.emit(re)}_goToDateInView(re,je){this.activeDate=re,this.currentView=je}_dragStarted(re){this._activeDrag=re}_dragEnded(re){this._activeDrag&&(re.value&&this._userDragDrop.emit(re),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(Ke),l.rXU(I.MJ,8),l.rXU(I.de,8),l.rXU(l.gRc))};static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["mat-calendar"]],viewQuery:function(je,Ce){if(1&je&&(l.GBs(Et,5),l.GBs(dt,5),l.GBs(tt,5)),2&je){let ot;l.mGM(ot=l.lsd())&&(Ce.monthView=ot.first),l.mGM(ot=l.lsd())&&(Ce.yearView=ot.first),l.mGM(ot=l.lsd())&&(Ce.multiYearView=ot.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[l.Jv_([Ie]),l.OA$,l.aNF],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(je,Ce){if(1&je&&(l.DNE(0,h,0,0,"ng-template",0),l.j41(1,"div",1),l.DNE(2,C,1,11,"mat-month-view",2)(3,k,1,6,"mat-year-view",3)(4,L,1,6,"mat-multi-year-view",3),l.k0s()),2&je){let ot;l.Y8G("cdkPortalOutlet",Ce._calendarHeaderPortal),l.R7$(2),l.vxM("month"===(ot=Ce.currentView)?2:"year"===ot?3:"multi-year"===ot?4:-1)}},dependencies:[w.I3,e.vR,Et,dt,tt],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Zt})();const q={transformPanel:(0,ee.hZ)("transformPanel",[(0,ee.kY)("void => enter-dropdown",(0,ee.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.i7)([(0,ee.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,ee.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,ee.kY)("void => enter-dialog",(0,ee.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.i7)([(0,ee.iF)({opacity:0,transform:"scale(0.7)"}),(0,ee.iF)({transform:"none",opacity:1})]))),(0,ee.kY)("* => void",(0,ee.i0)("100ms linear",(0,ee.iF)({opacity:0})))]),fadeInCalendar:(0,ee.hZ)("fadeInCalendar",[(0,ee.wk)("void",(0,ee.iF)({opacity:0})),(0,ee.wk)("enter",(0,ee.iF)({opacity:1})),(0,ee.kY)("void => *",(0,ee.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Re=0;const Ne=new l.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const Zt=(0,l.WQX)(t.hJ);return()=>Zt.scrollStrategies.reposition()}}),$e={provide:Ne,deps:[t.hJ],useFactory:function gt(Zt){return()=>Zt.scrollStrategies.reposition()}};let Fe=(()=>{class Zt{constructor(re,je,Ce,ot,ut,ii){this._elementRef=re,this._changeDetectorRef=je,this._globalModel=Ce,this._dateAdapter=ot,this._rangeSelectionStrategy=ut,this._subscriptions=new T.yU,this._animationDone=new d.B,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=ii.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(re){const je=this._model.selection,Ce=re.value,ot=je instanceof at;if(ot&&this._rangeSelectionStrategy){const ut=this._rangeSelectionStrategy.selectionFinished(Ce,je,re.event);this._model.updateSelection(ut,this)}else Ce&&(ot||!this._dateAdapter.sameDate(Ce,je))&&this._model.add(Ce);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(re){this._model.updateSelection(re.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(re){this._isAnimating="start"===re.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(re,je){this._model=re?this._globalModel.clone():this._globalModel,this._actionsPortal=re,je&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(l.aKT),l.rXU(l.gRc),l.rXU(pt),l.rXU(I.MJ),l.rXU(yt,8),l.rXU(Ke))};static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["mat-datepicker-content"]],viewQuery:function(je,Ce){if(1&je&&l.GBs(he,5),2&je){let ot;l.mGM(ot=l.lsd())&&(Ce._calendar=ot.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(je,Ce){1&je&&l.Kam("@transformPanel.start",function(ut){return Ce._handleAnimationEvent(ut)})("@transformPanel.done",function(ut){return Ce._handleAnimationEvent(ut)}),2&je&&(l.zvX("@transformPanel",Ce._animationState),l.HbH(Ce.color?"mat-"+Ce.color:""),l.AVh("mat-datepicker-content-touch",Ce.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[l.aNF],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(je,Ce){if(1&je&&(l.j41(0,"div",0)(1,"mat-calendar",1),l.bIt("yearSelected",function(ut){return Ce.datepicker._selectYear(ut)})("monthSelected",function(ut){return Ce.datepicker._selectMonth(ut)})("viewChanged",function(ut){return Ce.datepicker._viewChanged(ut)})("_userSelection",function(ut){return Ce._handleUserSelection(ut)})("_userDragDrop",function(ut){return Ce._handleUserDragDrop(ut)}),l.k0s(),l.DNE(2,_,0,0,"ng-template",2),l.j41(3,"button",3),l.bIt("focus",function(){return Ce._closeButtonFocused=!0})("blur",function(){return Ce._closeButtonFocused=!1})("click",function(){return Ce.datepicker.close()}),l.EFF(4),l.k0s()()),2&je){let ot;l.AVh("mat-datepicker-content-container-with-custom-header",Ce.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Ce._actionsPortal),l.BMQ("aria-modal",!0)("aria-labelledby",null!==(ot=Ce._dialogLabelId)&&void 0!==ot?ot:void 0),l.R7$(),l.HbH(Ce.datepicker.panelClass),l.Y8G("id",Ce.datepicker.id)("startAt",Ce.datepicker.startAt)("startView",Ce.datepicker.startView)("minDate",Ce.datepicker._getMinDate())("maxDate",Ce.datepicker._getMaxDate())("dateFilter",Ce.datepicker._getDateFilter())("headerComponent",Ce.datepicker.calendarHeaderComponent)("selected",Ce._getSelected())("dateClass",Ce.datepicker.dateClass)("comparisonStart",Ce.comparisonStart)("comparisonEnd",Ce.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",Ce.startDateAccessibleName)("endDateAccessibleName",Ce.endDateAccessibleName),l.R7$(),l.Y8G("cdkPortalOutlet",Ce._actionsPortal),l.R7$(),l.AVh("cdk-visually-hidden",!Ce._closeButtonFocused),l.Y8G("color",Ce.color||"primary"),l.R7$(),l.JRh(Ce._closeButtonText)}},dependencies:[e.kB,he,w.I3,x.$z],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[q.transformPanel,q.fadeInCalendar]},changeDetection:0})}return Zt})(),Ge=(()=>{class Zt{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(re){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(re){this._color=re}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(re){re!==this._disabled&&(this._disabled=re,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(re){this._panelClass=(0,J.cc)(re)}get opened(){return this._opened}set opened(re){re?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(re,je,Ce,ot,ut,ii,si){this._overlay=re,this._ngZone=je,this._viewContainerRef=Ce,this._dateAdapter=ut,this._dir=ii,this._model=si,this._inputStateChanges=T.yU.EMPTY,this._document=(0,l.WQX)(S.qQ),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new l.bkB,this.monthSelected=new l.bkB,this.viewChanged=new l.bkB(!0),this.openedStream=new l.bkB,this.closedStream=new l.bkB,this._opened=!1,this.id="mat-datepicker-"+Re++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.B,this._scrollStrategy=ot}ngOnChanges(re){const je=re.xPosition||re.yPosition;if(je&&!je.firstChange&&this._overlayRef){const Ce=this._overlayRef.getConfig().positionStrategy;Ce instanceof t.rW&&(this._setConnectedPositions(Ce),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(re){this._model.add(re)}_selectYear(re){this.yearSelected.emit(re)}_selectMonth(re){this.monthSelected.emit(re)}_viewChanged(re){this.viewChanged.emit(re)}registerInput(re){return this._inputStateChanges.unsubscribe(),this.datepickerInput=re,this._inputStateChanges=re.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(re){this._actionsPortal=re,this._componentRef?.instance._assignActions(re,!0)}removeActions(re){re===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,W.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const re=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,je=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Ce,location:ot}=this._componentRef;Ce._startExitAnimation(),Ce._animationDone.pipe((0,$.s)(1)).subscribe(()=>{const ut=this._document.activeElement;re&&(!ut||ut===this._document.activeElement||ot.nativeElement.contains(ut))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}re?setTimeout(je):je()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(re){re.datepicker=this,re.color=this.color,re._dialogLabelId=this.datepickerInput.getOverlayLabelId(),re._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const re=this.touchUi,je=new w.A8(Fe,this._viewContainerRef),Ce=this._overlayRef=this._overlay.create(new t.rR({positionStrategy:re?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[re?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:re?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(re?"dialog":"popup")}));this._getCloseStream(Ce).subscribe(ot=>{ot&&ot.preventDefault(),this.close()}),Ce.keydownEvents().subscribe(ot=>{const ut=ot.keyCode;(ut===R.i7||ut===R.n6||ut===R.UQ||ut===R.LE||ut===R.w_||ut===R.dB)&&ot.preventDefault()}),this._componentRef=Ce.attach(je),this._forwardContentValues(this._componentRef.instance),re||this._ngZone.onStable.pipe((0,$.s)(1)).subscribe(()=>Ce.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const re=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(re)}_setConnectedPositions(re){const je="end"===this.xPosition?"end":"start",Ce="start"===je?"end":"start",ot="above"===this.yPosition?"bottom":"top",ut="top"===ot?"bottom":"top";return re.withPositions([{originX:je,originY:ut,overlayX:je,overlayY:ot},{originX:je,originY:ot,overlayX:je,overlayY:ut},{originX:Ce,originY:ut,overlayX:Ce,overlayY:ot},{originX:Ce,originY:ot,overlayX:Ce,overlayY:ut}])}_getCloseStream(re){const je=["ctrlKey","shiftKey","metaKey"];return(0,y.h)(re.backdropClick(),re.detachments(),re.keydownEvents().pipe((0,Q.p)(Ce=>Ce.keyCode===R._f&&!(0,R.rp)(Ce)||this.datepickerInput&&(0,R.rp)(Ce,"altKey")&&Ce.keyCode===R.i7&&je.every(ot=>!(0,R.rp)(Ce,ot)))))}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(t.hJ),l.rXU(l.SKi),l.rXU(l.c1b),l.rXU(Ne),l.rXU(I.MJ,8),l.rXU(z.dS,8),l.rXU(pt))};static#t=this.\u0275dir=l.FsC({type:Zt,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",l.L39],disabled:[2,"disabled","disabled",l.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",l.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",l.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[l.GFd,l.OA$]})}return Zt})(),et=(()=>{class Zt extends Ge{static#e=this.\u0275fac=(()=>{let re;return function(Ce){return(re||(re=l.xGo(Zt)))(Ce||Zt)}})();static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[l.Jv_([Ie,{provide:Ge,useExisting:Zt}]),l.Vt3,l.aNF],decls:0,vars:0,template:function(je,Ce){},encapsulation:2,changeDetection:0})}return Zt})();class st{constructor(bt,re){this.target=bt,this.targetElement=re,this.value=this.target.value}}let Tt=(()=>{class Zt{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(re){this._assignValueProgrammatically(re)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(re){const je=re,Ce=this._elementRef.nativeElement;this._disabled!==je&&(this._disabled=je,this.stateChanges.next(void 0)),je&&this._isInitialized&&Ce.blur&&Ce.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(re){this._model=re,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(je=>{if(this._shouldHandleChangeEvent(je)){const Ce=this._getValueFromModel(je.selection);this._lastValueValid=this._isValidValue(Ce),this._cvaOnChange(Ce),this._onTouched(),this._formatValue(Ce),this.dateInput.emit(new st(this,this._elementRef.nativeElement)),this.dateChange.emit(new st(this,this._elementRef.nativeElement))}})}constructor(re,je,Ce){this._elementRef=re,this._dateAdapter=je,this._dateFormats=Ce,this.dateChange=new l.bkB,this.dateInput=new l.bkB,this.stateChanges=new d.B,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=T.yU.EMPTY,this._localeSubscription=T.yU.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ot=>{const ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value));return!ut||this._matchesFilter(ut)?null:{matDatepickerFilter:!0}},this._minValidator=ot=>{const ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),ii=this._getMinDate();return!ii||!ut||this._dateAdapter.compareDate(ii,ut)<=0?null:{matDatepickerMin:{min:ii,actual:ut}}},this._maxValidator=ot=>{const ut=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),ii=this._getMaxDate();return!ii||!ut||this._dateAdapter.compareDate(ii,ut)>=0?null:{matDatepickerMax:{max:ii,actual:ut}}},this._lastValueValid=!1,this._localeSubscription=je.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(re){(function mi(Zt,bt){const re=Object.keys(Zt);for(let je of re){const{previousValue:Ce,currentValue:ot}=Zt[je];if(!bt.isDateInstance(Ce)||!bt.isDateInstance(ot))return!0;if(!bt.sameDate(Ce,ot))return!0}return!1})(re,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(re){this._validatorOnChange=re}validate(re){return this._validator?this._validator(re):null}writeValue(re){this._assignValueProgrammatically(re)}registerOnChange(re){this._cvaOnChange=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this.disabled=re}_onKeydown(re){(0,R.rp)(re,"altKey")&&re.keyCode===R.n6&&["ctrlKey","shiftKey","metaKey"].every(ot=>!(0,R.rp)(re,ot))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),re.preventDefault())}_onInput(re){const je=this._lastValueValid;let Ce=this._dateAdapter.parse(re,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ce),Ce=this._dateAdapter.getValidDateOrNull(Ce);const ot=!this._dateAdapter.sameDate(Ce,this.value);!Ce||ot?this._cvaOnChange(Ce):(re&&!this.value&&this._cvaOnChange(Ce),je!==this._lastValueValid&&this._validatorOnChange()),ot&&(this._assignValue(Ce),this.dateInput.emit(new st(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new st(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(re){this._elementRef.nativeElement.value=null!=re?this._dateAdapter.format(re,this._dateFormats.display.dateInput):""}_assignValue(re){this._model?(this._assignValueToModel(re),this._pendingValue=null):this._pendingValue=re}_isValidValue(re){return!re||this._dateAdapter.isValid(re)}_parentDisabled(){return!1}_assignValueProgrammatically(re){re=this._dateAdapter.deserialize(re),this._lastValueValid=this._isValidValue(re),re=this._dateAdapter.getValidDateOrNull(re),this._assignValue(re),this._formatValue(re)}_matchesFilter(re){const je=this._getDateFilter();return!je||je(re)}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(l.aKT),l.rXU(I.MJ,8),l.rXU(I.de,8))};static#t=this.\u0275dir=l.FsC({type:Zt,inputs:{value:"value",disabled:[2,"disabled","disabled",l.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[l.GFd,l.OA$]})}return Zt})();const Kt={provide:ie.kq,useExisting:(0,l.Rfq)(()=>Xi),multi:!0},Pt={provide:ie.cz,useExisting:(0,l.Rfq)(()=>Xi),multi:!0};let Xi=(()=>{class Zt extends Tt{set matDatepicker(re){re&&(this._datepicker=re,this._closedSubscription=re.closedStream.subscribe(()=>this._onTouched()),this._registerModel(re.registerInput(this)))}get min(){return this._min}set min(re){const je=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re));this._dateAdapter.sameDate(je,this._min)||(this._min=je,this._validatorOnChange())}get max(){return this._max}set max(re){const je=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(re));this._dateAdapter.sameDate(je,this._max)||(this._max=je,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(re){const je=this._matchesFilter(this.value);this._dateFilter=re,this._matchesFilter(this.value)!==je&&this._validatorOnChange()}constructor(re,je,Ce,ot){super(re,je,Ce),this._formField=ot,this._closedSubscription=T.yU.EMPTY,this._validator=ie.k0.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(re){return re}_assignValueToModel(re){this._model&&this._model.updateSelection(re,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(re){return re.source!==this}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(l.aKT),l.rXU(I.MJ,8),l.rXU(I.de,8),l.rXU(ge.xb,8))};static#t=this.\u0275dir=l.FsC({type:Zt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(je,Ce){1&je&&l.bIt("input",function(ut){return Ce._onInput(ut.target.value)})("change",function(){return Ce._onChange()})("blur",function(){return Ce._onBlur()})("keydown",function(ut){return Ce._onKeydown(ut)}),2&je&&(l.Mr5("disabled",Ce.disabled),l.BMQ("aria-haspopup",Ce._datepicker?"dialog":null)("aria-owns",(null==Ce._datepicker?null:Ce._datepicker.opened)&&Ce._datepicker.id||null)("min",Ce.min?Ce._dateAdapter.toIso8601(Ce.min):null)("max",Ce.max?Ce._dateAdapter.toIso8601(Ce.max):null)("data-mat-calendar",Ce._datepicker?Ce._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[l.Jv_([Kt,Pt,{provide:ae.Oh,useExisting:Zt}]),l.Vt3]})}return Zt})(),di=(()=>{class Zt{static#e=this.\u0275fac=function(je){return new(je||Zt)};static#t=this.\u0275dir=l.FsC({type:Zt,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}return Zt})(),fi=(()=>{class Zt{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(re){this._disabled=re}constructor(re,je,Ce){this._intl=re,this._changeDetectorRef=je,this._stateChanges=T.yU.EMPTY;const ot=Number(Ce);this.tabIndex=ot||0===ot?ot:null}ngOnChanges(re){re.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(re){this.datepicker&&!this.disabled&&(this.datepicker.open(),re.stopPropagation())}_watchStateChanges(){const re=this.datepicker?this.datepicker.stateChanges:(0,F.of)(),je=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,F.of)(),Ce=this.datepicker?(0,y.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,F.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,y.h)(this._intl.changes,re,je,Ce).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(je){return new(je||Zt)(l.rXU(Ke),l.rXU(l.gRc),l.kS0("tabindex"))};static#t=this.\u0275cmp=l.VBU({type:Zt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(je,Ce,ot){if(1&je&&l.wni(ot,di,5),2&je){let ut;l.mGM(ut=l.lsd())&&(Ce._customIcon=ut.first)}},viewQuery:function(je,Ce){if(1&je&&l.GBs(r,5),2&je){let ot;l.mGM(ot=l.lsd())&&(Ce._button=ot.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(je,Ce){1&je&&l.bIt("click",function(ut){return Ce._open(ut)}),2&je&&(l.BMQ("tabindex",null)("data-mat-calendar",Ce.datepicker?Ce.datepicker.id:null),l.AVh("mat-datepicker-toggle-active",Ce.datepicker&&Ce.datepicker.opened)("mat-accent",Ce.datepicker&&"accent"===Ce.datepicker.color)("mat-warn",Ce.datepicker&&"warn"===Ce.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",l.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[l.GFd,l.OA$,l.aNF],ngContentSelectors:V,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(je,Ce){1&je&&(l.NAR(v),l.j41(0,"button",1,0),l.DNE(2,N,2,0,":svg:svg",2),l.SdG(3),l.k0s()),2&je&&(l.Y8G("disabled",Ce.disabled)("disableRipple",Ce.disableRipple),l.BMQ("aria-haspopup",Ce.datepicker?"dialog":null)("aria-label",Ce.ariaLabel||Ce._intl.openCalendarLabel)("tabindex",Ce.disabled?-1:Ce.tabIndex),l.R7$(2),l.vxM(Ce._customIcon?-1:2))},dependencies:[x.iY],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return Zt})(),fn=(()=>{class Zt{static#e=this.\u0275fac=function(je){return new(je||Zt)};static#t=this.\u0275mod=l.$C({type:Zt});static#i=this.\u0275inj=l.G2t({providers:[Ke,$e],imports:[S.MD,x.Hl,t.z_,e.Pd,w.jc,I.yE,Fe,fi,we,f.Gj]})}return Zt})()},5351:(Qe,te,g)=>{"use strict";g.d(te,{Vh:()=>X,di:()=>me,bZ:()=>_e,tx:()=>pe,hM:()=>ue,CP:()=>Ke});var e=g(6969),t=g(177),w=g(4438),S=g(8617),l=g(6860),x=g(6939),f=g(7336),I=g(1413),d=g(9030),T=g(7673),y=g(8203),F=g(9172);function R(Xe,yt){}class z{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let $=(()=>{class Xe extends x.lb{constructor(Ye,rt,Yt,Nt,Et,Vt,oe,tt){super(),this._elementRef=Ye,this._focusTrapFactory=rt,this._config=Nt,this._interactivityChecker=Et,this._ngZone=Vt,this._overlayRef=oe,this._focusMonitor=tt,this._platform=(0,w.WQX)(l.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,w.WQX)(w.gRc),this.attachDomPortal=$t=>{this._portalOutlet.hasAttached();const zt=this._portalOutlet.attachDomPortal($t);return this._contentAttached(),zt},this._document=Yt,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Ye){this._ariaLabelledByQueue.push(Ye),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Ye){const rt=this._ariaLabelledByQueue.indexOf(Ye);rt>-1&&(this._ariaLabelledByQueue.splice(rt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Ye){this._portalOutlet.hasAttached();const rt=this._portalOutlet.attachComponentPortal(Ye);return this._contentAttached(),rt}attachTemplatePortal(Ye){this._portalOutlet.hasAttached();const rt=this._portalOutlet.attachTemplatePortal(Ye);return this._contentAttached(),rt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ye,rt){this._interactivityChecker.isFocusable(Ye)||(Ye.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Yt=()=>{Ye.removeEventListener("blur",Yt),Ye.removeEventListener("mousedown",Yt),Ye.removeAttribute("tabindex")};Ye.addEventListener("blur",Yt),Ye.addEventListener("mousedown",Yt)})),Ye.focus(rt)}_focusByCssSelector(Ye,rt){let Yt=this._elementRef.nativeElement.querySelector(Ye);Yt&&this._forceFocus(Yt,rt)}_trapFocus(){const Ye=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Ye.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(rt=>{rt||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const Ye=this._config.restoreFocus;let rt=null;if("string"==typeof Ye?rt=this._document.querySelector(Ye):"boolean"==typeof Ye?rt=Ye?this._elementFocusedBeforeDialogWasOpened:null:Ye&&(rt=Ye),this._config.restoreFocus&&rt&&"function"==typeof rt.focus){const Yt=(0,l.vc)(),Nt=this._elementRef.nativeElement;(!Yt||Yt===this._document.body||Yt===Nt||Nt.contains(Yt))&&(this._focusMonitor?(this._focusMonitor.focusVia(rt,this._closeInteractionType),this._closeInteractionType=null):rt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Ye=this._elementRef.nativeElement,rt=(0,l.vc)();return Ye===rt||Ye.contains(rt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,l.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(rt){return new(rt||Xe)(w.rXU(w.aKT),w.rXU(S.GX),w.rXU(t.qQ,8),w.rXU(z),w.rXU(S.Z7),w.rXU(w.SKi),w.rXU(e.yY),w.rXU(S.FN))};static#t=this.\u0275cmp=w.VBU({type:Xe,selectors:[["cdk-dialog-container"]],viewQuery:function(rt,Yt){if(1&rt&&w.GBs(x.I3,7),2&rt){let Nt;w.mGM(Nt=w.lsd())&&(Yt._portalOutlet=Nt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(rt,Yt){2&rt&&w.BMQ("id",Yt._config.id||null)("role",Yt._config.role)("aria-modal",Yt._config.ariaModal)("aria-labelledby",Yt._config.ariaLabel?null:Yt._ariaLabelledByQueue[0])("aria-label",Yt._config.ariaLabel)("aria-describedby",Yt._config.ariaDescribedBy||null)},standalone:!0,features:[w.Vt3,w.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(rt,Yt){1&rt&&w.DNE(0,R,0,0,"ng-template",0)},dependencies:[x.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return Xe})();class j{constructor(yt,Ye){this.overlayRef=yt,this.config=Ye,this.closed=new I.B,this.disableClose=Ye.disableClose,this.backdropClick=yt.backdropClick(),this.keydownEvents=yt.keydownEvents(),this.outsidePointerEvents=yt.outsidePointerEvents(),this.id=Ye.id,this.keydownEvents.subscribe(rt=>{rt.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(rt)&&(rt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=yt.detachments().subscribe(()=>{!1!==Ye.closeOnOverlayDetachments&&this.close()})}close(yt,Ye){if(this.containerInstance){const rt=this.closed;this.containerInstance._closeInteractionType=Ye?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),rt.next(yt),rt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(yt="",Ye=""){return this.overlayRef.updateSize({width:yt,height:Ye}),this}addPanelClass(yt){return this.overlayRef.addPanelClass(yt),this}removePanelClass(yt){return this.overlayRef.removePanelClass(yt),this}}const Q=new w.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const Xe=(0,w.WQX)(e.hJ);return()=>Xe.scrollStrategies.block()}}),J=new w.nKC("DialogData"),ee=new w.nKC("DefaultDialogConfig");let ae=0,Me=(()=>{class Xe{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Ye,rt,Yt,Nt,Et,Vt){this._overlay=Ye,this._injector=rt,this._defaultOptions=Yt,this._parentDialog=Nt,this._overlayContainer=Et,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new I.B,this._afterOpenedAtThisLevel=new I.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,d.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,F.Z)(void 0))),this._scrollStrategy=Vt}open(Ye,rt){(rt={...this._defaultOptions||new z,...rt}).id=rt.id||"cdk-dialog-"+ae++,rt.id&&this.getDialogById(rt.id);const Nt=this._getOverlayConfig(rt),Et=this._overlay.create(Nt),Vt=new j(Et,rt),oe=this._attachContainer(Et,Vt,rt);return Vt.containerInstance=oe,this._attachDialogContent(Ye,Vt,oe,rt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Vt),Vt.closed.subscribe(()=>this._removeOpenDialog(Vt,!0)),this.afterOpened.next(Vt),Vt}closeAll(){Te(this.openDialogs,Ye=>Ye.close())}getDialogById(Ye){return this.openDialogs.find(rt=>rt.id===Ye)}ngOnDestroy(){Te(this._openDialogsAtThisLevel,Ye=>{!1===Ye.config.closeOnDestroy&&this._removeOpenDialog(Ye,!1)}),Te(this._openDialogsAtThisLevel,Ye=>Ye.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ye){const rt=new e.rR({positionStrategy:Ye.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Ye.scrollStrategy||this._scrollStrategy(),panelClass:Ye.panelClass,hasBackdrop:Ye.hasBackdrop,direction:Ye.direction,minWidth:Ye.minWidth,minHeight:Ye.minHeight,maxWidth:Ye.maxWidth,maxHeight:Ye.maxHeight,width:Ye.width,height:Ye.height,disposeOnNavigation:Ye.closeOnNavigation});return Ye.backdropClass&&(rt.backdropClass=Ye.backdropClass),rt}_attachContainer(Ye,rt,Yt){const Nt=Yt.injector||Yt.viewContainerRef?.injector,Et=[{provide:z,useValue:Yt},{provide:j,useValue:rt},{provide:e.yY,useValue:Ye}];let Vt;Yt.container?"function"==typeof Yt.container?Vt=Yt.container:(Vt=Yt.container.type,Et.push(...Yt.container.providers(Yt))):Vt=$;const oe=new x.A8(Vt,Yt.viewContainerRef,w.zZn.create({parent:Nt||this._injector,providers:Et}),Yt.componentFactoryResolver);return Ye.attach(oe).instance}_attachDialogContent(Ye,rt,Yt,Nt){if(Ye instanceof w.C4Q){const Et=this._createInjector(Nt,rt,Yt,void 0);let Vt={$implicit:Nt.data,dialogRef:rt};Nt.templateContext&&(Vt={...Vt,..."function"==typeof Nt.templateContext?Nt.templateContext():Nt.templateContext}),Yt.attachTemplatePortal(new x.VA(Ye,null,Vt,Et))}else{const Et=this._createInjector(Nt,rt,Yt,this._injector),Vt=Yt.attachComponentPortal(new x.A8(Ye,Nt.viewContainerRef,Et,Nt.componentFactoryResolver));rt.componentRef=Vt,rt.componentInstance=Vt.instance}}_createInjector(Ye,rt,Yt,Nt){const Et=Ye.injector||Ye.viewContainerRef?.injector,Vt=[{provide:J,useValue:Ye.data},{provide:j,useValue:rt}];return Ye.providers&&("function"==typeof Ye.providers?Vt.push(...Ye.providers(rt,Ye,Yt)):Vt.push(...Ye.providers)),Ye.direction&&(!Et||!Et.get(y.dS,null,{optional:!0}))&&Vt.push({provide:y.dS,useValue:{value:Ye.direction,change:(0,T.of)()}}),w.zZn.create({parent:Et||Nt,providers:Vt})}_removeOpenDialog(Ye,rt){const Yt=this.openDialogs.indexOf(Ye);Yt>-1&&(this.openDialogs.splice(Yt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Nt,Et)=>{Nt?Et.setAttribute("aria-hidden",Nt):Et.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),rt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Ye=this._overlayContainer.getContainerElement();if(Ye.parentElement){const rt=Ye.parentElement.children;for(let Yt=rt.length-1;Yt>-1;Yt--){const Nt=rt[Yt];Nt!==Ye&&"SCRIPT"!==Nt.nodeName&&"STYLE"!==Nt.nodeName&&!Nt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Nt,Nt.getAttribute("aria-hidden")),Nt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ye=this._parentDialog;return Ye?Ye._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(rt){return new(rt||Xe)(w.KVO(e.hJ),w.KVO(w.zZn),w.KVO(ee,8),w.KVO(Xe,12),w.KVO(e.Sf),w.KVO(Q))};static#t=this.\u0275prov=w.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();function Te(Xe,yt){let Ye=Xe.length;for(;Ye--;)yt(Xe[Ye])}let de=(()=>{class Xe{static#e=this.\u0275fac=function(rt){return new(rt||Xe)};static#t=this.\u0275mod=w.$C({type:Xe});static#i=this.\u0275inj=w.G2t({providers:[Me],imports:[e.z_,x.jc,S.Pd,x.jc]})}return Xe})();var D=g(4085),n=g(7786),c=g(5964),m=g(6697),h=g(6600);function k(Xe,yt){}g(9969);class L{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const _="mdc-dialog--open",r="mdc-dialog--opening",v="mdc-dialog--closing";let ne=(()=>{class Xe extends ${constructor(Ye,rt,Yt,Nt,Et,Vt,oe,tt,$t){super(Ye,rt,Yt,Nt,Et,Vt,oe,$t),this._animationMode=tt,this._animationStateChanged=new w.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ze(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ze(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ee,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(r,_)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(_),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(_),this._animationsEnabled?(this._hostElement.style.setProperty(Ee,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(v)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(Ye){this._actionSectionCount+=Ye,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(r,v)}_waitForAnimationToComplete(Ye,rt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(rt,Ye)}_requestAnimationFrame(Ye){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ye):Ye()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ye){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ye})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Ye){const rt=super.attachComponentPortal(Ye);return rt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),rt}static#e=this.\u0275fac=function(rt){return new(rt||Xe)(w.rXU(w.aKT),w.rXU(S.GX),w.rXU(t.qQ,8),w.rXU(L),w.rXU(S.Z7),w.rXU(w.SKi),w.rXU(e.yY),w.rXU(w.bc$,8),w.rXU(S.FN))};static#t=this.\u0275cmp=w.VBU({type:Xe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(rt,Yt){2&rt&&(w.Mr5("id",Yt._config.id),w.BMQ("aria-modal",Yt._config.ariaModal)("role",Yt._config.role)("aria-labelledby",Yt._config.ariaLabel?null:Yt._ariaLabelledByQueue[0])("aria-label",Yt._config.ariaLabel)("aria-describedby",Yt._config.ariaDescribedBy||null),w.AVh("_mat-animation-noopable",!Yt._animationsEnabled)("mat-mdc-dialog-container-with-actions",Yt._actionSectionCount>0))},standalone:!0,features:[w.Vt3,w.aNF],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(rt,Yt){1&rt&&(w.j41(0,"div",0)(1,"div",1),w.DNE(2,k,0,0,"ng-template",2),w.k0s()())},dependencies:[x.I3],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return Xe})();const Ee="--mat-dialog-transition-duration";function ze(Xe){return null==Xe?null:"number"==typeof Xe?Xe:Xe.endsWith("ms")?(0,D.OE)(Xe.substring(0,Xe.length-2)):Xe.endsWith("s")?1e3*(0,D.OE)(Xe.substring(0,Xe.length-1)):"0"===Xe?0:null}var qe=function(Xe){return Xe[Xe.OPEN=0]="OPEN",Xe[Xe.CLOSING=1]="CLOSING",Xe[Xe.CLOSED=2]="CLOSED",Xe}(qe||{});class Ke{constructor(yt,Ye,rt){this._ref=yt,this._containerInstance=rt,this._afterOpened=new I.B,this._beforeClosed=new I.B,this._state=qe.OPEN,this.disableClose=Ye.disableClose,this.id=yt.id,yt.addPanelClass("mat-mdc-dialog-panel"),rt._animationStateChanged.pipe((0,c.p)(Yt=>"opened"===Yt.state),(0,m.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),rt._animationStateChanged.pipe((0,c.p)(Yt=>"closed"===Yt.state),(0,m.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),yt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,n.h)(this.backdropClick(),this.keydownEvents().pipe((0,c.p)(Yt=>Yt.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(Yt)))).subscribe(Yt=>{this.disableClose||(Yt.preventDefault(),se(this,"keydown"===Yt.type?"keyboard":"mouse"))})}close(yt){this._result=yt,this._containerInstance._animationStateChanged.pipe((0,c.p)(Ye=>"closing"===Ye.state),(0,m.s)(1)).subscribe(Ye=>{this._beforeClosed.next(yt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ye.totalTime+100)}),this._state=qe.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(yt){let Ye=this._ref.config.positionStrategy;return yt&&(yt.left||yt.right)?yt.left?Ye.left(yt.left):Ye.right(yt.right):Ye.centerHorizontally(),yt&&(yt.top||yt.bottom)?yt.top?Ye.top(yt.top):Ye.bottom(yt.bottom):Ye.centerVertically(),this._ref.updatePosition(),this}updateSize(yt="",Ye=""){return this._ref.updateSize(yt,Ye),this}addPanelClass(yt){return this._ref.addPanelClass(yt),this}removePanelClass(yt){return this._ref.removePanelClass(yt),this}getState(){return this._state}_finishDialogClose(){this._state=qe.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function se(Xe,yt,Ye){return Xe._closeInteractionType=yt,Xe.close(Ye)}const X=new w.nKC("MatMdcDialogData"),me=new w.nKC("mat-mdc-dialog-default-options"),ce=new w.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const Xe=(0,w.WQX)(e.hJ);return()=>Xe.scrollStrategies.block()}});let mt=0,_e=(()=>{class Xe{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Ye=this._parentDialog;return Ye?Ye._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(Ye,rt,Yt,Nt,Et,Vt,oe,tt){this._overlay=Ye,this._defaultOptions=Nt,this._scrollStrategy=Et,this._parentDialog=Vt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new I.B,this._afterOpenedAtThisLevel=new I.B,this.dialogConfigClass=L,this.afterAllClosed=(0,d.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,F.Z)(void 0))),this._dialog=rt.get(Me),this._dialogRefConstructor=Ke,this._dialogContainerType=ne,this._dialogDataToken=X}open(Ye,rt){let Yt;(rt={...this._defaultOptions||new L,...rt}).id=rt.id||"mat-mdc-dialog-"+mt++,rt.scrollStrategy=rt.scrollStrategy||this._scrollStrategy();const Nt=this._dialog.open(Ye,{...rt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:rt},{provide:z,useValue:rt}]},templateContext:()=>({dialogRef:Yt}),providers:(Et,Vt,oe)=>(Yt=new this._dialogRefConstructor(Et,rt,oe),Yt.updatePosition(rt?.position),[{provide:this._dialogContainerType,useValue:oe},{provide:this._dialogDataToken,useValue:Vt.data},{provide:this._dialogRefConstructor,useValue:Yt}])});return Yt.componentRef=Nt.componentRef,Yt.componentInstance=Nt.componentInstance,this.openDialogs.push(Yt),this.afterOpened.next(Yt),Yt.afterClosed().subscribe(()=>{const Et=this.openDialogs.indexOf(Yt);Et>-1&&(this.openDialogs.splice(Et,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Yt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ye){return this.openDialogs.find(rt=>rt.id===Ye)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ye){let rt=Ye.length;for(;rt--;)Ye[rt].close()}static#e=this.\u0275fac=function(rt){return new(rt||Xe)(w.KVO(e.hJ),w.KVO(w.zZn),w.KVO(t.aZ,8),w.KVO(me,8),w.KVO(ce),w.KVO(Xe,12),w.KVO(e.Sf),w.KVO(w.bc$,8))};static#t=this.\u0275prov=w.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),pe=(()=>{class Xe{constructor(Ye,rt,Yt){this.dialogRef=Ye,this._elementRef=rt,this._dialog=Yt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function Xt(Xe,yt){let Ye=Xe.nativeElement.parentElement;for(;Ye&&!Ye.classList.contains("mat-mdc-dialog-container");)Ye=Ye.parentElement;return Ye?yt.find(rt=>rt.id===Ye.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ye){const rt=Ye._matDialogClose||Ye._matDialogCloseResult;rt&&(this.dialogResult=rt.currentValue)}_onButtonClick(Ye){se(this.dialogRef,0===Ye.screenX&&0===Ye.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(rt){return new(rt||Xe)(w.rXU(Ke,8),w.rXU(w.aKT),w.rXU(_e))};static#t=this.\u0275dir=w.FsC({type:Xe,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(rt,Yt){1&rt&&w.bIt("click",function(Et){return Yt._onButtonClick(Et)}),2&rt&&w.BMQ("aria-label",Yt.ariaLabel||null)("type",Yt.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[w.OA$]})}return Xe})();let ue=(()=>{class Xe{static#e=this.\u0275fac=function(rt){return new(rt||Xe)};static#t=this.\u0275mod=w.$C({type:Xe});static#i=this.\u0275inj=w.G2t({providers:[_e],imports:[de,e.z_,x.jc,h.yE,h.yE]})}return Xe})()},1997:(Qe,te,g)=>{"use strict";g.d(te,{q:()=>S,w:()=>l});var e=g(4438),t=g(4085),w=g(6600);let S=(()=>{class x{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(I){this._vertical=(0,t.he)(I)}get inset(){return this._inset}set inset(I){this._inset=(0,t.he)(I)}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275cmp=e.VBU({type:x,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,T){2&d&&(e.BMQ("aria-orientation",T.vertical?"vertical":"horizontal"),e.AVh("mat-divider-vertical",T.vertical)("mat-divider-horizontal",!T.vertical)("mat-divider-inset",T.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(d,T){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return x})(),l=(()=>{class x{static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275mod=e.$C({type:x});static#i=this.\u0275inj=e.G2t({imports:[w.yE,w.yE]})}return x})()},9454:(Qe,te,g)=>{"use strict";g.d(te,{BS:()=>ze,MY:()=>qe,GK:()=>r,Q6:()=>ne,Z2:()=>N,WN:()=>Ee});var e=g(4438),t=g(5024),w=g(1413),S=g(8359);let l=0;const x=new e.nKC("CdkAccordion");let f=(()=>{class Ke{constructor(){this._stateChanges=new w.B,this._openCloseAllActions=new w.B,this.id="cdk-accordion-"+l++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(X){this._stateChanges.next(X)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static#e=this.\u0275fac=function(me){return new(me||Ke)};static#t=this.\u0275dir=e.FsC({type:Ke,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",e.L39]},exportAs:["cdkAccordion"],standalone:!0,features:[e.Jv_([{provide:x,useExisting:Ke}]),e.GFd,e.OA$]})}return Ke})(),I=0,d=(()=>{class Ke{get expanded(){return this._expanded}set expanded(X){this._expanded!==X&&(this._expanded=X,this.expandedChange.emit(X),X?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(X,me,ce){this.accordion=X,this._changeDetectorRef=me,this._expansionDispatcher=ce,this._openCloseAllSubscription=S.yU.EMPTY,this.closed=new e.bkB,this.opened=new e.bkB,this.destroyed=new e.bkB,this.expandedChange=new e.bkB,this.id="cdk-accordion-child-"+I++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=ce.listen((fe,ke)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ke&&this.id!==fe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(X=>{this.disabled||(this.expanded=X)})}static#e=this.\u0275fac=function(me){return new(me||Ke)(e.rXU(x,12),e.rXU(e.gRc),e.rXU(t.zP))};static#t=this.\u0275dir=e.FsC({type:Ke,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",e.L39],disabled:[2,"disabled","disabled",e.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[e.Jv_([{provide:x,useValue:void 0}]),e.GFd]})}return Ke})(),T=(()=>{class Ke{static#e=this.\u0275fac=function(me){return new(me||Ke)};static#t=this.\u0275mod=e.$C({type:Ke});static#i=this.\u0275inj=e.G2t({})}return Ke})();var y=g(6939),F=g(6600),R=g(8617),z=g(9172),W=g(5964),$=g(6697),j=g(7336),Q=g(983),J=g(7786),ee=g(9969),ie=g(177);const ge=["body"],ae=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Me=["mat-expansion-panel-header","*","mat-action-row"];function Te(Ke,se){}const de=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],D=["mat-panel-title","mat-panel-description","*"];function n(Ke,se){if(1&Ke&&(e.j41(0,"span",1),e.qSk(),e.j41(1,"svg",2),e.nrm(2,"path",3),e.k0s()()),2&Ke){const X=e.XpG();e.Y8G("@indicatorRotate",X._getExpandedState())}}const c=new e.nKC("MAT_ACCORDION"),m="225ms cubic-bezier(0.4,0.0,0.2,1)",h={indicatorRotate:(0,ee.hZ)("indicatorRotate",[(0,ee.wk)("collapsed, void",(0,ee.iF)({transform:"rotate(0deg)"})),(0,ee.wk)("expanded",(0,ee.iF)({transform:"rotate(180deg)"})),(0,ee.kY)("expanded <=> collapsed, void => collapsed",(0,ee.i0)(m))]),bodyExpansion:(0,ee.hZ)("bodyExpansion",[(0,ee.wk)("collapsed, void",(0,ee.iF)({height:"0px",visibility:"hidden"})),(0,ee.wk)("expanded",(0,ee.iF)({height:"*",visibility:""})),(0,ee.kY)("expanded <=> collapsed, void => collapsed",(0,ee.i0)(m))])},C=new e.nKC("MAT_EXPANSION_PANEL");let k=(()=>{class Ke{constructor(X,me){this._template=X,this._expansionPanel=me}static#e=this.\u0275fac=function(me){return new(me||Ke)(e.rXU(e.C4Q),e.rXU(C,8))};static#t=this.\u0275dir=e.FsC({type:Ke,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}return Ke})(),L=0;const _=new e.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let r=(()=>{class Ke extends d{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(X){this._hideToggle=X}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(X){this._togglePosition=X}constructor(X,me,ce,fe,ke,mt,_e){super(X,me,ce),this._viewContainerRef=fe,this._animationMode=mt,this._hideToggle=!1,this.afterExpand=new e.bkB,this.afterCollapse=new e.bkB,this._inputChanges=new w.B,this._headerId="mat-expansion-panel-header-"+L++,this.accordion=X,this._document=ke,this._animationsDisabled="NoopAnimations"===mt,_e&&(this.hideToggle=_e.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,z.Z)(null),(0,W.p)(()=>this.expanded&&!this._portal),(0,$.s)(1)).subscribe(()=>{this._portal=new y.VA(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(X){this._inputChanges.next(X)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){const X=this._document.activeElement,me=this._body.nativeElement;return X===me||me.contains(X)}return!1}_animationStarted(X){!v(X)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(X){v(X)||("expanded"===X.toState?this.afterExpand.emit():"collapsed"===X.toState&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static#e=this.\u0275fac=function(me){return new(me||Ke)(e.rXU(c,12),e.rXU(e.gRc),e.rXU(t.zP),e.rXU(e.c1b),e.rXU(ie.qQ),e.rXU(e.bc$,8),e.rXU(_,8))};static#t=this.\u0275cmp=e.VBU({type:Ke,selectors:[["mat-expansion-panel"]],contentQueries:function(me,ce,fe){if(1&me&&e.wni(fe,k,5),2&me){let ke;e.mGM(ke=e.lsd())&&(ce._lazyContent=ke.first)}},viewQuery:function(me,ce){if(1&me&&e.GBs(ge,5),2&me){let fe;e.mGM(fe=e.lsd())&&(ce._body=fe.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(me,ce){2&me&&e.AVh("mat-expanded",ce.expanded)("_mat-animation-noopable",ce._animationsDisabled)("mat-expansion-panel-spacing",ce._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",e.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[e.Jv_([{provide:c,useValue:void 0},{provide:C,useExisting:Ke}]),e.GFd,e.Vt3,e.OA$,e.aNF],ngContentSelectors:Me,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(me,ce){if(1&me){const fe=e.RV6();e.NAR(ae),e.SdG(0),e.j41(1,"div",1,0),e.bIt("@bodyExpansion.start",function(mt){return e.eBV(fe),e.Njj(ce._animationStarted(mt))})("@bodyExpansion.done",function(mt){return e.eBV(fe),e.Njj(ce._animationDone(mt))}),e.j41(3,"div",2),e.SdG(4,1),e.DNE(5,Te,0,0,"ng-template",3),e.k0s(),e.SdG(6,2),e.k0s()}2&me&&(e.R7$(),e.Y8G("@bodyExpansion",ce._getExpandedState())("id",ce.id),e.BMQ("aria-labelledby",ce._headerId),e.R7$(4),e.Y8G("cdkPortalOutlet",ce._portal))},dependencies:[y.I3],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[h.bodyExpansion]},changeDetection:0})}return Ke})();function v(Ke){return"void"===Ke.fromState}let N=(()=>{class Ke{constructor(X,me,ce,fe,ke,mt,_e){this.panel=X,this._element=me,this._focusMonitor=ce,this._changeDetectorRef=fe,this._animationMode=mt,this._parentChangeSubscription=S.yU.EMPTY,this.tabIndex=0;const be=X.accordion?X.accordion._stateChanges.pipe((0,W.p)(pe=>!(!pe.hideToggle&&!pe.togglePosition))):Q.w;this.tabIndex=parseInt(_e||"")||0,this._parentChangeSubscription=(0,J.h)(X.opened,X.closed,be,X._inputChanges.pipe((0,W.p)(pe=>!!(pe.hideToggle||pe.disabled||pe.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),X.closed.pipe((0,W.p)(()=>X._containsFocus())).subscribe(()=>ce.focusVia(me,"program")),ke&&(this.expandedHeight=ke.expandedHeight,this.collapsedHeight=ke.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const X=this._isExpanded();return X&&this.expandedHeight?this.expandedHeight:!X&&this.collapsedHeight?this.collapsedHeight:null}_keydown(X){switch(X.keyCode){case j.t6:case j.Fm:(0,j.rp)(X)||(X.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(X))}}focus(X,me){X?this._focusMonitor.focusVia(this._element,X,me):this._element.nativeElement.focus(me)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(X=>{X&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(me){return new(me||Ke)(e.rXU(r,1),e.rXU(e.aKT),e.rXU(R.FN),e.rXU(e.gRc),e.rXU(_,8),e.rXU(e.bc$,8),e.kS0("tabindex"))};static#t=this.\u0275cmp=e.VBU({type:Ke,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(me,ce){1&me&&e.bIt("click",function(){return ce._toggle()})("keydown",function(ke){return ce._keydown(ke)}),2&me&&(e.BMQ("id",ce.panel._headerId)("tabindex",ce.disabled?-1:ce.tabIndex)("aria-controls",ce._getPanelId())("aria-expanded",ce._isExpanded())("aria-disabled",ce.panel.disabled),e.xc7("height",ce._getHeaderHeight()),e.AVh("mat-expanded",ce._isExpanded())("mat-expansion-toggle-indicator-after","after"===ce._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===ce._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===ce._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",X=>null==X?0:(0,e.Udg)(X)]},standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:D,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(me,ce){1&me&&(e.NAR(de),e.j41(0,"span",0),e.SdG(1),e.SdG(2,1),e.SdG(3,2),e.k0s(),e.DNE(4,n,3,1,"span",1)),2&me&&(e.AVh("mat-content-hide-toggle",!ce._showToggle()),e.R7$(4),e.vxM(ce._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[h.indicatorRotate]},changeDetection:0})}return Ke})(),ne=(()=>{class Ke{static#e=this.\u0275fac=function(me){return new(me||Ke)};static#t=this.\u0275dir=e.FsC({type:Ke,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0})}return Ke})(),Ee=(()=>{class Ke{static#e=this.\u0275fac=function(me){return new(me||Ke)};static#t=this.\u0275dir=e.FsC({type:Ke,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}return Ke})(),ze=(()=>{class Ke extends f{constructor(){super(...arguments),this._ownHeaders=new e.rOR,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe((0,z.Z)(this._headers)).subscribe(X=>{this._ownHeaders.reset(X.filter(me=>me.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new R.Bu(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(X){this._keyManager.onKeydown(X)}_handleHeaderFocus(X){this._keyManager.updateActiveItem(X)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static#e=this.\u0275fac=(()=>{let X;return function(ce){return(X||(X=e.xGo(Ke)))(ce||Ke)}})();static#t=this.\u0275dir=e.FsC({type:Ke,selectors:[["mat-accordion"]],contentQueries:function(me,ce,fe){if(1&me&&e.wni(fe,N,5),2&me){let ke;e.mGM(ke=e.lsd())&&(ce._headers=ke)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(me,ce){2&me&&e.AVh("mat-accordion-multi",ce.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",e.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[e.Jv_([{provide:c,useExisting:Ke}]),e.GFd,e.Vt3]})}return Ke})(),qe=(()=>{class Ke{static#e=this.\u0275fac=function(me){return new(me||Ke)};static#t=this.\u0275mod=e.$C({type:Ke});static#i=this.\u0275inj=e.G2t({imports:[F.yE,T,y.jc]})}return Ke})()},6467:(Qe,te,g)=>{"use strict";g.d(te,{xb:()=>Yt,TL:()=>fe,rl:()=>zt,qT:()=>Xe,RG:()=>Jt,MV:()=>mt,nJ:()=>X,yw:()=>Ze});var e=g(4438),t=g(8203),w=g(6860),S=g(8359),l=g(1413),x=g(7786),f=g(6977),I=g(1985),d=g(5964),T=g(2771),y=g(7647);class z{constructor(dt){this._box=dt,this._destroyed=new l.B,this._resizeSubject=new l.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Ae=>this._resizeSubject.next(Ae)))}observe(dt){return this._elementObservables.has(dt)||this._elementObservables.set(dt,new I.c(Ae=>{const we=this._resizeSubject.subscribe(Ae);return this._resizeObserver?.observe(dt,{box:this._box}),()=>{this._resizeObserver?.unobserve(dt),we.unsubscribe(),this._elementObservables.delete(dt)}}).pipe((0,d.p)(Ae=>Ae.some(we=>we.target===dt)),function F(St,dt,Ae){let we,he=!1;return St&&"object"==typeof St?({bufferSize:we=1/0,windowTime:dt=1/0,refCount:he=!1,scheduler:Ae}=St):we=St??1/0,(0,y.u)({connector:()=>new T.m(we,dt,Ae),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:he})}({bufferSize:1,refCount:!0}),(0,f.Q)(this._destroyed))),this._elementObservables.get(dt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let W=(()=>{class St{constructor(){this._observers=new Map,this._ngZone=(0,e.WQX)(e.SKi)}ngOnDestroy(){for(const[,Ae]of this._observers)Ae.destroy();this._observers.clear()}observe(Ae,we){const he=we?.box||"content-box";return this._observers.has(he)||this._observers.set(he,new z(he)),this._observers.get(he).observe(Ae)}static#e=this.\u0275fac=function(we){return new(we||St)};static#t=this.\u0275prov=e.jDH({token:St,factory:St.\u0275fac,providedIn:"root"})}return St})();var $=g(4085),j=g(9969),Q=g(177),J=g(2318),ee=g(6600);const ie=["notch"],ge=["matFormFieldNotchedOutline",""],ae=["*"],Me=["textField"],Te=["iconPrefixContainer"],de=["textPrefixContainer"],D=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],n=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function c(St,dt){1&St&&e.nrm(0,"span",19)}function m(St,dt){if(1&St&&(e.j41(0,"label",18),e.SdG(1,1),e.DNE(2,c,1,0,"span",19),e.k0s()),2&St){const Ae=e.XpG(2);e.Y8G("floating",Ae._shouldLabelFloat())("monitorResize",Ae._hasOutline())("id",Ae._labelId),e.BMQ("for",Ae._control.disableAutomaticLabeling?null:Ae._control.id),e.R7$(2),e.vxM(!Ae.hideRequiredMarker&&Ae._control.required?2:-1)}}function h(St,dt){if(1&St&&e.DNE(0,m,3,5,"label",18),2&St){const Ae=e.XpG();e.vxM(Ae._hasFloatingLabel()?0:-1)}}function C(St,dt){1&St&&e.nrm(0,"div",5)}function k(St,dt){}function L(St,dt){if(1&St&&e.DNE(0,k,0,0,"ng-template",11),2&St){e.XpG(2);const Ae=e.sdS(1);e.Y8G("ngTemplateOutlet",Ae)}}function _(St,dt){if(1&St&&(e.j41(0,"div",7),e.DNE(1,L,1,1,null,11),e.k0s()),2&St){const Ae=e.XpG();e.Y8G("matFormFieldNotchedOutlineOpen",Ae._shouldLabelFloat()),e.R7$(),e.vxM(Ae._forceDisplayInfixLabel()?-1:1)}}function r(St,dt){1&St&&(e.j41(0,"div",8,2),e.SdG(2,2),e.k0s())}function v(St,dt){1&St&&(e.j41(0,"div",9,3),e.SdG(2,3),e.k0s())}function V(St,dt){}function N(St,dt){if(1&St&&e.DNE(0,V,0,0,"ng-template",11),2&St){e.XpG();const Ae=e.sdS(1);e.Y8G("ngTemplateOutlet",Ae)}}function ne(St,dt){1&St&&(e.j41(0,"div",12),e.SdG(1,4),e.k0s())}function Ee(St,dt){1&St&&(e.j41(0,"div",13),e.SdG(1,5),e.k0s())}function ze(St,dt){1&St&&e.nrm(0,"div",14)}function qe(St,dt){if(1&St&&(e.j41(0,"div",16),e.SdG(1,6),e.k0s()),2&St){const Ae=e.XpG();e.Y8G("@transitionMessages",Ae._subscriptAnimationState)}}function Ke(St,dt){if(1&St&&(e.j41(0,"mat-hint",20),e.EFF(1),e.k0s()),2&St){const Ae=e.XpG(2);e.Y8G("id",Ae._hintLabelId),e.R7$(),e.JRh(Ae.hintLabel)}}function se(St,dt){if(1&St&&(e.j41(0,"div",17),e.DNE(1,Ke,2,2,"mat-hint",20),e.SdG(2,7),e.nrm(3,"div",21),e.SdG(4,8),e.k0s()),2&St){const Ae=e.XpG();e.Y8G("@transitionMessages",Ae._subscriptAnimationState),e.R7$(),e.vxM(Ae.hintLabel?1:-1)}}let X=(()=>{class St{static#e=this.\u0275fac=function(we){return new(we||St)};static#t=this.\u0275dir=e.FsC({type:St,selectors:[["mat-label"]],standalone:!0})}return St})(),me=0;const ce=new e.nKC("MatError");let fe=(()=>{class St{constructor(Ae,we){this.id="mat-mdc-error-"+me++,Ae||we.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(we){return new(we||St)(e.kS0("aria-live"),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:St,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(we,he){2&we&&e.Mr5("id",he.id)},inputs:{id:"id"},standalone:!0,features:[e.Jv_([{provide:ce,useExisting:St}])]})}return St})(),ke=0,mt=(()=>{class St{constructor(){this.align="start",this.id="mat-mdc-hint-"+ke++}static#e=this.\u0275fac=function(we){return new(we||St)};static#t=this.\u0275dir=e.FsC({type:St,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(we,he){2&we&&(e.Mr5("id",he.id),e.BMQ("align",null),e.AVh("mat-mdc-form-field-hint-end","end"===he.align))},inputs:{align:"align",id:"id"},standalone:!0})}return St})();const _e=new e.nKC("MatPrefix"),pe=new e.nKC("MatSuffix");let Ze=(()=>{class St{constructor(){this._isText=!1}set _isTextSelector(Ae){this._isText=!0}static#e=this.\u0275fac=function(we){return new(we||St)};static#t=this.\u0275dir=e.FsC({type:St,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[e.Jv_([{provide:pe,useExisting:St}])]})}return St})();const _t=new e.nKC("FloatingLabelParent");let at=(()=>{class St{get floating(){return this._floating}set floating(Ae){this._floating=Ae,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Ae){this._monitorResize=Ae,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Ae){this._elementRef=Ae,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.WQX)(W),this._ngZone=(0,e.WQX)(e.SKi),this._parent=(0,e.WQX)(_t),this._resizeSubscription=new S.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function pt(St){if(null!==St.offsetParent)return St.scrollWidth;const Ae=St.cloneNode(!0);Ae.style.setProperty("position","absolute"),Ae.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ae);const we=Ae.scrollWidth;return Ae.remove(),we}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(we){return new(we||St)(e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:St,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(we,he){2&we&&e.AVh("mdc-floating-label--float-above",he.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return St})();const Xt="mdc-line-ripple--active",ye="mdc-line-ripple--deactivating";let ue=(()=>{class St{constructor(Ae,we){this._elementRef=Ae,this._handleTransitionEnd=he=>{const q=this._elementRef.nativeElement.classList,Re=q.contains(ye);"opacity"===he.propertyName&&Re&&q.remove(Xt,ye)},we.runOutsideAngular(()=>{Ae.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Ae=this._elementRef.nativeElement.classList;Ae.remove(ye),Ae.add(Xt)}deactivate(){this._elementRef.nativeElement.classList.add(ye)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(we){return new(we||St)(e.rXU(e.aKT),e.rXU(e.SKi))};static#t=this.\u0275dir=e.FsC({type:St,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return St})(),Ie=(()=>{class St{constructor(Ae,we){this._elementRef=Ae,this._ngZone=we,this.open=!1}ngAfterViewInit(){const Ae=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Ae?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ae.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ae.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Ae){this._notch.nativeElement.style.width=this.open&&Ae?`calc(${Ae}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(we){return new(we||St)(e.rXU(e.aKT),e.rXU(e.SKi))};static#t=this.\u0275cmp=e.VBU({type:St,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(we,he){if(1&we&&e.GBs(ie,5),2&we){let q;e.mGM(q=e.lsd())&&(he._notch=q.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(we,he){2&we&&e.AVh("mdc-notched-outline--notched",he.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[e.aNF],attrs:ge,ngContentSelectors:ae,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(we,he){1&we&&(e.NAR(),e.nrm(0,"div",1),e.j41(1,"div",2,0),e.SdG(3),e.k0s(),e.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return St})();const He={transitionMessages:(0,j.hZ)("transitionMessages",[(0,j.wk)("enter",(0,j.iF)({opacity:1,transform:"translateY(0%)"})),(0,j.kY)("void => enter",[(0,j.iF)({opacity:0,transform:"translateY(-5px)"}),(0,j.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Xe=(()=>{class St{static#e=this.\u0275fac=function(we){return new(we||St)};static#t=this.\u0275dir=e.FsC({type:St})}return St})();const Yt=new e.nKC("MatFormField"),Nt=new e.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Et=0,zt=(()=>{class St{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ae){this._hideRequiredMarker=(0,$.he)(Ae)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ae){Ae!==this._floatLabel&&(this._floatLabel=Ae,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Ae){const we=this._appearance;this._appearance=Ae||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==we&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ae){this._subscriptSizing=Ae||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Ae){this._hintLabel=Ae,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ae){this._explicitFormFieldControl=Ae}constructor(Ae,we,he,q,Re,Ne,gt,$e){this._elementRef=Ae,this._changeDetectorRef=we,this._ngZone=he,this._dir=q,this._platform=Re,this._defaults=Ne,this._animationMode=gt,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Et++,this._hintLabelId="mat-mdc-hint-"+Et++,this._subscriptAnimationState="",this._destroyed=new l.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Ne&&(Ne.appearance&&(this.appearance=Ne.appearance),this._hideRequiredMarker=!!Ne?.hideRequiredMarker,Ne.color&&(this.color=Ne.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Ae=this._control;Ae.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Ae.controlType}`),Ae.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ae.ngControl&&Ae.ngControl.valueChanges&&Ae.ngControl.valueChanges.pipe((0,f.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ae=>!Ae._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ae=>Ae._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ae=>!Ae._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ae=>Ae._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,x.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,f.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,f.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Ae){const we=this._control?this._control.ngControl:null;return we&&we[Ae]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ae=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ae.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const we=this._hintChildren?this._hintChildren.find(q=>"start"===q.align):null,he=this._hintChildren?this._hintChildren.find(q=>"end"===q.align):null;we?Ae.push(we.id):this._hintLabel&&Ae.push(this._hintLabelId),he&&Ae.push(he.id)}else this._errorChildren&&Ae.push(...this._errorChildren.map(we=>we.id));this._control.setDescribedByIds(Ae)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Ae=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Ae.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const we=this._iconPrefixContainer?.nativeElement,he=this._textPrefixContainer?.nativeElement,q=we?.getBoundingClientRect().width??0,Re=he?.getBoundingClientRect().width??0;Ae.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${q+Re}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Ae=this._elementRef.nativeElement;if(Ae.getRootNode){const we=Ae.getRootNode();return we&&we!==Ae}return document.documentElement.contains(Ae)}static#e=this.\u0275fac=function(we){return new(we||St)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(t.dS),e.rXU(w.OD),e.rXU(Nt,8),e.rXU(e.bc$,8),e.rXU(Q.qQ))};static#t=this.\u0275cmp=e.VBU({type:St,selectors:[["mat-form-field"]],contentQueries:function(we,he,q){if(1&we&&(e.wni(q,X,5),e.wni(q,X,7),e.wni(q,Xe,5),e.wni(q,_e,5),e.wni(q,pe,5),e.wni(q,ce,5),e.wni(q,mt,5)),2&we){let Re;e.mGM(Re=e.lsd())&&(he._labelChildNonStatic=Re.first),e.mGM(Re=e.lsd())&&(he._labelChildStatic=Re.first),e.mGM(Re=e.lsd())&&(he._formFieldControl=Re.first),e.mGM(Re=e.lsd())&&(he._prefixChildren=Re),e.mGM(Re=e.lsd())&&(he._suffixChildren=Re),e.mGM(Re=e.lsd())&&(he._errorChildren=Re),e.mGM(Re=e.lsd())&&(he._hintChildren=Re)}},viewQuery:function(we,he){if(1&we&&(e.GBs(Me,5),e.GBs(Te,5),e.GBs(de,5),e.GBs(at,5),e.GBs(Ie,5),e.GBs(ue,5)),2&we){let q;e.mGM(q=e.lsd())&&(he._textField=q.first),e.mGM(q=e.lsd())&&(he._iconPrefixContainer=q.first),e.mGM(q=e.lsd())&&(he._textPrefixContainer=q.first),e.mGM(q=e.lsd())&&(he._floatingLabel=q.first),e.mGM(q=e.lsd())&&(he._notchedOutline=q.first),e.mGM(q=e.lsd())&&(he._lineRipple=q.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(we,he){2&we&&e.AVh("mat-mdc-form-field-label-always-float",he._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",he._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",he._hasIconSuffix)("mat-form-field-invalid",he._control.errorState)("mat-form-field-disabled",he._control.disabled)("mat-form-field-autofilled",he._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===he._animationMode)("mat-form-field-appearance-fill","fill"==he.appearance)("mat-form-field-appearance-outline","outline"==he.appearance)("mat-form-field-hide-placeholder",he._hasFloatingLabel()&&!he._shouldLabelFloat())("mat-focused",he._control.focused)("mat-primary","accent"!==he.color&&"warn"!==he.color)("mat-accent","accent"===he.color)("mat-warn","warn"===he.color)("ng-untouched",he._shouldForward("untouched"))("ng-touched",he._shouldForward("touched"))("ng-pristine",he._shouldForward("pristine"))("ng-dirty",he._shouldForward("dirty"))("ng-valid",he._shouldForward("valid"))("ng-invalid",he._shouldForward("invalid"))("ng-pending",he._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[e.Jv_([{provide:Yt,useExisting:St},{provide:_t,useExisting:St}]),e.aNF],ngContentSelectors:n,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(we,he){if(1&we){const q=e.RV6();e.NAR(D),e.DNE(0,h,1,1,"ng-template",null,0,e.C5r),e.j41(2,"div",4,1),e.bIt("click",function(Ne){return e.eBV(q),e.Njj(he._control.onContainerClick(Ne))}),e.DNE(4,C,1,0,"div",5),e.j41(5,"div",6),e.DNE(6,_,2,2,"div",7)(7,r,3,0,"div",8)(8,v,3,0,"div",9),e.j41(9,"div",10),e.DNE(10,N,1,1,null,11),e.SdG(11),e.k0s(),e.DNE(12,ne,2,0,"div",12)(13,Ee,2,0,"div",13),e.k0s(),e.DNE(14,ze,1,0,"div",14),e.k0s(),e.j41(15,"div",15),e.DNE(16,qe,2,1,"div",16)(17,se,5,2,"div",17),e.k0s()}if(2&we){let q;e.R7$(2),e.AVh("mdc-text-field--filled",!he._hasOutline())("mdc-text-field--outlined",he._hasOutline())("mdc-text-field--no-label",!he._hasFloatingLabel())("mdc-text-field--disabled",he._control.disabled)("mdc-text-field--invalid",he._control.errorState),e.R7$(2),e.vxM(he._hasOutline()||he._control.disabled?-1:4),e.R7$(2),e.vxM(he._hasOutline()?6:-1),e.R7$(),e.vxM(he._hasIconPrefix?7:-1),e.R7$(),e.vxM(he._hasTextPrefix?8:-1),e.R7$(2),e.vxM(!he._hasOutline()||he._forceDisplayInfixLabel()?10:-1),e.R7$(2),e.vxM(he._hasTextSuffix?12:-1),e.R7$(),e.vxM(he._hasIconSuffix?13:-1),e.R7$(),e.vxM(he._hasOutline()?-1:14),e.R7$(),e.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===he.subscriptSizing),e.R7$(),e.vxM("error"===(q=he._getDisplayedMessages())?16:"hint"===q?17:-1)}},dependencies:[at,Ie,Q.T3,ue,mt],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[He.transitionMessages]},changeDetection:0})}return St})(),Jt=(()=>{class St{static#e=this.\u0275fac=function(we){return new(we||St)};static#t=this.\u0275mod=e.$C({type:St});static#i=this.\u0275inj=e.G2t({imports:[ee.yE,Q.MD,J.w5,ee.yE]})}return St})()},6195:(Qe,te,g)=>{"use strict";g.d(te,{B_:()=>Te,Fe:()=>de,NS:()=>F});var e=g(4438),t=g(6600),w=g(4085),S=g(8203);const l=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const c=Math.max(...this.tracker);return c>1?this.rowCount+c-1:this.rowCount}update(c,m){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(c),this.tracker.fill(0,0,this.tracker.length),this.positions=m.map(h=>this._trackTile(h))}_trackTile(c){const m=this._findMatchingGap(c.colspan);return this._markTilePosition(m,c),this.columnIndex=m+c.colspan,new T(this.rowIndex,m)}_findMatchingGap(c){let m=-1,h=-1;do{this.columnIndex+c>this.tracker.length?(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(m)):(m=this.tracker.indexOf(0,this.columnIndex),-1!=m?(h=this._findGapEndIndex(m),this.columnIndex=m+1):(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(m)))}while(h-m<c||0==h);return Math.max(m,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let c=0;c<this.tracker.length;c++)this.tracker[c]=Math.max(0,this.tracker[c]-1)}_findGapEndIndex(c){for(let m=c+1;m<this.tracker.length;m++)if(0!=this.tracker[m])return m;return this.tracker.length}_markTilePosition(c,m){for(let h=0;h<m.colspan;h++)this.tracker[c+h]=m.rowspan}}class T{constructor(c,m){this.row=c,this.col=m}}const y=new e.nKC("MAT_GRID_LIST");let F=(()=>{class n{constructor(m,h){this._element=m,this._gridList=h,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(m){this._rowspan=Math.round((0,w.OE)(m))}get colspan(){return this._colspan}set colspan(m){this._colspan=Math.round((0,w.OE)(m))}_setStyle(m,h){this._element.nativeElement.style[m]=h}static#e=this.\u0275fac=function(h){return new(h||n)(e.rXU(e.aKT),e.rXU(y,8))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(h,C){2&h&&e.BMQ("rowspan",C.rowspan)("colspan",C.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[e.aNF],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(h,C){1&h&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.k0s())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.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}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return n})();const j=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Q{constructor(){this._rows=0,this._rowspan=0}init(c,m,h,C){this._gutterSize=ae(c),this._rows=m.rowCount,this._rowspan=m.rowspan,this._cols=h,this._direction=C}getBaseTileSize(c,m){return`(${c}% - (${this._gutterSize} * ${m}))`}getTilePosition(c,m){return 0===m?"0":ge(`(${c} + ${this._gutterSize}) * ${m}`)}getTileSize(c,m){return`(${c} * ${m}) + (${m-1} * ${this._gutterSize})`}setStyle(c,m,h){let C=100/this._cols,k=(this._cols-1)/this._cols;this.setColStyles(c,h,C,k),this.setRowStyles(c,m,C,k)}setColStyles(c,m,h,C){let k=this.getBaseTileSize(h,C);c._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(k,m)),c._setStyle("width",ge(this.getTileSize(k,c.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(c){return`${this._rowspan} * ${this.getTileSize(c,1)}`}getComputedHeight(){return null}}class J extends Q{constructor(c){super(),this.fixedRowHeight=c}init(c,m,h,C){super.init(c,m,h,C),this.fixedRowHeight=ae(this.fixedRowHeight),j.test(this.fixedRowHeight)}setRowStyles(c,m){c._setStyle("top",this.getTilePosition(this.fixedRowHeight,m)),c._setStyle("height",ge(this.getTileSize(this.fixedRowHeight,c.rowspan)))}getComputedHeight(){return["height",ge(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(c){c._setListStyle(["height",null]),c._tiles&&c._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}class ee extends Q{constructor(c){super(),this._parseRatio(c)}setRowStyles(c,m,h,C){this.baseTileHeight=this.getBaseTileSize(h/this.rowHeightRatio,C),c._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,m)),c._setStyle("paddingTop",ge(this.getTileSize(this.baseTileHeight,c.rowspan)))}getComputedHeight(){return["paddingBottom",ge(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(c){c._setListStyle(["paddingBottom",null]),c._tiles.forEach(m=>{m._setStyle("marginTop",null),m._setStyle("paddingTop",null)})}_parseRatio(c){const m=c.split(":");this.rowHeightRatio=parseFloat(m[0])/parseFloat(m[1])}}class ie extends Q{setRowStyles(c,m){let k=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);c._setStyle("top",this.getTilePosition(k,m)),c._setStyle("height",ge(this.getTileSize(k,c.rowspan)))}reset(c){c._tiles&&c._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}function ge(n){return`calc(${n})`}function ae(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let Te=(()=>{class n{constructor(m,h){this._element=m,this._dir=h,this._gutter="1px"}get cols(){return this._cols}set cols(m){this._cols=Math.max(1,Math.round((0,w.OE)(m)))}get gutterSize(){return this._gutter}set gutterSize(m){this._gutter=`${m??""}`}get rowHeight(){return this._rowHeight}set rowHeight(m){const h=`${m??""}`;h!==this._rowHeight&&(this._rowHeight=h,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(m){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===m?new ie:m&&m.indexOf(":")>-1?new ee(m):new J(m)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const m=this._tileCoordinator,h=this._tiles.filter(k=>!k._gridList||k._gridList===this),C=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,h),this._tileStyler.init(this.gutterSize,m,this.cols,C),h.forEach((k,L)=>{const _=m.positions[L];this._tileStyler.setStyle(k,_.row,_.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(m){m&&(this._element.nativeElement.style[m[0]]=m[1])}static#e=this.\u0275fac=function(h){return new(h||n)(e.rXU(e.aKT),e.rXU(S.dS,8))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["mat-grid-list"]],contentQueries:function(h,C,k){if(1&h&&e.wni(k,F,5),2&h){let L;e.mGM(L=e.lsd())&&(C._tiles=L)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(h,C){2&h&&e.BMQ("cols",C.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[e.Jv_([{provide:y,useExisting:n}]),e.aNF],ngContentSelectors:l,decls:2,vars:0,template:function(h,C){1&h&&(e.NAR(),e.j41(0,"div"),e.SdG(1),e.k0s())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.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}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return n})(),de=(()=>{class n{static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275mod=e.$C({type:n});static#i=this.\u0275inj=e.G2t({imports:[t.Np,t.yE,t.Np,t.yE]})}return n})()},9213:(Qe,te,g)=>{"use strict";g.d(te,{An:()=>v,m_:()=>V});var e=g(4438),t=g(6600),w=g(177),S=g(7673),l=g(8810),x=g(7468),f=g(8359),I=g(8141),d=g(6354),T=g(9437),y=g(980),F=g(7647),R=g(6697),z=g(1626),W=g(345);const $=["*"];let j;function J(N){return function Q(){if(void 0===j&&(j=null,typeof window<"u")){const N=window;void 0!==N.trustedTypes&&(j=N.trustedTypes.createPolicy("angular#components",{createHTML:ne=>ne}))}return j}()?.createHTML(N)||N}function ee(N){return Error(`Unable to find icon with the name "${N}"`)}function ge(N){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${N}".`)}function ae(N){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${N}".`)}class Me{constructor(ne,Ee,ze){this.url=ne,this.svgText=Ee,this.options=ze}}let Te=(()=>{class N{constructor(Ee,ze,qe,Ke){this._httpClient=Ee,this._sanitizer=ze,this._errorHandler=Ke,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=qe}addSvgIcon(Ee,ze,qe){return this.addSvgIconInNamespace("",Ee,ze,qe)}addSvgIconLiteral(Ee,ze,qe){return this.addSvgIconLiteralInNamespace("",Ee,ze,qe)}addSvgIconInNamespace(Ee,ze,qe,Ke){return this._addSvgIconConfig(Ee,ze,new Me(qe,null,Ke))}addSvgIconResolver(Ee){return this._resolvers.push(Ee),this}addSvgIconLiteralInNamespace(Ee,ze,qe,Ke){const se=this._sanitizer.sanitize(e.WPN.HTML,qe);if(!se)throw ae(qe);const X=J(se);return this._addSvgIconConfig(Ee,ze,new Me("",X,Ke))}addSvgIconSet(Ee,ze){return this.addSvgIconSetInNamespace("",Ee,ze)}addSvgIconSetLiteral(Ee,ze){return this.addSvgIconSetLiteralInNamespace("",Ee,ze)}addSvgIconSetInNamespace(Ee,ze,qe){return this._addSvgIconSetConfig(Ee,new Me(ze,null,qe))}addSvgIconSetLiteralInNamespace(Ee,ze,qe){const Ke=this._sanitizer.sanitize(e.WPN.HTML,ze);if(!Ke)throw ae(ze);const se=J(Ke);return this._addSvgIconSetConfig(Ee,new Me("",se,qe))}registerFontClassAlias(Ee,ze=Ee){return this._fontCssClassesByAlias.set(Ee,ze),this}classNameForFontAlias(Ee){return this._fontCssClassesByAlias.get(Ee)||Ee}setDefaultFontSetClass(...Ee){return this._defaultFontSetClass=Ee,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ee){const ze=this._sanitizer.sanitize(e.WPN.RESOURCE_URL,Ee);if(!ze)throw ge(Ee);const qe=this._cachedIconsByUrl.get(ze);return qe?(0,S.of)(n(qe)):this._loadSvgIconFromConfig(new Me(Ee,null)).pipe((0,I.M)(Ke=>this._cachedIconsByUrl.set(ze,Ke)),(0,d.T)(Ke=>n(Ke)))}getNamedSvgIcon(Ee,ze=""){const qe=c(ze,Ee);let Ke=this._svgIconConfigs.get(qe);if(Ke)return this._getSvgFromConfig(Ke);if(Ke=this._getIconConfigFromResolvers(ze,Ee),Ke)return this._svgIconConfigs.set(qe,Ke),this._getSvgFromConfig(Ke);const se=this._iconSetConfigs.get(ze);return se?this._getSvgFromIconSetConfigs(Ee,se):(0,l.$)(ee(qe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ee){return Ee.svgText?(0,S.of)(n(this._svgElementFromConfig(Ee))):this._loadSvgIconFromConfig(Ee).pipe((0,d.T)(ze=>n(ze)))}_getSvgFromIconSetConfigs(Ee,ze){const qe=this._extractIconWithNameFromAnySet(Ee,ze);if(qe)return(0,S.of)(qe);const Ke=ze.filter(se=>!se.svgText).map(se=>this._loadSvgIconSetFromConfig(se).pipe((0,T.W)(X=>{const ce=`Loading icon set URL: ${this._sanitizer.sanitize(e.WPN.RESOURCE_URL,se.url)} failed: ${X.message}`;return this._errorHandler.handleError(new Error(ce)),(0,S.of)(null)})));return(0,x.p)(Ke).pipe((0,d.T)(()=>{const se=this._extractIconWithNameFromAnySet(Ee,ze);if(!se)throw ee(Ee);return se}))}_extractIconWithNameFromAnySet(Ee,ze){for(let qe=ze.length-1;qe>=0;qe--){const Ke=ze[qe];if(Ke.svgText&&Ke.svgText.toString().indexOf(Ee)>-1){const se=this._svgElementFromConfig(Ke),X=this._extractSvgIconFromSet(se,Ee,Ke.options);if(X)return X}}return null}_loadSvgIconFromConfig(Ee){return this._fetchIcon(Ee).pipe((0,I.M)(ze=>Ee.svgText=ze),(0,d.T)(()=>this._svgElementFromConfig(Ee)))}_loadSvgIconSetFromConfig(Ee){return Ee.svgText?(0,S.of)(null):this._fetchIcon(Ee).pipe((0,I.M)(ze=>Ee.svgText=ze))}_extractSvgIconFromSet(Ee,ze,qe){const Ke=Ee.querySelector(`[id="${ze}"]`);if(!Ke)return null;const se=Ke.cloneNode(!0);if(se.removeAttribute("id"),"svg"===se.nodeName.toLowerCase())return this._setSvgAttributes(se,qe);if("symbol"===se.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(se),qe);const X=this._svgElementFromString(J("<svg></svg>"));return X.appendChild(se),this._setSvgAttributes(X,qe)}_svgElementFromString(Ee){const ze=this._document.createElement("DIV");ze.innerHTML=Ee;const qe=ze.querySelector("svg");if(!qe)throw Error("<svg> tag not found");return qe}_toSvgElement(Ee){const ze=this._svgElementFromString(J("<svg></svg>")),qe=Ee.attributes;for(let Ke=0;Ke<qe.length;Ke++){const{name:se,value:X}=qe[Ke];"id"!==se&&ze.setAttribute(se,X)}for(let Ke=0;Ke<Ee.childNodes.length;Ke++)Ee.childNodes[Ke].nodeType===this._document.ELEMENT_NODE&&ze.appendChild(Ee.childNodes[Ke].cloneNode(!0));return ze}_setSvgAttributes(Ee,ze){return Ee.setAttribute("fit",""),Ee.setAttribute("height","100%"),Ee.setAttribute("width","100%"),Ee.setAttribute("preserveAspectRatio","xMidYMid meet"),Ee.setAttribute("focusable","false"),ze&&ze.viewBox&&Ee.setAttribute("viewBox",ze.viewBox),Ee}_fetchIcon(Ee){const{url:ze,options:qe}=Ee,Ke=qe?.withCredentials??!1;if(!this._httpClient)throw function ie(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==ze)throw Error(`Cannot fetch icon from URL "${ze}".`);const se=this._sanitizer.sanitize(e.WPN.RESOURCE_URL,ze);if(!se)throw ge(ze);const X=this._inProgressUrlFetches.get(se);if(X)return X;const me=this._httpClient.get(se,{responseType:"text",withCredentials:Ke}).pipe((0,d.T)(ce=>J(ce)),(0,y.j)(()=>this._inProgressUrlFetches.delete(se)),(0,F.u)());return this._inProgressUrlFetches.set(se,me),me}_addSvgIconConfig(Ee,ze,qe){return this._svgIconConfigs.set(c(Ee,ze),qe),this}_addSvgIconSetConfig(Ee,ze){const qe=this._iconSetConfigs.get(Ee);return qe?qe.push(ze):this._iconSetConfigs.set(Ee,[ze]),this}_svgElementFromConfig(Ee){if(!Ee.svgElement){const ze=this._svgElementFromString(Ee.svgText);this._setSvgAttributes(ze,Ee.options),Ee.svgElement=ze}return Ee.svgElement}_getIconConfigFromResolvers(Ee,ze){for(let qe=0;qe<this._resolvers.length;qe++){const Ke=this._resolvers[qe](ze,Ee);if(Ke)return m(Ke)?new Me(Ke.url,null,Ke.options):new Me(Ke,null)}}static#e=this.\u0275fac=function(ze){return new(ze||N)(e.KVO(z.Qq,8),e.KVO(W.up),e.KVO(w.qQ,8),e.KVO(e.zcH))};static#t=this.\u0275prov=e.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})();function n(N){return N.cloneNode(!0)}function c(N,ne){return N+":"+ne}function m(N){return!(!N.url||!N.options)}const h=new e.nKC("MAT_ICON_DEFAULT_OPTIONS"),C=new e.nKC("mat-icon-location",{providedIn:"root",factory:function k(){const N=(0,e.WQX)(w.qQ),ne=N?N.location:null;return{getPathname:()=>ne?ne.pathname+ne.search:""}}}),L=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_=L.map(N=>`[${N}]`).join(", "),r=/^url\(['"]?#(.*?)['"]?\)$/;let v=(()=>{class N{get color(){return this._color||this._defaultColor}set color(Ee){this._color=Ee}get svgIcon(){return this._svgIcon}set svgIcon(Ee){Ee!==this._svgIcon&&(Ee?this._updateSvgIcon(Ee):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ee)}get fontSet(){return this._fontSet}set fontSet(Ee){const ze=this._cleanupFontValue(Ee);ze!==this._fontSet&&(this._fontSet=ze,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ee){const ze=this._cleanupFontValue(Ee);ze!==this._fontIcon&&(this._fontIcon=ze,this._updateFontIconClasses())}constructor(Ee,ze,qe,Ke,se,X){this._elementRef=Ee,this._iconRegistry=ze,this._location=Ke,this._errorHandler=se,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.yU.EMPTY,X&&(X.color&&(this.color=this._defaultColor=X.color),X.fontSet&&(this.fontSet=X.fontSet)),qe||Ee.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ee){if(!Ee)return["",""];const ze=Ee.split(":");switch(ze.length){case 1:return["",ze[0]];case 2:return ze;default:throw Error(`Invalid icon name: "${Ee}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ee=this._elementsWithExternalReferences;if(Ee&&Ee.size){const ze=this._location.getPathname();ze!==this._previousPath&&(this._previousPath=ze,this._prependPathToReferences(ze))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ee){this._clearSvgElement();const ze=this._location.getPathname();this._previousPath=ze,this._cacheChildrenWithExternalReferences(Ee),this._prependPathToReferences(ze),this._elementRef.nativeElement.appendChild(Ee)}_clearSvgElement(){const Ee=this._elementRef.nativeElement;let ze=Ee.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ze--;){const qe=Ee.childNodes[ze];(1!==qe.nodeType||"svg"===qe.nodeName.toLowerCase())&&qe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ee=this._elementRef.nativeElement,ze=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(qe=>qe.length>0);this._previousFontSetClass.forEach(qe=>Ee.classList.remove(qe)),ze.forEach(qe=>Ee.classList.add(qe)),this._previousFontSetClass=ze,this.fontIcon!==this._previousFontIconClass&&!ze.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ee.classList.remove(this._previousFontIconClass),this.fontIcon&&Ee.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ee){return"string"==typeof Ee?Ee.trim().split(" ")[0]:Ee}_prependPathToReferences(Ee){const ze=this._elementsWithExternalReferences;ze&&ze.forEach((qe,Ke)=>{qe.forEach(se=>{Ke.setAttribute(se.name,`url('${Ee}#${se.value}')`)})})}_cacheChildrenWithExternalReferences(Ee){const ze=Ee.querySelectorAll(_),qe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ke=0;Ke<ze.length;Ke++)L.forEach(se=>{const X=ze[Ke],me=X.getAttribute(se),ce=me?me.match(r):null;if(ce){let fe=qe.get(X);fe||(fe=[],qe.set(X,fe)),fe.push({name:se,value:ce[1]})}})}_updateSvgIcon(Ee){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ee){const[ze,qe]=this._splitIconName(Ee);ze&&(this._svgNamespace=ze),qe&&(this._svgName=qe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(qe,ze).pipe((0,R.s)(1)).subscribe(Ke=>this._setSvgElement(Ke),Ke=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ze}:${qe}! ${Ke.message}`))})}}static#e=this.\u0275fac=function(ze){return new(ze||N)(e.rXU(e.aKT),e.rXU(Te),e.kS0("aria-hidden"),e.rXU(C),e.rXU(e.zcH),e.rXU(h,8))};static#t=this.\u0275cmp=e.VBU({type:N,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(ze,qe){2&ze&&(e.BMQ("data-mat-icon-type",qe._usingFontIcon()?"font":"svg")("data-mat-icon-name",qe._svgName||qe.fontIcon)("data-mat-icon-namespace",qe._svgNamespace||qe.fontSet)("fontIcon",qe._usingFontIcon()?qe.fontIcon:null),e.HbH(qe.color?"mat-"+qe.color:""),e.AVh("mat-icon-inline",qe.inline)("mat-icon-no-color","primary"!==qe.color&&"accent"!==qe.color&&"warn"!==qe.color))},inputs:{color:"color",inline:[2,"inline","inline",e.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:$,decls:1,vars:0,template:function(ze,qe){1&ze&&(e.NAR(),e.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return N})(),V=(()=>{class N{static#e=this.\u0275fac=function(ze){return new(ze||N)};static#t=this.\u0275mod=e.$C({type:N});static#i=this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}return N})()},9631:(Qe,te,g)=>{"use strict";g.d(te,{Oh:()=>W,fg:()=>Q,fS:()=>J});var e=g(4085),t=g(6860),w=g(4438),S=g(983),l=g(1413);const x=(0,t.BQ)({passive:!0});let f=(()=>{class ee{constructor(ge,ae){this._platform=ge,this._ngZone=ae,this._monitoredElements=new Map}monitor(ge){if(!this._platform.isBrowser)return S.w;const ae=(0,e.i8)(ge),Me=this._monitoredElements.get(ae);if(Me)return Me.subject;const Te=new l.B,de="cdk-text-field-autofilled",D=n=>{"cdk-text-field-autofill-start"!==n.animationName||ae.classList.contains(de)?"cdk-text-field-autofill-end"===n.animationName&&ae.classList.contains(de)&&(ae.classList.remove(de),this._ngZone.run(()=>Te.next({target:n.target,isAutofilled:!1}))):(ae.classList.add(de),this._ngZone.run(()=>Te.next({target:n.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ae.addEventListener("animationstart",D,x),ae.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ae,{subject:Te,unlisten:()=>{ae.removeEventListener("animationstart",D,x)}}),Te}stopMonitoring(ge){const ae=(0,e.i8)(ge),Me=this._monitoredElements.get(ae);Me&&(Me.unlisten(),Me.subject.complete(),ae.classList.remove("cdk-text-field-autofill-monitored"),ae.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ae))}ngOnDestroy(){this._monitoredElements.forEach((ge,ae)=>this.stopMonitoring(ae))}static#e=this.\u0275fac=function(ae){return new(ae||ee)(w.KVO(t.OD),w.KVO(w.SKi))};static#t=this.\u0275prov=w.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}return ee})(),T=(()=>{class ee{static#e=this.\u0275fac=function(ae){return new(ae||ee)};static#t=this.\u0275mod=w.$C({type:ee});static#i=this.\u0275inj=w.G2t({})}return ee})();var y=g(9417),F=g(6600),R=g(6467);const W=new w.nKC("MAT_INPUT_VALUE_ACCESSOR"),$=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let j=0,Q=(()=>{class ee{get disabled(){return this._disabled}set disabled(ge){this._disabled=(0,e.he)(ge),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ge){this._id=ge||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(y.k0.required)??!1}set required(ge){this._required=(0,e.he)(ge)}get type(){return this._type}set type(ge){this._type=ge||"text",this._validateType(),!this._isTextarea&&(0,t.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(ge){this._errorStateTracker.matcher=ge}get value(){return this._inputValueAccessor.value}set value(ge){ge!==this.value&&(this._inputValueAccessor.value=ge,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ge){this._readonly=(0,e.he)(ge)}get errorState(){return this._errorStateTracker.errorState}set errorState(ge){this._errorStateTracker.errorState=ge}constructor(ge,ae,Me,Te,de,D,n,c,m,h){this._elementRef=ge,this._platform=ae,this.ngControl=Me,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+j++,this.focused=!1,this.stateChanges=new l.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(L=>(0,t.MU)().has(L)),this._iOSKeyupListener=L=>{const _=L.target;!_.value&&0===_.selectionStart&&0===_.selectionEnd&&(_.setSelectionRange(1,1),_.setSelectionRange(0,0))};const C=this._elementRef.nativeElement,k=C.nodeName.toLowerCase();this._inputValueAccessor=n||C,this._previousNativeValue=this.value,this.id=this.id,ae.IOS&&m.runOutsideAngular(()=>{ge.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new F.X0(D,Me,de,Te,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===k,this._isTextarea="textarea"===k,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=C.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ge=>{this.autofilled=ge.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(ge){this._elementRef.nativeElement.focus(ge)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(ge){ge!==this.focused&&(this.focused=ge,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ge=this._elementRef.nativeElement.value;this._previousNativeValue!==ge&&(this._previousNativeValue=ge,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ge=this._getPlaceholder();if(ge!==this._previousPlaceholder){const ae=this._elementRef.nativeElement;this._previousPlaceholder=ge,ge?ae.setAttribute("placeholder",ge):ae.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){$.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ge=this._elementRef.nativeElement.validity;return ge&&ge.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ge=this._elementRef.nativeElement,ae=ge.options[0];return this.focused||ge.multiple||!this.empty||!!(ge.selectedIndex>-1&&ae&&ae.label)}return this.focused||!this.empty}setDescribedByIds(ge){ge.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ge.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ge=this._elementRef.nativeElement;return this._isNativeSelect&&(ge.multiple||ge.size>1)}static#e=this.\u0275fac=function(ae){return new(ae||ee)(w.rXU(w.aKT),w.rXU(t.OD),w.rXU(y.vO,10),w.rXU(y.cV,8),w.rXU(y.j4,8),w.rXU(F.es),w.rXU(W,10),w.rXU(f),w.rXU(w.SKi),w.rXU(R.xb,8))};static#t=this.\u0275dir=w.FsC({type:ee,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ae,Me){1&ae&&w.bIt("focus",function(){return Me._focusChanged(!0)})("blur",function(){return Me._focusChanged(!1)})("input",function(){return Me._onInput()}),2&ae&&(w.Mr5("id",Me.id)("disabled",Me.disabled)("required",Me.required),w.BMQ("name",Me.name||null)("readonly",Me.readonly&&!Me._isNativeSelect||null)("aria-invalid",Me.empty&&Me.required?null:Me.errorState)("aria-required",Me.required)("id",Me.id),w.AVh("mat-input-server",Me._isServer)("mat-mdc-form-field-textarea-control",Me._isInFormField&&Me._isTextarea)("mat-mdc-form-field-input-control",Me._isInFormField)("mdc-text-field__input",Me._isInFormField)("mat-mdc-native-select-inline",Me._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[w.Jv_([{provide:R.qT,useExisting:ee}]),w.OA$]})}return ee})(),J=(()=>{class ee{static#e=this.\u0275fac=function(ae){return new(ae||ee)};static#t=this.\u0275mod=w.$C({type:ee});static#i=this.\u0275inj=w.G2t({imports:[F.yE,R.RG,R.RG,T,F.yE]})}return ee})()},3902:(Qe,te,g)=>{"use strict";g.d(te,{Fg:()=>Ie,YE:()=>be,jt:()=>_e});var e=g(4438),t=g(4085),w=g(6860),S=g(6600),l=g(8359),x=g(7786),I=(g(1413),g(2318)),d=g(177),T=g(1997);g(8617),g(5024),g(7336),g(9417),g(6977);const $=["*"],Q=["unscopedContent"],J=["text"],ee=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ie=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],N=new e.nKC("ListOption");let ne=(()=>{class He{constructor(yt){this._elementRef=yt}static#e=this.\u0275fac=function(Ye){return new(Ye||He)(e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:He,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0})}return He})(),Ee=(()=>{class He{constructor(yt){this._elementRef=yt}static#e=this.\u0275fac=function(Ye){return new(Ye||He)(e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:He,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0})}return He})(),ze=(()=>{class He{static#e=this.\u0275fac=function(Ye){return new(Ye||He)};static#t=this.\u0275dir=e.FsC({type:He,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"],standalone:!0})}return He})(),qe=(()=>{class He{constructor(yt){this._listOption=yt}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static#e=this.\u0275fac=function(Ye){return new(Ye||He)(e.rXU(N,8))};static#t=this.\u0275dir=e.FsC({type:He,hostVars:4,hostBindings:function(Ye,rt){2&Ye&&e.AVh("mdc-list-item__start",rt._isAlignedAtStart())("mdc-list-item__end",!rt._isAlignedAtStart())},standalone:!0})}return He})(),Ke=(()=>{class He extends qe{static#e=this.\u0275fac=(()=>{let yt;return function(rt){return(yt||(yt=e.xGo(He)))(rt||He)}})();static#t=this.\u0275dir=e.FsC({type:He,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[e.Vt3]})}return He})(),se=(()=>{class He extends qe{static#e=this.\u0275fac=(()=>{let yt;return function(rt){return(yt||(yt=e.xGo(He)))(rt||He)}})();static#t=this.\u0275dir=e.FsC({type:He,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[e.Vt3]})}return He})();const X=new e.nKC("MAT_LIST_CONFIG");let me=(()=>{class He{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.WQX)(X,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(yt){this._disableRipple=(0,t.he)(yt)}get disabled(){return this._disabled}set disabled(yt){this._disabled=(0,t.he)(yt)}static#e=this.\u0275fac=function(Ye){return new(Ye||He)};static#t=this.\u0275dir=e.FsC({type:He,hostVars:1,hostBindings:function(Ye,rt){2&Ye&&e.BMQ("aria-disabled",rt.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}return He})(),ce=(()=>{class He{set lines(yt){this._explicitLines=(0,t.OE)(yt,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(yt){this._disableRipple=(0,t.he)(yt)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(yt){this._disabled=(0,t.he)(yt)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(yt,Ye,rt,Yt,Nt,Et){this._elementRef=yt,this._ngZone=Ye,this._listBase=rt,this._platform=Yt,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.yU,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=Nt||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Et,rt&&!rt._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new S.ug(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,x.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(yt){if(!this._lines||!this._titles||!this._unscopedContent)return;yt&&this._checkDomForUnscopedTextContent();const Ye=this._explicitLines??this._inferLinesFromContent(),rt=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",Ye<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",Ye<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===Ye),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===Ye),this._hasUnscopedTextContent){const Yt=0===this._titles.length&&1===Ye;rt.classList.toggle("mdc-list-item__primary-text",Yt),rt.classList.toggle("mdc-list-item__secondary-text",!Yt)}else rt.classList.remove("mdc-list-item__primary-text"),rt.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let yt=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(yt+=1),yt}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(yt=>yt.nodeType!==yt.COMMENT_NODE).some(yt=>!(!yt.textContent||!yt.textContent.trim()))}static#e=this.\u0275fac=function(Ye){return new(Ye||He)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(me,8),e.rXU(w.OD),e.rXU(S.$E,8),e.rXU(e.bc$,8))};static#t=this.\u0275dir=e.FsC({type:He,contentQueries:function(Ye,rt,Yt){if(1&Ye&&(e.wni(Yt,Ke,4),e.wni(Yt,se,4)),2&Ye){let Nt;e.mGM(Nt=e.lsd())&&(rt._avatars=Nt),e.mGM(Nt=e.lsd())&&(rt._icons=Nt)}},hostVars:4,hostBindings:function(Ye,rt){2&Ye&&(e.BMQ("aria-disabled",rt.disabled)("disabled",rt._isButtonElement&&rt.disabled||null),e.AVh("mdc-list-item--disabled",rt.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}return He})(),_e=(()=>{class He extends me{static#e=this.\u0275fac=(()=>{let yt;return function(rt){return(yt||(yt=e.xGo(He)))(rt||He)}})();static#t=this.\u0275cmp=e.VBU({type:He,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],standalone:!0,features:[e.Jv_([{provide:me,useExisting:He}]),e.Vt3,e.aNF],ngContentSelectors:$,decls:1,vars:0,template:function(Ye,rt){1&Ye&&(e.NAR(),e.SdG(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::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 a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape);--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape)}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color)}'],encapsulation:2,changeDetection:0})}return He})(),be=(()=>{class He extends ce{get activated(){return this._activated}set activated(yt){this._activated=(0,t.he)(yt)}constructor(yt,Ye,rt,Yt,Nt,Et){super(yt,Ye,rt,Yt,Nt,Et),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static#e=this.\u0275fac=function(Ye){return new(Ye||He)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(me,8),e.rXU(w.OD),e.rXU(S.$E,8),e.rXU(e.bc$,8))};static#t=this.\u0275cmp=e.VBU({type:He,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(Ye,rt,Yt){if(1&Ye&&(e.wni(Yt,Ee,5),e.wni(Yt,ne,5),e.wni(Yt,ze,5)),2&Ye){let Nt;e.mGM(Nt=e.lsd())&&(rt._lines=Nt),e.mGM(Nt=e.lsd())&&(rt._titles=Nt),e.mGM(Nt=e.lsd())&&(rt._meta=Nt)}},viewQuery:function(Ye,rt){if(1&Ye&&(e.GBs(Q,5),e.GBs(J,5)),2&Ye){let Yt;e.mGM(Yt=e.lsd())&&(rt._unscopedContent=Yt.first),e.mGM(Yt=e.lsd())&&(rt._itemText=Yt.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(Ye,rt){2&Ye&&(e.BMQ("aria-current",rt._getAriaCurrent()),e.AVh("mdc-list-item--activated",rt.activated)("mdc-list-item--with-leading-avatar",0!==rt._avatars.length)("mdc-list-item--with-leading-icon",0!==rt._icons.length)("mdc-list-item--with-trailing-meta",0!==rt._meta.length)("_mat-animation-noopable",rt._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],standalone:!0,features:[e.Vt3,e.aNF],ngContentSelectors:ie,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-mdc-focus-indicator"]],template:function(Ye,rt){if(1&Ye){const Yt=e.RV6();e.NAR(ee),e.SdG(0),e.j41(1,"span",1),e.SdG(2,1),e.SdG(3,2),e.j41(4,"span",2,0),e.bIt("cdkObserveContent",function(){return e.eBV(Yt),e.Njj(rt._updateItemLines(!0))}),e.SdG(6,3),e.k0s()(),e.SdG(7,4),e.SdG(8,5),e.nrm(9,"div",3)}},dependencies:[I.Wv],encapsulation:2,changeDetection:0})}return He})(),Ie=(()=>{class He{static#e=this.\u0275fac=function(Ye){return new(Ye||He)};static#t=this.\u0275mod=e.$C({type:He});static#i=this.\u0275inj=e.G2t({imports:[I.w5,d.MD,S.yE,S.pZ,S.O5,T.w]})}return He})()},9115:(Qe,te,g)=>{"use strict";g.d(te,{Cn:()=>fe,Cp:()=>ce,fb:()=>m,kk:()=>ze});var e=g(4438),t=g(8617),w=g(7336),S=g(1413),l=g(7786),x=g(8359),f=g(7673),I=g(5007),d=g(9172),T=g(5558),y=g(6697),F=g(6977),R=g(5964),z=g(5335),W=g(177),$=g(6600),j=g(6939),Q=g(9969),J=g(8203),ee=g(6969),ie=g(6860),ge=g(5542);const ae=["mat-menu-item",""],Me=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Te=["mat-icon, [matMenuItemIcon]","*"];function de(ke,mt){1&ke&&(e.qSk(),e.j41(0,"svg",2),e.nrm(1,"polygon",3),e.k0s())}const D=["*"];function n(ke,mt){if(1&ke){const _e=e.RV6();e.j41(0,"div",0),e.bIt("keydown",function(pe){e.eBV(_e);const Ze=e.XpG();return e.Njj(Ze._handleKeydown(pe))})("click",function(){e.eBV(_e);const pe=e.XpG();return e.Njj(pe.closed.emit("click"))})("@transformMenu.start",function(pe){e.eBV(_e);const Ze=e.XpG();return e.Njj(Ze._onAnimationStart(pe))})("@transformMenu.done",function(pe){e.eBV(_e);const Ze=e.XpG();return e.Njj(Ze._onAnimationDone(pe))}),e.j41(1,"div",1),e.SdG(2),e.k0s()()}if(2&ke){const _e=e.XpG();e.HbH(_e._classList),e.Y8G("id",_e.panelId)("@transformMenu",_e._panelAnimationState),e.BMQ("aria-label",_e.ariaLabel||null)("aria-labelledby",_e.ariaLabelledby||null)("aria-describedby",_e.ariaDescribedby||null)}}const c=new e.nKC("MAT_MENU_PANEL");let m=(()=>{class ke{constructor(_e,be,pe,Ze,_t){this._elementRef=_e,this._document=be,this._focusMonitor=pe,this._parentMenu=Ze,this._changeDetectorRef=_t,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new S.B,this._focused=new S.B,this._highlighted=!1,this._triggersSubmenu=!1,Ze?.addItem?.(this)}focus(_e,be){this._focusMonitor&&_e?this._focusMonitor.focusVia(this._getHostElement(),_e,be):this._getHostElement().focus(be),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(_e){this.disabled&&(_e.preventDefault(),_e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const _e=this._elementRef.nativeElement.cloneNode(!0),be=_e.querySelectorAll("mat-icon, .material-icons");for(let pe=0;pe<be.length;pe++)be[pe].remove();return _e.textContent?.trim()||""}_setHighlighted(_e){this._highlighted=_e,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(_e){this._triggersSubmenu=_e,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(be){return new(be||ke)(e.rXU(e.aKT),e.rXU(W.qQ),e.rXU(t.FN),e.rXU(c,8),e.rXU(e.gRc))};static#t=this.\u0275cmp=e.VBU({type:ke,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(be,pe){1&be&&e.bIt("click",function(_t){return pe._checkDisabled(_t)})("mouseenter",function(){return pe._handleMouseEnter()}),2&be&&(e.BMQ("role",pe.role)("tabindex",pe._getTabIndex())("aria-disabled",pe.disabled)("disabled",pe.disabled||null),e.AVh("mat-mdc-menu-item-highlighted",pe._highlighted)("mat-mdc-menu-item-submenu-trigger",pe._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39]},exportAs:["matMenuItem"],standalone:!0,features:[e.GFd,e.aNF],attrs:ae,ngContentSelectors:Te,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(be,pe){1&be&&(e.NAR(Me),e.SdG(0),e.j41(1,"span",0),e.SdG(2,1),e.k0s(),e.nrm(3,"div",1),e.DNE(4,de,2,0,":svg:svg",2)),2&be&&(e.R7$(3),e.Y8G("matRippleDisabled",pe.disableRipple||pe.disabled)("matRippleTrigger",pe._getHostElement()),e.R7$(),e.vxM(pe._triggersSubmenu?4:-1))},dependencies:[$.r6],encapsulation:2,changeDetection:0})}return ke})();const L=new e.nKC("MatMenuContent"),r={transformMenu:(0,Q.hZ)("transformMenu",[(0,Q.wk)("void",(0,Q.iF)({opacity:0,transform:"scale(0.8)"})),(0,Q.kY)("void => enter",(0,Q.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Q.iF)({opacity:1,transform:"scale(1)"}))),(0,Q.kY)("* => void",(0,Q.i0)("100ms 25ms linear",(0,Q.iF)({opacity:0})))]),fadeInItems:(0,Q.hZ)("fadeInItems",[(0,Q.wk)("showing",(0,Q.iF)({opacity:1})),(0,Q.kY)("void => *",[(0,Q.iF)({opacity:0}),(0,Q.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=0;const ne=new e.nKC("mat-menu-default-options",{providedIn:"root",factory:function Ee(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ze=(()=>{class ke{get xPosition(){return this._xPosition}set xPosition(_e){this._xPosition=_e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(_e){this._yPosition=_e,this.setPositionClasses()}set panelClass(_e){const be=this._previousPanelClass,pe={...this._classList};be&&be.length&&be.split(" ").forEach(Ze=>{pe[Ze]=!1}),this._previousPanelClass=_e,_e&&_e.length&&(_e.split(" ").forEach(Ze=>{pe[Ze]=!0}),this._elementRef.nativeElement.className=""),this._classList=pe}get classList(){return this.panelClass}set classList(_e){this.panelClass=_e}constructor(_e,be,pe,Ze){this._elementRef=_e,this._ngZone=be,this._changeDetectorRef=Ze,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new e.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new S.B,this.closed=new e.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+N++,this.overlayPanelClass=pe.overlayPanelClass||"",this._xPosition=pe.xPosition,this._yPosition=pe.yPosition,this.backdropClass=pe.backdropClass,this.overlapTrigger=pe.overlapTrigger,this.hasBackdrop=pe.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new t.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.Z)(this._directDescendantItems),(0,T.n)(_e=>(0,l.h)(..._e.map(be=>be._focused)))).subscribe(_e=>this._keyManager.updateActiveItem(_e)),this._directDescendantItems.changes.subscribe(_e=>{const be=this._keyManager;if("enter"===this._panelAnimationState&&be.activeItem?._hasFocus()){const pe=_e.toArray(),Ze=Math.max(0,Math.min(pe.length-1,be.activeItemIndex||0));pe[Ze]&&!pe[Ze].disabled?be.setActiveItem(Ze):be.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.Z)(this._directDescendantItems),(0,T.n)(be=>(0,l.h)(...be.map(pe=>pe._hovered))))}addItem(_e){}removeItem(_e){}_handleKeydown(_e){const be=_e.keyCode,pe=this._keyManager;switch(be){case w._f:(0,w.rp)(_e)||(_e.preventDefault(),this.closed.emit("keydown"));break;case w.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case w.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(be===w.i7||be===w.n6)&&pe.setFocusOrigin("keyboard"),void pe.onKeydown(_e)}_e.stopPropagation()}focusFirstItem(_e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,y.s)(1)).subscribe(()=>{let be=null;if(this._directDescendantItems.length&&(be=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!be||!be.contains(document.activeElement)){const pe=this._keyManager;pe.setFocusOrigin(_e).setFirstItemActive(),!pe.activeItem&&be&&be.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(_e){const be=Math.min(this._baseElevation+_e,24),pe=`${this._elevationPrefix}${be}`,Ze=Object.keys(this._classList).find(_t=>_t.startsWith(this._elevationPrefix));if(!Ze||Ze===this._previousElevation){const _t={...this._classList};this._previousElevation&&(_t[this._previousElevation]=!1),_t[pe]=!0,this._previousElevation=pe,this._classList=_t}}setPositionClasses(_e=this.xPosition,be=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===_e,"mat-menu-after":"after"===_e,"mat-menu-above":"above"===be,"mat-menu-below":"below"===be},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(_e){this._animationDone.next(_e),this._isAnimating=!1}_onAnimationStart(_e){this._isAnimating=!0,"enter"===_e.toState&&0===this._keyManager.activeItemIndex&&(_e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.Z)(this._allItems)).subscribe(_e=>{this._directDescendantItems.reset(_e.filter(be=>be._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(be){return new(be||ke)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(ne),e.rXU(e.gRc))};static#t=this.\u0275cmp=e.VBU({type:ke,selectors:[["mat-menu"]],contentQueries:function(be,pe,Ze){if(1&be&&(e.wni(Ze,L,5),e.wni(Ze,m,5),e.wni(Ze,m,4)),2&be){let _t;e.mGM(_t=e.lsd())&&(pe.lazyContent=_t.first),e.mGM(_t=e.lsd())&&(pe._allItems=_t),e.mGM(_t=e.lsd())&&(pe.items=_t)}},viewQuery:function(be,pe){if(1&be&&e.GBs(e.C4Q,5),2&be){let Ze;e.mGM(Ze=e.lsd())&&(pe.templateRef=Ze.first)}},hostVars:3,hostBindings:function(be,pe){2&be&&e.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",e.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",_e=>null==_e?null:(0,e.L39)(_e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[e.Jv_([{provide:c,useExisting:ke}]),e.GFd,e.aNF],ngContentSelectors:D,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(be,pe){1&be&&(e.NAR(),e.DNE(0,n,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[r.transformMenu,r.fadeInItems]},changeDetection:0})}return ke})();const qe=new e.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const ke=(0,e.WQX)(ee.hJ);return()=>ke.scrollStrategies.reposition()}}),se={provide:qe,deps:[ee.hJ],useFactory:function Ke(ke){return()=>ke.scrollStrategies.reposition()}},X=(0,ie.BQ)({passive:!0});let ce=(()=>{class ke{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(_e){this.menu=_e}get menu(){return this._menu}set menu(_e){_e!==this._menu&&(this._menu=_e,this._menuCloseSubscription.unsubscribe(),_e&&(this._menuCloseSubscription=_e.close.subscribe(be=>{this._destroyMenu(be),("click"===be||"tab"===be)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(be)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(_e,be,pe,Ze,_t,at,pt,Xt,ye){this._overlay=_e,this._element=be,this._viewContainerRef=pe,this._menuItemInstance=at,this._dir=pt,this._focusMonitor=Xt,this._ngZone=ye,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=x.yU.EMPTY,this._hoverSubscription=x.yU.EMPTY,this._menuCloseSubscription=x.yU.EMPTY,this._changeDetectorRef=(0,e.WQX)(e.gRc),this._handleTouchStart=ue=>{(0,t.w6)(ue)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ze,this._parentMaterialMenu=_t instanceof ze?_t:void 0,be.nativeElement.addEventListener("touchstart",this._handleTouchStart,X)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,X),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const _e=this.menu;if(this._menuOpen||!_e)return;const be=this._createOverlay(_e),pe=be.getConfig(),Ze=pe.positionStrategy;this._setPosition(_e,Ze),pe.hasBackdrop=null==_e.hasBackdrop?!this.triggersSubmenu():_e.hasBackdrop,be.attach(this._getPortal(_e)),_e.lazyContent&&_e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(_e),_e instanceof ze&&(_e._startAnimation(),_e._directDescendantItems.changes.pipe((0,F.Q)(_e.close)).subscribe(()=>{Ze.withLockedPosition(!1).reapplyLastPosition(),Ze.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(_e,be){this._focusMonitor&&_e?this._focusMonitor.focusVia(this._element,_e,be):this._element.nativeElement.focus(be)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(_e){if(!this._overlayRef||!this.menuOpen)return;const be=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===_e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,be instanceof ze?(be._resetAnimation(),be.lazyContent?be._animationDone.pipe((0,R.p)(pe=>"void"===pe.toState),(0,y.s)(1),(0,F.Q)(be.lazyContent._attached)).subscribe({next:()=>be.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),be?.lazyContent?.detach())}_initMenu(_e){_e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,_e.direction=this.dir,this._setMenuElevation(_e),_e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(_e){if(_e.setElevation){let be=0,pe=_e.parentMenu;for(;pe;)be++,pe=pe.parentMenu;_e.setElevation(be)}}_setIsMenuOpen(_e){_e!==this._menuOpen&&(this._menuOpen=_e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(_e),this._changeDetectorRef.markForCheck())}_createOverlay(_e){if(!this._overlayRef){const be=this._getOverlayConfig(_e);this._subscribeToPositions(_e,be.positionStrategy),this._overlayRef=this._overlay.create(be),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(_e){return new ee.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:_e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:_e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(_e,be){_e.setPositionClasses&&be.positionChanges.subscribe(pe=>{const Ze="start"===pe.connectionPair.overlayX?"after":"before",_t="top"===pe.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>_e.setPositionClasses(Ze,_t)):_e.setPositionClasses(Ze,_t)})}_setPosition(_e,be){let[pe,Ze]="before"===_e.xPosition?["end","start"]:["start","end"],[_t,at]="above"===_e.yPosition?["bottom","top"]:["top","bottom"],[pt,Xt]=[_t,at],[ye,ue]=[pe,Ze],Ie=0;if(this.triggersSubmenu()){if(ue=pe="before"===_e.xPosition?"start":"end",Ze=ye="end"===pe?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const He=this._parentMaterialMenu.items.first;this._parentInnerPadding=He?He._getHostElement().offsetTop:0}Ie="bottom"===_t?this._parentInnerPadding:-this._parentInnerPadding}}else _e.overlapTrigger||(pt="top"===_t?"bottom":"top",Xt="top"===at?"bottom":"top");be.withPositions([{originX:pe,originY:pt,overlayX:ye,overlayY:_t,offsetY:Ie},{originX:Ze,originY:pt,overlayX:ue,overlayY:_t,offsetY:Ie},{originX:pe,originY:Xt,overlayX:ye,overlayY:at,offsetY:-Ie},{originX:Ze,originY:Xt,overlayX:ue,overlayY:at,offsetY:-Ie}])}_menuClosingActions(){const _e=this._overlayRef.backdropClick(),be=this._overlayRef.detachments(),pe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,f.of)(),Ze=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,R.p)(_t=>_t!==this._menuItemInstance),(0,R.p)(()=>this._menuOpen)):(0,f.of)();return(0,l.h)(_e,pe,Ze,be)}_handleMousedown(_e){(0,t._G)(_e)||(this._openedBy=0===_e.button?"mouse":void 0,this.triggersSubmenu()&&_e.preventDefault())}_handleKeydown(_e){const be=_e.keyCode;(be===w.Fm||be===w.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(be===w.LE&&"ltr"===this.dir||be===w.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(_e){this.triggersSubmenu()?(_e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,R.p)(_e=>_e===this._menuItemInstance&&!_e.disabled),(0,z.c)(0,I.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ze&&this.menu._isAnimating?this.menu._animationDone.pipe((0,y.s)(1),(0,z.c)(0,I.$),(0,F.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(_e){return(!this._portal||this._portal.templateRef!==_e.templateRef)&&(this._portal=new j.VA(_e.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(be){return new(be||ke)(e.rXU(ee.hJ),e.rXU(e.aKT),e.rXU(e.c1b),e.rXU(qe),e.rXU(c,8),e.rXU(m,10),e.rXU(J.dS,8),e.rXU(t.FN),e.rXU(e.SKi))};static#t=this.\u0275dir=e.FsC({type:ke,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(be,pe){1&be&&e.bIt("click",function(_t){return pe._handleClick(_t)})("mousedown",function(_t){return pe._handleMousedown(_t)})("keydown",function(_t){return pe._handleKeydown(_t)}),2&be&&e.BMQ("aria-haspopup",pe.menu?"menu":null)("aria-expanded",pe.menuOpen)("aria-controls",pe.menuOpen?pe.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}return ke})(),fe=(()=>{class ke{static#e=this.\u0275fac=function(be){return new(be||ke)};static#t=this.\u0275mod=e.$C({type:ke});static#i=this.\u0275inj=e.G2t({providers:[se],imports:[W.MD,$.pZ,$.yE,ee.z_,ge.Gj,$.yE]})}return ke})()},6695:(Qe,te,g)=>{"use strict";g.d(te,{Ou:()=>ae,iy:()=>ge,xX:()=>W});var e=g(4438),t=g(1413),w=g(2771),S=g(8834),l=g(2798),x=g(4823),f=g(6600),I=g(6467);function d(Me,Te){if(1&Me&&(e.j41(0,"mat-option",16),e.EFF(1),e.k0s()),2&Me){const de=Te.$implicit;e.Y8G("value",de),e.R7$(),e.SpI(" ",de," ")}}function T(Me,Te){if(1&Me){const de=e.RV6();e.j41(0,"mat-form-field",13)(1,"mat-select",15),e.bIt("selectionChange",function(n){e.eBV(de);const c=e.XpG(2);return e.Njj(c._changePageSize(n.value))}),e.Z7z(2,d,2,2,"mat-option",16,e.fX1),e.k0s()()}if(2&Me){const de=e.XpG(2);e.Y8G("appearance",de._formFieldAppearance)("color",de.color),e.R7$(),e.Y8G("value",de.pageSize)("disabled",de.disabled)("aria-labelledby",de._pageSizeLabelId)("panelClass",de.selectConfig.panelClass||"")("disableOptionCentering",de.selectConfig.disableOptionCentering),e.R7$(),e.Dyx(de._displayedPageSizeOptions)}}function y(Me,Te){if(1&Me&&(e.j41(0,"div",14),e.EFF(1),e.k0s()),2&Me){const de=e.XpG(2);e.R7$(),e.JRh(de.pageSize)}}function F(Me,Te){if(1&Me&&(e.j41(0,"div",2)(1,"div",12),e.EFF(2),e.k0s(),e.DNE(3,T,4,7,"mat-form-field",13)(4,y,2,1,"div",14),e.k0s()),2&Me){const de=e.XpG();e.R7$(),e.BMQ("id",de._pageSizeLabelId),e.R7$(),e.SpI(" ",de._intl.itemsPerPageLabel," "),e.R7$(),e.vxM(de._displayedPageSizeOptions.length>1?3:-1),e.R7$(),e.vxM(de._displayedPageSizeOptions.length<=1?4:-1)}}function R(Me,Te){if(1&Me){const de=e.RV6();e.j41(0,"button",17),e.bIt("click",function(){e.eBV(de);const n=e.XpG();return e.Njj(n.firstPage())}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",18),e.k0s()()}if(2&Me){const de=e.XpG();e.Y8G("matTooltip",de._intl.firstPageLabel)("matTooltipDisabled",de._previousButtonsDisabled())("matTooltipPosition","above")("disabled",de._previousButtonsDisabled()),e.BMQ("aria-label",de._intl.firstPageLabel)}}function z(Me,Te){if(1&Me){const de=e.RV6();e.j41(0,"button",19),e.bIt("click",function(){e.eBV(de);const n=e.XpG();return e.Njj(n.lastPage())}),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",20),e.k0s()()}if(2&Me){const de=e.XpG();e.Y8G("matTooltip",de._intl.lastPageLabel)("matTooltipDisabled",de._nextButtonsDisabled())("matTooltipPosition","above")("disabled",de._nextButtonsDisabled()),e.BMQ("aria-label",de._intl.lastPageLabel)}}let W=(()=>{class Me{constructor(){this.changes=new t.B,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(de,D,n)=>{if(0==n||0==D)return`0 of ${n}`;const c=de*D;return`${c+1} \u2013 ${c<(n=Math.max(n,0))?Math.min(c+D,n):c+D} of ${n}`}}static#e=this.\u0275fac=function(D){return new(D||Me)};static#t=this.\u0275prov=e.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})();const j={provide:W,deps:[[new e.Xx1,new e.kdw,W]],useFactory:function $(Me){return Me||new W}},ee=new e.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let ie=0,ge=(()=>{class Me{get pageIndex(){return this._pageIndex}set pageIndex(de){this._pageIndex=Math.max(de||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(de){this._length=de||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(de){this._pageSize=Math.max(de||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(de){this._pageSizeOptions=(de||[]).map(D=>(0,e.Udg)(D,0)),this._updateDisplayedPageSizeOptions()}constructor(de,D,n){if(this._intl=de,this._changeDetectorRef=D,this._pageSizeLabelId="mat-paginator-page-size-label-"+ie++,this._isInitialized=!1,this._initializedStream=new w.m(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new e.bkB,this.initialized=this._initializedStream,this._intlChanges=de.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:c,pageSizeOptions:m,hidePageSize:h,showFirstLastButtons:C}=n;null!=c&&(this._pageSize=c),null!=m&&(this._pageSizeOptions=m),null!=h&&(this.hidePageSize=h),null!=C&&(this.showFirstLastButtons=C)}this._formFieldAppearance=n?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const de=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(de)}previousPage(){if(!this.hasPreviousPage())return;const de=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(de)}firstPage(){if(!this.hasPreviousPage())return;const de=this.pageIndex;this.pageIndex=0,this._emitPageEvent(de)}lastPage(){if(!this.hasNextPage())return;const de=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(de)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const de=this.getNumberOfPages()-1;return this.pageIndex<de&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(de){const n=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/de)||0,this.pageSize=de,this._emitPageEvent(n)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(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((de,D)=>de-D),this._changeDetectorRef.markForCheck())}_emitPageEvent(de){this.page.emit({previousPageIndex:de,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(D){return new(D||Me)(e.rXU(W),e.rXU(e.gRc),e.rXU(ee,8))};static#t=this.\u0275cmp=e.VBU({type:Me,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",e.Udg],length:[2,"length","length",e.Udg],pageSize:[2,"pageSize","pageSize",e.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",e.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",e.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",e.L39]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[e.GFd,e.aNF],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-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-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(D,n){1&D&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,F,5,4,"div",2),e.j41(3,"div",3)(4,"div",4),e.EFF(5),e.k0s(),e.DNE(6,R,3,5,"button",5),e.j41(7,"button",6),e.bIt("click",function(){return n.previousPage()}),e.qSk(),e.j41(8,"svg",7),e.nrm(9,"path",8),e.k0s()(),e.joV(),e.j41(10,"button",9),e.bIt("click",function(){return n.nextPage()}),e.qSk(),e.j41(11,"svg",7),e.nrm(12,"path",10),e.k0s()(),e.DNE(13,z,3,5,"button",11),e.k0s()()()),2&D&&(e.R7$(2),e.vxM(n.hidePageSize?-1:2),e.R7$(3),e.SpI(" ",n._intl.getRangeLabel(n.pageIndex,n.pageSize,n.length)," "),e.R7$(),e.vxM(n.showFirstLastButtons?6:-1),e.R7$(),e.Y8G("matTooltip",n._intl.previousPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),e.BMQ("aria-label",n._intl.previousPageLabel),e.R7$(3),e.Y8G("matTooltip",n._intl.nextPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),e.BMQ("aria-label",n._intl.nextPageLabel),e.R7$(3),e.vxM(n.showFirstLastButtons?13:-1))},dependencies:[I.rl,l.VO,f.wT,S.iY,x.oV],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return Me})(),ae=(()=>{class Me{static#e=this.\u0275fac=function(D){return new(D||Me)};static#t=this.\u0275mod=e.$C({type:Me});static#i=this.\u0275inj=e.G2t({providers:[j],imports:[S.Hl,l.Ve,x.uc,ge]})}return Me})()},7575:(Qe,te,g)=>{"use strict";g.d(te,{HM:()=>I,PO:()=>T});var e=g(4438),w=(g(177),g(6600));function S(y,F){1&y&&e.nrm(0,"div",2)}const l=new e.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let I=(()=>{class y{constructor(R,z,W,$,j){this._elementRef=R,this._ngZone=z,this._changeDetectorRef=W,this._animationMode=$,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new e.bkB,this._mode="determinate",this._transitionendHandler=Q=>{0===this.animationEnd.observers.length||!Q.target||!Q.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===$,j&&(j.color&&(this.color=this._defaultColor=j.color),this.mode=j.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(R){this._color=R}get value(){return this._value}set value(R){this._value=d(R||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(R){this._bufferValue=d(R||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(R){this._mode=R,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(z){return new(z||y)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(e.bc$,8),e.rXU(l,8))};static#t=this.\u0275cmp=e.VBU({type:y,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(z,W){2&z&&(e.BMQ("aria-valuenow",W._isIndeterminate()?null:W.value)("mode",W.mode),e.HbH("mat-"+W.color),e.AVh("_mat-animation-noopable",W._isNoopAnimation)("mdc-linear-progress--animation-ready",!W._isNoopAnimation)("mdc-linear-progress--indeterminate",W._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",e.Udg],bufferValue:[2,"bufferValue","bufferValue",e.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[e.GFd,e.aNF],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(z,W){1&z&&(e.j41(0,"div",0),e.nrm(1,"div",1),e.DNE(2,S,1,0,"div",2),e.k0s(),e.j41(3,"div",3),e.nrm(4,"span",4),e.k0s(),e.j41(5,"div",5),e.nrm(6,"span",4),e.k0s()),2&z&&(e.R7$(),e.xc7("flex-basis",W._getBufferBarFlexBasis()),e.R7$(),e.vxM("buffer"===W.mode?2:-1),e.R7$(),e.xc7("transform",W._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return y})();function d(y,F=0,R=100){return Math.max(F,Math.min(R,y))}let T=(()=>{class y{static#e=this.\u0275fac=function(z){return new(z||y)};static#t=this.\u0275mod=e.$C({type:y});static#i=this.\u0275inj=e.G2t({imports:[w.yE]})}return y})()},9183:(Qe,te,g)=>{"use strict";g.d(te,{D6:()=>F,LG:()=>T});var e=g(4438),t=g(177),w=g(6600);const S=["determinateSpinner"];function l(R,z){if(1&R&&(e.qSk(),e.j41(0,"svg",11),e.nrm(1,"circle",12),e.k0s()),2&R){const W=e.XpG();e.BMQ("viewBox",W._viewBox()),e.R7$(),e.xc7("stroke-dasharray",W._strokeCircumference(),"px")("stroke-dashoffset",W._strokeCircumference()/2,"px")("stroke-width",W._circleStrokeWidth(),"%"),e.BMQ("r",W._circleRadius())}}const x=new e.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function f(){return{diameter:I}}}),I=100;let T=(()=>{class R{get color(){return this._color||this._defaultColor}set color(W){this._color=W}constructor(W,$,j){this._elementRef=W,this._defaultColor="primary",this._value=0,this._diameter=I,this._noopAnimations="NoopAnimations"===$&&!!j&&!j._forceAnimations,this.mode="mat-spinner"===W.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",j&&(j.color&&(this.color=this._defaultColor=j.color),j.diameter&&(this.diameter=j.diameter),j.strokeWidth&&(this.strokeWidth=j.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(W){this._value=Math.max(0,Math.min(100,W||0))}get diameter(){return this._diameter}set diameter(W){this._diameter=W||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(W){this._strokeWidth=W||0}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const W=2*this._circleRadius()+this.strokeWidth;return`0 0 ${W} ${W}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function($){return new($||R)(e.rXU(e.aKT),e.rXU(e.bc$,8),e.rXU(x))};static#t=this.\u0275cmp=e.VBU({type:R,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function($,j){if(1&$&&e.GBs(S,5),2&$){let Q;e.mGM(Q=e.lsd())&&(j._determinateCircle=Q.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function($,j){2&$&&(e.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===j.mode?j.value:null)("mode",j.mode),e.HbH("mat-"+j.color),e.xc7("width",j.diameter,"px")("height",j.diameter,"px")("--mdc-circular-progress-size",j.diameter+"px")("--mdc-circular-progress-active-indicator-width",j.diameter+"px"),e.AVh("_mat-animation-noopable",j._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===j.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",e.Udg],diameter:[2,"diameter","diameter",e.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",e.Udg]},exportAs:["matProgressSpinner"],standalone:!0,features:[e.GFd,e.aNF],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function($,j){if(1&$&&(e.DNE(0,l,2,8,"ng-template",null,0,e.C5r),e.j41(2,"div",2,1),e.qSk(),e.j41(4,"svg",3),e.nrm(5,"circle",4),e.k0s()(),e.joV(),e.j41(6,"div",5)(7,"div",6)(8,"div",7),e.eu8(9,8),e.k0s(),e.j41(10,"div",9),e.eu8(11,8),e.k0s(),e.j41(12,"div",10),e.eu8(13,8),e.k0s()()()),2&$){const Q=e.sdS(1);e.R7$(4),e.BMQ("viewBox",j._viewBox()),e.R7$(),e.xc7("stroke-dasharray",j._strokeCircumference(),"px")("stroke-dashoffset",j._strokeDashOffset(),"px")("stroke-width",j._circleStrokeWidth(),"%"),e.BMQ("r",j._circleRadius()),e.R7$(4),e.Y8G("ngTemplateOutlet",Q),e.R7$(2),e.Y8G("ngTemplateOutlet",Q),e.R7$(2),e.Y8G("ngTemplateOutlet",Q)}},dependencies:[t.T3],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return R})(),F=(()=>{class R{static#e=this.\u0275fac=function($){return new($||R)};static#t=this.\u0275mod=e.$C({type:R});static#i=this.\u0275inj=e.G2t({imports:[t.MD,w.yE]})}return R})()},5951:(Qe,te,g)=>{"use strict";g.d(te,{VT:()=>$,Wk:()=>Q,_g:()=>j});var e=g(4438),t=g(6600),w=g(8617),S=g(5024),l=g(9417),x=g(177);const f=["input"],I=["formField"],d=["*"];let T=0;class y{constructor(ee,ie){this.source=ee,this.value=ie}}const F={provide:l.kq,useExisting:(0,e.Rfq)(()=>$),multi:!0},R=new e.nKC("MatRadioGroup"),z=new e.nKC("mat-radio-default-options",{providedIn:"root",factory:function W(){return{color:"accent"}}});let $=(()=>{class J{get name(){return this._name}set name(ie){this._name=ie,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ie){this._labelPosition="before"===ie?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ie){this._value!==ie&&(this._value=ie,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ie){this._selected=ie,this.value=ie?ie.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ie){this._disabled=ie,this._markRadiosForCheck()}get required(){return this._required}set required(ie){this._required=ie,this._markRadiosForCheck()}constructor(ie){this._changeDetector=ie,this._value=null,this._name="mat-radio-group-"+T++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.bkB}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(ie=>ie===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ie=>{ie.name=this.name,ie._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(ge=>{ge.checked=this.value===ge.value,ge.checked&&(this._selected=ge)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new y(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ie=>ie._markForCheck())}writeValue(ie){this.value=ie,this._changeDetector.markForCheck()}registerOnChange(ie){this._controlValueAccessorChangeFn=ie}registerOnTouched(ie){this.onTouched=ie}setDisabledState(ie){this.disabled=ie,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(ge){return new(ge||J)(e.rXU(e.gRc))};static#t=this.\u0275dir=e.FsC({type:J,selectors:[["mat-radio-group"]],contentQueries:function(ge,ae,Me){if(1&ge&&e.wni(Me,j,5),2&ge){let Te;e.mGM(Te=e.lsd())&&(ae._radios=Te)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[e.Jv_([F,{provide:R,useExisting:J}]),e.GFd]})}return J})(),j=(()=>{class J{get checked(){return this._checked}set checked(ie){this._checked!==ie&&(this._checked=ie,ie&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!ie&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),ie&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ie){this._value!==ie&&(this._value=ie,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ie),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ie){this._labelPosition=ie}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ie){this._setDisabled(ie)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ie){this._required=ie}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ie){this._color=ie}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ie,ge,ae,Me,Te,de,D,n){this._elementRef=ge,this._changeDetector=ae,this._focusMonitor=Me,this._radioDispatcher=Te,this._providerOverride=D,this._uniqueId="mat-radio-"+ ++T,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new e.bkB,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ie,this._noopAnimations="NoopAnimations"===de,n&&(this.tabIndex=(0,e.Udg)(n,0))}focus(ie,ge){ge?this._focusMonitor.focusVia(this._inputElement,ge,ie):this._inputElement.nativeElement.focus(ie)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((ie,ge)=>{ie!==this.id&&ge===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(ie=>{!ie&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new y(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ie){ie.stopPropagation()}_onInputInteraction(ie){if(ie.stopPropagation(),!this.checked&&!this.disabled){const ge=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),ge&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(ie){this._onInputInteraction(ie),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(ie){this._disabled!==ie&&(this._disabled=ie,this._changeDetector.markForCheck())}_updateTabIndex(){const ie=this.radioGroup;let ge;if(ge=ie&&ie.selected&&!this.disabled?ie.selected===this?this.tabIndex:-1:this.tabIndex,ge!==this._previousTabIndex){const ae=this._inputElement?.nativeElement;ae&&(ae.setAttribute("tabindex",ge+""),this._previousTabIndex=ge)}}static#e=this.\u0275fac=function(ge){return new(ge||J)(e.rXU(R,8),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(w.FN),e.rXU(S.zP),e.rXU(e.bc$,8),e.rXU(z,8),e.kS0("tabindex"))};static#t=this.\u0275cmp=e.VBU({type:J,selectors:[["mat-radio-button"]],viewQuery:function(ge,ae){if(1&ge&&(e.GBs(f,5),e.GBs(I,7,e.aKT)),2&ge){let Me;e.mGM(Me=e.lsd())&&(ae._inputElement=Me.first),e.mGM(Me=e.lsd())&&(ae._rippleTrigger=Me.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(ge,ae){1&ge&&e.bIt("focus",function(){return ae._inputElement.nativeElement.focus()}),2&ge&&(e.BMQ("id",ae.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.AVh("mat-primary","primary"===ae.color)("mat-accent","accent"===ae.color)("mat-warn","warn"===ae.color)("mat-mdc-radio-checked",ae.checked)("_mat-animation-noopable",ae._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",ie=>null==ie?0:(0,e.Udg)(ie)],checked:[2,"checked","checked",e.L39],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[e.GFd,e.aNF],ngContentSelectors:d,decls:13,vars:16,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(ge,ae){if(1&ge){const Me=e.RV6();e.NAR(),e.j41(0,"div",2,0)(2,"div",3)(3,"div",4),e.bIt("click",function(de){return e.eBV(Me),e.Njj(ae._onTouchTargetClick(de))}),e.k0s(),e.j41(4,"input",5,1),e.bIt("change",function(de){return e.eBV(Me),e.Njj(ae._onInputInteraction(de))}),e.k0s(),e.j41(6,"div",6),e.nrm(7,"div",7)(8,"div",8),e.k0s(),e.j41(9,"div",9),e.nrm(10,"div",10),e.k0s()(),e.j41(11,"label",11),e.SdG(12),e.k0s()()}2&ge&&(e.Y8G("labelPosition",ae.labelPosition),e.R7$(2),e.AVh("mdc-radio--disabled",ae.disabled),e.R7$(2),e.Y8G("id",ae.inputId)("checked",ae.checked)("disabled",ae.disabled)("required",ae.required),e.BMQ("name",ae.name)("value",ae.value)("aria-label",ae.ariaLabel)("aria-labelledby",ae.ariaLabelledby)("aria-describedby",ae.ariaDescribedby),e.R7$(5),e.Y8G("matRippleTrigger",ae._rippleTrigger.nativeElement)("matRippleDisabled",ae._isRippleDisabled())("matRippleCentered",!0),e.R7$(2),e.Y8G("for",ae.inputId))},dependencies:[t.r6,t.tO],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return J})(),Q=(()=>{class J{static#e=this.\u0275fac=function(ge){return new(ge||J)};static#t=this.\u0275mod=e.$C({type:J});static#i=this.\u0275inj=e.G2t({imports:[t.yE,x.MD,t.pZ,j,t.yE]})}return J})()},2798:(Qe,te,g)=>{"use strict";g.d(te,{$2:()=>Ke,JO:()=>N,VO:()=>qe,Ve:()=>se});var e=g(6969),t=g(177),w=g(4438),S=g(6600),l=g(6467),x=g(5542),f=g(8617),I=g(8203),d=g(5024),T=g(7336),y=g(9417),F=g(1413),R=g(9030),z=g(7786),W=g(9172),$=g(5558),j=g(5964),Q=g(6354),J=g(3294),ee=g(6977),ie=g(6697),ge=g(9969);const ae=["trigger"],Me=["panel"],Te=[[["mat-select-trigger"]],"*"],de=["mat-select-trigger","*"];function D(X,me){if(1&X&&(w.j41(0,"span",4),w.EFF(1),w.k0s()),2&X){const ce=w.XpG();w.R7$(),w.JRh(ce.placeholder)}}function n(X,me){1&X&&w.SdG(0)}function c(X,me){if(1&X&&(w.j41(0,"span",11),w.EFF(1),w.k0s()),2&X){const ce=w.XpG(2);w.R7$(),w.JRh(ce.triggerValue)}}function m(X,me){if(1&X&&(w.j41(0,"span",5),w.DNE(1,n,1,0)(2,c,2,1,"span",11),w.k0s()),2&X){const ce=w.XpG();w.R7$(),w.vxM(ce.customTrigger?1:2)}}function h(X,me){if(1&X){const ce=w.RV6();w.j41(0,"div",12,1),w.bIt("@transformPanel.done",function(ke){w.eBV(ce);const mt=w.XpG();return w.Njj(mt._panelDoneAnimatingStream.next(ke.toState))})("keydown",function(ke){w.eBV(ce);const mt=w.XpG();return w.Njj(mt._handleKeydown(ke))}),w.SdG(2,1),w.k0s()}if(2&X){const ce=w.XpG();w.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",ce._getPanelTheme(),""),w.Y8G("ngClass",ce.panelClass)("@transformPanel","showing"),w.BMQ("id",ce.id+"-panel")("aria-multiselectable",ce.multiple)("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby())}}const C={transformPanelWrap:(0,ge.hZ)("transformPanelWrap",[(0,ge.kY)("* => void",(0,ge.P)("@transformPanel",[(0,ge.MA)()],{optional:!0}))]),transformPanel:(0,ge.hZ)("transformPanel",[(0,ge.wk)("void",(0,ge.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,ge.kY)("void => showing",(0,ge.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ge.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,ge.kY)("* => void",(0,ge.i0)("100ms linear",(0,ge.iF)({opacity:0})))])};let r=0;const v=new w.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const X=(0,w.WQX)(e.hJ);return()=>X.scrollStrategies.reposition()}}),N=new w.nKC("MAT_SELECT_CONFIG"),ne={provide:v,deps:[e.hJ],useFactory:function V(X){return()=>X.scrollStrategies.reposition()}},Ee=new w.nKC("MatSelectTrigger");class ze{constructor(me,ce){this.source=me,this.value=ce}}let qe=(()=>{class X{_scrollOptionIntoView(ce){const fe=this.options.toArray()[ce];if(fe){const ke=this.panel.nativeElement,mt=(0,S.jb)(ce,this.options,this.optionGroups),_e=fe._getHostElement();ke.scrollTop=0===ce&&1===mt?0:(0,S.TL)(_e.offsetTop,_e.offsetHeight,ke.scrollTop,ke.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ce){return new ze(this,ce)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ce){this._hideSingleSelectionIndicator=ce,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(ce){this._placeholder=ce,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.k0.required)??!1}set required(ce){this._required=ce,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(ce){this._multiple=ce}get compareWith(){return this._compareWith}set compareWith(ce){this._compareWith=ce,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ce){this._assignValue(ce)&&this._onChange(ce)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(ce){this._errorStateTracker.matcher=ce}get id(){return this._id}set id(ce){this._id=ce||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(ce){this._errorStateTracker.errorState=ce}constructor(ce,fe,ke,mt,_e,be,pe,Ze,_t,at,pt,Xt,ye,ue){this._viewportRuler=ce,this._changeDetectorRef=fe,this._elementRef=_e,this._dir=be,this._parentFormField=_t,this.ngControl=at,this._liveAnnouncer=ye,this._defaultOptions=ue,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Ie,He)=>Ie===He,this._uid="mat-select-"+r++,this._triggerAriaLabelledBy=null,this._destroy=new F.B,this.stateChanges=new F.B,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+r++,this._panelDoneAnimatingStream=new F.B,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new F.B,this.optionSelectionChanges=(0,R.v)(()=>{const Ie=this.options;return Ie?Ie.changes.pipe((0,W.Z)(Ie),(0,$.n)(()=>(0,z.h)(...Ie.map(He=>He.onSelectionChange)))):this._initialized.pipe((0,$.n)(()=>this.optionSelectionChanges))}),this.openedChange=new w.bkB,this._openedStream=this.openedChange.pipe((0,j.p)(Ie=>Ie),(0,Q.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,j.p)(Ie=>!Ie),(0,Q.T)(()=>{})),this.selectionChange=new w.bkB,this.valueChange=new w.bkB,this._trackedModal=null,this._skipPredicate=Ie=>!this.panelOpen&&Ie.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ue?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=ue.typeaheadDebounceInterval),this._errorStateTracker=new S.X0(mt,at,Ze,pe,this.stateChanges),this._scrollStrategyFactory=Xt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(pt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new d.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,J.F)(),(0,ee.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,ee.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,ee.Q)(this._destroy)).subscribe(ce=>{ce.added.forEach(fe=>fe.select()),ce.removed.forEach(fe=>fe.deselect())}),this.options.changes.pipe((0,W.Z)(null),(0,ee.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ce=this._getTriggerAriaLabelledby(),fe=this.ngControl;if(ce!==this._triggerAriaLabelledBy){const ke=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ce,ce?ke.setAttribute("aria-labelledby",ce):ke.removeAttribute("aria-labelledby")}fe&&(this._previousControl!==fe.control&&(void 0!==this._previousControl&&null!==fe.disabled&&fe.disabled!==this.disabled&&(this.disabled=fe.disabled),this._previousControl=fe.control),this.updateErrorState())}ngOnChanges(ce){(ce.disabled||ce.userAriaDescribedBy)&&this.stateChanges.next(),ce.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const ce=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!ce)return;const fe=`${this.id}-panel`;this._trackedModal&&(0,f.Ae)(this._trackedModal,"aria-owns",fe),(0,f.px)(ce,"aria-owns",fe),this._trackedModal=ce}_clearFromModal(){this._trackedModal&&((0,f.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(ce){this._assignValue(ce)}registerOnChange(ce){this._onChange=ce}registerOnTouched(ce){this._onTouched=ce}setDisabledState(ce){this.disabled=ce,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const ce=this._selectionModel.selected.map(fe=>fe.viewValue);return this._isRtl()&&ce.reverse(),ce.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ce){this.disabled||(this.panelOpen?this._handleOpenKeydown(ce):this._handleClosedKeydown(ce))}_handleClosedKeydown(ce){const fe=ce.keyCode,ke=fe===T.n6||fe===T.i7||fe===T.UQ||fe===T.LE,mt=fe===T.Fm||fe===T.t6,_e=this._keyManager;if(!_e.isTyping()&&mt&&!(0,T.rp)(ce)||(this.multiple||ce.altKey)&&ke)ce.preventDefault(),this.open();else if(!this.multiple){const be=this.selected;_e.onKeydown(ce);const pe=this.selected;pe&&be!==pe&&this._liveAnnouncer.announce(pe.viewValue,1e4)}}_handleOpenKeydown(ce){const fe=this._keyManager,ke=ce.keyCode,mt=ke===T.n6||ke===T.i7,_e=fe.isTyping();if(mt&&ce.altKey)ce.preventDefault(),this.close();else if(_e||ke!==T.Fm&&ke!==T.t6||!fe.activeItem||(0,T.rp)(ce))if(!_e&&this._multiple&&ke===T.A&&ce.ctrlKey){ce.preventDefault();const be=this.options.some(pe=>!pe.disabled&&!pe.selected);this.options.forEach(pe=>{pe.disabled||(be?pe.select():pe.deselect())})}else{const be=fe.activeItemIndex;fe.onKeydown(ce),this._multiple&&mt&&ce.shiftKey&&fe.activeItem&&fe.activeItemIndex!==be&&fe.activeItem._selectViaInteraction()}else ce.preventDefault(),fe.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ie.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(ce){if(this.options.forEach(fe=>fe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ce)Array.isArray(ce),ce.forEach(fe=>this._selectOptionByValue(fe)),this._sortValues();else{const fe=this._selectOptionByValue(ce);fe?this._keyManager.updateActiveItem(fe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ce){const fe=this.options.find(ke=>{if(this._selectionModel.isSelected(ke))return!1;try{return null!=ke.value&&this._compareWith(ke.value,ce)}catch{return!1}});return fe&&this._selectionModel.select(fe),fe}_assignValue(ce){return!!(ce!==this._value||this._multiple&&Array.isArray(ce))&&(this.options&&this._setSelectionByValue(ce),this._value=ce,!0)}_getOverlayWidth(ce){return"auto"===this.panelWidth?(ce instanceof e.$Q?ce.elementRef:ce||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const ce of this.options)ce._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new f.Au(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const ce=(0,z.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ee.Q)(ce)).subscribe(fe=>{this._onSelect(fe.source,fe.isUserInput),fe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,z.h)(...this.options.map(fe=>fe._stateChanges)).pipe((0,ee.Q)(ce)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ce,fe){const ke=this._selectionModel.isSelected(ce);null!=ce.value||this._multiple?(ke!==ce.selected&&(ce.selected?this._selectionModel.select(ce):this._selectionModel.deselect(ce)),fe&&this._keyManager.setActiveItem(ce),this.multiple&&(this._sortValues(),fe&&this.focus())):(ce.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ce.value)),ke!==this._selectionModel.isSelected(ce)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ce=this.options.toArray();this._selectionModel.sort((fe,ke)=>this.sortComparator?this.sortComparator(fe,ke,ce):ce.indexOf(fe)-ce.indexOf(ke)),this.stateChanges.next()}}_propagateChanges(ce){let fe;fe=this.multiple?this.selected.map(ke=>ke.value):this.selected?this.selected.value:ce,this._value=fe,this.valueChange.emit(fe),this._onChange(fe),this.selectionChange.emit(this._getChangeEvent(fe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let ce=-1;for(let fe=0;fe<this.options.length;fe++)if(!this.options.get(fe).disabled){ce=fe;break}this._keyManager.setActiveItem(ce)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(ce){this._elementRef.nativeElement.focus(ce)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ce=this._parentFormField?.getLabelId();return this.ariaLabelledby?(ce?ce+" ":"")+this.ariaLabelledby:ce}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const ce=this._parentFormField?.getLabelId();let fe=(ce?ce+" ":"")+this._valueId;return this.ariaLabelledby&&(fe+=" "+this.ariaLabelledby),fe}_panelDoneAnimating(ce){this.openedChange.emit(ce)}setDescribedByIds(ce){ce.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ce.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(fe){return new(fe||X)(w.rXU(x.Xj),w.rXU(w.gRc),w.rXU(w.SKi),w.rXU(S.es),w.rXU(w.aKT),w.rXU(I.dS,8),w.rXU(y.cV,8),w.rXU(y.j4,8),w.rXU(l.xb,8),w.rXU(y.vO,10),w.kS0("tabindex"),w.rXU(v),w.rXU(f.Ai),w.rXU(N,8))};static#t=this.\u0275cmp=w.VBU({type:X,selectors:[["mat-select"]],contentQueries:function(fe,ke,mt){if(1&fe&&(w.wni(mt,Ee,5),w.wni(mt,S.wT,5),w.wni(mt,S.QC,5)),2&fe){let _e;w.mGM(_e=w.lsd())&&(ke.customTrigger=_e.first),w.mGM(_e=w.lsd())&&(ke.options=_e),w.mGM(_e=w.lsd())&&(ke.optionGroups=_e)}},viewQuery:function(fe,ke){if(1&fe&&(w.GBs(ae,5),w.GBs(Me,5),w.GBs(e.WB,5)),2&fe){let mt;w.mGM(mt=w.lsd())&&(ke.trigger=mt.first),w.mGM(mt=w.lsd())&&(ke.panel=mt.first),w.mGM(mt=w.lsd())&&(ke._overlayDir=mt.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(fe,ke){1&fe&&w.bIt("keydown",function(_e){return ke._handleKeydown(_e)})("focus",function(){return ke._onFocus()})("blur",function(){return ke._onBlur()}),2&fe&&(w.BMQ("id",ke.id)("tabindex",ke.disabled?-1:ke.tabIndex)("aria-controls",ke.panelOpen?ke.id+"-panel":null)("aria-expanded",ke.panelOpen)("aria-label",ke.ariaLabel||null)("aria-required",ke.required.toString())("aria-disabled",ke.disabled.toString())("aria-invalid",ke.errorState)("aria-activedescendant",ke._getAriaActiveDescendant()),w.AVh("mat-mdc-select-disabled",ke.disabled)("mat-mdc-select-invalid",ke.errorState)("mat-mdc-select-required",ke.required)("mat-mdc-select-empty",ke.empty)("mat-mdc-select-multiple",ke.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",w.L39],disableRipple:[2,"disableRipple","disableRipple",w.L39],tabIndex:[2,"tabIndex","tabIndex",ce=>null==ce?0:(0,w.Udg)(ce)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",w.L39],placeholder:"placeholder",required:[2,"required","required",w.L39],multiple:[2,"multiple","multiple",w.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",w.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",w.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[w.Jv_([{provide:l.qT,useExisting:X},{provide:S.is,useExisting:X}]),w.GFd,w.OA$,w.aNF],ngContentSelectors:de,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(fe,ke){if(1&fe){const mt=w.RV6();w.NAR(Te),w.j41(0,"div",2,0),w.bIt("click",function(){return w.eBV(mt),w.Njj(ke.open())}),w.j41(3,"div",3),w.DNE(4,D,2,1,"span",4)(5,m,3,1,"span",5),w.k0s(),w.j41(6,"div",6)(7,"div",7),w.qSk(),w.j41(8,"svg",8),w.nrm(9,"path",9),w.k0s()()()(),w.DNE(10,h,3,9,"ng-template",10),w.bIt("backdropClick",function(){return w.eBV(mt),w.Njj(ke.close())})("attach",function(){return w.eBV(mt),w.Njj(ke._onAttached())})("detach",function(){return w.eBV(mt),w.Njj(ke.close())})}if(2&fe){const mt=w.sdS(1);w.R7$(3),w.BMQ("id",ke._valueId),w.R7$(),w.vxM(ke.empty?4:5),w.R7$(6),w.Y8G("cdkConnectedOverlayPanelClass",ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ke._scrollStrategy)("cdkConnectedOverlayOrigin",ke._preferredOverlayOrigin||mt)("cdkConnectedOverlayOpen",ke.panelOpen)("cdkConnectedOverlayPositions",ke._positions)("cdkConnectedOverlayWidth",ke._overlayWidth)}},dependencies:[e.$Q,e.WB,t.YU],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[C.transformPanel]},changeDetection:0})}return X})(),Ke=(()=>{class X{static#e=this.\u0275fac=function(fe){return new(fe||X)};static#t=this.\u0275dir=w.FsC({type:X,selectors:[["mat-select-trigger"]],standalone:!0,features:[w.Jv_([{provide:Ee,useExisting:X}])]})}return X})(),se=(()=>{class X{static#e=this.\u0275fac=function(fe){return new(fe||X)};static#t=this.\u0275mod=w.$C({type:X});static#i=this.\u0275inj=w.G2t({providers:[ne],imports:[t.MD,e.z_,S.Sy,S.yE,x.Gj,l.RG,S.Sy,S.yE]})}return X})()},882:(Qe,te,g)=>{"use strict";g.d(te,{El:()=>Ee,LG:()=>ze,US:()=>qe,vg:()=>Ke});var e=g(5542),t=g(4438),w=g(6600),S=g(8617),l=g(8203),x=g(4085),f=g(7336),I=g(6860),d=g(177),T=g(1413),y=g(3726),F=g(7786),R=g(5964),z=g(6354),W=g(3703),$=g(6977),j=g(3294),Q=g(6697),J=g(9172),ee=g(152),ie=g(9969);const ge=["*"],ae=["content"],Me=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Te=["mat-drawer","mat-drawer-content","*"];function de(se,X){if(1&se){const me=t.RV6();t.j41(0,"div",1),t.bIt("click",function(){t.eBV(me);const fe=t.XpG();return t.Njj(fe._onBackdropClicked())}),t.k0s()}if(2&se){const me=t.XpG();t.AVh("mat-drawer-shown",me._isShowingBackdrop())}}function D(se,X){1&se&&(t.j41(0,"mat-drawer-content"),t.SdG(1,2),t.k0s())}const n=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],c=["mat-sidenav","mat-sidenav-content","*"];function m(se,X){if(1&se){const me=t.RV6();t.j41(0,"div",1),t.bIt("click",function(){t.eBV(me);const fe=t.XpG();return t.Njj(fe._onBackdropClicked())}),t.k0s()}if(2&se){const me=t.XpG();t.AVh("mat-drawer-shown",me._isShowingBackdrop())}}function h(se,X){1&se&&(t.j41(0,"mat-sidenav-content"),t.SdG(1,2),t.k0s())}const k={transformDrawer:(0,ie.hZ)("transform",[(0,ie.wk)("open, open-instant",(0,ie.iF)({transform:"none",visibility:"visible"})),(0,ie.wk)("void",(0,ie.iF)({"box-shadow":"none",visibility:"hidden"})),(0,ie.kY)("void => open-instant",(0,ie.i0)("0ms")),(0,ie.kY)("void <=> open, open-instant => void",(0,ie.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},_=new t.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function v(){return!1}}),r=new t.nKC("MAT_DRAWER_CONTAINER");let V=(()=>{class se extends e.uv{constructor(me,ce,fe,ke,mt){super(fe,ke,mt),this._changeDetectorRef=me,this._container=ce}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(ce){return new(ce||se)(t.rXU(t.gRc),t.rXU((0,t.Rfq)(()=>ne)),t.rXU(t.aKT),t.rXU(e.R),t.rXU(t.SKi))};static#t=this.\u0275cmp=t.VBU({type:se,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ce,fe){2&ce&&t.xc7("margin-left",fe._container._contentMargins.left,"px")("margin-right",fe._container._contentMargins.right,"px")},standalone:!0,features:[t.Jv_([{provide:e.uv,useExisting:se}]),t.Vt3,t.aNF],ngContentSelectors:ge,decls:1,vars:0,template:function(ce,fe){1&ce&&(t.NAR(),t.SdG(0))},encapsulation:2,changeDetection:0})}return se})(),N=(()=>{class se{get position(){return this._position}set position(me){(me="end"===me?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(me),this._position=me,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(me){this._mode=me,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(me){this._disableClose=(0,x.he)(me)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(me){("true"===me||"false"===me||null==me)&&(me=(0,x.he)(me)),this._autoFocus=me}get opened(){return this._opened}set opened(me){this.toggle((0,x.he)(me))}constructor(me,ce,fe,ke,mt,_e,be,pe){this._elementRef=me,this._focusTrapFactory=ce,this._focusMonitor=fe,this._platform=ke,this._ngZone=mt,this._interactivityChecker=_e,this._doc=be,this._container=pe,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new T.B,this._animationEnd=new T.B,this._animationState="void",this.openedChange=new t.bkB(!0),this._openedStream=this.openedChange.pipe((0,R.p)(Ze=>Ze),(0,z.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,R.p)(Ze=>Ze.fromState!==Ze.toState&&0===Ze.toState.indexOf("open")),(0,W.u)(void 0)),this._closedStream=this.openedChange.pipe((0,R.p)(Ze=>!Ze),(0,z.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,R.p)(Ze=>Ze.fromState!==Ze.toState&&"void"===Ze.toState),(0,W.u)(void 0)),this._destroyed=new T.B,this.onPositionChanged=new t.bkB,this._modeChanged=new T.B,this.openedChange.subscribe(Ze=>{Ze?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,y.R)(this._elementRef.nativeElement,"keydown").pipe((0,R.p)(Ze=>Ze.keyCode===f._f&&!this.disableClose&&!(0,f.rp)(Ze)),(0,$.Q)(this._destroyed)).subscribe(Ze=>this._ngZone.run(()=>{this.close(),Ze.stopPropagation(),Ze.preventDefault()}))}),this._animationEnd.pipe((0,j.F)((Ze,_t)=>Ze.fromState===_t.fromState&&Ze.toState===_t.toState)).subscribe(Ze=>{const{fromState:_t,toState:at}=Ze;(0===at.indexOf("open")&&"void"===_t||"void"===at&&0===_t.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(me,ce){this._interactivityChecker.isFocusable(me)||(me.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const fe=()=>{me.removeEventListener("blur",fe),me.removeEventListener("mousedown",fe),me.removeAttribute("tabindex")};me.addEventListener("blur",fe),me.addEventListener("mousedown",fe)})),me.focus(ce)}_focusByCssSelector(me,ce){let fe=this._elementRef.nativeElement.querySelector(me);fe&&this._forceFocus(fe,ce)}_takeFocus(){if(!this._focusTrap)return;const me=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ce=>{!ce&&"function"==typeof this._elementRef.nativeElement.focus&&me.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(me){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,me):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const me=this._doc.activeElement;return!!me&&this._elementRef.nativeElement.contains(me)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(me){return this.toggle(!0,me)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(me=!this.opened,ce){me&&ce&&(this._openedVia=ce);const fe=this._setOpen(me,!me&&this._isFocusWithinDrawer(),this._openedVia||"program");return me||(this._openedVia=null),fe}_setOpen(me,ce,fe){return this._opened=me,me?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",ce&&this._restoreFocus(fe)),this._updateFocusTrapState(),new Promise(ke=>{this.openedChange.pipe((0,Q.s)(1)).subscribe(mt=>ke(mt?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(me){if(!this._platform.isBrowser)return;const ce=this._elementRef.nativeElement,fe=ce.parentNode;"end"===me?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),fe.insertBefore(this._anchor,ce)),fe.appendChild(ce)):this._anchor&&this._anchor.parentNode.insertBefore(ce,this._anchor)}static#e=this.\u0275fac=function(ce){return new(ce||se)(t.rXU(t.aKT),t.rXU(S.GX),t.rXU(S.FN),t.rXU(I.OD),t.rXU(t.SKi),t.rXU(S.Z7),t.rXU(d.qQ,8),t.rXU(r,8))};static#t=this.\u0275cmp=t.VBU({type:se,selectors:[["mat-drawer"]],viewQuery:function(ce,fe){if(1&ce&&t.GBs(ae,5),2&ce){let ke;t.mGM(ke=t.lsd())&&(fe._content=ke.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ce,fe){1&ce&&t.Kam("@transform.start",function(mt){return fe._animationStarted.next(mt)})("@transform.done",function(mt){return fe._animationEnd.next(mt)}),2&ce&&(t.zvX("@transform",fe._animationState),t.BMQ("align",null),t.AVh("mat-drawer-end","end"===fe.position)("mat-drawer-over","over"===fe.mode)("mat-drawer-push","push"===fe.mode)("mat-drawer-side","side"===fe.mode)("mat-drawer-opened",fe.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[t.aNF],ngContentSelectors:ge,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(ce,fe){1&ce&&(t.NAR(),t.j41(0,"div",1,0),t.SdG(2),t.k0s())},dependencies:[e.uv],encapsulation:2,data:{animation:[k.transformDrawer]},changeDetection:0})}return se})(),ne=(()=>{class se{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(me){this._autosize=(0,x.he)(me)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(me){this._backdropOverride=null==me?null:(0,x.he)(me)}get scrollable(){return this._userContent||this._content}constructor(me,ce,fe,ke,mt,_e=!1,be){this._dir=me,this._element=ce,this._ngZone=fe,this._changeDetectorRef=ke,this._animationMode=be,this._drawers=new t.rOR,this.backdropClick=new t.bkB,this._destroyed=new T.B,this._doCheckSubject=new T.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new T.B,me&&me.change.pipe((0,$.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),mt.change().pipe((0,$.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=_e}ngAfterContentInit(){this._allDrawers.changes.pipe((0,J.Z)(this._allDrawers),(0,$.Q)(this._destroyed)).subscribe(me=>{this._drawers.reset(me.filter(ce=>!ce._container||ce._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,J.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(me=>{this._watchDrawerToggle(me),this._watchDrawerPosition(me),this._watchDrawerMode(me)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ee.B)(10),(0,$.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(me=>me.open())}close(){this._drawers.forEach(me=>me.close())}updateContentMargins(){let me=0,ce=0;if(this._left&&this._left.opened)if("side"==this._left.mode)me+=this._left._getWidth();else if("push"==this._left.mode){const fe=this._left._getWidth();me+=fe,ce-=fe}if(this._right&&this._right.opened)if("side"==this._right.mode)ce+=this._right._getWidth();else if("push"==this._right.mode){const fe=this._right._getWidth();ce+=fe,me-=fe}me=me||null,ce=ce||null,(me!==this._contentMargins.left||ce!==this._contentMargins.right)&&(this._contentMargins={left:me,right:ce},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(me){me._animationStarted.pipe((0,R.p)(ce=>ce.fromState!==ce.toState),(0,$.Q)(this._drawers.changes)).subscribe(ce=>{"open-instant"!==ce.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==me.mode&&me.openedChange.pipe((0,$.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(me.opened))}_watchDrawerPosition(me){me&&me.onPositionChanged.pipe((0,$.Q)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Q.s)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(me){me&&me._modeChanged.pipe((0,$.Q)((0,F.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(me){const ce=this._element.nativeElement.classList,fe="mat-drawer-container-has-open";me?ce.add(fe):ce.remove(fe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(me=>{"end"==me.position?this._end=me:this._start=me}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(me=>me&&!me.disableClose&&this._drawerHasBackdrop(me)).forEach(me=>me._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(me){return null!=me&&me.opened}_drawerHasBackdrop(me){return null==this._backdropOverride?!!me&&"side"!==me.mode:this._backdropOverride}static#e=this.\u0275fac=function(ce){return new(ce||se)(t.rXU(l.dS,8),t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(t.gRc),t.rXU(e.Xj),t.rXU(_),t.rXU(t.bc$,8))};static#t=this.\u0275cmp=t.VBU({type:se,selectors:[["mat-drawer-container"]],contentQueries:function(ce,fe,ke){if(1&ce&&(t.wni(ke,V,5),t.wni(ke,N,5)),2&ce){let mt;t.mGM(mt=t.lsd())&&(fe._content=mt.first),t.mGM(mt=t.lsd())&&(fe._allDrawers=mt)}},viewQuery:function(ce,fe){if(1&ce&&t.GBs(V,5),2&ce){let ke;t.mGM(ke=t.lsd())&&(fe._userContent=ke.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ce,fe){2&ce&&t.AVh("mat-drawer-container-explicit-backdrop",fe._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[t.Jv_([{provide:r,useExisting:se}]),t.aNF],ngContentSelectors:Te,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ce,fe){1&ce&&(t.NAR(Me),t.DNE(0,de,1,2,"div",0),t.SdG(1),t.SdG(2,1),t.DNE(3,D,2,0,"mat-drawer-content")),2&ce&&(t.vxM(fe.hasBackdrop?0:-1),t.R7$(3),t.vxM(fe._content?-1:3))},dependencies:[V],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return se})(),Ee=(()=>{class se extends V{constructor(me,ce,fe,ke,mt){super(me,ce,fe,ke,mt)}static#e=this.\u0275fac=function(ce){return new(ce||se)(t.rXU(t.gRc),t.rXU((0,t.Rfq)(()=>qe)),t.rXU(t.aKT),t.rXU(e.R),t.rXU(t.SKi))};static#t=this.\u0275cmp=t.VBU({type:se,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ce,fe){2&ce&&t.xc7("margin-left",fe._container._contentMargins.left,"px")("margin-right",fe._container._contentMargins.right,"px")},standalone:!0,features:[t.Jv_([{provide:e.uv,useExisting:se}]),t.Vt3,t.aNF],ngContentSelectors:ge,decls:1,vars:0,template:function(ce,fe){1&ce&&(t.NAR(),t.SdG(0))},encapsulation:2,changeDetection:0})}return se})(),ze=(()=>{class se extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(me){this._fixedInViewport=(0,x.he)(me)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(me){this._fixedTopGap=(0,x.OE)(me)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(me){this._fixedBottomGap=(0,x.OE)(me)}static#e=this.\u0275fac=(()=>{let me;return function(fe){return(me||(me=t.xGo(se)))(fe||se)}})();static#t=this.\u0275cmp=t.VBU({type:se,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ce,fe){2&ce&&(t.BMQ("align",null),t.xc7("top",fe.fixedInViewport?fe.fixedTopGap:null,"px")("bottom",fe.fixedInViewport?fe.fixedBottomGap:null,"px"),t.AVh("mat-drawer-end","end"===fe.position)("mat-drawer-over","over"===fe.mode)("mat-drawer-push","push"===fe.mode)("mat-drawer-side","side"===fe.mode)("mat-drawer-opened",fe.opened)("mat-sidenav-fixed",fe.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[t.Vt3,t.aNF],ngContentSelectors:ge,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(ce,fe){1&ce&&(t.NAR(),t.j41(0,"div",1,0),t.SdG(2),t.k0s())},dependencies:[e.uv],encapsulation:2,data:{animation:[k.transformDrawer]},changeDetection:0})}return se})(),qe=(()=>{class se extends ne{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=(()=>{let me;return function(fe){return(me||(me=t.xGo(se)))(fe||se)}})();static#t=this.\u0275cmp=t.VBU({type:se,selectors:[["mat-sidenav-container"]],contentQueries:function(ce,fe,ke){if(1&ce&&(t.wni(ke,Ee,5),t.wni(ke,ze,5)),2&ce){let mt;t.mGM(mt=t.lsd())&&(fe._content=mt.first),t.mGM(mt=t.lsd())&&(fe._allDrawers=mt)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ce,fe){2&ce&&t.AVh("mat-drawer-container-explicit-backdrop",fe._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[t.Jv_([{provide:r,useExisting:se}]),t.Vt3,t.aNF],ngContentSelectors:c,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ce,fe){1&ce&&(t.NAR(n),t.DNE(0,m,1,2,"div",0),t.SdG(1),t.SdG(2,1),t.DNE(3,h,2,0,"mat-sidenav-content")),2&ce&&(t.vxM(fe.hasBackdrop?0:-1),t.R7$(3),t.vxM(fe._content?-1:3))},dependencies:[Ee],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return se})(),Ke=(()=>{class se{static#e=this.\u0275fac=function(ce){return new(ce||se)};static#t=this.\u0275mod=t.$C({type:se});static#i=this.\u0275inj=t.G2t({imports:[w.yE,e.Gj,e.Gj,w.yE]})}return se})()},450:(Qe,te,g)=>{"use strict";g.d(te,{mV:()=>$,sG:()=>F});var e=g(4438),t=g(9417),w=g(8617),S=g(6600);const l=["switch"],x=["*"];function f(j,Q){1&j&&(e.j41(0,"div",10),e.qSk(),e.j41(1,"svg",12),e.nrm(2,"path",13),e.k0s(),e.j41(3,"svg",14),e.nrm(4,"path",15),e.k0s()())}const I=new e.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),d={provide:t.kq,useExisting:(0,e.Rfq)(()=>F),multi:!0};class T{constructor(Q,J){this.source=Q,this.checked=J}}let y=0,F=(()=>{class j{_createChangeEvent(J){return new T(this,J)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(J){this._checked=J,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(J,ee,ie,ge,ae,Me){this._elementRef=J,this._focusMonitor=ee,this._changeDetectorRef=ie,this.defaults=ae,this._onChange=Te=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new e.bkB,this.toggleChange=new e.bkB,this.tabIndex=parseInt(ge)||0,this.color=ae.color||"accent",this._noopAnimations="NoopAnimations"===Me,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++y,this.hideIcon=ae.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(J=>{"keyboard"===J||"program"===J?(this._focused=!0,this._changeDetectorRef.markForCheck()):J||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(J){J.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(J){this.checked=!!J}registerOnChange(J){this._onChange=J}registerOnTouched(J){this._onTouched=J}validate(J){return this.required&&!0!==J.value?{required:!0}:null}registerOnValidatorChange(J){this._validatorOnChange=J}setDisabledState(J){this.disabled=J,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new T(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(ee){return new(ee||j)(e.rXU(e.aKT),e.rXU(w.FN),e.rXU(e.gRc),e.kS0("tabindex"),e.rXU(I),e.rXU(e.bc$,8))};static#t=this.\u0275cmp=e.VBU({type:j,selectors:[["mat-slide-toggle"]],viewQuery:function(ee,ie){if(1&ee&&e.GBs(l,5),2&ee){let ge;e.mGM(ge=e.lsd())&&(ie._switchElement=ge.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(ee,ie){2&ee&&(e.Mr5("id",ie.id),e.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.HbH(ie.color?"mat-"+ie.color:""),e.AVh("mat-mdc-slide-toggle-focused",ie._focused)("mat-mdc-slide-toggle-checked",ie.checked)("_mat-animation-noopable",ie._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",e.L39],color:"color",disabled:[2,"disabled","disabled",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",J=>null==J?0:(0,e.Udg)(J)],checked:[2,"checked","checked",e.L39],hideIcon:[2,"hideIcon","hideIcon",e.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[e.Jv_([d,{provide:t.cz,useExisting:j,multi:!0}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:x,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(ee,ie){if(1&ee){const ge=e.RV6();e.NAR(),e.j41(0,"div",1)(1,"button",2,0),e.bIt("click",function(){return e.eBV(ge),e.Njj(ie._handleClick())}),e.nrm(3,"div",3),e.j41(4,"div",4)(5,"div",5)(6,"div",6),e.nrm(7,"div",7),e.k0s(),e.j41(8,"div",8),e.nrm(9,"div",9),e.k0s(),e.DNE(10,f,5,0,"div",10),e.k0s()()(),e.j41(11,"label",11),e.bIt("click",function(Me){return e.eBV(ge),e.Njj(Me.stopPropagation())}),e.SdG(12),e.k0s()()}if(2&ee){const ge=e.sdS(2);e.Y8G("labelPosition",ie.labelPosition),e.R7$(),e.AVh("mdc-switch--selected",ie.checked)("mdc-switch--unselected",!ie.checked)("mdc-switch--checked",ie.checked)("mdc-switch--disabled",ie.disabled),e.Y8G("tabIndex",ie.disabled?-1:ie.tabIndex)("disabled",ie.disabled),e.BMQ("id",ie.buttonId)("name",ie.name)("aria-label",ie.ariaLabel)("aria-labelledby",ie._getAriaLabelledBy())("aria-describedby",ie.ariaDescribedby)("aria-required",ie.required||null)("aria-checked",ie.checked),e.R7$(8),e.Y8G("matRippleTrigger",ge)("matRippleDisabled",ie.disableRipple||ie.disabled)("matRippleCentered",!0),e.R7$(),e.vxM(ie.hideIcon?-1:10),e.R7$(),e.Y8G("for",ie.buttonId),e.BMQ("id",ie._labelId)}},dependencies:[S.r6,S.tO],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0})}return j})(),$=(()=>{class j{static#e=this.\u0275fac=function(ee){return new(ee||j)};static#t=this.\u0275mod=e.$C({type:j});static#i=this.\u0275inj=e.G2t({imports:[F,S.yE,S.yE]})}return j})()},5416:(Qe,te,g)=>{"use strict";g.d(te,{UG:()=>c,_T:()=>h,x6:()=>n});var e=g(4438),t=g(8834),w=g(1413),S=g(177),l=g(9969),x=g(6939),f=g(6860),I=g(8617),d=g(9327),T=g(6969),y=g(6977),F=g(6600);function R(C,k){if(1&C){const L=e.RV6();e.j41(0,"div",1)(1,"button",2),e.bIt("click",function(){e.eBV(L);const r=e.XpG();return e.Njj(r.action())}),e.EFF(2),e.k0s()()}if(2&C){const L=e.XpG();e.R7$(2),e.SpI(" ",L.data.action," ")}}const z=["label"];function W(C,k){}const $=Math.pow(2,31)-1;class j{constructor(k,L){this._overlayRef=L,this._afterDismissed=new w.B,this._afterOpened=new w.B,this._onAction=new w.B,this._dismissedByAction=!1,this.containerInstance=k,k._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(k){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(k,$))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const Q=new e.nKC("MatSnackBarData");class J{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ee=(()=>{class C{static#e=this.\u0275fac=function(_){return new(_||C)};static#t=this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}return C})(),ie=(()=>{class C{static#e=this.\u0275fac=function(_){return new(_||C)};static#t=this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}return C})(),ge=(()=>{class C{static#e=this.\u0275fac=function(_){return new(_||C)};static#t=this.\u0275dir=e.FsC({type:C,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}return C})(),ae=(()=>{class C{constructor(L,_){this.snackBarRef=L,this.data=_}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(_){return new(_||C)(e.rXU(j),e.rXU(Q))};static#t=this.\u0275cmp=e.VBU({type:C,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[e.aNF],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(_,r){1&_&&(e.j41(0,"div",0),e.EFF(1),e.k0s(),e.DNE(2,R,3,1,"div",1)),2&_&&(e.R7$(),e.SpI(" ",r.data.message,"\n"),e.R7$(),e.vxM(r.hasAction?2:-1))},dependencies:[t.$z,ee,ie,ge],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return C})();const Me={snackBarState:(0,l.hZ)("state",[(0,l.wk)("void, hidden",(0,l.iF)({transform:"scale(0.8)",opacity:0})),(0,l.wk)("visible",(0,l.iF)({transform:"scale(1)",opacity:1})),(0,l.kY)("* => visible",(0,l.i0)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,l.kY)("* => void, * => hidden",(0,l.i0)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,l.iF)({opacity:0})))])};let Te=0,de=(()=>{class C extends x.lb{constructor(L,_,r,v,V){super(),this._ngZone=L,this._elementRef=_,this._changeDetectorRef=r,this._platform=v,this.snackBarConfig=V,this._document=(0,e.WQX)(S.qQ),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new w.B,this._onExit=new w.B,this._onEnter=new w.B,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+Te++,this.attachDomPortal=N=>{this._assertNotAttached();const ne=this._portalOutlet.attachDomPortal(N);return this._afterPortalAttached(),ne},this._live="assertive"!==V.politeness||V.announcementMessage?"off"===V.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(L){this._assertNotAttached();const _=this._portalOutlet.attachComponentPortal(L);return this._afterPortalAttached(),_}attachTemplatePortal(L){this._assertNotAttached();const _=this._portalOutlet.attachTemplatePortal(L);return this._afterPortalAttached(),_}onAnimationEnd(L){const{fromState:_,toState:r}=L;if(("void"===r&&"void"!==_||"hidden"===r)&&this._completeExit(),"visible"===r){const v=this._onEnter;this._ngZone.run(()=>{v.next(),v.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const L=this._elementRef.nativeElement,_=this.snackBarConfig.panelClass;_&&(Array.isArray(_)?_.forEach(V=>L.classList.add(V)):L.classList.add(_)),this._exposeToModals();const r=this._label.nativeElement,v="mdc-snackbar__label";r.classList.toggle(v,!r.querySelector(`.${v}`))}_exposeToModals(){const L=this._liveElementId,_=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<_.length;r++){const v=_[r],V=v.getAttribute("aria-owns");this._trackedModals.add(v),V?-1===V.indexOf(L)&&v.setAttribute("aria-owns",V+" "+L):v.setAttribute("aria-owns",L)}}_clearFromModals(){this._trackedModals.forEach(L=>{const _=L.getAttribute("aria-owns");if(_){const r=_.replace(this._liveElementId,"").trim();r.length>0?L.setAttribute("aria-owns",r):L.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const L=this._elementRef.nativeElement.querySelector("[aria-hidden]"),_=this._elementRef.nativeElement.querySelector("[aria-live]");if(L&&_){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&L.contains(document.activeElement)&&(r=document.activeElement),L.removeAttribute("aria-hidden"),_.appendChild(L),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(_){return new(_||C)(e.rXU(e.SKi),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(f.OD),e.rXU(J))};static#t=this.\u0275cmp=e.VBU({type:C,selectors:[["mat-snack-bar-container"]],viewQuery:function(_,r){if(1&_&&(e.GBs(x.I3,7),e.GBs(z,7)),2&_){let v;e.mGM(v=e.lsd())&&(r._portalOutlet=v.first),e.mGM(v=e.lsd())&&(r._label=v.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(_,r){1&_&&e.Kam("@state.done",function(V){return r.onAnimationEnd(V)}),2&_&&e.zvX("@state",r._animationState)},standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(_,r){1&_&&(e.j41(0,"div",1)(1,"div",2,0)(3,"div",3),e.DNE(4,W,0,0,"ng-template",4),e.k0s(),e.nrm(5,"div"),e.k0s()()),2&_&&(e.R7$(5),e.BMQ("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[x.I3],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[Me.snackBarState]}})}return C})();const n=new e.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function D(){return new J}});let c=(()=>{class C{get _openedSnackBarRef(){const L=this._parentSnackBar;return L?L._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(L){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=L:this._snackBarRefAtThisLevel=L}constructor(L,_,r,v,V,N){this._overlay=L,this._live=_,this._injector=r,this._breakpointObserver=v,this._parentSnackBar=V,this._defaultConfig=N,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=ae,this.snackBarContainerComponent=de,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(L,_){return this._attach(L,_)}openFromTemplate(L,_){return this._attach(L,_)}open(L,_="",r){const v={...this._defaultConfig,...r};return v.data={message:L,action:_},v.announcementMessage===L&&(v.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,v)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(L,_){const v=e.zZn.create({parent:_&&_.viewContainerRef&&_.viewContainerRef.injector||this._injector,providers:[{provide:J,useValue:_}]}),V=new x.A8(this.snackBarContainerComponent,_.viewContainerRef,v),N=L.attach(V);return N.instance.snackBarConfig=_,N.instance}_attach(L,_){const r={...new J,...this._defaultConfig,..._},v=this._createOverlay(r),V=this._attachSnackBarContainer(v,r),N=new j(V,v);if(L instanceof e.C4Q){const ne=new x.VA(L,null,{$implicit:r.data,snackBarRef:N});N.instance=V.attachTemplatePortal(ne)}else{const ne=this._createInjector(r,N),Ee=new x.A8(L,void 0,ne),ze=V.attachComponentPortal(Ee);N.instance=ze.instance}return this._breakpointObserver.observe(d.Rp.HandsetPortrait).pipe((0,y.Q)(v.detachments())).subscribe(ne=>{v.overlayElement.classList.toggle(this.handsetCssClass,ne.matches)}),r.announcementMessage&&V._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(N,r),this._openedSnackBarRef=N,this._openedSnackBarRef}_animateSnackBar(L,_){L.afterDismissed().subscribe(()=>{this._openedSnackBarRef==L&&(this._openedSnackBarRef=null),_.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{L.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):L.containerInstance.enter(),_.duration&&_.duration>0&&L.afterOpened().subscribe(()=>L._dismissAfter(_.duration))}_createOverlay(L){const _=new T.rR;_.direction=L.direction;let r=this._overlay.position().global();const v="rtl"===L.direction,V="left"===L.horizontalPosition||"start"===L.horizontalPosition&&!v||"end"===L.horizontalPosition&&v,N=!V&&"center"!==L.horizontalPosition;return V?r.left("0"):N?r.right("0"):r.centerHorizontally(),"top"===L.verticalPosition?r.top("0"):r.bottom("0"),_.positionStrategy=r,this._overlay.create(_)}_createInjector(L,_){return e.zZn.create({parent:L&&L.viewContainerRef&&L.viewContainerRef.injector||this._injector,providers:[{provide:j,useValue:_},{provide:Q,useValue:L.data}]})}static#e=this.\u0275fac=function(_){return new(_||C)(e.KVO(T.hJ),e.KVO(I.Ai),e.KVO(e.zZn),e.KVO(d.QP),e.KVO(C,12),e.KVO(n))};static#t=this.\u0275prov=e.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})(),h=(()=>{class C{static#e=this.\u0275fac=function(_){return new(_||C)};static#t=this.\u0275mod=e.$C({type:C});static#i=this.\u0275inj=e.G2t({providers:[c],imports:[T.z_,x.jc,t.Hl,F.yE,ae,F.yE]})}return C})()},2042:(Qe,te,g)=>{"use strict";g.d(te,{B4:()=>j,NQ:()=>Te,aE:()=>Me});var e=g(4438),t=g(8617),w=g(7336),S=g(2771),l=g(1413),x=g(7786),f=g(9969),I=g(6600);const d=["mat-sort-header",""],T=["*"];function y(de,D){if(1&de){const n=e.RV6();e.j41(0,"div",2),e.bIt("@arrowPosition.start",function(){e.eBV(n);const m=e.XpG();return e.Njj(m._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.eBV(n);const m=e.XpG();return e.Njj(m._disableViewStateAnimation=!1)}),e.nrm(1,"div",3),e.j41(2,"div",4),e.nrm(3,"div",5)(4,"div",6)(5,"div",7),e.k0s()()}if(2&de){const n=e.XpG();e.Y8G("@arrowOpacity",n._getArrowViewState())("@arrowPosition",n._getArrowViewState())("@allowChildren",n._getArrowDirectionState()),e.R7$(2),e.Y8G("@indicator",n._getArrowDirectionState()),e.R7$(),e.Y8G("@leftPointer",n._getArrowDirectionState()),e.R7$(),e.Y8G("@rightPointer",n._getArrowDirectionState())}}const $=new e.nKC("MAT_SORT_DEFAULT_OPTIONS");let j=(()=>{class de{get direction(){return this._direction}set direction(n){this._direction=n}constructor(n){this._defaultOptions=n,this._initializedStream=new S.m(1),this.sortables=new Map,this._stateChanges=new l.B,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new e.bkB,this.initialized=this._initializedStream}register(n){this.sortables.set(n.id,n)}deregister(n){this.sortables.delete(n.id)}sort(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(n){if(!n)return"";let m=function Q(de,D){let n=["asc","desc"];return"desc"==de&&n.reverse(),D||n.push(""),n}(n.start||this.start,n?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),h=m.indexOf(this.direction)+1;return h>=m.length&&(h=0),m[h]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static#e=this.\u0275fac=function(c){return new(c||de)(e.rXU($,8))};static#t=this.\u0275dir=e.FsC({type:de,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",e.L39],disabled:[2,"matSortDisabled","disabled",e.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[e.GFd,e.OA$]})}return de})();const J=I.ed.ENTERING+" "+I.r5.STANDARD_CURVE,ee={indicator:(0,f.hZ)("indicator",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"translateY(0px)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"translateY(10px)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),leftPointer:(0,f.hZ)("leftPointer",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"rotate(-45deg)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"rotate(45deg)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),rightPointer:(0,f.hZ)("rightPointer",[(0,f.wk)("active-asc, asc",(0,f.iF)({transform:"rotate(45deg)"})),(0,f.wk)("active-desc, desc",(0,f.iF)({transform:"rotate(-45deg)"})),(0,f.kY)("active-asc <=> active-desc",(0,f.i0)(J))]),arrowOpacity:(0,f.hZ)("arrowOpacity",[(0,f.wk)("desc-to-active, asc-to-active, active",(0,f.iF)({opacity:1})),(0,f.wk)("desc-to-hint, asc-to-hint, hint",(0,f.iF)({opacity:.54})),(0,f.wk)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,f.iF)({opacity:0})),(0,f.kY)("* => asc, * => desc, * => active, * => hint, * => void",(0,f.i0)("0ms")),(0,f.kY)("* <=> *",(0,f.i0)(J))]),arrowPosition:(0,f.hZ)("arrowPosition",[(0,f.kY)("* => desc-to-hint, * => desc-to-active",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(-25%)"}),(0,f.iF)({transform:"translateY(0)"})]))),(0,f.kY)("* => hint-to-desc, * => active-to-desc",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(0)"}),(0,f.iF)({transform:"translateY(25%)"})]))),(0,f.kY)("* => asc-to-hint, * => asc-to-active",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(25%)"}),(0,f.iF)({transform:"translateY(0)"})]))),(0,f.kY)("* => hint-to-asc, * => active-to-asc",(0,f.i0)(J,(0,f.i7)([(0,f.iF)({transform:"translateY(0)"}),(0,f.iF)({transform:"translateY(-25%)"})]))),(0,f.wk)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,f.iF)({transform:"translateY(0)"})),(0,f.wk)("hint-to-desc, active-to-desc, desc",(0,f.iF)({transform:"translateY(-25%)"})),(0,f.wk)("hint-to-asc, active-to-asc, asc",(0,f.iF)({transform:"translateY(25%)"}))]),allowChildren:(0,f.hZ)("allowChildren",[(0,f.kY)("* <=> *",[(0,f.P)("@*",(0,f.MA)(),{optional:!0})])])};let ie=(()=>{class de{constructor(){this.changes=new l.B}static#e=this.\u0275fac=function(c){return new(c||de)};static#t=this.\u0275prov=e.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();const ae={provide:ie,deps:[[new e.Xx1,new e.kdw,ie]],useFactory:function ge(de){return de||new ie}};let Me=(()=>{class de{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(n){this._updateSortActionDescription(n)}constructor(n,c,m,h,C,k,L,_){this._intl=n,this._changeDetectorRef=c,this._sort=m,this._columnDef=h,this._focusMonitor=C,this._elementRef=k,this._ariaDescriber=L,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",_?.arrowPosition&&(this.arrowPosition=_?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(n=>{const c=!!n;c!==this._showIndicatorHint&&(this._setIndicatorHintVisible(c),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(n){this._isDisabled()&&n||(this._showIndicatorHint=n,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(n){this._viewState=n||{},this._disableViewStateAnimation&&(this._viewState={toState:n.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(n){!this._isDisabled()&&(n.keyCode===w.t6||n.keyCode===w.Fm)&&(n.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const n=this._viewState.fromState;return(n?`${n}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(n){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,n)),this._sortActionDescription=n}_handleStateChanges(){this._rerenderSubscription=(0,x.h)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(c){return new(c||de)(e.rXU(ie),e.rXU(e.gRc),e.rXU(j,8),e.rXU("MAT_SORT_HEADER_COLUMN_DEF",8),e.rXU(t.FN),e.rXU(e.aKT),e.rXU(t.vr,8),e.rXU($,8))};static#t=this.\u0275cmp=e.VBU({type:de,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(c,m){1&c&&e.bIt("click",function(){return m._handleClick()})("keydown",function(C){return m._handleKeydown(C)})("mouseenter",function(){return m._setIndicatorHintVisible(!0)})("mouseleave",function(){return m._setIndicatorHintVisible(!1)}),2&c&&(e.BMQ("aria-sort",m._getAriaSortAttribute()),e.AVh("mat-sort-header-disabled",m._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",e.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",e.L39]},exportAs:["matSortHeader"],standalone:!0,features:[e.GFd,e.aNF],attrs:d,ngContentSelectors:T,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[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(c,m){1&c&&(e.NAR(),e.j41(0,"div",0)(1,"div",1),e.SdG(2),e.k0s(),e.DNE(3,y,6,6,"div",2),e.k0s()),2&c&&(e.AVh("mat-sort-header-sorted",m._isSorted())("mat-sort-header-position-before","before"===m.arrowPosition),e.BMQ("tabindex",m._isDisabled()?null:0)("role",m._isDisabled()?null:"button"),e.R7$(3),e.vxM(m._renderArrow()?3:-1))},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-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.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;color:var(--mat-sort-arrow-color);opacity:0}.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}"],encapsulation:2,data:{animation:[ee.indicator,ee.leftPointer,ee.rightPointer,ee.arrowOpacity,ee.arrowPosition,ee.allowChildren]},changeDetection:0})}return de})(),Te=(()=>{class de{static#e=this.\u0275fac=function(c){return new(c||de)};static#t=this.\u0275mod=e.$C({type:de});static#i=this.\u0275inj=e.G2t({providers:[ae],imports:[I.yE]})}return de})()},6013:(Qe,te,g)=>{"use strict";g.d(te,{F7:()=>pe,FR:()=>Ze,M6:()=>be,Ti:()=>ze,V5:()=>_e,aP:()=>_t,xJ:()=>ke});var e=g(6939),t=g(7768),w=g(177),S=g(4438),l=g(6600),x=g(9213),f=g(8617),I=g(1413),d=g(8359),T=g(8203),y=g(5558),F=g(6354),R=g(9172),z=g(6977),W=g(3294),$=g(9969),j=g(6860);function Q(at,pt){if(1&at&&S.eu8(0,2),2&at){const Xt=S.XpG();S.Y8G("ngTemplateOutlet",Xt.iconOverrides[Xt.state])("ngTemplateOutletContext",Xt._getIconContext())}}function J(at,pt){if(1&at&&(S.j41(0,"span",7),S.EFF(1),S.k0s()),2&at){const Xt=S.XpG(2);S.R7$(),S.JRh(Xt._getDefaultTextForState(Xt.state))}}function ee(at,pt){if(1&at&&(S.j41(0,"span",8),S.EFF(1),S.k0s()),2&at){const Xt=S.XpG(3);S.R7$(),S.JRh(Xt._intl.completedLabel)}}function ie(at,pt){if(1&at&&(S.j41(0,"span",8),S.EFF(1),S.k0s()),2&at){const Xt=S.XpG(3);S.R7$(),S.JRh(Xt._intl.editableLabel)}}function ge(at,pt){if(1&at&&(S.DNE(0,ee,2,1,"span",8)(1,ie,2,1,"span",8),S.j41(2,"mat-icon",7),S.EFF(3),S.k0s()),2&at){const Xt=S.XpG(2);S.vxM("done"===Xt.state?0:"edit"===Xt.state?1:-1),S.R7$(3),S.JRh(Xt._getDefaultTextForState(Xt.state))}}function ae(at,pt){if(1&at&&S.DNE(0,J,2,1,"span",7)(1,ge,4,2,"mat-icon",7),2&at){let Xt;const ye=S.XpG();S.vxM("number"===(Xt=ye.state)?0:1)}}function Me(at,pt){1&at&&(S.j41(0,"div",4),S.eu8(1,9),S.k0s()),2&at&&(S.R7$(),S.Y8G("ngTemplateOutlet",pt.template))}function Te(at,pt){if(1&at&&(S.j41(0,"div",4),S.EFF(1),S.k0s()),2&at){const Xt=S.XpG();S.R7$(),S.JRh(Xt.label)}}function de(at,pt){if(1&at&&(S.j41(0,"div",5),S.EFF(1),S.k0s()),2&at){const Xt=S.XpG();S.R7$(),S.JRh(Xt._intl.optionalLabel)}}function D(at,pt){if(1&at&&(S.j41(0,"div",6),S.EFF(1),S.k0s()),2&at){const Xt=S.XpG();S.R7$(),S.JRh(Xt.errorMessage)}}const n=["*"];function c(at,pt){}function m(at,pt){if(1&at&&(S.SdG(0),S.DNE(1,c,0,0,"ng-template",0)),2&at){const Xt=S.XpG();S.R7$(),S.Y8G("cdkPortalOutlet",Xt._portal)}}const h=(at,pt)=>({step:at,i:pt}),C=at=>({animationDuration:at}),k=(at,pt)=>({value:at,params:pt});function L(at,pt){1&at&&S.SdG(0)}function _(at,pt){1&at&&S.nrm(0,"div",6)}function r(at,pt){if(1&at&&(S.eu8(0,5),S.DNE(1,_,1,0,"div",6)),2&at){const Xt=pt.$implicit,ye=pt.$index,ue=pt.$count;S.XpG(2);const Ie=S.sdS(4);S.Y8G("ngTemplateOutlet",Ie)("ngTemplateOutletContext",S.l_i(3,h,Xt,ye)),S.R7$(),S.vxM(ye!==ue-1?1:-1)}}function v(at,pt){if(1&at){const Xt=S.RV6();S.j41(0,"div",7),S.bIt("@horizontalStepTransition.done",function(ue){S.eBV(Xt);const Ie=S.XpG(2);return S.Njj(Ie._animationDone.next(ue))}),S.eu8(1,8),S.k0s()}if(2&at){const Xt=pt.$implicit,ye=pt.$index,ue=S.XpG(2);S.AVh("mat-horizontal-stepper-content-inactive",ue.selectedIndex!==ye),S.Y8G("@horizontalStepTransition",S.l_i(8,k,ue._getAnimationDirection(ye),S.eq3(6,C,ue._getAnimationDuration())))("id",ue._getStepContentId(ye)),S.BMQ("aria-labelledby",ue._getStepLabelId(ye)),S.R7$(),S.Y8G("ngTemplateOutlet",Xt.content)}}function V(at,pt){if(1&at&&(S.j41(0,"div",1)(1,"div",2),S.Z7z(2,r,2,6,null,null,S.fX1),S.k0s(),S.j41(4,"div",3),S.Z7z(5,v,2,11,"div",4,S.fX1),S.k0s()()),2&at){const Xt=S.XpG();S.R7$(2),S.Dyx(Xt.steps),S.R7$(3),S.Dyx(Xt.steps)}}function N(at,pt){if(1&at){const Xt=S.RV6();S.j41(0,"div",9),S.eu8(1,5),S.j41(2,"div",10)(3,"div",11),S.bIt("@verticalStepTransition.done",function(ue){S.eBV(Xt);const Ie=S.XpG(2);return S.Njj(Ie._animationDone.next(ue))}),S.j41(4,"div",12),S.eu8(5,8),S.k0s()()()()}if(2&at){const Xt=pt.$implicit,ye=pt.$index,ue=pt.$count,Ie=S.XpG(2),He=S.sdS(4);S.R7$(),S.Y8G("ngTemplateOutlet",He)("ngTemplateOutletContext",S.l_i(10,h,Xt,ye)),S.R7$(),S.AVh("mat-stepper-vertical-line",ye!==ue-1),S.R7$(),S.AVh("mat-vertical-stepper-content-inactive",Ie.selectedIndex!==ye),S.Y8G("@verticalStepTransition",S.l_i(15,k,Ie._getAnimationDirection(ye),S.eq3(13,C,Ie._getAnimationDuration())))("id",Ie._getStepContentId(ye)),S.BMQ("aria-labelledby",Ie._getStepLabelId(ye)),S.R7$(2),S.Y8G("ngTemplateOutlet",Xt.content)}}function ne(at,pt){if(1&at&&S.Z7z(0,N,6,18,"div",9,S.fX1),2&at){const Xt=S.XpG();S.Dyx(Xt.steps)}}function Ee(at,pt){if(1&at){const Xt=S.RV6();S.j41(0,"mat-step-header",13),S.bIt("click",function(){const ue=S.eBV(Xt).step;return S.Njj(ue.select())})("keydown",function(ue){S.eBV(Xt);const Ie=S.XpG();return S.Njj(Ie._onKeydown(ue))}),S.k0s()}if(2&at){const Xt=pt.step,ye=pt.i,ue=S.XpG();S.AVh("mat-horizontal-stepper-header","horizontal"===ue.orientation)("mat-vertical-stepper-header","vertical"===ue.orientation),S.Y8G("tabIndex",ue._getFocusIndex()===ye?0:-1)("id",ue._getStepLabelId(ye))("index",ye)("state",ue._getIndicatorType(ye,Xt.state))("label",Xt.stepLabel||Xt.label)("selected",ue.selectedIndex===ye)("active",ue._stepIsNavigable(ye,Xt))("optional",Xt.optional)("errorMessage",Xt.errorMessage)("iconOverrides",ue._iconOverrides)("disableRipple",ue.disableRipple||!ue._stepIsNavigable(ye,Xt))("color",Xt.color||ue.color),S.BMQ("aria-posinset",ye+1)("aria-setsize",ue.steps.length)("aria-controls",ue._getStepContentId(ye))("aria-selected",ue.selectedIndex==ye)("aria-label",Xt.ariaLabel||null)("aria-labelledby",!Xt.ariaLabel&&Xt.ariaLabelledby?Xt.ariaLabelledby:null)("aria-disabled",!ue._stepIsNavigable(ye,Xt)||null)}}let ze=(()=>{class at extends t.nb{static#e=this.\u0275fac=(()=>{let Xt;return function(ue){return(Xt||(Xt=S.xGo(at)))(ue||at)}})();static#t=this.\u0275dir=S.FsC({type:at,selectors:[["","matStepLabel",""]],standalone:!0,features:[S.Vt3]})}return at})(),qe=(()=>{class at{constructor(){this.changes=new I.B,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(ye){return new(ye||at)};static#t=this.\u0275prov=S.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();const se={provide:qe,deps:[[new S.Xx1,new S.kdw,qe]],useFactory:function Ke(at){return at||new qe}};let X=(()=>{class at extends t.oX{constructor(Xt,ye,ue,Ie){super(ue),this._intl=Xt,this._focusMonitor=ye,this._intlSubscription=Xt.changes.subscribe(()=>Ie.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Xt,ye){Xt?this._focusMonitor.focusVia(this._elementRef,Xt,ye):this._elementRef.nativeElement.focus(ye)}_stringLabel(){return this.label instanceof ze?null:this.label}_templateLabel(){return this.label instanceof ze?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(Xt){return"number"==Xt?`${this.index+1}`:"edit"==Xt?"create":"error"==Xt?"warning":Xt}static#e=this.\u0275fac=function(ye){return new(ye||at)(S.rXU(qe),S.rXU(f.FN),S.rXU(S.aKT),S.rXU(S.gRc))};static#t=this.\u0275cmp=S.VBU({type:at,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(ye,ue){2&ye&&S.HbH("mat-"+(ue.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[S.Vt3,S.aNF],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(ye,ue){if(1&ye&&(S.nrm(0,"div",0),S.j41(1,"div")(2,"div",1),S.DNE(3,Q,1,2,"ng-container",2)(4,ae,2,1),S.k0s()(),S.j41(5,"div",3),S.DNE(6,Me,2,1,"div",4)(7,Te,2,1,"div",4)(8,de,2,1,"div",5)(9,D,2,1,"div",6),S.k0s()),2&ye){let Ie;S.Y8G("matRippleTrigger",ue._getHostElement())("matRippleDisabled",ue.disableRipple),S.R7$(),S.ZvI("mat-step-icon-state-",ue.state," mat-step-icon"),S.AVh("mat-step-icon-selected",ue.selected),S.R7$(2),S.vxM(ue.iconOverrides&&ue.iconOverrides[ue.state]?3:4),S.R7$(2),S.AVh("mat-step-label-active",ue.active)("mat-step-label-selected",ue.selected)("mat-step-label-error","error"==ue.state),S.R7$(),S.vxM((Ie=ue._templateLabel())?6:ue._stringLabel()?7:-1,Ie),S.R7$(2),S.vxM(ue.optional&&"error"!=ue.state?8:-1),S.R7$(),S.vxM("error"===ue.state?9:-1)}},dependencies:[l.r6,w.T3,x.An],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return at})();const fe={horizontalStepTransition:(0,$.hZ)("horizontalStepTransition",[(0,$.wk)("previous",(0,$.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,$.wk)("current",(0,$.iF)({transform:"none",visibility:"inherit"})),(0,$.wk)("next",(0,$.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,$.kY)("* => *",(0,$.Os)([(0,$.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,$.P)("@*",(0,$.MA)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,$.hZ)("verticalStepTransition",[(0,$.wk)("previous",(0,$.iF)({height:"0px",visibility:"hidden"})),(0,$.wk)("next",(0,$.iF)({height:"0px",visibility:"hidden"})),(0,$.wk)("current",(0,$.iF)({height:"*",visibility:"inherit"})),(0,$.kY)("* <=> current",(0,$.Os)([(0,$.i0)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,$.P)("@*",(0,$.MA)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let ke=(()=>{class at{constructor(Xt){this.templateRef=Xt}static#e=this.\u0275fac=function(ye){return new(ye||at)(S.rXU(S.C4Q))};static#t=this.\u0275dir=S.FsC({type:at,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0})}return at})(),mt=(()=>{class at{constructor(Xt){this._template=Xt}static#e=this.\u0275fac=function(ye){return new(ye||at)(S.rXU(S.C4Q))};static#t=this.\u0275dir=S.FsC({type:at,selectors:[["ng-template","matStepContent",""]],standalone:!0})}return at})(),_e=(()=>{class at extends t.VI{constructor(Xt,ye,ue,Ie){super(Xt,Ie),this._errorStateMatcher=ye,this._viewContainerRef=ue,this._isSelected=d.yU.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,y.n)(()=>this._stepper.selectionChange.pipe((0,F.T)(Xt=>Xt.selectedStep===this),(0,R.Z)(this._stepper.selected===this)))).subscribe(Xt=>{Xt&&this._lazyContent&&!this._portal&&(this._portal=new e.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Xt,ye){return this._errorStateMatcher.isErrorState(Xt,ye)||!!(Xt&&Xt.invalid&&this.interacted)}static#e=this.\u0275fac=function(ye){return new(ye||at)(S.rXU((0,S.Rfq)(()=>be)),S.rXU(l.es,4),S.rXU(S.c1b),S.rXU(t.x8,8))};static#t=this.\u0275cmp=S.VBU({type:at,selectors:[["mat-step"]],contentQueries:function(ye,ue,Ie){if(1&ye&&(S.wni(Ie,ze,5),S.wni(Ie,mt,5)),2&ye){let He;S.mGM(He=S.lsd())&&(ue.stepLabel=He.first),S.mGM(He=S.lsd())&&(ue._lazyContent=He.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[S.Jv_([{provide:l.es,useExisting:at},{provide:t.VI,useExisting:at}]),S.Vt3,S.aNF],ngContentSelectors:n,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(ye,ue){1&ye&&(S.NAR(),S.DNE(0,m,2,1,"ng-template"))},dependencies:[e.I3],encapsulation:2,changeDetection:0})}return at})(),be=(()=>{class at extends t.Up{get animationDuration(){return this._animationDuration}set animationDuration(Xt){this._animationDuration=/^\d+$/.test(Xt)?Xt+"ms":Xt}constructor(Xt,ye,ue){super(Xt,ye,ue),this._stepHeader=void 0,this._steps=void 0,this.steps=new S.rOR,this.animationDone=new S.bkB,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new I.B,this._animationDuration="",this._isServer=!(0,S.WQX)(j.OD).isBrowser;const Ie=ue.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Ie?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Xt,templateRef:ye})=>this._iconOverrides[Xt]=ye),this.steps.changes.pipe((0,z.Q)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,W.F)((Xt,ye)=>Xt.fromState===ye.fromState&&Xt.toState===ye.toState),(0,z.Q)(this._destroyed)).subscribe(Xt=>{"current"===Xt.toState&&this.animationDone.emit()})}_stepIsNavigable(Xt,ye){return ye.completed||this.selectedIndex===Xt||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#e=this.\u0275fac=function(ye){return new(ye||at)(S.rXU(T.dS,8),S.rXU(S.gRc),S.rXU(S.aKT))};static#t=this.\u0275cmp=S.VBU({type:at,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(ye,ue,Ie){if(1&ye&&(S.wni(Ie,_e,5),S.wni(Ie,ke,5)),2&ye){let He;S.mGM(He=S.lsd())&&(ue._steps=He),S.mGM(He=S.lsd())&&(ue._icons=He)}},viewQuery:function(ye,ue){if(1&ye&&S.GBs(X,5),2&ye){let Ie;S.mGM(Ie=S.lsd())&&(ue._stepHeader=Ie)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(ye,ue){2&ye&&(S.BMQ("aria-orientation",ue.orientation),S.AVh("mat-stepper-horizontal","horizontal"===ue.orientation)("mat-stepper-vertical","vertical"===ue.orientation)("mat-stepper-label-position-end","horizontal"===ue.orientation&&"end"==ue.labelPosition)("mat-stepper-label-position-bottom","horizontal"===ue.orientation&&"bottom"==ue.labelPosition)("mat-stepper-header-position-bottom","bottom"===ue.headerPosition))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[S.Jv_([{provide:t.Up,useExisting:at}]),S.Vt3,S.aNF],ngContentSelectors:n,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(ye,ue){if(1&ye&&(S.NAR(),S.DNE(0,L,1,0)(1,V,7,0,"div",1)(2,ne,2,0)(3,Ee,1,23,"ng-template",null,0,S.C5r)),2&ye){let Ie;S.vxM(ue._isServer?0:-1),S.R7$(),S.vxM("horizontal"===(Ie=ue.orientation)?1:"vertical"===Ie?2:-1)}},dependencies:[w.T3,X],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[fe.horizontalStepTransition,fe.verticalStepTransition]},changeDetection:0})}return at})(),pe=(()=>{class at extends t.v5{static#e=this.\u0275fac=(()=>{let Xt;return function(ue){return(Xt||(Xt=S.xGo(at)))(ue||at)}})();static#t=this.\u0275dir=S.FsC({type:at,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(ye,ue){2&ye&&S.Mr5("type",ue.type)},standalone:!0,features:[S.Vt3]})}return at})(),Ze=(()=>{class at extends t.FK{static#e=this.\u0275fac=(()=>{let Xt;return function(ue){return(Xt||(Xt=S.xGo(at)))(ue||at)}})();static#t=this.\u0275dir=S.FsC({type:at,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(ye,ue){2&ye&&S.Mr5("type",ue.type)},standalone:!0,features:[S.Vt3]})}return at})(),_t=(()=>{class at{static#e=this.\u0275fac=function(ye){return new(ye||at)};static#t=this.\u0275mod=S.$C({type:at});static#i=this.\u0275inj=S.G2t({providers:[se,l.es],imports:[l.yE,w.MD,e.jc,t.uY,x.m_,l.pZ,be,X,l.yE]})}return at})()},9159:(Qe,te,g)=>{"use strict";g.d(te,{$R:()=>et,YV:()=>Re,cC:()=>$e,Qo:()=>Ge,Zq:()=>gt,iF:()=>Xi,xW:()=>mi,KS:()=>Fe,tL:()=>Ne,YZ:()=>Pt,ji:()=>Tt,NB:()=>di,iL:()=>Kt,Zl:()=>q,I6:()=>Qt,tP:()=>Li});var e=g(4438),t=g(8203),w=g(5024),S=g(6860),l=g(5542),x=g(177),f=g(1413),I=g(2806),d=g(4412),T=g(4402),y=g(7673),F=g(6977),R=g(6697);const z=[[["caption"]],[["colgroup"],["col"]],"*"],W=["caption","colgroup, col","*"];function $(Mt,it){1&Mt&&e.SdG(0,2)}function j(Mt,it){1&Mt&&(e.j41(0,"thead",0),e.eu8(1,1),e.k0s(),e.j41(2,"tbody",0),e.eu8(3,2)(4,3),e.k0s(),e.j41(5,"tfoot",0),e.eu8(6,4),e.k0s())}function Q(Mt,it){1&Mt&&e.eu8(0,1)(1,2)(2,3)(3,4)}const ie=new e.nKC("CDK_TABLE");let ae=(()=>{class Mt{constructor(ct){this.template=ct}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","cdkCellDef",""]],standalone:!0})}return Mt})(),Me=(()=>{class Mt{constructor(ct){this.template=ct}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return Mt})(),Te=(()=>{class Mt{constructor(ct){this.template=ct}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return Mt})(),de=(()=>{class Mt{get name(){return this._name}set name(ct){this._setNameInput(ct)}get sticky(){return this._sticky}set sticky(ct){ct!==this._sticky&&(this._sticky=ct,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ct){ct!==this._stickyEnd&&(this._stickyEnd=ct,this._hasStickyChanged=!0)}constructor(ct){this._table=ct,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const ct=this._hasStickyChanged;return this.resetStickyChanged(),ct}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ct){ct&&(this._name=ct,this.cssClassFriendlyName=ct.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(ie,8))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","cdkColumnDef",""]],contentQueries:function(wt,Ut,xi){if(1&wt&&(e.wni(xi,ae,5),e.wni(xi,Me,5),e.wni(xi,Te,5)),2&wt){let Si;e.mGM(Si=e.lsd())&&(Ut.cell=Si.first),e.mGM(Si=e.lsd())&&(Ut.headerCell=Si.first),e.mGM(Si=e.lsd())&&(Ut.footerCell=Si.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",e.L39],stickyEnd:[2,"stickyEnd","stickyEnd",e.L39]},standalone:!0,features:[e.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Mt}]),e.GFd]})}return Mt})();class D{constructor(it,ct){ct.nativeElement.classList.add(...it._columnCssClassName)}}let n=(()=>{class Mt extends D{constructor(ct,wt){super(ct,wt)}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(de),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[e.Vt3]})}return Mt})(),c=(()=>{class Mt extends D{constructor(ct,wt){super(ct,wt);const Ut=ct._table?._getCellRole();Ut&&wt.nativeElement.setAttribute("role",Ut)}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(de),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[e.Vt3]})}return Mt})(),m=(()=>{class Mt extends D{constructor(ct,wt){super(ct,wt);const Ut=ct._table?._getCellRole();Ut&&wt.nativeElement.setAttribute("role",Ut)}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(de),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[e.Vt3]})}return Mt})();class h{constructor(){this.tasks=[],this.endTasks=[]}}const C=new e.nKC("_COALESCED_STYLE_SCHEDULER");let k=(()=>{class Mt{constructor(ct){this._ngZone=ct,this._currentSchedule=null,this._destroyed=new f.B}schedule(ct){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ct)}scheduleEnd(ct){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ct)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new h,this._getScheduleObservable().pipe((0,F.Q)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ct=this._currentSchedule;this._currentSchedule=new h;for(const wt of ct.tasks)wt();for(const wt of ct.endTasks)wt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,I.H)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,R.s)(1))}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.KVO(e.SKi))};static#t=this.\u0275prov=e.jDH({token:Mt,factory:Mt.\u0275fac})}return Mt})(),_=(()=>{class Mt{constructor(ct,wt){this.template=ct,this._differs=wt}ngOnChanges(ct){if(!this._columnsDiffer){const wt=ct.columns&&ct.columns.currentValue||[];this._columnsDiffer=this._differs.find(wt).create(),this._columnsDiffer.diff(wt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ct){return this instanceof r?ct.headerCell.template:this instanceof v?ct.footerCell.template:ct.cell.template}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.C4Q),e.rXU(e._q3))};static#t=this.\u0275dir=e.FsC({type:Mt,features:[e.OA$]})}return Mt})(),r=(()=>{class Mt extends _{get sticky(){return this._sticky}set sticky(ct){ct!==this._sticky&&(this._sticky=ct,this._hasStickyChanged=!0)}constructor(ct,wt,Ut){super(ct,wt),this._table=Ut,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(ct){super.ngOnChanges(ct)}hasStickyChanged(){const ct=this._hasStickyChanged;return this.resetStickyChanged(),ct}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ie,8))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.OA$]})}return Mt})(),v=(()=>{class Mt extends _{get sticky(){return this._sticky}set sticky(ct){ct!==this._sticky&&(this._sticky=ct,this._hasStickyChanged=!0)}constructor(ct,wt,Ut){super(ct,wt),this._table=Ut,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(ct){super.ngOnChanges(ct)}hasStickyChanged(){const ct=this._hasStickyChanged;return this.resetStickyChanged(),ct}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ie,8))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.OA$]})}return Mt})(),V=(()=>{class Mt extends _{constructor(ct,wt,Ut){super(ct,wt),this._table=Ut}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.C4Q),e.rXU(e._q3),e.rXU(ie,8))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[e.Vt3]})}return Mt})(),N=(()=>{class Mt{static#e=this.mostRecentCellOutlet=null;constructor(ct){this._viewContainer=ct,Mt.mostRecentCellOutlet=this}ngOnDestroy(){Mt.mostRecentCellOutlet===this&&(Mt.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.c1b))};static#i=this.\u0275dir=e.FsC({type:Mt,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return Mt})(),ne=(()=>{class Mt{static#e=this.\u0275fac=function(wt){return new(wt||Mt)};static#t=this.\u0275cmp=e.VBU({type:Mt,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(wt,Ut){1&wt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}return Mt})(),Ee=(()=>{class Mt{static#e=this.\u0275fac=function(wt){return new(wt||Mt)};static#t=this.\u0275cmp=e.VBU({type:Mt,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(wt,Ut){1&wt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}return Mt})(),ze=(()=>{class Mt{static#e=this.\u0275fac=function(wt){return new(wt||Mt)};static#t=this.\u0275cmp=e.VBU({type:Mt,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(wt,Ut){1&wt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}return Mt})(),qe=(()=>{class Mt{constructor(ct){this.templateRef=ct,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return Mt})();const Ke=["top","bottom","left","right"];class se{constructor(it,ct,wt,Ut,xi=!0,Si=!0,zi){this._isNativeHtmlTable=it,this._stickCellCss=ct,this.direction=wt,this._coalescedStyleScheduler=Ut,this._isBrowser=xi,this._needsPositionStickyOnElement=Si,this._positionListener=zi,this._cachedCellWidths=[],this._borderCellCss={top:`${ct}-border-elem-top`,bottom:`${ct}-border-elem-bottom`,left:`${ct}-border-elem-left`,right:`${ct}-border-elem-right`}}clearStickyPositioning(it,ct){const wt=[];for(const Ut of it)if(Ut.nodeType===Ut.ELEMENT_NODE){wt.push(Ut);for(let xi=0;xi<Ut.children.length;xi++)wt.push(Ut.children[xi])}this._coalescedStyleScheduler.schedule(()=>{for(const Ut of wt)this._removeStickyStyle(Ut,ct)})}updateStickyColumns(it,ct,wt,Ut=!0){it.length&&this._isBrowser&&(ct.some(xi=>xi)||wt.some(xi=>xi))?this._coalescedStyleScheduler.schedule(()=>{const xi=it[0],Si=xi.children.length,zi=this._getCellWidths(xi,Ut),en=this._getStickyStartColumnPositions(zi,ct),Ni=this._getStickyEndColumnPositions(zi,wt),fn=ct.lastIndexOf(!0),Zt=wt.indexOf(!0),bt="rtl"===this.direction,re=bt?"right":"left",je=bt?"left":"right";for(const Ce of it)for(let ot=0;ot<Si;ot++){const ut=Ce.children[ot];ct[ot]&&this._addStickyStyle(ut,re,en[ot],ot===fn),wt[ot]&&this._addStickyStyle(ut,je,Ni[ot],ot===Zt)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===fn?[]:zi.slice(0,fn+1).map((Ce,ot)=>ct[ot]?Ce:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Zt?[]:zi.slice(Zt).map((Ce,ot)=>wt[ot+Zt]?Ce:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(it,ct,wt){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const Ut="bottom"===wt?it.slice().reverse():it,xi="bottom"===wt?ct.slice().reverse():ct,Si=[],zi=[],en=[];for(let fn=0,Zt=0;fn<Ut.length;fn++){if(!xi[fn])continue;Si[fn]=Zt;const bt=Ut[fn];en[fn]=this._isNativeHtmlTable?Array.from(bt.children):[bt];const re=bt.getBoundingClientRect().height;Zt+=re,zi[fn]=re}const Ni=xi.lastIndexOf(!0);for(let fn=0;fn<Ut.length;fn++){if(!xi[fn])continue;const Zt=Si[fn],bt=fn===Ni;for(const re of en[fn])this._addStickyStyle(re,wt,Zt,bt)}"top"===wt?this._positionListener?.stickyHeaderRowsUpdated({sizes:zi,offsets:Si,elements:en}):this._positionListener?.stickyFooterRowsUpdated({sizes:zi,offsets:Si,elements:en})})}updateStickyFooterContainer(it,ct){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{const wt=it.querySelector("tfoot");wt&&(ct.some(Ut=>!Ut)?this._removeStickyStyle(wt,["bottom"]):this._addStickyStyle(wt,"bottom",0,!1))})}_removeStickyStyle(it,ct){for(const Ut of ct)it.style[Ut]="",it.classList.remove(this._borderCellCss[Ut]);Ke.some(Ut=>-1===ct.indexOf(Ut)&&it.style[Ut])?it.style.zIndex=this._getCalculatedZIndex(it):(it.style.zIndex="",this._needsPositionStickyOnElement&&(it.style.position=""),it.classList.remove(this._stickCellCss))}_addStickyStyle(it,ct,wt,Ut){it.classList.add(this._stickCellCss),Ut&&it.classList.add(this._borderCellCss[ct]),it.style[ct]=`${wt}px`,it.style.zIndex=this._getCalculatedZIndex(it),this._needsPositionStickyOnElement&&(it.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(it){const ct={top:100,bottom:10,left:1,right:1};let wt=0;for(const Ut of Ke)it.style[Ut]&&(wt+=ct[Ut]);return wt?`${wt}`:""}_getCellWidths(it,ct=!0){if(!ct&&this._cachedCellWidths.length)return this._cachedCellWidths;const wt=[],Ut=it.children;for(let xi=0;xi<Ut.length;xi++)wt.push(Ut[xi].getBoundingClientRect().width);return this._cachedCellWidths=wt,wt}_getStickyStartColumnPositions(it,ct){const wt=[];let Ut=0;for(let xi=0;xi<it.length;xi++)ct[xi]&&(wt[xi]=Ut,Ut+=it[xi]);return wt}_getStickyEndColumnPositions(it,ct){const wt=[];let Ut=0;for(let xi=it.length;xi>0;xi--)ct[xi]&&(wt[xi]=Ut,Ut+=it[xi]);return wt}}const pe=new e.nKC("CDK_SPL");let _t=(()=>{class Mt{constructor(ct,wt){this.viewContainer=ct,this.elementRef=wt;const Ut=(0,e.WQX)(ie);Ut._rowOutlet=this,Ut._outletAssigned()}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.c1b),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","rowOutlet",""]],standalone:!0})}return Mt})(),at=(()=>{class Mt{constructor(ct,wt){this.viewContainer=ct,this.elementRef=wt;const Ut=(0,e.WQX)(ie);Ut._headerRowOutlet=this,Ut._outletAssigned()}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.c1b),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","headerRowOutlet",""]],standalone:!0})}return Mt})(),pt=(()=>{class Mt{constructor(ct,wt){this.viewContainer=ct,this.elementRef=wt;const Ut=(0,e.WQX)(ie);Ut._footerRowOutlet=this,Ut._outletAssigned()}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.c1b),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","footerRowOutlet",""]],standalone:!0})}return Mt})(),Xt=(()=>{class Mt{constructor(ct,wt){this.viewContainer=ct,this.elementRef=wt;const Ut=(0,e.WQX)(ie);Ut._noDataRowOutlet=this,Ut._outletAssigned()}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e.c1b),e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return Mt})(),Ie=(()=>{class Mt{_getCellRole(){if(void 0===this._cellRoleInternal){const ct=this._elementRef.nativeElement.getAttribute("role"),wt="grid"===ct||"treegrid"===ct?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===wt?null:wt}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(ct){this._trackByFn=ct}get dataSource(){return this._dataSource}set dataSource(ct){this._dataSource!==ct&&this._switchDataSource(ct)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ct){this._multiTemplateDataRows=ct,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ct){this._fixedLayout=ct,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(ct,wt,Ut,xi,Si,zi,en,Ni,fn,Zt,bt,re){this._differs=ct,this._changeDetectorRef=wt,this._elementRef=Ut,this._dir=Si,this._platform=en,this._viewRepeater=Ni,this._coalescedStyleScheduler=fn,this._viewportRuler=Zt,this._stickyPositioningListener=bt,this._ngZone=re,this._onDestroy=new f.B,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._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.bkB,this.viewChange=new d.t({start:0,end:Number.MAX_VALUE}),xi||Ut.nativeElement.setAttribute("role","table"),this._document=zi,this._isServer=!en.isBrowser,this._isNativeHtmlTable="TABLE"===Ut.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((ct,wt)=>this.trackBy?this.trackBy(wt.dataIndex,wt.data):wt),this._viewportRuler.change().pipe((0,F.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ct=>{ct?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,w.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ct=this._dataDiffer.diff(this._renderRows);if(!ct)return this._updateNoDataRow(),void this.contentChanged.next();const wt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ct,wt,(Ut,xi,Si)=>this._getEmbeddedViewArgs(Ut.item,Si),Ut=>Ut.item.data,Ut=>{Ut.operation===w.Q3.INSERTED&&Ut.context&&this._renderCellTemplateForItem(Ut.record.item.rowDef,Ut.context)}),this._updateRowIndexContext(),ct.forEachIdentityChange(Ut=>{wt.get(Ut.currentIndex).context.$implicit=Ut.item.data}),this._updateNoDataRow(),this._ngZone&&e.SKi.isInAngularZone()?this._ngZone.onStable.pipe((0,R.s)(1),(0,F.Q)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ct){this._customColumnDefs.add(ct)}removeColumnDef(ct){this._customColumnDefs.delete(ct)}addRowDef(ct){this._customRowDefs.add(ct)}removeRowDef(ct){this._customRowDefs.delete(ct)}addHeaderRowDef(ct){this._customHeaderRowDefs.add(ct),this._headerRowDefChanged=!0}removeHeaderRowDef(ct){this._customHeaderRowDefs.delete(ct),this._headerRowDefChanged=!0}addFooterRowDef(ct){this._customFooterRowDefs.add(ct),this._footerRowDefChanged=!0}removeFooterRowDef(ct){this._customFooterRowDefs.delete(ct),this._footerRowDefChanged=!0}setNoDataRow(ct){this._customNoDataRow=ct}updateStickyHeaderRowStyles(){const ct=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Ut=Xe(this._headerRowOutlet,"thead");Ut&&(Ut.style.display=ct.length?"":"none")}const wt=this._headerRowDefs.map(Ut=>Ut.sticky);this._stickyStyler.clearStickyPositioning(ct,["top"]),this._stickyStyler.stickRows(ct,wt,"top"),this._headerRowDefs.forEach(Ut=>Ut.resetStickyChanged())}updateStickyFooterRowStyles(){const ct=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Ut=Xe(this._footerRowOutlet,"tfoot");Ut&&(Ut.style.display=ct.length?"":"none")}const wt=this._footerRowDefs.map(Ut=>Ut.sticky);this._stickyStyler.clearStickyPositioning(ct,["bottom"]),this._stickyStyler.stickRows(ct,wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,wt),this._footerRowDefs.forEach(Ut=>Ut.resetStickyChanged())}updateStickyColumnStyles(){const ct=this._getRenderedRows(this._headerRowOutlet),wt=this._getRenderedRows(this._rowOutlet),Ut=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ct,...wt,...Ut],["left","right"]),this._stickyColumnStylesNeedReset=!1),ct.forEach((xi,Si)=>{this._addStickyColumnStyles([xi],this._headerRowDefs[Si])}),this._rowDefs.forEach(xi=>{const Si=[];for(let zi=0;zi<wt.length;zi++)this._renderRows[zi].rowDef===xi&&Si.push(wt[zi]);this._addStickyColumnStyles(Si,xi)}),Ut.forEach((xi,Si)=>{this._addStickyColumnStyles([xi],this._footerRowDefs[Si])}),Array.from(this._columnDefsByName.values()).forEach(xi=>xi.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const wt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||wt,this._forceRecalculateCellWidths=wt,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const ct=[],wt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ut=0;Ut<this._data.length;Ut++){let xi=this._data[Ut];const Si=this._getRenderRowsForData(xi,Ut,wt.get(xi));this._cachedRenderRowsMap.has(xi)||this._cachedRenderRowsMap.set(xi,new WeakMap);for(let zi=0;zi<Si.length;zi++){let en=Si[zi];const Ni=this._cachedRenderRowsMap.get(en.data);Ni.has(en.rowDef)?Ni.get(en.rowDef).push(en):Ni.set(en.rowDef,[en]),ct.push(en)}}return ct}_getRenderRowsForData(ct,wt,Ut){return this._getRowDefs(ct,wt).map(Si=>{const zi=Ut&&Ut.has(Si)?Ut.get(Si):[];if(zi.length){const en=zi.shift();return en.dataIndex=wt,en}return{data:ct,rowDef:Si,dataIndex:wt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),He(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(wt=>{this._columnDefsByName.has(wt.name),this._columnDefsByName.set(wt.name,wt)})}_cacheRowDefs(){this._headerRowDefs=He(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=He(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=He(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ct=this._rowDefs.filter(wt=>!wt.when);this._defaultRowDef=ct[0]}_renderUpdatedColumns(){const ct=(Si,zi)=>Si||!!zi.getColumnsDiff(),wt=this._rowDefs.reduce(ct,!1);wt&&this._forceRenderDataRows();const Ut=this._headerRowDefs.reduce(ct,!1);Ut&&this._forceRenderHeaderRows();const xi=this._footerRowDefs.reduce(ct,!1);return xi&&this._forceRenderFooterRows(),wt||Ut||xi}_switchDataSource(ct){this._data=[],(0,w.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ct||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=ct}_observeRenderChanges(){if(!this.dataSource)return;let ct;(0,w.y4)(this.dataSource)?ct=this.dataSource.connect(this):(0,T.A)(this.dataSource)?ct=this.dataSource:Array.isArray(this.dataSource)&&(ct=(0,y.of)(this.dataSource)),this._renderChangeSubscription=ct.pipe((0,F.Q)(this._onDestroy)).subscribe(wt=>{this._data=wt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ct,wt)=>this._renderRow(this._headerRowOutlet,ct,wt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ct,wt)=>this._renderRow(this._footerRowOutlet,ct,wt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ct,wt){const Ut=Array.from(wt.columns||[]).map(zi=>this._columnDefsByName.get(zi)),xi=Ut.map(zi=>zi.sticky),Si=Ut.map(zi=>zi.stickyEnd);this._stickyStyler.updateStickyColumns(ct,xi,Si,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ct){const wt=[];for(let Ut=0;Ut<ct.viewContainer.length;Ut++){const xi=ct.viewContainer.get(Ut);wt.push(xi.rootNodes[0])}return wt}_getRowDefs(ct,wt){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Ut=[];if(this.multiTemplateDataRows)Ut=this._rowDefs.filter(xi=>!xi.when||xi.when(wt,ct));else{let xi=this._rowDefs.find(Si=>Si.when&&Si.when(wt,ct))||this._defaultRowDef;xi&&Ut.push(xi)}return Ut}_getEmbeddedViewArgs(ct,wt){return{templateRef:ct.rowDef.template,context:{$implicit:ct.data},index:wt}}_renderRow(ct,wt,Ut,xi={}){const Si=ct.viewContainer.createEmbeddedView(wt.template,xi,Ut);return this._renderCellTemplateForItem(wt,xi),Si}_renderCellTemplateForItem(ct,wt){for(let Ut of this._getCellTemplates(ct))N.mostRecentCellOutlet&&N.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ut,wt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ct=this._rowOutlet.viewContainer;for(let wt=0,Ut=ct.length;wt<Ut;wt++){const Si=ct.get(wt).context;Si.count=Ut,Si.first=0===wt,Si.last=wt===Ut-1,Si.even=wt%2==0,Si.odd=!Si.even,this.multiTemplateDataRows?(Si.dataIndex=this._renderRows[wt].dataIndex,Si.renderIndex=wt):Si.index=this._renderRows[wt].dataIndex}}_getCellTemplates(ct){return ct&&ct.columns?Array.from(ct.columns,wt=>{const Ut=this._columnDefsByName.get(wt);return ct.extractCellTemplate(Ut)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ct=(wt,Ut)=>wt||Ut.hasStickyChanged();this._headerRowDefs.reduce(ct,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ct,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ct,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new se(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,y.of)()).pipe((0,F.Q)(this._onDestroy)).subscribe(wt=>{this._stickyStyler.direction=wt,this.updateStickyColumnStyles()})}_getOwnDefs(ct){return ct.filter(wt=>!wt._table||wt._table===this)}_updateNoDataRow(){const ct=this._customNoDataRow||this._noDataRow;if(!ct)return;const wt=0===this._rowOutlet.viewContainer.length;if(wt===this._isShowingNoDataRow)return;const Ut=this._noDataRowOutlet.viewContainer;if(wt){const xi=Ut.createEmbeddedView(ct.templateRef),Si=xi.rootNodes[0];1===xi.rootNodes.length&&Si?.nodeType===this._document.ELEMENT_NODE&&(Si.setAttribute("role","row"),Si.classList.add(ct._contentClassName))}else Ut.clear();this._isShowingNoDataRow=wt,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(wt){return new(wt||Mt)(e.rXU(e._q3),e.rXU(e.gRc),e.rXU(e.aKT),e.kS0("role"),e.rXU(t.dS,8),e.rXU(x.qQ),e.rXU(S.OD),e.rXU(w.sL),e.rXU(C),e.rXU(l.Xj),e.rXU(pe,12),e.rXU(e.SKi,8))};static#t=this.\u0275cmp=e.VBU({type:Mt,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(wt,Ut,xi){if(1&wt&&(e.wni(xi,qe,5),e.wni(xi,de,5),e.wni(xi,V,5),e.wni(xi,r,5),e.wni(xi,v,5)),2&wt){let Si;e.mGM(Si=e.lsd())&&(Ut._noDataRow=Si.first),e.mGM(Si=e.lsd())&&(Ut._contentColumnDefs=Si),e.mGM(Si=e.lsd())&&(Ut._contentRowDefs=Si),e.mGM(Si=e.lsd())&&(Ut._contentHeaderRowDefs=Si),e.mGM(Si=e.lsd())&&(Ut._contentFooterRowDefs=Si)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(wt,Ut){2&wt&&e.AVh("cdk-table-fixed-layout",Ut.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",e.L39],fixedLayout:[2,"fixedLayout","fixedLayout",e.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[e.Jv_([{provide:ie,useExisting:Mt},{provide:w.sL,useClass:w.xn},{provide:C,useClass:k},{provide:pe,useValue:null}]),e.GFd,e.aNF],ngContentSelectors:W,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(wt,Ut){1&wt&&(e.NAR(z),e.SdG(0),e.SdG(1,1),e.DNE(2,$,1,0)(3,j,7,0)(4,Q,4,0)),2&wt&&(e.R7$(2),e.vxM(Ut._isServer?2:-1),e.R7$(),e.vxM(Ut._isNativeHtmlTable?3:4))},dependencies:[at,_t,Xt,pt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return Mt})();function He(Mt,it){return Mt.concat(Array.from(it))}function Xe(Mt,it){const ct=it.toUpperCase();let wt=Mt.viewContainer.element.nativeElement;for(;wt;){const Ut=1===wt.nodeType?wt.nodeName:null;if(Ut===ct)return wt;if("TABLE"===Ut)break;wt=wt.parentNode}return null}let rt=(()=>{class Mt{static#e=this.\u0275fac=function(wt){return new(wt||Mt)};static#t=this.\u0275mod=e.$C({type:Mt});static#i=this.\u0275inj=e.G2t({imports:[l.E9]})}return Mt})();var Nt=g(6600),Et=g(7786),Vt=g(4572),oe=g(4085),tt=g(6354);const $t=[[["caption"]],[["colgroup"],["col"]],"*"],zt=["caption","colgroup, col","*"];function Jt(Mt,it){1&Mt&&e.SdG(0,2)}function St(Mt,it){1&Mt&&(e.j41(0,"thead",0),e.eu8(1,1),e.k0s(),e.j41(2,"tbody",2),e.eu8(3,3)(4,4),e.k0s(),e.j41(5,"tfoot",0),e.eu8(6,5),e.k0s())}function dt(Mt,it){1&Mt&&e.eu8(0,1)(1,3)(2,4)(3,5)}let q=(()=>{class Mt extends Ie{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275cmp=e.VBU({type:Mt,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(wt,Ut){2&wt&&e.AVh("mdc-table-fixed-layout",Ut.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[e.Jv_([{provide:Ie,useExisting:Mt},{provide:ie,useExisting:Mt},{provide:C,useClass:k},{provide:w.sL,useClass:w.xn},{provide:pe,useValue:null}]),e.Vt3,e.aNF],ngContentSelectors:zt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(wt,Ut){1&wt&&(e.NAR($t),e.SdG(0),e.SdG(1,1),e.DNE(2,Jt,1,0)(3,St,7,0)(4,dt,4,0)),2&wt&&(e.R7$(2),e.vxM(Ut._isServer?2:-1),e.R7$(),e.vxM(Ut._isNativeHtmlTable?3:4))},dependencies:[at,_t,Xt,pt],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}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-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:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-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:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-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}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return Mt})(),Re=(()=>{class Mt extends ae{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","matCellDef",""]],standalone:!0,features:[e.Jv_([{provide:ae,useExisting:Mt}]),e.Vt3]})}return Mt})(),Ne=(()=>{class Mt extends Me{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[e.Jv_([{provide:Me,useExisting:Mt}]),e.Vt3]})}return Mt})(),gt=(()=>{class Mt extends Te{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[e.Jv_([{provide:Te,useExisting:Mt}]),e.Vt3]})}return Mt})(),$e=(()=>{class Mt extends de{get name(){return this._name}set name(ct){this._setNameInput(ct)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[e.Jv_([{provide:de,useExisting:Mt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Mt}]),e.Vt3]})}return Mt})(),Fe=(()=>{class Mt extends n{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[e.Vt3]})}return Mt})(),Ge=(()=>{class Mt extends c{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[e.Vt3]})}return Mt})(),et=(()=>{class Mt extends m{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[e.Vt3]})}return Mt})(),Tt=(()=>{class Mt extends r{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.Jv_([{provide:r,useExisting:Mt}]),e.GFd,e.Vt3]})}return Mt})(),mi=(()=>{class Mt extends v{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",e.L39]},standalone:!0,features:[e.Jv_([{provide:v,useExisting:Mt}]),e.GFd,e.Vt3]})}return Mt})(),Kt=(()=>{class Mt extends V{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275dir=e.FsC({type:Mt,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[e.Jv_([{provide:V,useExisting:Mt}]),e.Vt3]})}return Mt})(),Pt=(()=>{class Mt extends ne{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275cmp=e.VBU({type:Mt,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[e.Jv_([{provide:ne,useExisting:Mt}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(wt,Ut){1&wt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}return Mt})(),Xi=(()=>{class Mt extends Ee{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275cmp=e.VBU({type:Mt,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[e.Jv_([{provide:Ee,useExisting:Mt}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(wt,Ut){1&wt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}return Mt})(),di=(()=>{class Mt extends ze{static#e=this.\u0275fac=(()=>{let ct;return function(Ut){return(ct||(ct=e.xGo(Mt)))(Ut||Mt)}})();static#t=this.\u0275cmp=e.VBU({type:Mt,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[e.Jv_([{provide:ze,useExisting:Mt}]),e.Vt3,e.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(wt,Ut){1&wt&&e.eu8(0,0)},dependencies:[N],encapsulation:2})}return Mt})(),Li=(()=>{class Mt{static#e=this.\u0275fac=function(wt){return new(wt||Mt)};static#t=this.\u0275mod=e.$C({type:Mt});static#i=this.\u0275inj=e.G2t({imports:[Nt.yE,rt,Nt.yE]})}return Mt})();class Qt extends w.qS{get data(){return this._data.value}set data(it){it=Array.isArray(it)?it:[],this._data.next(it),this._renderChangesSubscription||this._filterData(it)}get filter(){return this._filter.value}set filter(it){this._filter.next(it),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(it){this._sort=it,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(it){this._paginator=it,this._updateChangeSubscription()}constructor(it=[]){super(),this._renderData=new d.t([]),this._filter=new d.t(""),this._internalPageChanges=new f.B,this._renderChangesSubscription=null,this.sortingDataAccessor=(ct,wt)=>{const Ut=ct[wt];if((0,oe.o1)(Ut)){const xi=Number(Ut);return xi<9007199254740991?xi:Ut}return Ut},this.sortData=(ct,wt)=>{const Ut=wt.active,xi=wt.direction;return Ut&&""!=xi?ct.sort((Si,zi)=>{let en=this.sortingDataAccessor(Si,Ut),Ni=this.sortingDataAccessor(zi,Ut);const fn=typeof en,Zt=typeof Ni;fn!==Zt&&("number"===fn&&(en+=""),"number"===Zt&&(Ni+=""));let bt=0;return null!=en&&null!=Ni?en>Ni?bt=1:en<Ni&&(bt=-1):null!=en?bt=1:null!=Ni&&(bt=-1),bt*("asc"==xi?1:-1)}):ct},this.filterPredicate=(ct,wt)=>{const Ut=Object.keys(ct).reduce((Si,zi)=>Si+ct[zi]+"\u25ec","").toLowerCase(),xi=wt.trim().toLowerCase();return-1!=Ut.indexOf(xi)},this._data=new d.t(it),this._updateChangeSubscription()}_updateChangeSubscription(){const it=this._sort?(0,Et.h)(this._sort.sortChange,this._sort.initialized):(0,y.of)(null),ct=this._paginator?(0,Et.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,y.of)(null),Ut=(0,Vt.z)([this._data,this._filter]).pipe((0,tt.T)(([zi])=>this._filterData(zi))),xi=(0,Vt.z)([Ut,it]).pipe((0,tt.T)(([zi])=>this._orderData(zi))),Si=(0,Vt.z)([xi,ct]).pipe((0,tt.T)(([zi])=>this._pageData(zi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Si.subscribe(zi=>this._renderData.next(zi))}_filterData(it){return this.filteredData=null==this.filter||""===this.filter?it:it.filter(ct=>this.filterPredicate(ct,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(it){return this.sort?this.sortData(it.slice(),this.sort):it}_pageData(it){if(!this.paginator)return it;const ct=this.paginator.pageIndex*this.paginator.pageSize;return it.slice(ct,ct+this.paginator.pageSize)}_updatePaginator(it){Promise.resolve().then(()=>{const ct=this.paginator;if(ct&&(ct.length=it,ct.pageIndex>0)){const wt=Math.ceil(ct.length/ct.pageSize)-1||0,Ut=Math.min(ct.pageIndex,wt);Ut!==ct.pageIndex&&(ct.pageIndex=Ut,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},6850:(Qe,te,g)=>{"use strict";g.d(te,{Bu:()=>Jt,ES:()=>_e,Ql:()=>St,RI:()=>Ae,T8:()=>tt,hQ:()=>dt,mq:()=>pe});var e=g(4438),t=g(6600),w=g(6939),S=g(1413),l=g(3726),x=g(7673),f=g(7786),I=g(983),d=g(1985),T=g(1807),y=g(8359),F=g(4412),R=g(5542),z=g(6860),W=g(8203),$=g(8617),j=g(7336),Q=g(6977),J=g(6697),ee=g(9172),ie=g(5558),ge=g(5245),ae=g(5964),Me=g(3294),Te=g(2318),de=g(177),D=g(9969);const n=["*"];function c(we,he){1&we&&e.SdG(0)}const m=["tabListContainer"],h=["tabList"],C=["tabListInner"],k=["nextPaginator"],L=["previousPaginator"],_=we=>({animationDuration:we}),r=(we,he)=>({value:we,params:he});function v(we,he){}const V=["tabBodyWrapper"],N=["tabHeader"];function ne(we,he){}function Ee(we,he){if(1&we&&e.DNE(0,ne,0,0,"ng-template",12),2&we){const q=e.XpG().$implicit;e.Y8G("cdkPortalOutlet",q.templateLabel)}}function ze(we,he){if(1&we&&e.EFF(0),2&we){const q=e.XpG().$implicit;e.JRh(q.textLabel)}}function qe(we,he){if(1&we){const q=e.RV6();e.j41(0,"div",7,2),e.bIt("click",function(){const Ne=e.eBV(q),gt=Ne.$implicit,$e=Ne.$index,Fe=e.XpG(),Ge=e.sdS(1);return e.Njj(Fe._handleClick(gt,Ge,$e))})("cdkFocusChange",function(Ne){const gt=e.eBV(q).$index,$e=e.XpG();return e.Njj($e._tabFocusChanged(Ne,gt))}),e.nrm(2,"span",8)(3,"div",9),e.j41(4,"span",10)(5,"span",11),e.DNE(6,Ee,1,1,null,12)(7,ze,1,1),e.k0s()()()}if(2&we){const q=he.$implicit,Re=he.$index,Ne=e.sdS(1),gt=e.XpG();e.HbH(q.labelClass),e.AVh("mdc-tab--active",gt.selectedIndex===Re),e.Y8G("id",gt._getTabLabelId(Re))("disabled",q.disabled)("fitInkBarToContent",gt.fitInkBarToContent),e.BMQ("tabIndex",gt._getTabIndex(Re))("aria-posinset",Re+1)("aria-setsize",gt._tabs.length)("aria-controls",gt._getTabContentId(Re))("aria-selected",gt.selectedIndex===Re)("aria-label",q.ariaLabel||null)("aria-labelledby",!q.ariaLabel&&q.ariaLabelledby?q.ariaLabelledby:null),e.R7$(3),e.Y8G("matRippleTrigger",Ne)("matRippleDisabled",q.disabled||gt.disableRipple),e.R7$(3),e.vxM(q.templateLabel?6:7)}}function Ke(we,he){1&we&&e.SdG(0)}function se(we,he){if(1&we){const q=e.RV6();e.j41(0,"mat-tab-body",13),e.bIt("_onCentered",function(){e.eBV(q);const Ne=e.XpG();return e.Njj(Ne._removeTabBodyWrapperHeight())})("_onCentering",function(Ne){e.eBV(q);const gt=e.XpG();return e.Njj(gt._setTabBodyWrapperHeight(Ne))}),e.k0s()}if(2&we){const q=he.$implicit,Re=he.$index,Ne=e.XpG();e.HbH(q.bodyClass),e.AVh("mat-mdc-tab-body-active",Ne.selectedIndex===Re),e.Y8G("id",Ne._getTabContentId(Re))("content",q.content)("position",q.position)("origin",q.origin)("animationDuration",Ne.animationDuration)("preserveContent",Ne.preserveContent),e.BMQ("tabindex",null!=Ne.contentTabIndex&&Ne.selectedIndex===Re?Ne.contentTabIndex:null)("aria-labelledby",Ne._getTabLabelId(Re))("aria-hidden",Ne.selectedIndex!==Re)}}const X=["mat-tab-nav-bar",""],me=["mat-tab-link",""],ce=new e.nKC("MatTabContent");let fe=(()=>{class we{constructor(q){this.template=q}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.C4Q))};static#t=this.\u0275dir=e.FsC({type:we,selectors:[["","matTabContent",""]],standalone:!0,features:[e.Jv_([{provide:ce,useExisting:we}])]})}return we})();const ke=new e.nKC("MatTabLabel"),mt=new e.nKC("MAT_TAB");let _e=(()=>{class we extends w.bV{constructor(q,Re,Ne){super(q,Re),this._closestTab=Ne}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.C4Q),e.rXU(e.c1b),e.rXU(mt,8))};static#t=this.\u0275dir=e.FsC({type:we,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[e.Jv_([{provide:ke,useExisting:we}]),e.Vt3]})}return we})();const be=new e.nKC("MAT_TAB_GROUP");let pe=(()=>{class we{get templateLabel(){return this._templateLabel}set templateLabel(q){this._setTemplateLabelInput(q)}get content(){return this._contentPortal}constructor(q,Re){this._viewContainerRef=q,this._closestTabGroup=Re,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new S.B,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(q){(q.hasOwnProperty("textLabel")||q.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new w.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(q){q&&q._closestTab===this&&(this._templateLabel=q)}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.c1b),e.rXU(be,8))};static#t=this.\u0275cmp=e.VBU({type:we,selectors:[["mat-tab"]],contentQueries:function(Re,Ne,gt){if(1&Re&&(e.wni(gt,_e,5),e.wni(gt,fe,7,e.C4Q)),2&Re){let $e;e.mGM($e=e.lsd())&&(Ne.templateLabel=$e.first),e.mGM($e=e.lsd())&&(Ne._explicitContent=$e.first)}},viewQuery:function(Re,Ne){if(1&Re&&e.GBs(e.C4Q,7),2&Re){let gt;e.mGM(gt=e.lsd())&&(Ne._implicitContent=gt.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",e.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[e.Jv_([{provide:mt,useExisting:we}]),e.GFd,e.OA$,e.aNF],ngContentSelectors:n,decls:1,vars:0,template:function(Re,Ne){1&Re&&(e.NAR(),e.DNE(0,c,1,0,"ng-template"))},encapsulation:2})}return we})();const Ze="mdc-tab-indicator--active",_t="mdc-tab-indicator--no-transition";class at{constructor(he){this._items=he}hide(){this._items.forEach(he=>he.deactivateInkBar())}alignToElement(he){const q=this._items.find(Ne=>Ne.elementRef.nativeElement===he),Re=this._currentItem;if(q!==Re&&(Re?.deactivateInkBar(),q)){const Ne=Re?.elementRef.nativeElement.getBoundingClientRect?.();q.activateInkBar(Ne),this._currentItem=q}}}let pt=(()=>{class we{constructor(){this._elementRef=(0,e.WQX)(e.aKT),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(q){this._fitToContent!==q&&(this._fitToContent=q,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(q){const Re=this._elementRef.nativeElement;if(!q||!Re.getBoundingClientRect||!this._inkBarContentElement)return void Re.classList.add(Ze);const Ne=Re.getBoundingClientRect(),gt=q.width/Ne.width,$e=q.left-Ne.left;Re.classList.add(_t),this._inkBarContentElement.style.setProperty("transform",`translateX(${$e}px) scaleX(${gt})`),Re.getBoundingClientRect(),Re.classList.remove(_t),Re.classList.add(Ze),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Ze)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const q=this._elementRef.nativeElement.ownerDocument||document,Re=this._inkBarElement=q.createElement("span"),Ne=this._inkBarContentElement=q.createElement("span");Re.className="mdc-tab-indicator",Ne.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",Re.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static#e=this.\u0275fac=function(Re){return new(Re||we)};static#t=this.\u0275dir=e.FsC({type:we,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",e.L39]},features:[e.GFd]})}return we})(),ue=(()=>{class we extends pt{constructor(q){super(),this.elementRef=q,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.aKT))};static#t=this.\u0275dir=e.FsC({type:we,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Re,Ne){2&Re&&(e.BMQ("aria-disabled",!!Ne.disabled),e.AVh("mat-mdc-tab-disabled",Ne.disabled))},inputs:{disabled:[2,"disabled","disabled",e.L39]},standalone:!0,features:[e.GFd,e.Vt3]})}return we})();const Ie=(0,z.BQ)({passive:!0});let yt=(()=>{class we{get selectedIndex(){return this._selectedIndex}set selectedIndex(q){const Re=isNaN(q)?0:q;this._selectedIndex!=Re&&(this._selectedIndexChanged=!0,this._selectedIndex=Re,this._keyManager&&this._keyManager.updateActiveItem(Re))}constructor(q,Re,Ne,gt,$e,Fe,Ge){this._elementRef=q,this._changeDetectorRef=Re,this._viewportRuler=Ne,this._dir=gt,this._ngZone=$e,this._platform=Fe,this._animationMode=Ge,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new S.B,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new S.B,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new e.bkB,this.indexFocused=new e.bkB,$e.runOutsideAngular(()=>{(0,l.R)(q.nativeElement,"mouseleave").pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,l.R)(this._previousPaginator.nativeElement,"touchstart",Ie).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,l.R)(this._nextPaginator.nativeElement,"touchstart",Ie).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const q=this._dir?this._dir.change:(0,x.of)("ltr"),Re=this._viewportRuler.change(150),Ne=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new $.Bu(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,J.s)(1)).subscribe(Ne),(0,f.h)(q,Re,this._items.changes,this._itemsResized()).pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Ne()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(gt=>{this.indexFocused.emit(gt),this._setTabFocus(gt)})}_itemsResized(){return"function"!=typeof ResizeObserver?I.w:this._items.changes.pipe((0,ee.Z)(this._items),(0,ie.n)(q=>new d.c(Re=>this._ngZone.runOutsideAngular(()=>{const Ne=new ResizeObserver(gt=>Re.next(gt));return q.forEach(gt=>Ne.observe(gt.elementRef.nativeElement)),()=>{Ne.disconnect()}}))),(0,ge.i)(1),(0,ae.p)(q=>q.some(Re=>Re.contentRect.width>0&&Re.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(q){if(!(0,j.rp)(q))switch(q.keyCode){case j.Fm:case j.t6:if(this.focusIndex!==this.selectedIndex){const Re=this._items.get(this.focusIndex);Re&&!Re.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(q))}break;default:this._keyManager.onKeydown(q)}}_onContentChanges(){const q=this._elementRef.nativeElement.textContent;q!==this._currentTextContent&&(this._currentTextContent=q||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(q){!this._isValidIndex(q)||this.focusIndex===q||!this._keyManager||this._keyManager.setActiveItem(q)}_isValidIndex(q){return!this._items||!!this._items.toArray()[q]}_setTabFocus(q){if(this._showPaginationControls&&this._scrollToLabel(q),this._items&&this._items.length){this._items.toArray()[q].focus();const Re=this._tabListContainer.nativeElement;Re.scrollLeft="ltr"==this._getLayoutDirection()?0:Re.scrollWidth-Re.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const q=this.scrollDistance,Re="ltr"===this._getLayoutDirection()?-q:q;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Re)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(q){this._scrollTo(q)}_scrollHeader(q){return this._scrollTo(this._scrollDistance+("before"==q?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(q){this._stopInterval(),this._scrollHeader(q)}_scrollToLabel(q){if(this.disablePagination)return;const Re=this._items?this._items.toArray()[q]:null;if(!Re)return;const Ne=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:gt,offsetWidth:$e}=Re.elementRef.nativeElement;let Fe,Ge;"ltr"==this._getLayoutDirection()?(Fe=gt,Ge=Fe+$e):(Ge=this._tabListInner.nativeElement.offsetWidth-gt,Fe=Ge-$e);const et=this.scrollDistance,st=this.scrollDistance+Ne;Fe<et?this.scrollDistance-=et-Fe:Ge>st&&(this.scrollDistance+=Math.min(Ge-st,Fe-et))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const q=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;q||(this.scrollDistance=0),q!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=q}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const q=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Re=q?q.elementRef.nativeElement:null;Re?this._inkBar.alignToElement(Re):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(q,Re){Re&&null!=Re.button&&0!==Re.button||(this._stopInterval(),(0,T.O)(650,100).pipe((0,Q.Q)((0,f.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ne,distance:gt}=this._scrollHeader(q);(0===gt||gt>=Ne)&&this._stopInterval()}))}_scrollTo(q){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Re=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Re,q)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Re,distance:this._scrollDistance}}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(R.Xj),e.rXU(W.dS,8),e.rXU(e.SKi),e.rXU(z.OD),e.rXU(e.bc$,8))};static#t=this.\u0275dir=e.FsC({type:we,inputs:{disablePagination:[2,"disablePagination","disablePagination",e.L39],selectedIndex:[2,"selectedIndex","selectedIndex",e.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.GFd]})}return we})(),Ye=(()=>{class we extends yt{constructor(q,Re,Ne,gt,$e,Fe,Ge){super(q,Re,Ne,gt,$e,Fe,Ge),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new at(this._items),super.ngAfterContentInit()}_itemSelected(q){q.preventDefault()}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(R.Xj),e.rXU(W.dS,8),e.rXU(e.SKi),e.rXU(z.OD),e.rXU(e.bc$,8))};static#t=this.\u0275cmp=e.VBU({type:we,selectors:[["mat-tab-header"]],contentQueries:function(Re,Ne,gt){if(1&Re&&e.wni(gt,ue,4),2&Re){let $e;e.mGM($e=e.lsd())&&(Ne._items=$e)}},viewQuery:function(Re,Ne){if(1&Re&&(e.GBs(m,7),e.GBs(h,7),e.GBs(C,7),e.GBs(k,5),e.GBs(L,5)),2&Re){let gt;e.mGM(gt=e.lsd())&&(Ne._tabListContainer=gt.first),e.mGM(gt=e.lsd())&&(Ne._tabList=gt.first),e.mGM(gt=e.lsd())&&(Ne._tabListInner=gt.first),e.mGM(gt=e.lsd())&&(Ne._nextPaginator=gt.first),e.mGM(gt=e.lsd())&&(Ne._previousPaginator=gt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Re,Ne){2&Re&&e.AVh("mat-mdc-tab-header-pagination-controls-enabled",Ne._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ne._getLayoutDirection())},inputs:{disableRipple:[2,"disableRipple","disableRipple",e.L39]},standalone:!0,features:[e.GFd,e.Vt3,e.aNF],ngContentSelectors:n,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(Re,Ne){if(1&Re){const gt=e.RV6();e.NAR(),e.j41(0,"button",5,0),e.bIt("click",function(){return e.eBV(gt),e.Njj(Ne._handlePaginatorClick("before"))})("mousedown",function(Fe){return e.eBV(gt),e.Njj(Ne._handlePaginatorPress("before",Fe))})("touchend",function(){return e.eBV(gt),e.Njj(Ne._stopInterval())}),e.nrm(2,"div",6),e.k0s(),e.j41(3,"div",7,1),e.bIt("keydown",function(Fe){return e.eBV(gt),e.Njj(Ne._handleKeydown(Fe))}),e.j41(5,"div",8,2),e.bIt("cdkObserveContent",function(){return e.eBV(gt),e.Njj(Ne._onContentChanges())}),e.j41(7,"div",9,3),e.SdG(9),e.k0s()()(),e.j41(10,"button",10,4),e.bIt("mousedown",function(Fe){return e.eBV(gt),e.Njj(Ne._handlePaginatorPress("after",Fe))})("click",function(){return e.eBV(gt),e.Njj(Ne._handlePaginatorClick("after"))})("touchend",function(){return e.eBV(gt),e.Njj(Ne._stopInterval())}),e.nrm(12,"div",6),e.k0s()}2&Re&&(e.AVh("mat-mdc-tab-header-pagination-disabled",Ne._disableScrollBefore),e.Y8G("matRippleDisabled",Ne._disableScrollBefore||Ne.disableRipple)("disabled",Ne._disableScrollBefore||null),e.R7$(3),e.AVh("_mat-animation-noopable","NoopAnimations"===Ne._animationMode),e.R7$(7),e.AVh("mat-mdc-tab-header-pagination-disabled",Ne._disableScrollAfter),e.Y8G("matRippleDisabled",Ne._disableScrollAfter||Ne.disableRipple)("disabled",Ne._disableScrollAfter||null))},dependencies:[t.r6,Te.Wv],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return we})();const rt=new e.nKC("MAT_TABS_CONFIG"),Yt={translateTab:(0,D.hZ)("translateTab",[(0,D.wk)("center, void, left-origin-center, right-origin-center",(0,D.iF)({transform:"none"})),(0,D.wk)("left",(0,D.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,D.wk)("right",(0,D.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,D.kY)("* => left, * => right, left => center, right => center",(0,D.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,D.kY)("void => left-origin-center",[(0,D.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,D.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,D.kY)("void => right-origin-center",[(0,D.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,D.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Nt=(()=>{class we extends w.I3{constructor(q,Re,Ne,gt){super(q,Re,gt),this._host=Ne,this._centeringSub=y.yU.EMPTY,this._leavingSub=y.yU.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ee.Z)(this._host._isCenterPosition(this._host._position))).subscribe(q=>{q&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.OM3),e.rXU(e.c1b),e.rXU((0,e.Rfq)(()=>Et)),e.rXU(de.qQ))};static#t=this.\u0275dir=e.FsC({type:we,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[e.Vt3]})}return we})(),Et=(()=>{class we{set position(q){this._positionIndex=q,this._computePositionAnimationState()}constructor(q,Re,Ne){this._elementRef=q,this._dir=Re,this._dirChangeSubscription=y.yU.EMPTY,this._translateTabComplete=new S.B,this._onCentering=new e.bkB,this._beforeCentering=new e.bkB,this._afterLeavingCenter=new e.bkB,this._onCentered=new e.bkB(!0),this.animationDuration="500ms",this.preserveContent=!1,Re&&(this._dirChangeSubscription=Re.change.subscribe(gt=>{this._computePositionAnimationState(gt),Ne.markForCheck()})),this._translateTabComplete.pipe((0,Me.F)((gt,$e)=>gt.fromState===$e.fromState&>.toState===$e.toState)).subscribe(gt=>{this._isCenterPosition(gt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(gt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(q){const Re=this._isCenterPosition(q.toState);this._beforeCentering.emit(Re),Re&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(q){return"center"==q||"left-origin-center"==q||"right-origin-center"==q}_computePositionAnimationState(q=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==q?"left":"right":this._positionIndex>0?"ltr"==q?"right":"left":"center"}_computePositionFromOrigin(q){const Re=this._getLayoutDirection();return"ltr"==Re&&q<=0||"rtl"==Re&&q>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.aKT),e.rXU(W.dS,8),e.rXU(e.gRc))};static#t=this.\u0275cmp=e.VBU({type:we,selectors:[["mat-tab-body"]],viewQuery:function(Re,Ne){if(1&Re&&e.GBs(w.I3,5),2&Re){let gt;e.mGM(gt=e.lsd())&&(Ne._portalHost=gt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[e.aNF],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(Re,Ne){if(1&Re){const gt=e.RV6();e.j41(0,"div",1,0),e.bIt("@translateTab.start",function(Fe){return e.eBV(gt),e.Njj(Ne._onTranslateTabStarted(Fe))})("@translateTab.done",function(Fe){return e.eBV(gt),e.Njj(Ne._translateTabComplete.next(Fe))}),e.DNE(2,v,0,0,"ng-template",2),e.k0s()}2&Re&&e.Y8G("@translateTab",e.l_i(3,r,Ne._position,e.eq3(1,_,Ne.animationDuration)))},dependencies:[Nt,R.uv],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Yt.translateTab]}})}return we})(),Vt=0,tt=(()=>{class we{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(q){this._fitInkBarToContent=q,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(q){this._indexToSelect=isNaN(q)?null:q}get animationDuration(){return this._animationDuration}set animationDuration(q){const Re=q+"";this._animationDuration=/^\d+$/.test(Re)?q+"ms":Re}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(q){this._contentTabIndex=isNaN(q)?null:q}get backgroundColor(){return this._backgroundColor}set backgroundColor(q){const Re=this._elementRef.nativeElement.classList;Re.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),q&&Re.add("mat-tabs-with-background",`mat-background-${q}`),this._backgroundColor=q}constructor(q,Re,Ne,gt){this._elementRef=q,this._changeDetectorRef=Re,this._animationMode=gt,this._tabs=new e.rOR,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=y.yU.EMPTY,this._tabLabelSubscription=y.yU.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new e.bkB,this.focusChange=new e.bkB,this.animationDone=new e.bkB,this.selectedTabChange=new e.bkB(!0),this._isServer=!(0,e.WQX)(z.OD).isBrowser,this._groupId=Vt++,this.animationDuration=Ne&&Ne.animationDuration?Ne.animationDuration:"500ms",this.disablePagination=!(!Ne||null==Ne.disablePagination)&&Ne.disablePagination,this.dynamicHeight=!(!Ne||null==Ne.dynamicHeight)&&Ne.dynamicHeight,null!=Ne?.contentTabIndex&&(this.contentTabIndex=Ne.contentTabIndex),this.preserveContent=!!Ne?.preserveContent,this.fitInkBarToContent=!(!Ne||null==Ne.fitInkBarToContent)&&Ne.fitInkBarToContent,this.stretchTabs=!Ne||null==Ne.stretchTabs||Ne.stretchTabs}ngAfterContentChecked(){const q=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=q){const Re=null==this._selectedIndex;if(!Re){this.selectedTabChange.emit(this._createChangeEvent(q));const Ne=this._tabBodyWrapper.nativeElement;Ne.style.minHeight=Ne.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ne,gt)=>Ne.isActive=gt===q),Re||(this.selectedIndexChange.emit(q),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Re,Ne)=>{Re.position=Ne-q,null!=this._selectedIndex&&0==Re.position&&!Re.origin&&(Re.origin=q-this._selectedIndex)}),this._selectedIndex!==q&&(this._selectedIndex=q,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const q=this._clampTabIndex(this._indexToSelect);if(q===this._selectedIndex){const Re=this._tabs.toArray();let Ne;for(let gt=0;gt<Re.length;gt++)if(Re[gt].isActive){this._indexToSelect=this._selectedIndex=gt,this._lastFocusedTabIndex=null,Ne=Re[gt];break}!Ne&&Re[q]&&Promise.resolve().then(()=>{Re[q].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(q))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ee.Z)(this._allTabs)).subscribe(q=>{this._tabs.reset(q.filter(Re=>Re._closestTabGroup===this||!Re._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(q){const Re=this._tabHeader;Re&&(Re.focusIndex=q)}_focusChanged(q){this._lastFocusedTabIndex=q,this.focusChange.emit(this._createChangeEvent(q))}_createChangeEvent(q){const Re=new $t;return Re.index=q,this._tabs&&this._tabs.length&&(Re.tab=this._tabs.toArray()[q]),Re}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,f.h)(...this._tabs.map(q=>q._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(q){return Math.min(this._tabs.length-1,Math.max(q||0,0))}_getTabLabelId(q){return`mat-tab-label-${this._groupId}-${q}`}_getTabContentId(q){return`mat-tab-content-${this._groupId}-${q}`}_setTabBodyWrapperHeight(q){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const Re=this._tabBodyWrapper.nativeElement;Re.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Re.style.height=q+"px")}_removeTabBodyWrapperHeight(){const q=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=q.clientHeight,q.style.height="",this.animationDone.emit()}_handleClick(q,Re,Ne){Re.focusIndex=Ne,q.disabled||(this.selectedIndex=Ne)}_getTabIndex(q){return q===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(q,Re){q&&"mouse"!==q&&"touch"!==q&&(this._tabHeader.focusIndex=Re)}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(rt,8),e.rXU(e.bc$,8))};static#t=this.\u0275cmp=e.VBU({type:we,selectors:[["mat-tab-group"]],contentQueries:function(Re,Ne,gt){if(1&Re&&e.wni(gt,pe,5),2&Re){let $e;e.mGM($e=e.lsd())&&(Ne._allTabs=$e)}},viewQuery:function(Re,Ne){if(1&Re&&(e.GBs(V,5),e.GBs(N,5)),2&Re){let gt;e.mGM(gt=e.lsd())&&(Ne._tabBodyWrapper=gt.first),e.mGM(gt=e.lsd())&&(Ne._tabHeader=gt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(Re,Ne){2&Re&&(e.HbH("mat-"+(Ne.color||"primary")),e.xc7("--mat-tab-animation-duration",Ne.animationDuration),e.AVh("mat-mdc-tab-group-dynamic-height",Ne.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Ne.headerPosition)("mat-mdc-tab-group-stretch-tabs",Ne.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",e.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",e.L39],dynamicHeight:[2,"dynamicHeight","dynamicHeight",e.L39],selectedIndex:[2,"selectedIndex","selectedIndex",e.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",e.Udg],disablePagination:[2,"disablePagination","disablePagination",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],preserveContent:[2,"preserveContent","preserveContent",e.L39],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[e.Jv_([{provide:be,useExisting:we}]),e.GFd,e.aNF],ngContentSelectors:n,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(Re,Ne){if(1&Re){const gt=e.RV6();e.NAR(),e.j41(0,"mat-tab-header",3,0),e.bIt("indexFocused",function(Fe){return e.eBV(gt),e.Njj(Ne._focusChanged(Fe))})("selectFocusedIndex",function(Fe){return e.eBV(gt),e.Njj(Ne.selectedIndex=Fe)}),e.Z7z(2,qe,8,17,"div",4,e.fX1),e.k0s(),e.DNE(4,Ke,1,0),e.j41(5,"div",5,1),e.Z7z(7,se,1,13,"mat-tab-body",6,e.fX1),e.k0s()}2&Re&&(e.Y8G("selectedIndex",Ne.selectedIndex||0)("disableRipple",Ne.disableRipple)("disablePagination",Ne.disablePagination),e.R7$(2),e.Dyx(Ne._tabs),e.R7$(2),e.vxM(Ne._isServer?4:-1),e.R7$(),e.AVh("_mat-animation-noopable","NoopAnimations"===Ne._animationMode),e.R7$(2),e.Dyx(Ne._tabs))},dependencies:[Ye,ue,$.vR,t.r6,w.I3,Et],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return we})();class $t{}let zt=0,Jt=(()=>{class we extends yt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(q){this._fitInkBarToContent.next(q),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(q){const Re=q+"";this._animationDuration=/^\d+$/.test(Re)?q+"ms":Re}get backgroundColor(){return this._backgroundColor}set backgroundColor(q){const Re=this._elementRef.nativeElement.classList;Re.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),q&&Re.add("mat-tabs-with-background",`mat-background-${q}`),this._backgroundColor=q}constructor(q,Re,Ne,gt,$e,Fe,Ge,et){super(q,gt,$e,Re,Ne,Fe,Ge),this._fitInkBarToContent=new F.t(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=!(!et||null==et.disablePagination)&&et.disablePagination,this.fitInkBarToContent=!(!et||null==et.fitInkBarToContent)&&et.fitInkBarToContent,this.stretchTabs=!et||null==et.stretchTabs||et.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new at(this._items),this._items.changes.pipe((0,ee.Z)(null),(0,Q.Q)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const q=this._items.toArray();for(let Re=0;Re<q.length;Re++)if(q[Re].active)return this.selectedIndex=Re,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=q[Re].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(e.aKT),e.rXU(W.dS,8),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(R.Xj),e.rXU(z.OD),e.rXU(e.bc$,8),e.rXU(rt,8))};static#t=this.\u0275cmp=e.VBU({type:we,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Re,Ne,gt){if(1&Re&&e.wni(gt,St,5),2&Re){let $e;e.mGM($e=e.lsd())&&(Ne._items=$e)}},viewQuery:function(Re,Ne){if(1&Re&&(e.GBs(m,7),e.GBs(h,7),e.GBs(C,7),e.GBs(k,5),e.GBs(L,5)),2&Re){let gt;e.mGM(gt=e.lsd())&&(Ne._tabListContainer=gt.first),e.mGM(gt=e.lsd())&&(Ne._tabList=gt.first),e.mGM(gt=e.lsd())&&(Ne._tabListInner=gt.first),e.mGM(gt=e.lsd())&&(Ne._nextPaginator=gt.first),e.mGM(gt=e.lsd())&&(Ne._previousPaginator=gt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(Re,Ne){2&Re&&(e.BMQ("role",Ne._getRole()),e.xc7("--mat-tab-animation-duration",Ne.animationDuration),e.AVh("mat-mdc-tab-header-pagination-controls-enabled",Ne._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ne._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Ne.stretchTabs)("mat-primary","warn"!==Ne.color&&"accent"!==Ne.color)("mat-accent","accent"===Ne.color)("mat-warn","warn"===Ne.color)("_mat-animation-noopable","NoopAnimations"===Ne._animationMode))},inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",e.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",e.L39],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",e.L39],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],standalone:!0,features:[e.GFd,e.Vt3,e.aNF],attrs:X,ngContentSelectors:n,decls:13,vars:8,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(Re,Ne){if(1&Re){const gt=e.RV6();e.NAR(),e.j41(0,"button",5,0),e.bIt("click",function(){return e.eBV(gt),e.Njj(Ne._handlePaginatorClick("before"))})("mousedown",function(Fe){return e.eBV(gt),e.Njj(Ne._handlePaginatorPress("before",Fe))})("touchend",function(){return e.eBV(gt),e.Njj(Ne._stopInterval())}),e.nrm(2,"div",6),e.k0s(),e.j41(3,"div",7,1),e.bIt("keydown",function(Fe){return e.eBV(gt),e.Njj(Ne._handleKeydown(Fe))}),e.j41(5,"div",8,2),e.bIt("cdkObserveContent",function(){return e.eBV(gt),e.Njj(Ne._onContentChanges())}),e.j41(7,"div",9,3),e.SdG(9),e.k0s()()(),e.j41(10,"button",10,4),e.bIt("mousedown",function(Fe){return e.eBV(gt),e.Njj(Ne._handlePaginatorPress("after",Fe))})("click",function(){return e.eBV(gt),e.Njj(Ne._handlePaginatorClick("after"))})("touchend",function(){return e.eBV(gt),e.Njj(Ne._stopInterval())}),e.nrm(12,"div",6),e.k0s()}2&Re&&(e.AVh("mat-mdc-tab-header-pagination-disabled",Ne._disableScrollBefore),e.Y8G("matRippleDisabled",Ne._disableScrollBefore||Ne.disableRipple)("disabled",Ne._disableScrollBefore||null),e.R7$(10),e.AVh("mat-mdc-tab-header-pagination-disabled",Ne._disableScrollAfter),e.Y8G("matRippleDisabled",Ne._disableScrollAfter||Ne.disableRipple)("disabled",Ne._disableScrollAfter||null))},dependencies:[t.r6,Te.Wv],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return we})(),St=(()=>{class we extends pt{get active(){return this._isActive}set active(q){q!==this._isActive&&(this._isActive=q,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(q,Re,Ne,gt,$e,Fe){super(),this._tabNavBar=q,this.elementRef=Re,this._focusMonitor=$e,this._destroyed=new S.B,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id="mat-tab-link-"+zt++,this.rippleConfig=Ne||{},this.tabIndex=parseInt(gt)||0,"NoopAnimations"===Fe&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),q._fitInkBarToContent.pipe((0,Q.Q)(this._destroyed)).subscribe(Ge=>{this.fitInkBarToContent=Ge})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(q){(q.keyCode===j.t6||q.keyCode===j.Fm)&&(this.disabled?q.preventDefault():this._tabNavBar.tabPanel&&(q.keyCode===j.t6&&q.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static#e=this.\u0275fac=function(Re){return new(Re||we)(e.rXU(Jt),e.rXU(e.aKT),e.rXU(t.$E,8),e.kS0("tabindex"),e.rXU($.FN),e.rXU(e.bc$,8))};static#t=this.\u0275cmp=e.VBU({type:we,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(Re,Ne){1&Re&&e.bIt("focus",function(){return Ne._handleFocus()})("keydown",function($e){return Ne._handleKeydown($e)}),2&Re&&(e.BMQ("aria-controls",Ne._getAriaControls())("aria-current",Ne._getAriaCurrent())("aria-disabled",Ne.disabled)("aria-selected",Ne._getAriaSelected())("id",Ne.id)("tabIndex",Ne._getTabIndex())("role",Ne._getRole()),e.AVh("mat-mdc-tab-disabled",Ne.disabled)("mdc-tab--active",Ne.active))},inputs:{active:[2,"active","active",e.L39],disabled:[2,"disabled","disabled",e.L39],disableRipple:[2,"disableRipple","disableRipple",e.L39],tabIndex:[2,"tabIndex","tabIndex",q=>null==q?0:(0,e.Udg)(q)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[e.GFd,e.Vt3,e.aNF],attrs:me,ngContentSelectors:n,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(Re,Ne){1&Re&&(e.NAR(),e.nrm(0,"span",0)(1,"div",1),e.j41(2,"span",2)(3,"span",3),e.SdG(4),e.k0s()()),2&Re&&(e.R7$(),e.Y8G("matRippleTrigger",Ne.elementRef.nativeElement)("matRippleDisabled",Ne.rippleDisabled))},dependencies:[t.r6],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return we})(),dt=(()=>{class we{constructor(){this.id="mat-tab-nav-panel-"+zt++}static#e=this.\u0275fac=function(Re){return new(Re||we)};static#t=this.\u0275cmp=e.VBU({type:we,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Re,Ne){2&Re&&e.BMQ("aria-labelledby",Ne._activeTabId)("id",Ne.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[e.aNF],ngContentSelectors:n,decls:1,vars:0,template:function(Re,Ne){1&Re&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}return we})(),Ae=(()=>{class we{static#e=this.\u0275fac=function(Re){return new(Re||we)};static#t=this.\u0275mod=e.$C({type:we});static#i=this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}return we})()},5911:(Qe,te,g)=>{"use strict";g.d(te,{KQ:()=>I,s5:()=>T});var e=g(4438),t=g(6600),w=g(6860),S=g(177);const l=["*",[["mat-toolbar-row"]]],x=["*","mat-toolbar-row"];let f=(()=>{class y{static#e=this.\u0275fac=function(z){return new(z||y)};static#t=this.\u0275dir=e.FsC({type:y,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}return y})(),I=(()=>{class y{constructor(R,z,W){this._elementRef=R,this._platform=z,this._document=W}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(z){return new(z||y)(e.rXU(e.aKT),e.rXU(w.OD),e.rXU(S.qQ))};static#t=this.\u0275cmp=e.VBU({type:y,selectors:[["mat-toolbar"]],contentQueries:function(z,W,$){if(1&z&&e.wni($,f,5),2&z){let j;e.mGM(j=e.lsd())&&(W._toolbarRows=j)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(z,W){2&z&&(e.HbH(W.color?"mat-"+W.color:""),e.AVh("mat-toolbar-multiple-rows",W._toolbarRows.length>0)("mat-toolbar-single-row",0===W._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[e.aNF],ngContentSelectors:x,decls:2,vars:0,template:function(z,W){1&z&&(e.NAR(l),e.SdG(0),e.SdG(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return y})(),T=(()=>{class y{static#e=this.\u0275fac=function(z){return new(z||y)};static#t=this.\u0275mod=e.$C({type:y});static#i=this.\u0275inj=e.G2t({imports:[t.yE,t.yE]})}return y})()},4823:(Qe,te,g)=>{"use strict";g.d(te,{oV:()=>h,uc:()=>L});var e=g(6977),t=g(6697),w=g(4085),S=g(7336),l=g(4438),x=g(177),f=g(6860),I=g(8617),d=g(8203),T=g(6969),y=g(5542),F=g(6939),R=g(1413),W=(g(9969),g(6600));const $=["tooltip"],J=new l.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const _=(0,l.WQX)(T.hJ);return()=>_.scrollStrategies.reposition({scrollThrottle:20})}}),ie={provide:J,deps:[T.hJ],useFactory:function ee(_){return()=>_.scrollStrategies.reposition({scrollThrottle:20})}},ae=new l.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function ge(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Te="tooltip-panel",de=(0,f.BQ)({passive:!0});let h=(()=>{class _{get position(){return this._position}set position(v){v!==this._position&&(this._position=v,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(v){this._positionAtOrigin=(0,w.he)(v),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(v){this._disabled=(0,w.he)(v),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(v){this._showDelay=(0,w.OE)(v)}get hideDelay(){return this._hideDelay}set hideDelay(v){this._hideDelay=(0,w.OE)(v),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(v){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=v?String(v).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(v){this._tooltipClass=v,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(v,V,N,ne,Ee,ze,qe,Ke,se,X,me,ce){this._overlay=v,this._elementRef=V,this._scrollDispatcher=N,this._viewContainerRef=ne,this._ngZone=Ee,this._platform=ze,this._ariaDescriber=qe,this._focusMonitor=Ke,this._dir=X,this._defaultOptions=me,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=C,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new R.B,this._scrollStrategy=se,this._document=ce,me&&(this._showDelay=me.showDelay,this._hideDelay=me.hideDelay,me.position&&(this.position=me.position),me.positionAtOrigin&&(this.positionAtOrigin=me.positionAtOrigin),me.touchGestures&&(this.touchGestures=me.touchGestures)),X.change.pipe((0,e.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.Q)(this._destroyed)).subscribe(v=>{v?"keyboard"===v&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const v=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([V,N])=>{v.removeEventListener(V,N,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(v,this.message,"tooltip"),this._focusMonitor.stopMonitoring(v)}show(v=this.showDelay,V){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const N=this._createOverlay(V);this._detach(),this._portal=this._portal||new F.A8(this._tooltipComponent,this._viewContainerRef);const ne=this._tooltipInstance=N.attach(this._portal).instance;ne._triggerElement=this._elementRef.nativeElement,ne._mouseLeaveHideDelay=this._hideDelay,ne.afterHidden().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ne.show(v)}hide(v=this.hideDelay){const V=this._tooltipInstance;V&&(V.isVisible()?V.hide(v):(V._cancelPendingAnimations(),this._detach()))}toggle(v){this._isTooltipVisible()?this.hide():this.show(void 0,v)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(v){if(this._overlayRef){const ne=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!v)&&ne._origin instanceof l.aKT)return this._overlayRef;this._detach()}const V=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),N=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&v||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(V);return N.positionChanges.pipe((0,e.Q)(this._destroyed)).subscribe(ne=>{this._updateCurrentPositionClass(ne.connectionPair),this._tooltipInstance&&ne.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:N,panelClass:`${this._cssClassPrefix}-${Te}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.Q)(this._destroyed)).subscribe(ne=>{this._isTooltipVisible()&&ne.keyCode===S._f&&!(0,S.rp)(ne)&&(ne.preventDefault(),ne.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(v){const V=v.getConfig().positionStrategy,N=this._getOrigin(),ne=this._getOverlayPosition();V.withPositions([this._addOffset({...N.main,...ne.main}),this._addOffset({...N.fallback,...ne.fallback})])}_addOffset(v){const N=!this._dir||"ltr"==this._dir.value;return"top"===v.originY?v.offsetY=-8:"bottom"===v.originY?v.offsetY=8:"start"===v.originX?v.offsetX=N?-8:8:"end"===v.originX&&(v.offsetX=N?8:-8),v}_getOrigin(){const v=!this._dir||"ltr"==this._dir.value,V=this.position;let N;"above"==V||"below"==V?N={originX:"center",originY:"above"==V?"top":"bottom"}:"before"==V||"left"==V&&v||"right"==V&&!v?N={originX:"start",originY:"center"}:("after"==V||"right"==V&&v||"left"==V&&!v)&&(N={originX:"end",originY:"center"});const{x:ne,y:Ee}=this._invertPosition(N.originX,N.originY);return{main:N,fallback:{originX:ne,originY:Ee}}}_getOverlayPosition(){const v=!this._dir||"ltr"==this._dir.value,V=this.position;let N;"above"==V?N={overlayX:"center",overlayY:"bottom"}:"below"==V?N={overlayX:"center",overlayY:"top"}:"before"==V||"left"==V&&v||"right"==V&&!v?N={overlayX:"end",overlayY:"center"}:("after"==V||"right"==V&&v||"left"==V&&!v)&&(N={overlayX:"start",overlayY:"center"});const{x:ne,y:Ee}=this._invertPosition(N.overlayX,N.overlayY);return{main:N,fallback:{overlayX:ne,overlayY:Ee}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,t.s)(1),(0,e.Q)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(v){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=v,this._tooltipInstance._markForCheck())}_invertPosition(v,V){return"above"===this.position||"below"===this.position?"top"===V?V="bottom":"bottom"===V&&(V="top"):"end"===v?v="start":"start"===v&&(v="end"),{x:v,y:V}}_updateCurrentPositionClass(v){const{overlayY:V,originX:N,originY:ne}=v;let Ee;if(Ee="center"===V?this._dir&&"rtl"===this._dir.value?"end"===N?"left":"right":"start"===N?"left":"right":"bottom"===V&&"top"===ne?"above":"below",Ee!==this._currentPosition){const ze=this._overlayRef;if(ze){const qe=`${this._cssClassPrefix}-${Te}-`;ze.removePanelClass(qe+this._currentPosition),ze.addPanelClass(qe+Ee)}this._currentPosition=Ee}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",v=>{let V;this._setupPointerExitEventsIfNeeded(),void 0!==v.x&&void 0!==v.y&&(V=v),this.show(void 0,V)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",v=>{const V=v.targetTouches?.[0],N=V?{x:V.clientX,y:V.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,N),this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const v=[];if(this._platformSupportsMouseEvents())v.push(["mouseleave",V=>{const N=V.relatedTarget;(!N||!this._overlayRef?.overlayElement.contains(N))&&this.hide()}],["wheel",V=>this._wheelListener(V)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const V=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};v.push(["touchend",V],["touchcancel",V])}this._addListeners(v),this._passiveListeners.push(...v)}_addListeners(v){v.forEach(([V,N])=>{this._elementRef.nativeElement.addEventListener(V,N,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(v){if(this._isTooltipVisible()){const V=this._document.elementFromPoint(v.clientX,v.clientY),N=this._elementRef.nativeElement;V!==N&&!N.contains(V)&&this.hide()}}_disableNativeGesturesIfNecessary(){const v=this.touchGestures;if("off"!==v){const V=this._elementRef.nativeElement,N=V.style;("on"===v||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName)&&(N.userSelect=N.msUserSelect=N.webkitUserSelect=N.MozUserSelect="none"),("on"===v||!V.draggable)&&(N.webkitUserDrag="none"),N.touchAction="none",N.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(V){return new(V||_)(l.rXU(T.hJ),l.rXU(l.aKT),l.rXU(y.R),l.rXU(l.c1b),l.rXU(l.SKi),l.rXU(f.OD),l.rXU(I.vr),l.rXU(I.FN),l.rXU(J),l.rXU(d.dS),l.rXU(ae,8),l.rXU(x.qQ))};static#t=this.\u0275dir=l.FsC({type:_,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(V,N){2&V&&l.AVh("mat-mdc-tooltip-disabled",N.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return _})(),C=(()=>{class _{constructor(v,V,N){this._changeDetectorRef=v,this._elementRef=V,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===N}show(v){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},v)}hide(v){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},v)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:v}){(!v||!this._triggerElement.contains(v))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const v=this._elementRef.nativeElement.getBoundingClientRect();return v.height>24&&v.width>=200}_handleAnimationEnd({animationName:v}){(v===this._showAnimation||v===this._hideAnimation)&&this._finalizeAnimation(v===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(v){v?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(v){const V=this._tooltip.nativeElement,N=this._showAnimation,ne=this._hideAnimation;if(V.classList.remove(v?ne:N),V.classList.add(v?N:ne),this._isVisible!==v&&(this._isVisible=v,this._changeDetectorRef.markForCheck()),v&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ee=getComputedStyle(V);("0s"===Ee.getPropertyValue("animation-duration")||"none"===Ee.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}v&&this._onShow(),this._animationsDisabled&&(V.classList.add("_mat-animation-noopable"),this._finalizeAnimation(v))}static#e=this.\u0275fac=function(V){return new(V||_)(l.rXU(l.gRc),l.rXU(l.aKT),l.rXU(l.bc$,8))};static#t=this.\u0275cmp=l.VBU({type:_,selectors:[["mat-tooltip-component"]],viewQuery:function(V,N){if(1&V&&l.GBs($,7),2&V){let ne;l.mGM(ne=l.lsd())&&(N._tooltip=ne.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(V,N){1&V&&l.bIt("mouseleave",function(Ee){return N._handleMouseLeave(Ee)}),2&V&&l.xc7("zoom",N.isVisible()?1:null)},standalone:!0,features:[l.aNF],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(V,N){if(1&V){const ne=l.RV6();l.j41(0,"div",1,0),l.bIt("animationend",function(ze){return l.eBV(ne),l.Njj(N._handleAnimationEnd(ze))}),l.j41(2,"div",2),l.EFF(3),l.k0s()()}2&V&&(l.AVh("mdc-tooltip--multiline",N._isMultiline),l.Y8G("ngClass",N.tooltipClass),l.R7$(3),l.JRh(N.message))},dependencies:[x.YU],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return _})(),L=(()=>{class _{static#e=this.\u0275fac=function(V){return new(V||_)};static#t=this.\u0275mod=l.$C({type:_});static#i=this.\u0275inj=l.G2t({providers:[ie],imports:[I.Pd,x.MD,T.z_,W.yE,W.yE,y.Gj]})}return _})()},7358:(Qe,te,g)=>{"use strict";g.d(te,{Zh:()=>J,d6:()=>I,jH:()=>$,lQ:()=>R,pO:()=>z,q1:()=>T,wx:()=>F,yI:()=>d});var e=g(4109),t=g(4438),w=g(6600),S=g(5024),l=g(4412),x=g(7786),f=g(6354);let I=(()=>{class ee extends e.xn{constructor(ge,ae,Me){super(ge,ae),this.disabled=!1,this.tabIndex=Number(Me)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ae){return new(ae||ee)(t.rXU(t.aKT),t.rXU(e.NL),t.kS0("tabindex"))};static#t=this.\u0275dir=t.FsC({type:ee,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{disabled:[2,"disabled","disabled",t.L39],tabIndex:[2,"tabIndex","tabIndex",ge=>null==ge?0:(0,t.Udg)(ge)]},exportAs:["matTreeNode"],standalone:!0,features:[t.Jv_([{provide:e.xn,useExisting:ee}]),t.GFd,t.Vt3]})}return ee})(),d=(()=>{class ee extends e.Sz{static#e=this.\u0275fac=(()=>{let ge;return function(Me){return(ge||(ge=t.xGo(ee)))(Me||ee)}})();static#t=this.\u0275dir=t.FsC({type:ee,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[t.Jv_([{provide:e.Sz,useExisting:ee}]),t.Vt3]})}return ee})(),T=(()=>{class ee extends e.s3{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ge){this._tabIndex=ge??0}constructor(ge,ae,Me,Te){super(ge,ae,Me),this.disabled=!1,this.tabIndex=Number(Te)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ae){return new(ae||ee)(t.rXU(t.aKT),t.rXU(e.NL),t.rXU(t._q3),t.kS0("tabindex"))};static#t=this.\u0275dir=t.FsC({type:ee,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",t.L39],tabIndex:"tabIndex"},exportAs:["matNestedTreeNode"],standalone:!0,features:[t.Jv_([{provide:e.s3,useExisting:ee},{provide:e.xn,useExisting:ee},{provide:e.kZ,useExisting:ee}]),t.GFd,t.Vt3]})}return ee})(),F=(()=>{class ee{constructor(ge,ae){this.viewContainer=ge,this._node=ae}static#e=this.\u0275fac=function(ae){return new(ae||ee)(t.rXU(t.c1b),t.rXU(e.kZ,8))};static#t=this.\u0275dir=t.FsC({type:ee,selectors:[["","matTreeNodeOutlet",""]],standalone:!0,features:[t.Jv_([{provide:e.a$,useExisting:ee}])]})}return ee})(),R=(()=>{class ee extends e.NL{constructor(){super(...arguments),this._nodeOutlet=void 0}static#e=this.\u0275fac=(()=>{let ge;return function(Me){return(ge||(ge=t.xGo(ee)))(Me||ee)}})();static#t=this.\u0275cmp=t.VBU({type:ee,selectors:[["mat-tree"]],viewQuery:function(ae,Me){if(1&ae&&t.GBs(F,7),2&ae){let Te;t.mGM(Te=t.lsd())&&(Me._nodeOutlet=Te.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],standalone:!0,features:[t.Jv_([{provide:e.NL,useExisting:ee}]),t.Vt3,t.aNF],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ae,Me){1&ae&&t.eu8(0,0)},dependencies:[F],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color)}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color);font-family:var(--mat-tree-node-text-font);font-size:var(--mat-tree-node-text-size);font-weight:var(--mat-tree-node-text-weight)}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}return ee})(),z=(()=>{class ee extends e.Hy{static#e=this.\u0275fac=(()=>{let ge;return function(Me){return(ge||(ge=t.xGo(ee)))(Me||ee)}})();static#t=this.\u0275dir=t.FsC({type:ee,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[t.Jv_([{provide:e.Hy,useExisting:ee}]),t.Vt3]})}return ee})(),$=(()=>{class ee{static#e=this.\u0275fac=function(ae){return new(ae||ee)};static#t=this.\u0275mod=t.$C({type:ee});static#i=this.\u0275inj=t.G2t({imports:[e.Dc,w.yE,w.yE]})}return ee})();class J extends S.qS{constructor(){super(...arguments),this._data=new l.t([])}get data(){return this._data.value}set data(ie){this._data.next(ie)}connect(ie){return(0,x.h)(ie.viewChange,this._data).pipe((0,f.T)(()=>this.data))}disconnect(){}}},345:(Qe,te,g)=>{"use strict";g.d(te,{B7:()=>Te,Bb:()=>ke,fM:()=>rt,hE:()=>be,sG:()=>X,up:()=>Yt});var e=g(177),t=g(4438);class w extends e.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class S extends w{static makeCurrent(){(0,e.ZD)(new S)}onAndCancel(we,he,q){return we.addEventListener(he,q),()=>{we.removeEventListener(he,q)}}dispatchEvent(we,he){we.dispatchEvent(he)}remove(we){we.parentNode&&we.parentNode.removeChild(we)}createElement(we,he){return(he=he||this.getDefaultDocument()).createElement(we)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(we){return we.nodeType===Node.ELEMENT_NODE}isShadowRoot(we){return we instanceof DocumentFragment}getGlobalEventTarget(we,he){return"window"===he?window:"document"===he?we:"body"===he?we.body:null}getBaseHref(we){const he=function x(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==he?null:function f(Ae){return new URL(Ae,document.baseURI).pathname}(he)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(we){return(0,e._b)(document.cookie,we)}}let l=null,d=(()=>{class Ae{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(q){return new(q||Ae)};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})();const T=new t.nKC("");let y=(()=>{class Ae{constructor(he,q){this._zone=q,this._eventNameToPlugin=new Map,he.forEach(Re=>{Re.manager=this}),this._plugins=he.slice().reverse()}addEventListener(he,q,Re){return this._findPluginFor(q).addEventListener(he,q,Re)}getZone(){return this._zone}_findPluginFor(he){let q=this._eventNameToPlugin.get(he);if(q)return q;if(q=this._plugins.find(Ne=>Ne.supports(he)),!q)throw new t.wOt(5101,!1);return this._eventNameToPlugin.set(he,q),q}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(T),t.KVO(t.SKi))};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})();class F{constructor(we){this._doc=we}}const R="ng-app-id";let z=(()=>{class Ae{constructor(he,q,Re,Ne={}){this.doc=he,this.appId=q,this.nonce=Re,this.platformId=Ne,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,e.Vy)(Ne),this.resetHostNodes()}addStyles(he){for(const q of he)1===this.changeUsageCount(q,1)&&this.onStyleAdded(q)}removeStyles(he){for(const q of he)this.changeUsageCount(q,-1)<=0&&this.onStyleRemoved(q)}ngOnDestroy(){const he=this.styleNodesInDOM;he&&(he.forEach(q=>q.remove()),he.clear());for(const q of this.getAllStyles())this.onStyleRemoved(q);this.resetHostNodes()}addHost(he){this.hostNodes.add(he);for(const q of this.getAllStyles())this.addStyleToHost(he,q)}removeHost(he){this.hostNodes.delete(he)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(he){for(const q of this.hostNodes)this.addStyleToHost(q,he)}onStyleRemoved(he){const q=this.styleRef;q.get(he)?.elements?.forEach(Re=>Re.remove()),q.delete(he)}collectServerRenderedStyles(){const he=this.doc.head?.querySelectorAll(`style[${R}="${this.appId}"]`);if(he?.length){const q=new Map;return he.forEach(Re=>{null!=Re.textContent&&q.set(Re.textContent,Re)}),q}return null}changeUsageCount(he,q){const Re=this.styleRef;if(Re.has(he)){const Ne=Re.get(he);return Ne.usage+=q,Ne.usage}return Re.set(he,{usage:q,elements:[]}),q}getStyleElement(he,q){const Re=this.styleNodesInDOM,Ne=Re?.get(q);if(Ne?.parentNode===he)return Re.delete(q),Ne.removeAttribute(R),Ne;{const gt=this.doc.createElement("style");return this.nonce&>.setAttribute("nonce",this.nonce),gt.textContent=q,this.platformIsServer&>.setAttribute(R,this.appId),he.appendChild(gt),gt}}addStyleToHost(he,q){const Re=this.getStyleElement(he,q),Ne=this.styleRef,gt=Ne.get(q)?.elements;gt?gt.push(Re):Ne.set(q,{elements:[Re],usage:1})}resetHostNodes(){const he=this.hostNodes;he.clear(),he.add(this.doc.head)}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(e.qQ),t.KVO(t.sZ2),t.KVO(t.BIS,8),t.KVO(t.Agw))};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})();const W={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$=/%COMP%/g,j="%COMP%",Q=`_nghost-${j}`,J=`_ngcontent-${j}`,ie=new t.nKC("",{providedIn:"root",factory:()=>!0});function Me(Ae,we){return we.map(he=>he.replace($,Ae))}let Te=(()=>{class Ae{constructor(he,q,Re,Ne,gt,$e,Fe,Ge=null){this.eventManager=he,this.sharedStylesHost=q,this.appId=Re,this.removeStylesOnCompDestroy=Ne,this.doc=gt,this.platformId=$e,this.ngZone=Fe,this.nonce=Ge,this.rendererByCompId=new Map,this.platformIsServer=(0,e.Vy)($e),this.defaultRenderer=new de(he,gt,Fe,this.platformIsServer)}createRenderer(he,q){if(!he||!q)return this.defaultRenderer;this.platformIsServer&&q.encapsulation===t.gXe.ShadowDom&&(q={...q,encapsulation:t.gXe.Emulated});const Re=this.getOrCreateRenderer(he,q);return Re instanceof C?Re.applyToHost(he):Re instanceof h&&Re.applyStyles(),Re}getOrCreateRenderer(he,q){const Re=this.rendererByCompId;let Ne=Re.get(q.id);if(!Ne){const gt=this.doc,$e=this.ngZone,Fe=this.eventManager,Ge=this.sharedStylesHost,et=this.removeStylesOnCompDestroy,st=this.platformIsServer;switch(q.encapsulation){case t.gXe.Emulated:Ne=new C(Fe,Ge,q,this.appId,et,gt,$e,st);break;case t.gXe.ShadowDom:return new m(Fe,Ge,he,q,gt,$e,this.nonce,st);default:Ne=new h(Fe,Ge,q,et,gt,$e,st)}Re.set(q.id,Ne)}return Ne}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(y),t.KVO(z),t.KVO(t.sZ2),t.KVO(ie),t.KVO(e.qQ),t.KVO(t.Agw),t.KVO(t.SKi),t.KVO(t.BIS))};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})();class de{constructor(we,he,q,Re){this.eventManager=we,this.doc=he,this.ngZone=q,this.platformIsServer=Re,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(we,he){return he?this.doc.createElementNS(W[he]||he,we):this.doc.createElement(we)}createComment(we){return this.doc.createComment(we)}createText(we){return this.doc.createTextNode(we)}appendChild(we,he){(c(we)?we.content:we).appendChild(he)}insertBefore(we,he,q){we&&(c(we)?we.content:we).insertBefore(he,q)}removeChild(we,he){we&&we.removeChild(he)}selectRootElement(we,he){let q="string"==typeof we?this.doc.querySelector(we):we;if(!q)throw new t.wOt(-5104,!1);return he||(q.textContent=""),q}parentNode(we){return we.parentNode}nextSibling(we){return we.nextSibling}setAttribute(we,he,q,Re){if(Re){he=Re+":"+he;const Ne=W[Re];Ne?we.setAttributeNS(Ne,he,q):we.setAttribute(he,q)}else we.setAttribute(he,q)}removeAttribute(we,he,q){if(q){const Re=W[q];Re?we.removeAttributeNS(Re,he):we.removeAttribute(`${q}:${he}`)}else we.removeAttribute(he)}addClass(we,he){we.classList.add(he)}removeClass(we,he){we.classList.remove(he)}setStyle(we,he,q,Re){Re&(t.czy.DashCase|t.czy.Important)?we.style.setProperty(he,q,Re&t.czy.Important?"important":""):we.style[he]=q}removeStyle(we,he,q){q&t.czy.DashCase?we.style.removeProperty(he):we.style[he]=""}setProperty(we,he,q){null!=we&&(we[he]=q)}setValue(we,he){we.nodeValue=he}listen(we,he,q){if("string"==typeof we&&!(we=(0,e.QT)().getGlobalEventTarget(this.doc,we)))throw new Error(`Unsupported event target ${we} for event ${he}`);return this.eventManager.addEventListener(we,he,this.decoratePreventDefault(q))}decoratePreventDefault(we){return he=>{if("__ngUnwrap__"===he)return we;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>we(he)):we(he))&&he.preventDefault()}}}function c(Ae){return"TEMPLATE"===Ae.tagName&&void 0!==Ae.content}class m extends de{constructor(we,he,q,Re,Ne,gt,$e,Fe){super(we,Ne,gt,Fe),this.sharedStylesHost=he,this.hostEl=q,this.shadowRoot=q.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ge=Me(Re.id,Re.styles);for(const et of Ge){const st=document.createElement("style");$e&&st.setAttribute("nonce",$e),st.textContent=et,this.shadowRoot.appendChild(st)}}nodeOrShadowRoot(we){return we===this.hostEl?this.shadowRoot:we}appendChild(we,he){return super.appendChild(this.nodeOrShadowRoot(we),he)}insertBefore(we,he,q){return super.insertBefore(this.nodeOrShadowRoot(we),he,q)}removeChild(we,he){return super.removeChild(this.nodeOrShadowRoot(we),he)}parentNode(we){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(we)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class h extends de{constructor(we,he,q,Re,Ne,gt,$e,Fe){super(we,Ne,gt,$e),this.sharedStylesHost=he,this.removeStylesOnCompDestroy=Re,this.styles=Fe?Me(Fe,q.styles):q.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class C extends h{constructor(we,he,q,Re,Ne,gt,$e,Fe){const Ge=Re+"-"+q.id;super(we,he,q,Ne,gt,$e,Fe,Ge),this.contentAttr=function ge(Ae){return J.replace($,Ae)}(Ge),this.hostAttr=function ae(Ae){return Q.replace($,Ae)}(Ge)}applyToHost(we){this.applyStyles(),this.setAttribute(we,this.hostAttr,"")}createElement(we,he){const q=super.createElement(we,he);return super.setAttribute(q,this.contentAttr,""),q}}let k=(()=>{class Ae extends F{constructor(he){super(he)}supports(he){return!0}addEventListener(he,q,Re){return he.addEventListener(q,Re,!1),()=>this.removeEventListener(he,q,Re)}removeEventListener(he,q,Re){return he.removeEventListener(q,Re)}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(e.qQ))};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})();const L=["alt","control","meta","shift"],_={"\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"},r={alt:Ae=>Ae.altKey,control:Ae=>Ae.ctrlKey,meta:Ae=>Ae.metaKey,shift:Ae=>Ae.shiftKey};let v=(()=>{class Ae extends F{constructor(he){super(he)}supports(he){return null!=Ae.parseEventName(he)}addEventListener(he,q,Re){const Ne=Ae.parseEventName(q),gt=Ae.eventCallback(Ne.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.QT)().onAndCancel(he,Ne.domEventName,gt))}static parseEventName(he){const q=he.toLowerCase().split("."),Re=q.shift();if(0===q.length||"keydown"!==Re&&"keyup"!==Re)return null;const Ne=Ae._normalizeKey(q.pop());let gt="",$e=q.indexOf("code");if($e>-1&&(q.splice($e,1),gt="code."),L.forEach(Ge=>{const et=q.indexOf(Ge);et>-1&&(q.splice(et,1),gt+=Ge+".")}),gt+=Ne,0!=q.length||0===Ne.length)return null;const Fe={};return Fe.domEventName=Re,Fe.fullKey=gt,Fe}static matchEventFullKeyCode(he,q){let Re=_[he.key]||he.key,Ne="";return q.indexOf("code.")>-1&&(Re=he.code,Ne="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),L.forEach(gt=>{gt!==Re&&(0,r[gt])(he)&&(Ne+=gt+".")}),Ne+=Re,Ne===q)}static eventCallback(he,q,Re){return Ne=>{Ae.matchEventFullKeyCode(Ne,he)&&Re.runGuarded(()=>q(Ne))}}static _normalizeKey(he){return"esc"===he?"escape":he}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(e.qQ))};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})();const X=(0,t.oH4)(t.fpN,"browser",[{provide:t.Agw,useValue:e.AJ},{provide:t.PLl,useValue:function ze(){S.makeCurrent()},multi:!0},{provide:e.qQ,useFactory:function Ke(){return(0,t.TL$)(document),document},deps:[]}]),me=new t.nKC(""),ce=[{provide:t.e01,useClass:class I{addToWindow(we){t.JZv.getAngularTestability=(q,Re=!0)=>{const Ne=we.findTestabilityInTree(q,Re);if(null==Ne)throw new t.wOt(5103,!1);return Ne},t.JZv.getAllAngularTestabilities=()=>we.getAllTestabilities(),t.JZv.getAllAngularRootElements=()=>we.getAllRootElements(),t.JZv.frameworkStabilizers||(t.JZv.frameworkStabilizers=[]),t.JZv.frameworkStabilizers.push(q=>{const Re=t.JZv.getAllAngularTestabilities();let Ne=Re.length;const gt=function(){Ne--,0==Ne&&q()};Re.forEach($e=>{$e.whenStable(gt)})})}findTestabilityInTree(we,he,q){return null==he?null:we.getTestability(he)??(q?(0,e.QT)().isShadowRoot(he)?this.findTestabilityInTree(we,he.host,!0):this.findTestabilityInTree(we,he.parentElement,!0):null)}},deps:[]},{provide:t.WHO,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]},{provide:t.NYb,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]}],fe=[{provide:t.H8p,useValue:"root"},{provide:t.zcH,useFactory:function qe(){return new t.zcH},deps:[]},{provide:T,useClass:k,multi:!0,deps:[e.qQ,t.SKi,t.Agw]},{provide:T,useClass:v,multi:!0,deps:[e.qQ]},Te,z,y,{provide:t._9s,useExisting:Te},{provide:e.N0,useClass:d,deps:[]},[]];let ke=(()=>{class Ae{constructor(he){}static withServerTransition(he){return{ngModule:Ae,providers:[{provide:t.sZ2,useValue:he.appId}]}}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(me,12))};static#t=this.\u0275mod=t.$C({type:Ae});static#i=this.\u0275inj=t.G2t({providers:[...fe,...ce],imports:[e.MD,t.Hbi]})}return Ae})(),be=(()=>{class Ae{constructor(he){this._doc=he}getTitle(){return this._doc.title}setTitle(he){this._doc.title=he||""}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(e.qQ))};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})();const Ie={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},He=new t.nKC("HammerGestureConfig"),Xe=new t.nKC("HammerLoader");let yt=(()=>{class Ae{constructor(){this.events=[],this.overrides={}}buildHammer(he){const q=new Hammer(he,this.options);q.get("pinch").set({enable:!0}),q.get("rotate").set({enable:!0});for(const Re in this.overrides)q.get(Re).set(this.overrides[Re]);return q}static#e=this.\u0275fac=function(q){return new(q||Ae)};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})(),Ye=(()=>{class Ae extends F{constructor(he,q,Re,Ne){super(he),this._config=q,this.console=Re,this.loader=Ne,this._loaderPromise=null}supports(he){return!(!Ie.hasOwnProperty(he.toLowerCase())&&!this.isCustomEvent(he)||!window.Hammer&&!this.loader)}addEventListener(he,q,Re){const Ne=this.manager.getZone();if(q=q.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Ne.runOutsideAngular(()=>this.loader());let gt=!1,$e=()=>{gt=!0};return Ne.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?gt||($e=this.addEventListener(he,q,Re)):$e=()=>{}}).catch(()=>{$e=()=>{}})),()=>{$e()}}return Ne.runOutsideAngular(()=>{const gt=this._config.buildHammer(he),$e=function(Fe){Ne.runGuarded(function(){Re(Fe)})};return gt.on(q,$e),()=>{gt.off(q,$e),"function"==typeof gt.destroy&>.destroy()}})}isCustomEvent(he){return this._config.events.indexOf(he)>-1}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(e.qQ),t.KVO(He),t.KVO(t.H3F),t.KVO(Xe,8))};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac})}return Ae})(),rt=(()=>{class Ae{static#e=this.\u0275fac=function(q){return new(q||Ae)};static#t=this.\u0275mod=t.$C({type:Ae});static#i=this.\u0275inj=t.G2t({providers:[{provide:T,useClass:Ye,multi:!0,deps:[e.qQ,He,t.H3F,[new t.Xx1,Xe]]},{provide:He,useClass:yt,deps:[]}]})}return Ae})(),Yt=(()=>{class Ae{static#e=this.\u0275fac=function(q){return new(q||Ae)};static#t=this.\u0275prov=t.jDH({token:Ae,factory:function(q){let Re=null;return Re=q?new(q||Ae):t.KVO(Nt),Re},providedIn:"root"})}return Ae})(),Nt=(()=>{class Ae extends Yt{constructor(he){super(),this._doc=he}sanitize(he,q){if(null==q)return null;switch(he){case t.WPN.NONE:return q;case t.WPN.HTML:return(0,t.ZF7)(q,"HTML")?(0,t.rcV)(q):(0,t.h9k)(this._doc,String(q)).toString();case t.WPN.STYLE:return(0,t.ZF7)(q,"Style")?(0,t.rcV)(q):q;case t.WPN.SCRIPT:if((0,t.ZF7)(q,"Script"))return(0,t.rcV)(q);throw new t.wOt(5200,!1);case t.WPN.URL:return(0,t.ZF7)(q,"URL")?(0,t.rcV)(q):(0,t.$MX)(String(q));case t.WPN.RESOURCE_URL:if((0,t.ZF7)(q,"ResourceURL"))return(0,t.rcV)(q);throw new t.wOt(5201,!1);default:throw new t.wOt(5202,!1)}}bypassSecurityTrustHtml(he){return(0,t.Kcf)(he)}bypassSecurityTrustStyle(he){return(0,t.cWb)(he)}bypassSecurityTrustScript(he){return(0,t.UyX)(he)}bypassSecurityTrustUrl(he){return(0,t.osQ)(he)}bypassSecurityTrustResourceUrl(he){return(0,t.e5t)(he)}static#e=this.\u0275fac=function(q){return new(q||Ae)(t.KVO(e.qQ))};static#t=this.\u0275prov=t.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})()},1188:(Qe,te,g)=>{"use strict";g.d(te,{nX:()=>Rr,j5:()=>si,wF:()=>ot,L6:()=>mn,Z:()=>Ce,gx:()=>rr,Ix:()=>sn,Wk:()=>fa,wQ:()=>Ya,iI:()=>En,n3:()=>hn});var e=g(467),t=g(4438),w=g(4402),S=g(2806),l=g(7673),x=g(4412),f=g(4572),I=g(9350),d=g(8793),T=g(9030),y=g(1203),F=g(8810),R=g(983),z=g(17),W=g(1413),$=g(8359),j=g(177),Q=g(6354),J=g(5558),ee=g(6697),ie=g(9172),ge=g(5964),ae=g(1397),Me=g(1594),Te=g(274),de=g(8141),D=g(9437),n=g(2816),c=g(9901),m=g(9974),h=g(4360);function C(ve){return ve<=0?()=>R.w:(0,m.N)((Pe,xe)=>{let Be=[];Pe.subscribe((0,h._)(xe,ft=>{Be.push(ft),ve<Be.length&&Be.shift()},()=>{for(const ft of Be)xe.next(ft);xe.complete()},void 0,()=>{Be=null}))})}var k=g(3774),L=g(3669),r=g(3703),v=g(980),V=g(9898),N=g(6977),ne=g(6365),Ee=g(345);const ze="primary",qe=Symbol("RouteTitle");class Ke{constructor(Pe){this.params=Pe||{}}has(Pe){return Object.prototype.hasOwnProperty.call(this.params,Pe)}get(Pe){if(this.has(Pe)){const xe=this.params[Pe];return Array.isArray(xe)?xe[0]:xe}return null}getAll(Pe){if(this.has(Pe)){const xe=this.params[Pe];return Array.isArray(xe)?xe:[xe]}return[]}get keys(){return Object.keys(this.params)}}function se(ve){return new Ke(ve)}function X(ve,Pe,xe){const Be=xe.path.split("/");if(Be.length>ve.length||"full"===xe.pathMatch&&(Pe.hasChildren()||Be.length<ve.length))return null;const ft={};for(let Ot=0;Ot<Be.length;Ot++){const qt=Be[Ot],Mi=ve[Ot];if(":"===qt[0])ft[qt.substring(1)]=Mi;else if(qt!==Mi.path)return null}return{consumed:ve.slice(0,Be.length),posParams:ft}}function ce(ve,Pe){const xe=ve?fe(ve):void 0,Be=Pe?fe(Pe):void 0;if(!xe||!Be||xe.length!=Be.length)return!1;let ft;for(let Ot=0;Ot<xe.length;Ot++)if(ft=xe[Ot],!ke(ve[ft],Pe[ft]))return!1;return!0}function fe(ve){return[...Object.keys(ve),...Object.getOwnPropertySymbols(ve)]}function ke(ve,Pe){if(Array.isArray(ve)&&Array.isArray(Pe)){if(ve.length!==Pe.length)return!1;const xe=[...ve].sort(),Be=[...Pe].sort();return xe.every((ft,Ot)=>Be[Ot]===ft)}return ve===Pe}function mt(ve){return ve.length>0?ve[ve.length-1]:null}function _e(ve){return(0,w.A)(ve)?ve:(0,t.jNT)(ve)?(0,S.H)(Promise.resolve(ve)):(0,l.of)(ve)}const be={exact:function at(ve,Pe,xe){if(!Ye(ve.segments,Pe.segments)||!ue(ve.segments,Pe.segments,xe)||ve.numberOfChildren!==Pe.numberOfChildren)return!1;for(const Be in Pe.children)if(!ve.children[Be]||!at(ve.children[Be],Pe.children[Be],xe))return!1;return!0},subset:Xt},pe={exact:function _t(ve,Pe){return ce(ve,Pe)},subset:function pt(ve,Pe){return Object.keys(Pe).length<=Object.keys(ve).length&&Object.keys(Pe).every(xe=>ke(ve[xe],Pe[xe]))},ignored:()=>!0};function Ze(ve,Pe,xe){return be[xe.paths](ve.root,Pe.root,xe.matrixParams)&&pe[xe.queryParams](ve.queryParams,Pe.queryParams)&&!("exact"===xe.fragment&&ve.fragment!==Pe.fragment)}function Xt(ve,Pe,xe){return ye(ve,Pe,Pe.segments,xe)}function ye(ve,Pe,xe,Be){if(ve.segments.length>xe.length){const ft=ve.segments.slice(0,xe.length);return!(!Ye(ft,xe)||Pe.hasChildren()||!ue(ft,xe,Be))}if(ve.segments.length===xe.length){if(!Ye(ve.segments,xe)||!ue(ve.segments,xe,Be))return!1;for(const ft in Pe.children)if(!ve.children[ft]||!Xt(ve.children[ft],Pe.children[ft],Be))return!1;return!0}{const ft=xe.slice(0,ve.segments.length),Ot=xe.slice(ve.segments.length);return!!(Ye(ve.segments,ft)&&ue(ve.segments,ft,Be)&&ve.children[ze])&&ye(ve.children[ze],Pe,Ot,Be)}}function ue(ve,Pe,xe){return Pe.every((Be,ft)=>pe[xe](ve[ft].parameters,Be.parameters))}class Ie{constructor(Pe=new He([],{}),xe={},Be=null){this.root=Pe,this.queryParams=xe,this.fragment=Be}get queryParamMap(){return this._queryParamMap??=se(this.queryParams),this._queryParamMap}toString(){return Et.serialize(this)}}class He{constructor(Pe,xe){this.segments=Pe,this.children=xe,this.parent=null,Object.values(xe).forEach(Be=>Be.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vt(this)}}class Xe{constructor(Pe,xe){this.path=Pe,this.parameters=xe}get parameterMap(){return this._parameterMap??=se(this.parameters),this._parameterMap}toString(){return Ae(this)}}function Ye(ve,Pe){return ve.length===Pe.length&&ve.every((xe,Be)=>xe.path===Pe[Be].path)}let Yt=(()=>{class ve{static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:()=>new Nt,providedIn:"root"})}return ve})();class Nt{parse(Pe){const xe=new st(Pe);return new Ie(xe.parseRootSegment(),xe.parseQueryParams(),xe.parseFragment())}serialize(Pe){const xe=`/${oe(Pe.root,!0)}`,Be=function he(ve){const Pe=Object.entries(ve).map(([xe,Be])=>Array.isArray(Be)?Be.map(ft=>`${$t(xe)}=${$t(ft)}`).join("&"):`${$t(xe)}=${$t(Be)}`).filter(xe=>xe);return Pe.length?`?${Pe.join("&")}`:""}(Pe.queryParams);return`${xe}${Be}${"string"==typeof Pe.fragment?`#${function zt(ve){return encodeURI(ve)}(Pe.fragment)}`:""}`}}const Et=new Nt;function Vt(ve){return ve.segments.map(Pe=>Ae(Pe)).join("/")}function oe(ve,Pe){if(!ve.hasChildren())return Vt(ve);if(Pe){const xe=ve.children[ze]?oe(ve.children[ze],!1):"",Be=[];return Object.entries(ve.children).forEach(([ft,Ot])=>{ft!==ze&&Be.push(`${ft}:${oe(Ot,!1)}`)}),Be.length>0?`${xe}(${Be.join("//")})`:xe}{const xe=function rt(ve,Pe){let xe=[];return Object.entries(ve.children).forEach(([Be,ft])=>{Be===ze&&(xe=xe.concat(Pe(ft,Be)))}),Object.entries(ve.children).forEach(([Be,ft])=>{Be!==ze&&(xe=xe.concat(Pe(ft,Be)))}),xe}(ve,(Be,ft)=>ft===ze?[oe(ve.children[ze],!1)]:[`${ft}:${oe(Be,!1)}`]);return 1===Object.keys(ve.children).length&&null!=ve.children[ze]?`${Vt(ve)}/${xe[0]}`:`${Vt(ve)}/(${xe.join("//")})`}}function tt(ve){return encodeURIComponent(ve).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $t(ve){return tt(ve).replace(/%3B/gi,";")}function Jt(ve){return tt(ve).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function St(ve){return decodeURIComponent(ve)}function dt(ve){return St(ve.replace(/\+/g,"%20"))}function Ae(ve){return`${Jt(ve.path)}${function we(ve){return Object.entries(ve).map(([Pe,xe])=>`;${Jt(Pe)}=${Jt(xe)}`).join("")}(ve.parameters)}`}const q=/^[^\/()?;#]+/;function Re(ve){const Pe=ve.match(q);return Pe?Pe[0]:""}const Ne=/^[^\/()?;=#]+/,$e=/^[^=?&#]+/,Ge=/^[^&#]+/;class st{constructor(Pe){this.url=Pe,this.remaining=Pe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new He([],{}):new He([],this.parseChildren())}parseQueryParams(){const Pe={};if(this.consumeOptional("?"))do{this.parseQueryParam(Pe)}while(this.consumeOptional("&"));return Pe}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Pe=[];for(this.peekStartsWith("(")||Pe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Pe.push(this.parseSegment());let xe={};this.peekStartsWith("/(")&&(this.capture("/"),xe=this.parseParens(!0));let Be={};return this.peekStartsWith("(")&&(Be=this.parseParens(!1)),(Pe.length>0||Object.keys(xe).length>0)&&(Be[ze]=new He(Pe,xe)),Be}parseSegment(){const Pe=Re(this.remaining);if(""===Pe&&this.peekStartsWith(";"))throw new t.wOt(4009,!1);return this.capture(Pe),new Xe(St(Pe),this.parseMatrixParams())}parseMatrixParams(){const Pe={};for(;this.consumeOptional(";");)this.parseParam(Pe);return Pe}parseParam(Pe){const xe=function gt(ve){const Pe=ve.match(Ne);return Pe?Pe[0]:""}(this.remaining);if(!xe)return;this.capture(xe);let Be="";if(this.consumeOptional("=")){const ft=Re(this.remaining);ft&&(Be=ft,this.capture(Be))}Pe[St(xe)]=St(Be)}parseQueryParam(Pe){const xe=function Fe(ve){const Pe=ve.match($e);return Pe?Pe[0]:""}(this.remaining);if(!xe)return;this.capture(xe);let Be="";if(this.consumeOptional("=")){const qt=function et(ve){const Pe=ve.match(Ge);return Pe?Pe[0]:""}(this.remaining);qt&&(Be=qt,this.capture(Be))}const ft=dt(xe),Ot=dt(Be);if(Pe.hasOwnProperty(ft)){let qt=Pe[ft];Array.isArray(qt)||(qt=[qt],Pe[ft]=qt),qt.push(Ot)}else Pe[ft]=Ot}parseParens(Pe){const xe={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Be=Re(this.remaining),ft=this.remaining[Be.length];if("/"!==ft&&")"!==ft&&";"!==ft)throw new t.wOt(4010,!1);let Ot;Be.indexOf(":")>-1?(Ot=Be.slice(0,Be.indexOf(":")),this.capture(Ot),this.capture(":")):Pe&&(Ot=ze);const qt=this.parseChildren();xe[Ot]=1===Object.keys(qt).length?qt[ze]:new He([],qt),this.consumeOptional("//")}return xe}peekStartsWith(Pe){return this.remaining.startsWith(Pe)}consumeOptional(Pe){return!!this.peekStartsWith(Pe)&&(this.remaining=this.remaining.substring(Pe.length),!0)}capture(Pe){if(!this.consumeOptional(Pe))throw new t.wOt(4011,!1)}}function Tt(ve){return ve.segments.length>0?new He([],{[ze]:ve}):ve}function mi(ve){const Pe={};for(const[Be,ft]of Object.entries(ve.children)){const Ot=mi(ft);if(Be===ze&&0===Ot.segments.length&&Ot.hasChildren())for(const[qt,Mi]of Object.entries(Ot.children))Pe[qt]=Mi;else(Ot.segments.length>0||Ot.hasChildren())&&(Pe[Be]=Ot)}return function Kt(ve){if(1===ve.numberOfChildren&&ve.children[ze]){const Pe=ve.children[ze];return new He(ve.segments.concat(Pe.segments),Pe.children)}return ve}(new He(ve.segments,Pe))}function Pt(ve){return ve instanceof Ie}function di(ve){let Pe;const ft=Tt(function xe(Ot){const qt={};for(const vi of Ot.children){const on=xe(vi);qt[vi.outlet]=on}const Mi=new He(Ot.url,qt);return Ot===ve&&(Pe=Mi),Mi}(ve.root));return Pe??ft}function fi(ve,Pe,xe,Be){let ft=ve;for(;ft.parent;)ft=ft.parent;if(0===Pe.length)return Li(ft,ft,ft,xe,Be);const Ot=function Mt(ve){if("string"==typeof ve[0]&&1===ve.length&&"/"===ve[0])return new Qt(!0,0,ve);let Pe=0,xe=!1;const Be=ve.reduce((ft,Ot,qt)=>{if("object"==typeof Ot&&null!=Ot){if(Ot.outlets){const Mi={};return Object.entries(Ot.outlets).forEach(([vi,on])=>{Mi[vi]="string"==typeof on?on.split("/"):on}),[...ft,{outlets:Mi}]}if(Ot.segmentPath)return[...ft,Ot.segmentPath]}return"string"!=typeof Ot?[...ft,Ot]:0===qt?(Ot.split("/").forEach((Mi,vi)=>{0==vi&&"."===Mi||(0==vi&&""===Mi?xe=!0:".."===Mi?Pe++:""!=Mi&&ft.push(Mi))}),ft):[...ft,Ot]},[]);return new Qt(xe,Pe,Be)}(Pe);if(Ot.toRoot())return Li(ft,ft,new He([],{}),xe,Be);const qt=function ct(ve,Pe,xe){if(ve.isAbsolute)return new it(Pe,!0,0);if(!xe)return new it(Pe,!1,NaN);if(null===xe.parent)return new it(xe,!0,0);const Be=vn(ve.commands[0])?0:1;return function wt(ve,Pe,xe){let Be=ve,ft=Pe,Ot=xe;for(;Ot>ft;){if(Ot-=ft,Be=Be.parent,!Be)throw new t.wOt(4005,!1);ft=Be.segments.length}return new it(Be,!1,ft-Ot)}(xe,xe.segments.length-1+Be,ve.numberOfDoubleDots)}(Ot,ft,ve),Mi=qt.processChildren?Si(qt.segmentGroup,qt.index,Ot.commands):xi(qt.segmentGroup,qt.index,Ot.commands);return Li(ft,qt.segmentGroup,Mi,xe,Be)}function vn(ve){return"object"==typeof ve&&null!=ve&&!ve.outlets&&!ve.segmentPath}function Qi(ve){return"object"==typeof ve&&null!=ve&&ve.outlets}function Li(ve,Pe,xe,Be,ft){let qt,Ot={};Be&&Object.entries(Be).forEach(([vi,on])=>{Ot[vi]=Array.isArray(on)?on.map(Sn=>`${Sn}`):`${on}`}),qt=ve===Pe?xe:Zi(ve,Pe,xe);const Mi=Tt(mi(qt));return new Ie(Mi,Ot,ft)}function Zi(ve,Pe,xe){const Be={};return Object.entries(ve.children).forEach(([ft,Ot])=>{Be[ft]=Ot===Pe?xe:Zi(Ot,Pe,xe)}),new He(ve.segments,Be)}class Qt{constructor(Pe,xe,Be){if(this.isAbsolute=Pe,this.numberOfDoubleDots=xe,this.commands=Be,Pe&&Be.length>0&&vn(Be[0]))throw new t.wOt(4003,!1);const ft=Be.find(Qi);if(ft&&ft!==mt(Be))throw new t.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class it{constructor(Pe,xe,Be){this.segmentGroup=Pe,this.processChildren=xe,this.index=Be}}function xi(ve,Pe,xe){if(ve??=new He([],{}),0===ve.segments.length&&ve.hasChildren())return Si(ve,Pe,xe);const Be=function zi(ve,Pe,xe){let Be=0,ft=Pe;const Ot={match:!1,pathIndex:0,commandIndex:0};for(;ft<ve.segments.length;){if(Be>=xe.length)return Ot;const qt=ve.segments[ft],Mi=xe[Be];if(Qi(Mi))break;const vi=`${Mi}`,on=Be<xe.length-1?xe[Be+1]:null;if(ft>0&&void 0===vi)break;if(vi&&on&&"object"==typeof on&&void 0===on.outlets){if(!Zt(vi,on,qt))return Ot;Be+=2}else{if(!Zt(vi,{},qt))return Ot;Be++}ft++}return{match:!0,pathIndex:ft,commandIndex:Be}}(ve,Pe,xe),ft=xe.slice(Be.commandIndex);if(Be.match&&Be.pathIndex<ve.segments.length){const Ot=new He(ve.segments.slice(0,Be.pathIndex),{});return Ot.children[ze]=new He(ve.segments.slice(Be.pathIndex),ve.children),Si(Ot,0,ft)}return Be.match&&0===ft.length?new He(ve.segments,{}):Be.match&&!ve.hasChildren()?en(ve,Pe,xe):Be.match?Si(ve,0,ft):en(ve,Pe,xe)}function Si(ve,Pe,xe){if(0===xe.length)return new He(ve.segments,{});{const Be=function Ut(ve){return Qi(ve[0])?ve[0].outlets:{[ze]:ve}}(xe),ft={};if(Object.keys(Be).some(Ot=>Ot!==ze)&&ve.children[ze]&&1===ve.numberOfChildren&&0===ve.children[ze].segments.length){const Ot=Si(ve.children[ze],Pe,xe);return new He(ve.segments,Ot.children)}return Object.entries(Be).forEach(([Ot,qt])=>{"string"==typeof qt&&(qt=[qt]),null!==qt&&(ft[Ot]=xi(ve.children[Ot],Pe,qt))}),Object.entries(ve.children).forEach(([Ot,qt])=>{void 0===Be[Ot]&&(ft[Ot]=qt)}),new He(ve.segments,ft)}}function en(ve,Pe,xe){const Be=ve.segments.slice(0,Pe);let ft=0;for(;ft<xe.length;){const Ot=xe[ft];if(Qi(Ot)){const vi=Ni(Ot.outlets);return new He(Be,vi)}if(0===ft&&vn(xe[0])){Be.push(new Xe(ve.segments[Pe].path,fn(xe[0]))),ft++;continue}const qt=Qi(Ot)?Ot.outlets[ze]:`${Ot}`,Mi=ft<xe.length-1?xe[ft+1]:null;qt&&Mi&&vn(Mi)?(Be.push(new Xe(qt,fn(Mi))),ft+=2):(Be.push(new Xe(qt,{})),ft++)}return new He(Be,{})}function Ni(ve){const Pe={};return Object.entries(ve).forEach(([xe,Be])=>{"string"==typeof Be&&(Be=[Be]),null!==Be&&(Pe[xe]=en(new He([],{}),0,Be))}),Pe}function fn(ve){const Pe={};return Object.entries(ve).forEach(([xe,Be])=>Pe[xe]=`${Be}`),Pe}function Zt(ve,Pe,xe){return ve==xe.path&&ce(Pe,xe.parameters)}const bt="imperative";var re=function(ve){return ve[ve.NavigationStart=0]="NavigationStart",ve[ve.NavigationEnd=1]="NavigationEnd",ve[ve.NavigationCancel=2]="NavigationCancel",ve[ve.NavigationError=3]="NavigationError",ve[ve.RoutesRecognized=4]="RoutesRecognized",ve[ve.ResolveStart=5]="ResolveStart",ve[ve.ResolveEnd=6]="ResolveEnd",ve[ve.GuardsCheckStart=7]="GuardsCheckStart",ve[ve.GuardsCheckEnd=8]="GuardsCheckEnd",ve[ve.RouteConfigLoadStart=9]="RouteConfigLoadStart",ve[ve.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",ve[ve.ChildActivationStart=11]="ChildActivationStart",ve[ve.ChildActivationEnd=12]="ChildActivationEnd",ve[ve.ActivationStart=13]="ActivationStart",ve[ve.ActivationEnd=14]="ActivationEnd",ve[ve.Scroll=15]="Scroll",ve[ve.NavigationSkipped=16]="NavigationSkipped",ve}(re||{});class je{constructor(Pe,xe){this.id=Pe,this.url=xe}}class Ce extends je{constructor(Pe,xe,Be="imperative",ft=null){super(Pe,xe),this.type=re.NavigationStart,this.navigationTrigger=Be,this.restoredState=ft}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ot extends je{constructor(Pe,xe,Be){super(Pe,xe),this.urlAfterRedirects=Be,this.type=re.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ut=function(ve){return ve[ve.Redirect=0]="Redirect",ve[ve.SupersededByNewNavigation=1]="SupersededByNewNavigation",ve[ve.NoDataFromResolver=2]="NoDataFromResolver",ve[ve.GuardRejected=3]="GuardRejected",ve}(ut||{}),ii=function(ve){return ve[ve.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",ve[ve.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",ve}(ii||{});class si extends je{constructor(Pe,xe,Be,ft){super(Pe,xe),this.reason=Be,this.code=ft,this.type=re.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Pi extends je{constructor(Pe,xe,Be,ft){super(Pe,xe),this.reason=Be,this.code=ft,this.type=re.NavigationSkipped}}class mn extends je{constructor(Pe,xe,Be,ft){super(Pe,xe),this.error=Be,this.target=ft,this.type=re.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Fn extends je{constructor(Pe,xe,Be,ft){super(Pe,xe),this.urlAfterRedirects=Be,this.state=ft,this.type=re.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $n extends je{constructor(Pe,xe,Be,ft){super(Pe,xe),this.urlAfterRedirects=Be,this.state=ft,this.type=re.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yn extends je{constructor(Pe,xe,Be,ft,Ot){super(Pe,xe),this.urlAfterRedirects=Be,this.state=ft,this.shouldActivate=Ot,this.type=re.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qn extends je{constructor(Pe,xe,Be,ft){super(Pe,xe),this.urlAfterRedirects=Be,this.state=ft,this.type=re.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rr extends je{constructor(Pe,xe,Be,ft){super(Pe,xe),this.urlAfterRedirects=Be,this.state=ft,this.type=re.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rn{constructor(Pe){this.route=Pe,this.type=re.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _i{constructor(Pe){this.route=Pe,this.type=re.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Oi{constructor(Pe){this.snapshot=Pe,this.type=re.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jt{constructor(Pe){this.snapshot=Pe,this.type=re.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ci{constructor(Pe){this.snapshot=Pe,this.type=re.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hi{constructor(Pe){this.snapshot=Pe,this.type=re.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yi{constructor(Pe,xe,Be){this.routerEvent=Pe,this.position=xe,this.anchor=Be,this.type=re.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Vi{}class ji{constructor(Pe,xe){this.url=Pe,this.navigationBehaviorOptions=xe}}class ar{constructor(Pe){this.injector=Pe,this.outlet=null,this.route=null,this.children=new sr(this.injector),this.attachRef=null}}let sr=(()=>{class ve{constructor(xe){this.parentInjector=xe,this.contexts=new Map}onChildOutletCreated(xe,Be){const ft=this.getOrCreateContext(xe);ft.outlet=Be,this.contexts.set(xe,ft)}onChildOutletDestroyed(xe){const Be=this.getContext(xe);Be&&(Be.outlet=null,Be.attachRef=null)}onOutletDeactivated(){const xe=this.contexts;return this.contexts=new Map,xe}onOutletReAttached(xe){this.contexts=xe}getOrCreateContext(xe){let Be=this.getContext(xe);return Be||(Be=new ar(this.parentInjector),this.contexts.set(xe,Be)),Be}getContext(xe){return this.contexts.get(xe)||null}static#e=this.\u0275fac=function(Be){return new(Be||ve)(t.KVO(t.uvJ))};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();class nr{constructor(Pe){this._root=Pe}get root(){return this._root.value}parent(Pe){const xe=this.pathFromRoot(Pe);return xe.length>1?xe[xe.length-2]:null}children(Pe){const xe=or(Pe,this._root);return xe?xe.children.map(Be=>Be.value):[]}firstChild(Pe){const xe=or(Pe,this._root);return xe&&xe.children.length>0?xe.children[0].value:null}siblings(Pe){const xe=Xr(Pe,this._root);return xe.length<2?[]:xe[xe.length-2].children.map(ft=>ft.value).filter(ft=>ft!==Pe)}pathFromRoot(Pe){return Xr(Pe,this._root).map(xe=>xe.value)}}function or(ve,Pe){if(ve===Pe.value)return Pe;for(const xe of Pe.children){const Be=or(ve,xe);if(Be)return Be}return null}function Xr(ve,Pe){if(ve===Pe.value)return[Pe];for(const xe of Pe.children){const Be=Xr(ve,xe);if(Be.length)return Be.unshift(Pe),Be}return[]}class Sr{constructor(Pe,xe){this.value=Pe,this.children=xe}toString(){return`TreeNode(${this.value})`}}function zr(ve){const Pe={};return ve&&ve.children.forEach(xe=>Pe[xe.value.outlet]=xe),Pe}class Ho extends nr{constructor(Pe,xe){super(Pe),this.snapshot=xe,ho(this,Pe)}toString(){return this.snapshot.toString()}}function xo(ve){const Pe=function is(ve){const Ot=new Ea([],{},{},"",{},ze,ve,null,{});return new no("",new Sr(Ot,[]))}(ve),xe=new x.t([new Xe("",{})]),Be=new x.t({}),ft=new x.t({}),Ot=new x.t({}),qt=new x.t(""),Mi=new Rr(xe,Be,Ot,qt,ft,ze,ve,Pe.root);return Mi.snapshot=Pe.root,new Ho(new Sr(Mi,[]),Pe)}class Rr{constructor(Pe,xe,Be,ft,Ot,qt,Mi,vi){this.urlSubject=Pe,this.paramsSubject=xe,this.queryParamsSubject=Be,this.fragmentSubject=ft,this.dataSubject=Ot,this.outlet=qt,this.component=Mi,this._futureSnapshot=vi,this.title=this.dataSubject?.pipe((0,Q.T)(on=>on[qe]))??(0,l.of)(void 0),this.url=Pe,this.params=xe,this.queryParams=Be,this.fragment=ft,this.data=Ot}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,Q.T)(Pe=>se(Pe))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Q.T)(Pe=>se(Pe))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ma(ve,Pe,xe="emptyOnly"){let Be;const{routeConfig:ft}=ve;return Be=null===Pe||"always"!==xe&&""!==ft?.path&&(Pe.component||Pe.routeConfig?.loadComponent)?{params:{...ve.params},data:{...ve.data},resolve:{...ve.data,...ve._resolvedData??{}}}:{params:{...Pe.params,...ve.params},data:{...Pe.data,...ve.data},resolve:{...ve.data,...Pe.data,...ft?.data,...ve._resolvedData}},ft&&ro(ft)&&(Be.resolve[qe]=ft.title),Be}class Ea{get title(){return this.data?.[qe]}constructor(Pe,xe,Be,ft,Ot,qt,Mi,vi,on){this.url=Pe,this.params=xe,this.queryParams=Be,this.fragment=ft,this.data=Ot,this.outlet=qt,this.component=Mi,this.routeConfig=vi,this._resolve=on}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=se(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=se(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Be=>Be.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class no extends nr{constructor(Pe,xe){super(xe),this.url=Pe,ho(this,xe)}toString(){return xr(this._root)}}function ho(ve,Pe){Pe.value._routerState=ve,Pe.children.forEach(xe=>ho(ve,xe))}function xr(ve){const Pe=ve.children.length>0?` { ${ve.children.map(xr).join(", ")} } `:"";return`${ve.value}${Pe}`}function Sa(ve){if(ve.snapshot){const Pe=ve.snapshot,xe=ve._futureSnapshot;ve.snapshot=xe,ce(Pe.queryParams,xe.queryParams)||ve.queryParamsSubject.next(xe.queryParams),Pe.fragment!==xe.fragment&&ve.fragmentSubject.next(xe.fragment),ce(Pe.params,xe.params)||ve.paramsSubject.next(xe.params),function me(ve,Pe){if(ve.length!==Pe.length)return!1;for(let xe=0;xe<ve.length;++xe)if(!ce(ve[xe],Pe[xe]))return!1;return!0}(Pe.url,xe.url)||ve.urlSubject.next(xe.url),ce(Pe.data,xe.data)||ve.dataSubject.next(xe.data)}else ve.snapshot=ve._futureSnapshot,ve.dataSubject.next(ve._futureSnapshot.data)}function zn(ve,Pe){const xe=ce(ve.params,Pe.params)&&function yt(ve,Pe){return Ye(ve,Pe)&&ve.every((xe,Be)=>ce(xe.parameters,Pe[Be].parameters))}(ve.url,Pe.url);return xe&&!(!ve.parent!=!Pe.parent)&&(!ve.parent||zn(ve.parent,Pe.parent))}function ro(ve){return"string"==typeof ve.title||null===ve.title}let hn=(()=>{class ve{constructor(){this.activated=null,this._activatedRoute=null,this.name=ze,this.activateEvents=new t.bkB,this.deactivateEvents=new t.bkB,this.attachEvents=new t.bkB,this.detachEvents=new t.bkB,this.parentContexts=(0,t.WQX)(sr),this.location=(0,t.WQX)(t.c1b),this.changeDetector=(0,t.WQX)(t.gRc),this.inputBinder=(0,t.WQX)(Ta,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(xe){if(xe.name){const{firstChange:Be,previousValue:ft}=xe.name;if(Be)return;this.isTrackedInParentContexts(ft)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ft)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(xe){return this.parentContexts.getContext(xe)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const xe=this.parentContexts.getContext(this.name);xe?.route&&(xe.attachRef?this.attach(xe.attachRef,xe.route):this.activateWith(xe.route,xe.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.wOt(4012,!1);this.location.detach();const xe=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(xe.instance),xe}attach(xe,Be){this.activated=xe,this._activatedRoute=Be,this.location.insert(xe.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(xe.instance)}deactivate(){if(this.activated){const xe=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(xe)}}activateWith(xe,Be){if(this.isActivated)throw new t.wOt(4013,!1);this._activatedRoute=xe;const ft=this.location,qt=xe.snapshot.component,Mi=this.parentContexts.getOrCreateContext(this.name).children,vi=new Yr(xe,Mi,ft.injector);this.activated=ft.createComponent(qt,{index:ft.length,injector:vi,environmentInjector:Be}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275dir=t.FsC({type:ve,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.OA$]})}return ve})();class Yr{__ngOutletInjector(Pe){return new Yr(this.route,this.childContexts,Pe)}constructor(Pe,xe,Be){this.route=Pe,this.childContexts=xe,this.parent=Be}get(Pe,xe){return Pe===Rr?this.route:Pe===sr?this.childContexts:this.parent.get(Pe,xe)}}const Ta=new t.nKC("");let Co=(()=>{class ve{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(xe){this.unsubscribeFromRouteData(xe),this.subscribeToRouteData(xe)}unsubscribeFromRouteData(xe){this.outletDataSubscriptions.get(xe)?.unsubscribe(),this.outletDataSubscriptions.delete(xe)}subscribeToRouteData(xe){const{activatedRoute:Be}=xe,ft=(0,f.z)([Be.queryParams,Be.params,Be.data]).pipe((0,J.n)(([Ot,qt,Mi],vi)=>(Mi={...Ot,...qt,...Mi},0===vi?(0,l.of)(Mi):Promise.resolve(Mi)))).subscribe(Ot=>{if(!xe.isActivated||!xe.activatedComponentRef||xe.activatedRoute!==Be||null===Be.component)return void this.unsubscribeFromRouteData(xe);const qt=(0,t.HJs)(Be.component);if(qt)for(const{templateName:Mi}of qt.inputs)xe.activatedComponentRef.setInput(Mi,Ot[Mi]);else this.unsubscribeFromRouteData(xe)});this.outletDataSubscriptions.set(xe,ft)}static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac})}return ve})();function zo(ve,Pe,xe){if(xe&&ve.shouldReuseRoute(Pe.value,xe.value.snapshot)){const Be=xe.value;Be._futureSnapshot=Pe.value;const ft=function da(ve,Pe,xe){return Pe.children.map(Be=>{for(const ft of xe.children)if(ve.shouldReuseRoute(Be.value,ft.value.snapshot))return zo(ve,Be,ft);return zo(ve,Be)})}(ve,Pe,xe);return new Sr(Be,ft)}{if(ve.shouldAttach(Pe.value)){const Ot=ve.retrieve(Pe.value);if(null!==Ot){const qt=Ot.route;return qt.value._futureSnapshot=Pe.value,qt.children=Pe.children.map(Mi=>zo(ve,Mi)),qt}}const Be=function ao(ve){return new Rr(new x.t(ve.url),new x.t(ve.params),new x.t(ve.queryParams),new x.t(ve.fragment),new x.t(ve.data),ve.outlet,ve.component,ve)}(Pe.value),ft=Pe.children.map(Ot=>zo(ve,Ot));return new Sr(Be,ft)}}class Oa{constructor(Pe,xe){this.redirectTo=Pe,this.navigationBehaviorOptions=xe}}const ns="ngNavigationCancelingError";function Fa(ve,Pe){const{redirectTo:xe,navigationBehaviorOptions:Be}=Pt(Pe)?{redirectTo:Pe,navigationBehaviorOptions:void 0}:Pe,ft=Ro(!1,ut.Redirect);return ft.url=xe,ft.navigationBehaviorOptions=Be,ft}function Ro(ve,Pe){const xe=new Error(`NavigationCancelingError: ${ve||""}`);return xe[ns]=!0,xe.cancellationCode=Pe,xe}function ha(ve){return!!ve&&ve[ns]}let Br=(()=>{class ve{static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275cmp=t.VBU({type:ve,selectors:[["ng-component"]],standalone:!0,features:[t.aNF],decls:1,vars:0,template:function(Be,ft){1&Be&&t.nrm(0,"router-outlet")},dependencies:[hn],encapsulation:2})}return ve})();function Za(ve){const Pe=ve.children&&ve.children.map(Za),xe=Pe?{...ve,children:Pe}:{...ve};return!xe.component&&!xe.loadComponent&&(Pe||xe.loadChildren)&&xe.outlet&&xe.outlet!==ze&&(xe.component=Br),xe}function Lr(ve){return ve.outlet||ze}function Oo(ve){if(!ve)return null;if(ve.routeConfig?._injector)return ve.routeConfig._injector;for(let Pe=ve.parent;Pe;Pe=Pe.parent){const xe=Pe.routeConfig;if(xe?._loadedInjector)return xe._loadedInjector;if(xe?._injector)return xe._injector}return null}class Da{constructor(Pe,xe,Be,ft,Ot){this.routeReuseStrategy=Pe,this.futureState=xe,this.currState=Be,this.forwardEvent=ft,this.inputBindingEnabled=Ot}activate(Pe){const xe=this.futureState._root,Be=this.currState?this.currState._root:null;this.deactivateChildRoutes(xe,Be,Pe),Sa(this.futureState.root),this.activateChildRoutes(xe,Be,Pe)}deactivateChildRoutes(Pe,xe,Be){const ft=zr(xe);Pe.children.forEach(Ot=>{const qt=Ot.value.outlet;this.deactivateRoutes(Ot,ft[qt],Be),delete ft[qt]}),Object.values(ft).forEach(Ot=>{this.deactivateRouteAndItsChildren(Ot,Be)})}deactivateRoutes(Pe,xe,Be){const ft=Pe.value,Ot=xe?xe.value:null;if(ft===Ot)if(ft.component){const qt=Be.getContext(ft.outlet);qt&&this.deactivateChildRoutes(Pe,xe,qt.children)}else this.deactivateChildRoutes(Pe,xe,Be);else Ot&&this.deactivateRouteAndItsChildren(xe,Be)}deactivateRouteAndItsChildren(Pe,xe){Pe.value.component&&this.routeReuseStrategy.shouldDetach(Pe.value.snapshot)?this.detachAndStoreRouteSubtree(Pe,xe):this.deactivateRouteAndOutlet(Pe,xe)}detachAndStoreRouteSubtree(Pe,xe){const Be=xe.getContext(Pe.value.outlet),ft=Be&&Pe.value.component?Be.children:xe,Ot=zr(Pe);for(const qt of Object.values(Ot))this.deactivateRouteAndItsChildren(qt,ft);if(Be&&Be.outlet){const qt=Be.outlet.detach(),Mi=Be.children.onOutletDeactivated();this.routeReuseStrategy.store(Pe.value.snapshot,{componentRef:qt,route:Pe,contexts:Mi})}}deactivateRouteAndOutlet(Pe,xe){const Be=xe.getContext(Pe.value.outlet),ft=Be&&Pe.value.component?Be.children:xe,Ot=zr(Pe);for(const qt of Object.values(Ot))this.deactivateRouteAndItsChildren(qt,ft);Be&&(Be.outlet&&(Be.outlet.deactivate(),Be.children.onOutletDeactivated()),Be.attachRef=null,Be.route=null)}activateChildRoutes(Pe,xe,Be){const ft=zr(xe);Pe.children.forEach(Ot=>{this.activateRoutes(Ot,ft[Ot.value.outlet],Be),this.forwardEvent(new hi(Ot.value.snapshot))}),Pe.children.length&&this.forwardEvent(new jt(Pe.value.snapshot))}activateRoutes(Pe,xe,Be){const ft=Pe.value,Ot=xe?xe.value:null;if(Sa(ft),ft===Ot)if(ft.component){const qt=Be.getOrCreateContext(ft.outlet);this.activateChildRoutes(Pe,xe,qt.children)}else this.activateChildRoutes(Pe,xe,Be);else if(ft.component){const qt=Be.getOrCreateContext(ft.outlet);if(this.routeReuseStrategy.shouldAttach(ft.snapshot)){const Mi=this.routeReuseStrategy.retrieve(ft.snapshot);this.routeReuseStrategy.store(ft.snapshot,null),qt.children.onOutletReAttached(Mi.contexts),qt.attachRef=Mi.componentRef,qt.route=Mi.route.value,qt.outlet&&qt.outlet.attach(Mi.componentRef,Mi.route.value),Sa(Mi.route.value),this.activateChildRoutes(Pe,null,qt.children)}else{const Mi=Oo(ft.snapshot);qt.attachRef=null,qt.route=ft,qt.injector=Mi??qt.injector,qt.outlet&&qt.outlet.activateWith(ft,qt.injector),this.activateChildRoutes(Pe,null,qt.children)}}else this.activateChildRoutes(Pe,null,Be)}}class Go{constructor(Pe){this.path=Pe,this.route=this.path[this.path.length-1]}}class Wa{constructor(Pe,xe){this.component=Pe,this.route=xe}}function as(ve,Pe,xe){const Be=ve._root;return xt(Be,Pe?Pe._root:null,xe,[Be.value])}function ri(ve,Pe){const xe=Symbol(),Be=Pe.get(ve,xe);return Be===xe?"function"!=typeof ve||(0,t.LfX)(ve)?Pe.get(ve):ve:Be}function xt(ve,Pe,xe,Be,ft={canDeactivateChecks:[],canActivateChecks:[]}){const Ot=zr(Pe);return ve.children.forEach(qt=>{(function ai(ve,Pe,xe,Be,ft={canDeactivateChecks:[],canActivateChecks:[]}){const Ot=ve.value,qt=Pe?Pe.value:null,Mi=xe?xe.getContext(ve.value.outlet):null;if(qt&&Ot.routeConfig===qt.routeConfig){const vi=function Ei(ve,Pe,xe){if("function"==typeof xe)return xe(ve,Pe);switch(xe){case"pathParamsChange":return!Ye(ve.url,Pe.url);case"pathParamsOrQueryParamsChange":return!Ye(ve.url,Pe.url)||!ce(ve.queryParams,Pe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zn(ve,Pe)||!ce(ve.queryParams,Pe.queryParams);default:return!zn(ve,Pe)}}(qt,Ot,Ot.routeConfig.runGuardsAndResolvers);vi?ft.canActivateChecks.push(new Go(Be)):(Ot.data=qt.data,Ot._resolvedData=qt._resolvedData),xt(ve,Pe,Ot.component?Mi?Mi.children:null:xe,Be,ft),vi&&Mi&&Mi.outlet&&Mi.outlet.isActivated&&ft.canDeactivateChecks.push(new Wa(Mi.outlet.component,qt))}else qt&&Ki(Pe,Mi,ft),ft.canActivateChecks.push(new Go(Be)),xt(ve,null,Ot.component?Mi?Mi.children:null:xe,Be,ft)})(qt,Ot[qt.value.outlet],xe,Be.concat([qt.value]),ft),delete Ot[qt.value.outlet]}),Object.entries(Ot).forEach(([qt,Mi])=>Ki(Mi,xe.getContext(qt),ft)),ft}function Ki(ve,Pe,xe){const Be=zr(ve),ft=ve.value;Object.entries(Be).forEach(([Ot,qt])=>{Ki(qt,ft.component?Pe?Pe.children.getContext(Ot):null:Pe,xe)}),xe.canDeactivateChecks.push(new Wa(ft.component&&Pe&&Pe.outlet&&Pe.outlet.isActivated?Pe.outlet.component:null,ft))}function tr(ve){return"function"==typeof ve}function oa(ve){return ve instanceof I.G||"EmptyError"===ve?.name}const Ri=Symbol("INITIAL_VALUE");function lt(){return(0,J.n)(ve=>(0,f.z)(ve.map(Pe=>Pe.pipe((0,ee.s)(1),(0,ie.Z)(Ri)))).pipe((0,Q.T)(Pe=>{for(const xe of Pe)if(!0!==xe){if(xe===Ri)return Ri;if(!1===xe||ht(xe))return xe}return!0}),(0,ge.p)(Pe=>Pe!==Ri),(0,ee.s)(1)))}function ht(ve){return Pt(ve)||ve instanceof Oa}function dc(ve){return(0,y.F)((0,de.M)(Pe=>{if("boolean"!=typeof Pe)throw Fa(0,Pe)}),(0,Q.T)(Pe=>!0===Pe))}class jo{constructor(Pe){this.segmentGroup=Pe||null}}class Wo extends Error{constructor(Pe){super(),this.urlTree=Pe}}function fo(ve){return(0,F.$)(new jo(ve))}class ua{constructor(Pe,xe){this.urlSerializer=Pe,this.urlTree=xe}lineralizeSegments(Pe,xe){let Be=[],ft=xe.root;for(;;){if(Be=Be.concat(ft.segments),0===ft.numberOfChildren)return(0,l.of)(Be);if(ft.numberOfChildren>1||!ft.children[ze])return(0,F.$)(new t.wOt(4e3,!1));ft=ft.children[ze]}}applyRedirectCommands(Pe,xe,Be,ft,Ot){if("string"!=typeof xe){const Mi=xe,{queryParams:vi,fragment:on,routeConfig:Sn,url:Jn,outlet:_r,params:ys,data:Nr,title:Ka}=ft,ls=(0,t.N4e)(Ot,()=>Mi({params:ys,data:Nr,queryParams:vi,fragment:on,routeConfig:Sn,url:Jn,outlet:_r,title:Ka}));if(ls instanceof Ie)throw new Wo(ls);xe=ls}const qt=this.applyRedirectCreateUrlTree(xe,this.urlSerializer.parse(xe),Pe,Be);if("/"===xe[0])throw new Wo(qt);return qt}applyRedirectCreateUrlTree(Pe,xe,Be,ft){const Ot=this.createSegmentGroup(Pe,xe.root,Be,ft);return new Ie(Ot,this.createQueryParams(xe.queryParams,this.urlTree.queryParams),xe.fragment)}createQueryParams(Pe,xe){const Be={};return Object.entries(Pe).forEach(([ft,Ot])=>{if("string"==typeof Ot&&":"===Ot[0]){const Mi=Ot.substring(1);Be[ft]=xe[Mi]}else Be[ft]=Ot}),Be}createSegmentGroup(Pe,xe,Be,ft){const Ot=this.createSegments(Pe,xe.segments,Be,ft);let qt={};return Object.entries(xe.children).forEach(([Mi,vi])=>{qt[Mi]=this.createSegmentGroup(Pe,vi,Be,ft)}),new He(Ot,qt)}createSegments(Pe,xe,Be,ft){return xe.map(Ot=>":"===Ot.path[0]?this.findPosParam(Pe,Ot,ft):this.findOrReturn(Ot,Be))}findPosParam(Pe,xe,Be){const ft=Be[xe.path.substring(1)];if(!ft)throw new t.wOt(4001,!1);return ft}findOrReturn(Pe,xe){let Be=0;for(const ft of xe){if(ft.path===Pe.path)return xe.splice(Be),ft;Be++}return Pe}}const so={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ir(ve,Pe,xe,Be,ft){const Ot=Aa(ve,Pe,xe);return Ot.matched?(Be=function Ua(ve,Pe){return ve.providers&&!ve._injector&&(ve._injector=(0,t.Ol2)(ve.providers,Pe,`Route: ${ve.path}`)),ve._injector??Pe}(Pe,Be),function hc(ve,Pe,xe,Be){const ft=Pe.canMatch;if(!ft||0===ft.length)return(0,l.of)(!0);const Ot=ft.map(qt=>{const Mi=ri(qt,ve);return _e(function Ms(ve){return ve&&tr(ve.canMatch)}(Mi)?Mi.canMatch(Pe,xe):(0,t.N4e)(ve,()=>Mi(Pe,xe)))});return(0,l.of)(Ot).pipe(lt(),dc())}(Be,Pe,xe).pipe((0,Q.T)(qt=>!0===qt?Ot:{...so}))):(0,l.of)(Ot)}function Aa(ve,Pe,xe){if("**"===Pe.path)return function $s(ve){return{matched:!0,parameters:ve.length>0?mt(ve).parameters:{},consumedSegments:ve,remainingSegments:[],positionalParamSegments:{}}}(xe);if(""===Pe.path)return"full"===Pe.pathMatch&&(ve.hasChildren()||xe.length>0)?{...so}:{matched:!0,consumedSegments:[],remainingSegments:xe,parameters:{},positionalParamSegments:{}};const ft=(Pe.matcher||X)(xe,ve,Pe);if(!ft)return{...so};const Ot={};Object.entries(ft.posParams??{}).forEach(([Mi,vi])=>{Ot[Mi]=vi.path});const qt=ft.consumed.length>0?{...Ot,...ft.consumed[ft.consumed.length-1].parameters}:Ot;return{matched:!0,consumedSegments:ft.consumed,remainingSegments:xe.slice(ft.consumed.length),parameters:qt,positionalParamSegments:ft.posParams??{}}}function dn(ve,Pe,xe,Be){return xe.length>0&&function Ss(ve,Pe,xe){return xe.some(Be=>_s(ve,Pe,Be)&&Lr(Be)!==ze)}(ve,xe,Be)?{segmentGroup:new He(Pe,uc(Be,new He(xe,ve.children))),slicedSegments:[]}:0===xe.length&&function fc(ve,Pe,xe){return xe.some(Be=>_s(ve,Pe,Be))}(ve,xe,Be)?{segmentGroup:new He(ve.segments,Es(ve,xe,Be,ve.children)),slicedSegments:xe}:{segmentGroup:new He(ve.segments,ve.children),slicedSegments:xe}}function Es(ve,Pe,xe,Be){const ft={};for(const Ot of xe)if(_s(ve,Pe,Ot)&&!Be[Lr(Ot)]){const qt=new He([],{});ft[Lr(Ot)]=qt}return{...Be,...ft}}function uc(ve,Pe){const xe={};xe[ze]=Pe;for(const Be of ve)if(""===Be.path&&Lr(Be)!==ze){const ft=new He([],{});xe[Lr(Be)]=ft}return xe}function _s(ve,Pe,xe){return(!(ve.hasChildren()||Pe.length>0)||"full"!==xe.pathMatch)&&""===xe.path}class Ll{}class Qs{constructor(Pe,xe,Be,ft,Ot,qt,Mi){this.injector=Pe,this.configLoader=xe,this.rootComponentType=Be,this.config=ft,this.urlTree=Ot,this.paramsInheritanceStrategy=qt,this.urlSerializer=Mi,this.applyRedirects=new ua(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Pe){return new t.wOt(4002,`'${Pe.segmentGroup}'`)}recognize(){const Pe=dn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Pe).pipe((0,Q.T)(({children:xe,rootSnapshot:Be})=>{const ft=new Sr(Be,xe),Ot=new no("",ft),qt=function Xi(ve,Pe,xe=null,Be=null){return fi(di(ve),Pe,xe,Be)}(Be,[],this.urlTree.queryParams,this.urlTree.fragment);return qt.queryParams=this.urlTree.queryParams,Ot.url=this.urlSerializer.serialize(qt),{state:Ot,tree:qt}}))}match(Pe){const xe=new Ea([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),ze,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,Pe,ze,xe).pipe((0,Q.T)(Be=>({children:Be,rootSnapshot:xe})),(0,D.W)(Be=>{if(Be instanceof Wo)return this.urlTree=Be.urlTree,this.match(Be.urlTree.root);throw Be instanceof jo?this.noMatchError(Be):Be}))}processSegmentGroup(Pe,xe,Be,ft,Ot){return 0===Be.segments.length&&Be.hasChildren()?this.processChildren(Pe,xe,Be,Ot):this.processSegment(Pe,xe,Be,Be.segments,ft,!0,Ot).pipe((0,Q.T)(qt=>qt instanceof Sr?[qt]:[]))}processChildren(Pe,xe,Be,ft){const Ot=[];for(const qt of Object.keys(Be.children))"primary"===qt?Ot.unshift(qt):Ot.push(qt);return(0,S.H)(Ot).pipe((0,Te.H)(qt=>{const Mi=Be.children[qt],vi=function _a(ve,Pe){const xe=ve.filter(Be=>Lr(Be)===Pe);return xe.push(...ve.filter(Be=>Lr(Be)!==Pe)),xe}(xe,qt);return this.processSegmentGroup(Pe,vi,Mi,qt,ft)}),(0,n.S)((qt,Mi)=>(qt.push(...Mi),qt)),(0,c.U)(null),function _(ve,Pe){const xe=arguments.length>=2;return Be=>Be.pipe(ve?(0,ge.p)((ft,Ot)=>ve(ft,Ot,Be)):L.D,C(1),xe?(0,c.U)(Pe):(0,k.v)(()=>new I.G))}(),(0,ae.Z)(qt=>{if(null===qt)return fo(Be);const Mi=Eo(qt);return function Zs(ve){ve.sort((Pe,xe)=>Pe.value.outlet===ze?-1:xe.value.outlet===ze?1:Pe.value.outlet.localeCompare(xe.value.outlet))}(Mi),(0,l.of)(Mi)}))}processSegment(Pe,xe,Be,ft,Ot,qt,Mi){return(0,S.H)(xe).pipe((0,Te.H)(vi=>this.processSegmentAgainstRoute(vi._injector??Pe,xe,vi,Be,ft,Ot,qt,Mi).pipe((0,D.W)(on=>{if(on instanceof jo)return(0,l.of)(null);throw on}))),(0,Me.$)(vi=>!!vi),(0,D.W)(vi=>{if(oa(vi))return function vs(ve,Pe,xe){return 0===Pe.length&&!ve.children[xe]}(Be,ft,Ot)?(0,l.of)(new Ll):fo(Be);throw vi}))}processSegmentAgainstRoute(Pe,xe,Be,ft,Ot,qt,Mi,vi){return function kl(ve,Pe,xe,Be){return!!(Lr(ve)===Be||Be!==ze&&_s(Pe,xe,ve))&&Aa(Pe,ve,xe).matched}(Be,ft,Ot,qt)?void 0===Be.redirectTo?this.matchSegmentAgainstRoute(Pe,ft,Be,Ot,qt,vi):this.allowRedirects&&Mi?this.expandSegmentAgainstRouteUsingRedirect(Pe,ft,xe,Be,Ot,qt,vi):fo(ft):fo(ft)}expandSegmentAgainstRouteUsingRedirect(Pe,xe,Be,ft,Ot,qt,Mi){const{matched:vi,parameters:on,consumedSegments:Sn,positionalParamSegments:Jn,remainingSegments:_r}=Aa(xe,ft,Ot);if(!vi)return fo(xe);"string"==typeof ft.redirectTo&&"/"===ft.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ys=new Ea(Ot,on,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Js(ft),Lr(ft),ft.component??ft._loadedComponent??null,ft,bs(ft)),Nr=Ma(ys,Mi,this.paramsInheritanceStrategy);ys.params=Object.freeze(Nr.params),ys.data=Object.freeze(Nr.data);const Ka=this.applyRedirects.applyRedirectCommands(Sn,ft.redirectTo,Jn,ys,Pe);return this.applyRedirects.lineralizeSegments(ft,Ka).pipe((0,ae.Z)(ls=>this.processSegment(Pe,Be,xe,ls.concat(_r),qt,!1,Mi)))}matchSegmentAgainstRoute(Pe,xe,Be,ft,Ot,qt){const Mi=Ir(xe,Be,ft,Pe);return"**"===Be.path&&(xe.children={}),Mi.pipe((0,J.n)(vi=>vi.matched?this.getChildConfig(Pe=Be._injector??Pe,Be,ft).pipe((0,J.n)(({routes:on})=>{const Sn=Be._loadedInjector??Pe,{parameters:Jn,consumedSegments:_r,remainingSegments:ys}=vi,Nr=new Ea(_r,Jn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Js(Be),Lr(Be),Be.component??Be._loadedComponent??null,Be,bs(Be)),Ka=Ma(Nr,qt,this.paramsInheritanceStrategy);Nr.params=Object.freeze(Ka.params),Nr.data=Object.freeze(Ka.data);const{segmentGroup:ls,slicedSegments:xc}=dn(xe,_r,ys,on);if(0===xc.length&&ls.hasChildren())return this.processChildren(Sn,on,ls,Nr).pipe((0,Q.T)(Ko=>new Sr(Nr,Ko)));if(0===on.length&&0===xc.length)return(0,l.of)(new Sr(Nr,[]));const Pl=Lr(Be)===Ot;return this.processSegment(Sn,on,ls,xc,Pl?ze:Ot,!0,Nr).pipe((0,Q.T)(Ko=>new Sr(Nr,Ko instanceof Sr?[Ko]:[])))})):fo(xe)))}getChildConfig(Pe,xe,Be){return xe.children?(0,l.of)({routes:xe.children,injector:Pe}):xe.loadChildren?void 0!==xe._loadedRoutes?(0,l.of)({routes:xe._loadedRoutes,injector:xe._loadedInjector}):function lc(ve,Pe,xe,Be){const ft=Pe.canLoad;if(void 0===ft||0===ft.length)return(0,l.of)(!0);const Ot=ft.map(qt=>{const Mi=ri(qt,ve);return _e(function Fr(ve){return ve&&tr(ve.canLoad)}(Mi)?Mi.canLoad(Pe,xe):(0,t.N4e)(ve,()=>Mi(Pe,xe)))});return(0,l.of)(Ot).pipe(lt(),dc())}(Pe,xe,Be).pipe((0,ae.Z)(ft=>ft?this.configLoader.loadChildren(Pe,xe).pipe((0,de.M)(Ot=>{xe._loadedRoutes=Ot.routes,xe._loadedInjector=Ot.injector})):function Kr(ve){return(0,F.$)(Ro(!1,ut.GuardRejected))}())):(0,l.of)({routes:[],injector:Pe})}}function Rs(ve){const Pe=ve.value.routeConfig;return Pe&&""===Pe.path}function Eo(ve){const Pe=[],xe=new Set;for(const Be of ve){if(!Rs(Be)){Pe.push(Be);continue}const ft=Pe.find(Ot=>Be.value.routeConfig===Ot.value.routeConfig);void 0!==ft?(ft.children.push(...Be.children),xe.add(ft)):Pe.push(Be)}for(const Be of xe){const ft=Eo(Be.children);Pe.push(new Sr(Be.value,ft))}return Pe.filter(Be=>!xe.has(Be))}function Js(ve){return ve.data||{}}function bs(ve){return ve.resolve||{}}function os(ve){const Pe=ve.children.map(xe=>os(xe)).flat();return[ve,...Pe]}function Rc(ve){return(0,J.n)(Pe=>{const xe=ve(Pe);return xe?(0,S.H)(xe).pipe((0,Q.T)(()=>Pe)):(0,l.of)(Pe)})}let Il=(()=>{class ve{buildTitle(xe){let Be,ft=xe.root;for(;void 0!==ft;)Be=this.getResolvedTitleForRoute(ft)??Be,ft=ft.children.find(Ot=>Ot.outlet===ze);return Be}getResolvedTitleForRoute(xe){return xe.data[qe]}static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:()=>(0,t.WQX)(il),providedIn:"root"})}return ve})(),il=(()=>{class ve extends Il{constructor(xe){super(),this.title=xe}updateTitle(xe){const Be=this.buildTitle(xe);void 0!==Be&&this.title.setTitle(Be)}static#e=this.\u0275fac=function(Be){return new(Be||ve)(t.KVO(Ee.hE))};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();const ss=new t.nKC("",{providedIn:"root",factory:()=>({})}),Fs=new t.nKC("");let nt=(()=>{class ve{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.WQX)(t.Ql9)}loadComponent(xe){if(this.componentLoaders.get(xe))return this.componentLoaders.get(xe);if(xe._loadedComponent)return(0,l.of)(xe._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(xe);const Be=_e(xe.loadComponent()).pipe((0,Q.T)(Z),(0,de.M)(Ot=>{this.onLoadEndListener&&this.onLoadEndListener(xe),xe._loadedComponent=Ot}),(0,v.j)(()=>{this.componentLoaders.delete(xe)})),ft=new z.G(Be,()=>new W.B).pipe((0,V.B)());return this.componentLoaders.set(xe,ft),ft}loadChildren(xe,Be){if(this.childrenLoaders.get(Be))return this.childrenLoaders.get(Be);if(Be._loadedRoutes)return(0,l.of)({routes:Be._loadedRoutes,injector:Be._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Be);const Ot=function Rt(ve,Pe,xe,Be){return _e(ve.loadChildren()).pipe((0,Q.T)(Z),(0,ae.Z)(ft=>ft instanceof t.Co$||Array.isArray(ft)?(0,l.of)(ft):(0,S.H)(Pe.compileModuleAsync(ft))),(0,Q.T)(ft=>{Be&&Be(ve);let Ot,qt,Mi=!1;return Array.isArray(ft)?(qt=ft,!0):(Ot=ft.create(xe).injector,qt=Ot.get(Fs,[],{optional:!0,self:!0}).flat()),{routes:qt.map(Za),injector:Ot}}))}(Be,this.compiler,xe,this.onLoadEndListener).pipe((0,v.j)(()=>{this.childrenLoaders.delete(Be)})),qt=new z.G(Ot,()=>new W.B).pipe((0,V.B)());return this.childrenLoaders.set(Be,qt),qt}static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();function Z(ve){return function kt(ve){return ve&&"object"==typeof ve&&"default"in ve}(ve)?ve.default:ve}let Ve=(()=>{class ve{static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:()=>(0,t.WQX)(De),providedIn:"root"})}return ve})(),De=(()=>{class ve{shouldProcessUrl(xe){return!0}extract(xe){return xe}merge(xe,Be){return xe}static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();const We=new t.nKC(""),Dt=new t.nKC("");function ei(ve,Pe,xe){const Be=ve.get(Dt),ft=ve.get(j.qQ);return ve.get(t.SKi).runOutsideAngular(()=>{if(!ft.startViewTransition||Be.skipNextTransition)return Be.skipNextTransition=!1,new Promise(on=>setTimeout(on));let Ot;const qt=new Promise(on=>{Ot=on}),Mi=ft.startViewTransition(()=>(Ot(),function pi(ve){return new Promise(Pe=>{(0,t.mal)(Pe,{injector:ve})})}(ve))),{onViewTransitionCreated:vi}=Be;return vi&&(0,t.N4e)(ve,()=>vi({transition:Mi,from:Pe,to:xe})),qt})}const Di=new t.nKC("");let an=(()=>{class ve{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new W.B,this.transitionAbortSubject=new W.B,this.configLoader=(0,t.WQX)(nt),this.environmentInjector=(0,t.WQX)(t.uvJ),this.urlSerializer=(0,t.WQX)(Yt),this.rootContexts=(0,t.WQX)(sr),this.location=(0,t.WQX)(j.aZ),this.inputBindingEnabled=null!==(0,t.WQX)(Ta,{optional:!0}),this.titleStrategy=(0,t.WQX)(Il),this.options=(0,t.WQX)(ss,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,t.WQX)(Ve),this.createViewTransition=(0,t.WQX)(We,{optional:!0}),this.navigationErrorHandler=(0,t.WQX)(Di,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,l.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ft=>this.events.next(new _i(ft)),this.configLoader.onLoadStartListener=ft=>this.events.next(new Rn(ft))}complete(){this.transitions?.complete()}handleNavigationRequest(xe){const Be=++this.navigationId;this.transitions?.next({...this.transitions.value,...xe,id:Be})}setupNavigations(xe,Be,ft){return this.transitions=new x.t({id:0,currentUrlTree:Be,currentRawUrl:Be,extractedUrl:this.urlHandlingStrategy.extract(Be),urlAfterRedirects:this.urlHandlingStrategy.extract(Be),rawUrl:Be,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:bt,restoredState:null,currentSnapshot:ft.snapshot,targetSnapshot:null,currentRouterState:ft,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ge.p)(Ot=>0!==Ot.id),(0,Q.T)(Ot=>({...Ot,extractedUrl:this.urlHandlingStrategy.extract(Ot.rawUrl)})),(0,J.n)(Ot=>{let qt=!1,Mi=!1;return(0,l.of)(Ot).pipe((0,J.n)(vi=>{if(this.navigationId>Ot.id)return this.cancelNavigationTransition(Ot,"",ut.SupersededByNewNavigation),R.w;this.currentTransition=Ot,this.currentNavigation={id:vi.id,initialUrl:vi.rawUrl,extractedUrl:vi.extractedUrl,trigger:vi.source,extras:vi.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const on=!xe.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!on&&"reload"!==(vi.extras.onSameUrlNavigation??xe.onSameUrlNavigation)){const Jn="";return this.events.next(new Pi(vi.id,this.urlSerializer.serialize(vi.rawUrl),Jn,ii.IgnoredSameUrlNavigation)),vi.resolve(!1),R.w}if(this.urlHandlingStrategy.shouldProcessUrl(vi.rawUrl))return(0,l.of)(vi).pipe((0,J.n)(Jn=>{const _r=this.transitions?.getValue();return this.events.next(new Ce(Jn.id,this.urlSerializer.serialize(Jn.extractedUrl),Jn.source,Jn.restoredState)),_r!==this.transitions?.getValue()?R.w:Promise.resolve(Jn)}),function gc(ve,Pe,xe,Be,ft,Ot){return(0,ae.Z)(qt=>function mc(ve,Pe,xe,Be,ft,Ot,qt="emptyOnly"){return new Qs(ve,Pe,xe,Be,ft,qt,Ot).recognize()}(ve,Pe,xe,Be,qt.extractedUrl,ft,Ot).pipe((0,Q.T)(({state:Mi,tree:vi})=>({...qt,targetSnapshot:Mi,urlAfterRedirects:vi}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,xe.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,de.M)(Jn=>{Ot.targetSnapshot=Jn.targetSnapshot,Ot.urlAfterRedirects=Jn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Jn.urlAfterRedirects};const _r=new Fn(Jn.id,this.urlSerializer.serialize(Jn.extractedUrl),this.urlSerializer.serialize(Jn.urlAfterRedirects),Jn.targetSnapshot);this.events.next(_r)}));if(on&&this.urlHandlingStrategy.shouldProcessUrl(vi.currentRawUrl)){const{id:Jn,extractedUrl:_r,source:ys,restoredState:Nr,extras:Ka}=vi,ls=new Ce(Jn,this.urlSerializer.serialize(_r),ys,Nr);this.events.next(ls);const xc=xo(this.rootComponentType).snapshot;return this.currentTransition=Ot={...vi,targetSnapshot:xc,urlAfterRedirects:_r,extras:{...Ka,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=_r,(0,l.of)(Ot)}{const Jn="";return this.events.next(new Pi(vi.id,this.urlSerializer.serialize(vi.extractedUrl),Jn,ii.IgnoredByUrlHandlingStrategy)),vi.resolve(!1),R.w}}),(0,de.M)(vi=>{const on=new $n(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects),vi.targetSnapshot);this.events.next(on)}),(0,Q.T)(vi=>(this.currentTransition=Ot={...vi,guards:as(vi.targetSnapshot,vi.currentSnapshot,this.rootContexts)},Ot)),function Ue(ve,Pe){return(0,ae.Z)(xe=>{const{targetSnapshot:Be,currentSnapshot:ft,guards:{canActivateChecks:Ot,canDeactivateChecks:qt}}=xe;return 0===qt.length&&0===Ot.length?(0,l.of)({...xe,guardsResult:!0}):function At(ve,Pe,xe,Be){return(0,S.H)(ve).pipe((0,ae.Z)(ft=>function Xa(ve,Pe,xe,Be,ft){const Ot=Pe&&Pe.routeConfig?Pe.routeConfig.canDeactivate:null;if(!Ot||0===Ot.length)return(0,l.of)(!0);const qt=Ot.map(Mi=>{const vi=Oo(Pe)??ft,on=ri(Mi,vi);return _e(function oo(ve){return ve&&tr(ve.canDeactivate)}(on)?on.canDeactivate(ve,Pe,xe,Be):(0,t.N4e)(vi,()=>on(ve,Pe,xe,Be))).pipe((0,Me.$)())});return(0,l.of)(qt).pipe(lt())}(ft.component,ft.route,xe,Pe,Be)),(0,Me.$)(ft=>!0!==ft,!0))}(qt,Be,ft,ve).pipe((0,ae.Z)(Mi=>Mi&&function Or(ve){return"boolean"==typeof ve}(Mi)?function ni(ve,Pe,xe,Be){return(0,S.H)(Pe).pipe((0,Te.H)(ft=>(0,d.x)(function Zn(ve,Pe){return null!==ve&&Pe&&Pe(new Oi(ve)),(0,l.of)(!0)}(ft.route.parent,Be),function pn(ve,Pe){return null!==ve&&Pe&&Pe(new Ci(ve)),(0,l.of)(!0)}(ft.route,Be),function vr(ve,Pe,xe){const Be=Pe[Pe.length-1],Ot=Pe.slice(0,Pe.length-1).reverse().map(qt=>function Ft(ve){const Pe=ve.routeConfig?ve.routeConfig.canActivateChild:null;return Pe&&0!==Pe.length?{node:ve,guards:Pe}:null}(qt)).filter(qt=>null!==qt).map(qt=>(0,T.v)(()=>{const Mi=qt.guards.map(vi=>{const on=Oo(qt.node)??xe,Sn=ri(vi,on);return _e(function gs(ve){return ve&&tr(ve.canActivateChild)}(Sn)?Sn.canActivateChild(Be,ve):(0,t.N4e)(on,()=>Sn(Be,ve))).pipe((0,Me.$)())});return(0,l.of)(Mi).pipe(lt())}));return(0,l.of)(Ot).pipe(lt())}(ve,ft.path,xe),function Fo(ve,Pe,xe){const Be=Pe.routeConfig?Pe.routeConfig.canActivate:null;if(!Be||0===Be.length)return(0,l.of)(!0);const ft=Be.map(Ot=>(0,T.v)(()=>{const qt=Oo(Pe)??xe,Mi=ri(Ot,qt);return _e(function Mo(ve){return ve&&tr(ve.canActivate)}(Mi)?Mi.canActivate(Pe,ve):(0,t.N4e)(qt,()=>Mi(Pe,ve))).pipe((0,Me.$)())}));return(0,l.of)(ft).pipe(lt())}(ve,ft.route,xe))),(0,Me.$)(ft=>!0!==ft,!0))}(Be,Ot,ve,Pe):(0,l.of)(Mi)),(0,Q.T)(Mi=>({...xe,guardsResult:Mi})))})}(this.environmentInjector,vi=>this.events.next(vi)),(0,de.M)(vi=>{if(Ot.guardsResult=vi.guardsResult,vi.guardsResult&&"boolean"!=typeof vi.guardsResult)throw Fa(0,vi.guardsResult);const on=new Yn(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects),vi.targetSnapshot,!!vi.guardsResult);this.events.next(on)}),(0,ge.p)(vi=>!!vi.guardsResult||(this.cancelNavigationTransition(vi,"",ut.GuardRejected),!1)),Rc(vi=>{if(vi.guards.canActivateChecks.length)return(0,l.of)(vi).pipe((0,de.M)(on=>{const Sn=new Qn(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects),on.targetSnapshot);this.events.next(Sn)}),(0,J.n)(on=>{let Sn=!1;return(0,l.of)(on).pipe(function _c(ve,Pe){return(0,ae.Z)(xe=>{const{targetSnapshot:Be,guards:{canActivateChecks:ft}}=xe;if(!ft.length)return(0,l.of)(xe);const Ot=new Set(ft.map(vi=>vi.route)),qt=new Set;for(const vi of Ot)if(!qt.has(vi))for(const on of os(vi))qt.add(on);let Mi=0;return(0,S.H)(qt).pipe((0,Te.H)(vi=>Ot.has(vi)?function So(ve,Pe,xe,Be){const ft=ve.routeConfig,Ot=ve._resolve;return void 0!==ft?.title&&!ro(ft)&&(Ot[qe]=ft.title),function Os(ve,Pe,xe,Be){const ft=fe(ve);if(0===ft.length)return(0,l.of)({});const Ot={};return(0,S.H)(ft).pipe((0,ae.Z)(qt=>function tl(ve,Pe,xe,Be){const ft=Oo(Pe)??Be,Ot=ri(ve,ft);return _e(Ot.resolve?Ot.resolve(Pe,xe):(0,t.N4e)(ft,()=>Ot(Pe,xe)))}(ve[qt],Pe,xe,Be).pipe((0,Me.$)(),(0,de.M)(Mi=>{if(Mi instanceof Oa)throw Fa(new Nt,Mi);Ot[qt]=Mi}))),C(1),(0,r.u)(Ot),(0,D.W)(qt=>oa(qt)?R.w:(0,F.$)(qt)))}(Ot,ve,Pe,Be).pipe((0,Q.T)(qt=>(ve._resolvedData=qt,ve.data=Ma(ve,ve.parent,xe).resolve,null)))}(vi,Be,ve,Pe):(vi.data=Ma(vi,vi.parent,ve).resolve,(0,l.of)(void 0))),(0,de.M)(()=>Mi++),C(1),(0,ae.Z)(vi=>Mi===qt.size?(0,l.of)(xe):R.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,de.M)({next:()=>Sn=!0,complete:()=>{Sn||this.cancelNavigationTransition(on,"",ut.NoDataFromResolver)}}))}),(0,de.M)(on=>{const Sn=new rr(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects),on.targetSnapshot);this.events.next(Sn)}))}),Rc(vi=>{const on=Sn=>{const Jn=[];Sn.routeConfig?.loadComponent&&!Sn.routeConfig._loadedComponent&&Jn.push(this.configLoader.loadComponent(Sn.routeConfig).pipe((0,de.M)(_r=>{Sn.component=_r}),(0,Q.T)(()=>{})));for(const _r of Sn.children)Jn.push(...on(_r));return Jn};return(0,f.z)(on(vi.targetSnapshot.root)).pipe((0,c.U)(null),(0,ee.s)(1))}),Rc(()=>this.afterPreactivation()),(0,J.n)(()=>{const{currentSnapshot:vi,targetSnapshot:on}=Ot,Sn=this.createViewTransition?.(this.environmentInjector,vi.root,on.root);return Sn?(0,S.H)(Sn).pipe((0,Q.T)(()=>Ot)):(0,l.of)(Ot)}),(0,Q.T)(vi=>{const on=function wo(ve,Pe,xe){const Be=zo(ve,Pe._root,xe?xe._root:void 0);return new Ho(Be,Pe)}(xe.routeReuseStrategy,vi.targetSnapshot,vi.currentRouterState);return this.currentTransition=Ot={...vi,targetRouterState:on},this.currentNavigation.targetRouterState=on,Ot}),(0,de.M)(()=>{this.events.next(new Vi)}),((ve,Pe,xe,Be)=>(0,Q.T)(ft=>(new Da(Pe,ft.targetRouterState,ft.currentRouterState,xe,Be).activate(ve),ft)))(this.rootContexts,xe.routeReuseStrategy,vi=>this.events.next(vi),this.inputBindingEnabled),(0,ee.s)(1),(0,de.M)({next:vi=>{qt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ot(vi.id,this.urlSerializer.serialize(vi.extractedUrl),this.urlSerializer.serialize(vi.urlAfterRedirects))),this.titleStrategy?.updateTitle(vi.targetRouterState.snapshot),vi.resolve(!0)},complete:()=>{qt=!0}}),(0,N.Q)(this.transitionAbortSubject.pipe((0,de.M)(vi=>{throw vi}))),(0,v.j)(()=>{!qt&&!Mi&&this.cancelNavigationTransition(Ot,"",ut.SupersededByNewNavigation),this.currentTransition?.id===Ot.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,D.W)(vi=>{if(Mi=!0,ha(vi))this.events.next(new si(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),vi.message,vi.cancellationCode)),function kr(ve){return ha(ve)&&Pt(ve.url)}(vi)?this.events.next(new ji(vi.url,vi.navigationBehaviorOptions)):Ot.resolve(!1);else{const on=new mn(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),vi,Ot.targetSnapshot??void 0);try{const Sn=(0,t.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(on));if(Sn instanceof Oa){const{message:Jn,cancellationCode:_r}=Fa(0,Sn);this.events.next(new si(Ot.id,this.urlSerializer.serialize(Ot.extractedUrl),Jn,_r)),this.events.next(new ji(Sn.redirectTo,Sn.navigationBehaviorOptions))}else{this.events.next(on);const Jn=xe.errorHandler(vi);Ot.resolve(!!Jn)}}catch(Sn){this.options.resolveNavigationPromiseOnError?Ot.resolve(!1):Ot.reject(Sn)}}return R.w}))}))}cancelNavigationTransition(xe,Be,ft){const Ot=new si(xe.id,this.urlSerializer.serialize(xe.extractedUrl),Be,ft);this.events.next(Ot),xe.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();function gn(ve){return ve!==bt}let yn=(()=>{class ve{static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:()=>(0,t.WQX)(hr),providedIn:"root"})}return ve})();class Dn{shouldDetach(Pe){return!1}store(Pe,xe){}shouldAttach(Pe){return!1}retrieve(Pe){return null}shouldReuseRoute(Pe,xe){return Pe.routeConfig===xe.routeConfig}}let hr=(()=>{class ve extends Dn{static#e=this.\u0275fac=(()=>{let xe;return function(ft){return(xe||(xe=t.xGo(ve)))(ft||ve)}})();static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})(),ir=(()=>{class ve{static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:()=>(0,t.WQX)(br),providedIn:"root"})}return ve})(),br=(()=>{class ve extends ir{constructor(){super(...arguments),this.location=(0,t.WQX)(j.aZ),this.urlSerializer=(0,t.WQX)(Yt),this.options=(0,t.WQX)(ss,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,t.WQX)(Ve),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ie,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=xo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(xe){return this.location.subscribe(Be=>{"popstate"===Be.type&&xe(Be.url,Be.state)})}handleRouterEvent(xe,Be){if(xe instanceof Ce)this.stateMemento=this.createStateMemento();else if(xe instanceof Pi)this.rawUrlTree=Be.initialUrl;else if(xe instanceof Fn){if("eager"===this.urlUpdateStrategy&&!Be.extras.skipLocationChange){const ft=this.urlHandlingStrategy.merge(Be.finalUrl,Be.initialUrl);this.setBrowserUrl(ft,Be)}}else xe instanceof Vi?(this.currentUrlTree=Be.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Be.finalUrl,Be.initialUrl),this.routerState=Be.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Be.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Be))):xe instanceof si&&(xe.code===ut.GuardRejected||xe.code===ut.NoDataFromResolver)?this.restoreHistory(Be):xe instanceof mn?this.restoreHistory(Be,!0):xe instanceof ot&&(this.lastSuccessfulId=xe.id,this.currentPageId=this.browserPageId)}setBrowserUrl(xe,Be){const ft=this.urlSerializer.serialize(xe);if(this.location.isCurrentPathEqualTo(ft)||Be.extras.replaceUrl){const qt={...Be.extras.state,...this.generateNgRouterState(Be.id,this.browserPageId)};this.location.replaceState(ft,"",qt)}else{const Ot={...Be.extras.state,...this.generateNgRouterState(Be.id,this.browserPageId+1)};this.location.go(ft,"",Ot)}}restoreHistory(xe,Be=!1){if("computed"===this.canceledNavigationResolution){const Ot=this.currentPageId-this.browserPageId;0!==Ot?this.location.historyGo(Ot):this.currentUrlTree===xe.finalUrl&&0===Ot&&(this.resetState(xe),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Be&&this.resetState(xe),this.resetUrlToCurrentUrlTree())}resetState(xe){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,xe.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(xe,Be){return"computed"===this.canceledNavigationResolution?{navigationId:xe,\u0275routerPageId:Be}:{navigationId:xe}}static#e=this.\u0275fac=(()=>{let xe;return function(ft){return(xe||(xe=t.xGo(ve)))(ft||ve)}})();static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();var gr=function(ve){return ve[ve.COMPLETE=0]="COMPLETE",ve[ve.FAILED=1]="FAILED",ve[ve.REDIRECTING=2]="REDIRECTING",ve}(gr||{});function Cr(ve,Pe){ve.events.pipe((0,ge.p)(xe=>xe instanceof ot||xe instanceof si||xe instanceof mn||xe instanceof Pi),(0,Q.T)(xe=>xe instanceof ot||xe instanceof Pi?gr.COMPLETE:xe instanceof si&&(xe.code===ut.Redirect||xe.code===ut.SupersededByNewNavigation)?gr.REDIRECTING:gr.FAILED),(0,ge.p)(xe=>xe!==gr.REDIRECTING),(0,ee.s)(1)).subscribe(()=>{Pe()})}function sa(ve){throw ve}const Hn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let sn=(()=>{class ve{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,t.WQX)(t.H3F),this.stateManager=(0,t.WQX)(ir),this.options=(0,t.WQX)(ss,{optional:!0})||{},this.pendingTasks=(0,t.WQX)(t.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,t.WQX)(an),this.urlSerializer=(0,t.WQX)(Yt),this.location=(0,t.WQX)(j.aZ),this.urlHandlingStrategy=(0,t.WQX)(Ve),this._events=new W.B,this.errorHandler=this.options.errorHandler||sa,this.navigated=!1,this.routeReuseStrategy=(0,t.WQX)(yn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,t.WQX)(Fs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,t.WQX)(Ta,{optional:!0}),this.eventsSubscription=new $.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:xe=>{this.console.warn(xe)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const xe=this.navigationTransitions.events.subscribe(Be=>{try{const ft=this.navigationTransitions.currentTransition,Ot=this.navigationTransitions.currentNavigation;if(null!==ft&&null!==Ot)if(this.stateManager.handleRouterEvent(Be,Ot),Be instanceof si&&Be.code!==ut.Redirect&&Be.code!==ut.SupersededByNewNavigation)this.navigated=!0;else if(Be instanceof ot)this.navigated=!0;else if(Be instanceof ji){const qt=Be.navigationBehaviorOptions,Mi=this.urlHandlingStrategy.merge(Be.url,ft.currentRawUrl),vi={info:ft.extras.info,skipLocationChange:ft.extras.skipLocationChange,replaceUrl:ft.extras.replaceUrl||"eager"===this.urlUpdateStrategy||gn(ft.source),...qt};this.scheduleNavigation(Mi,bt,null,vi,{resolve:ft.resolve,reject:ft.reject,promise:ft.promise})}(function $r(ve){return!(ve instanceof Vi||ve instanceof ji)})(Be)&&this._events.next(Be)}catch(ft){this.navigationTransitions.transitionAbortSubject.next(ft)}});this.eventsSubscription.add(xe)}resetRootComponentType(xe){this.routerState.root.component=xe,this.navigationTransitions.rootComponentType=xe}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),bt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((xe,Be)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(xe,"popstate",Be)},0)})}navigateToSyncWithBrowser(xe,Be,ft){const Ot={replaceUrl:!0},qt=ft?.navigationId?ft:null;if(ft){const vi={...ft};delete vi.navigationId,delete vi.\u0275routerPageId,0!==Object.keys(vi).length&&(Ot.state=vi)}const Mi=this.parseUrl(xe);this.scheduleNavigation(Mi,Be,qt,Ot)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(xe){this.config=xe.map(Za),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(xe,Be={}){const{relativeTo:ft,queryParams:Ot,fragment:qt,queryParamsHandling:Mi,preserveFragment:vi}=Be,on=vi?this.currentUrlTree.fragment:qt;let Jn,Sn=null;switch(Mi){case"merge":Sn={...this.currentUrlTree.queryParams,...Ot};break;case"preserve":Sn=this.currentUrlTree.queryParams;break;default:Sn=Ot||null}null!==Sn&&(Sn=this.removeEmptyProps(Sn));try{Jn=di(ft?ft.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof xe[0]||"/"!==xe[0][0])&&(xe=[]),Jn=this.currentUrlTree.root}return fi(Jn,xe,Sn,on??null)}navigateByUrl(xe,Be={skipLocationChange:!1}){const ft=Pt(xe)?xe:this.parseUrl(xe),Ot=this.urlHandlingStrategy.merge(ft,this.rawUrlTree);return this.scheduleNavigation(Ot,bt,null,Be)}navigate(xe,Be={skipLocationChange:!1}){return function fr(ve){for(let Pe=0;Pe<ve.length;Pe++)if(null==ve[Pe])throw new t.wOt(4008,!1)}(xe),this.navigateByUrl(this.createUrlTree(xe,Be),Be)}serializeUrl(xe){return this.urlSerializer.serialize(xe)}parseUrl(xe){try{return this.urlSerializer.parse(xe)}catch{return this.urlSerializer.parse("/")}}isActive(xe,Be){let ft;if(ft=!0===Be?{...Hn}:!1===Be?{...Bi}:Be,Pt(xe))return Ze(this.currentUrlTree,xe,ft);const Ot=this.parseUrl(xe);return Ze(this.currentUrlTree,Ot,ft)}removeEmptyProps(xe){return Object.entries(xe).reduce((Be,[ft,Ot])=>(null!=Ot&&(Be[ft]=Ot),Be),{})}scheduleNavigation(xe,Be,ft,Ot,qt){if(this.disposed)return Promise.resolve(!1);let Mi,vi,on;qt?(Mi=qt.resolve,vi=qt.reject,on=qt.promise):on=new Promise((Jn,_r)=>{Mi=Jn,vi=_r});const Sn=this.pendingTasks.add();return Cr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Sn))}),this.navigationTransitions.handleNavigationRequest({source:Be,restoredState:ft,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:xe,extras:Ot,resolve:Mi,reject:vi,promise:on,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),on.catch(Jn=>Promise.reject(Jn))}static#e=this.\u0275fac=function(Be){return new(Be||ve)};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})(),fa=(()=>{class ve{constructor(xe,Be,ft,Ot,qt,Mi){this.router=xe,this.route=Be,this.tabIndexAttribute=ft,this.renderer=Ot,this.el=qt,this.locationStrategy=Mi,this.href=null,this.commands=null,this.onChanges=new W.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const vi=qt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===vi||"area"===vi,this.isAnchorElement?this.subscription=xe.events.subscribe(on=>{on instanceof ot&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(xe){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",xe)}ngOnChanges(xe){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(xe){null!=xe?(this.commands=Array.isArray(xe)?xe:[xe],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(xe,Be,ft,Ot,qt){const Mi=this.urlTree;return!!(null===Mi||this.isAnchorElement&&(0!==xe||Be||ft||Ot||qt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Mi,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const xe=this.urlTree;this.href=null!==xe&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(xe)):null;const Be=null===this.href?null:(0,t.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Be)}applyAttributeValue(xe,Be){const ft=this.renderer,Ot=this.el.nativeElement;null!==Be?ft.setAttribute(Ot,xe,Be):ft.removeAttribute(Ot,xe)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Be){return new(Be||ve)(t.rXU(sn),t.rXU(Rr),t.kS0("tabindex"),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(j.hb))};static#t=this.\u0275dir=t.FsC({type:ve,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Be,ft){1&Be&&t.bIt("click",function(qt){return ft.onClick(qt.button,qt.ctrlKey,qt.shiftKey,qt.altKey,qt.metaKey)}),2&Be&&t.BMQ("target",ft.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",t.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",t.L39],replaceUrl:[2,"replaceUrl","replaceUrl",t.L39],routerLink:"routerLink"},standalone:!0,features:[t.GFd,t.OA$]})}return ve})(),Ya=(()=>{class ve{get isActive(){return this._isActive}constructor(xe,Be,ft,Ot,qt){this.router=xe,this.element=Be,this.renderer=ft,this.cdr=Ot,this.link=qt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.bkB,this.routerEventsSubscription=xe.events.subscribe(Mi=>{Mi instanceof ot&&this.update()})}ngAfterContentInit(){(0,l.of)(this.links.changes,(0,l.of)(null)).pipe((0,ne.U)()).subscribe(xe=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const xe=[...this.links.toArray(),this.link].filter(Be=>!!Be).map(Be=>Be.onChanges);this.linkInputChangesSubscription=(0,S.H)(xe).pipe((0,ne.U)()).subscribe(Be=>{this._isActive!==this.isLinkActive(this.router)(Be)&&this.update()})}set routerLinkActive(xe){const Be=Array.isArray(xe)?xe:xe.split(" ");this.classes=Be.filter(ft=>!!ft)}ngOnChanges(xe){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const xe=this.hasActiveLinks();this.classes.forEach(Be=>{xe?this.renderer.addClass(this.element.nativeElement,Be):this.renderer.removeClass(this.element.nativeElement,Be)}),xe&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==xe&&(this._isActive=xe,this.cdr.markForCheck(),this.isActiveChange.emit(xe))})}isLinkActive(xe){const Be=function vc(ve){return!!ve.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ft=>{const Ot=ft.urlTree;return!!Ot&&xe.isActive(Ot,Be)}}hasActiveLinks(){const xe=this.isLinkActive(this.router);return this.link&&xe(this.link)||this.links.some(xe)}static#e=this.\u0275fac=function(Be){return new(Be||ve)(t.rXU(sn),t.rXU(t.aKT),t.rXU(t.sFG),t.rXU(t.gRc),t.rXU(fa,8))};static#t=this.\u0275dir=t.FsC({type:ve,selectors:[["","routerLinkActive",""]],contentQueries:function(Be,ft,Ot){if(1&Be&&t.wni(Ot,fa,5),2&Be){let qt;t.mGM(qt=t.lsd())&&(ft.links=qt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.OA$]})}return ve})();class Ur{}let Wn=(()=>{class ve{constructor(xe,Be,ft,Ot,qt){this.router=xe,this.injector=ft,this.preloadingStrategy=Ot,this.loader=qt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ge.p)(xe=>xe instanceof ot),(0,Te.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(xe,Be){const ft=[];for(const Ot of Be){Ot.providers&&!Ot._injector&&(Ot._injector=(0,t.Ol2)(Ot.providers,xe,`Route: ${Ot.path}`));const qt=Ot._injector??xe,Mi=Ot._loadedInjector??qt;(Ot.loadChildren&&!Ot._loadedRoutes&&void 0===Ot.canLoad||Ot.loadComponent&&!Ot._loadedComponent)&&ft.push(this.preloadConfig(qt,Ot)),(Ot.children||Ot._loadedRoutes)&&ft.push(this.processRoutes(Mi,Ot.children??Ot._loadedRoutes))}return(0,S.H)(ft).pipe((0,ne.U)())}preloadConfig(xe,Be){return this.preloadingStrategy.preload(Be,()=>{let ft;ft=Be.loadChildren&&void 0===Be.canLoad?this.loader.loadChildren(xe,Be):(0,l.of)(null);const Ot=ft.pipe((0,ae.Z)(qt=>null===qt?(0,l.of)(void 0):(Be._loadedRoutes=qt.routes,Be._loadedInjector=qt.injector,this.processRoutes(qt.injector??xe,qt.routes))));if(Be.loadComponent&&!Be._loadedComponent){const qt=this.loader.loadComponent(Be);return(0,S.H)([Ot,qt]).pipe((0,ne.U)())}return Ot})}static#e=this.\u0275fac=function(Be){return new(Be||ve)(t.KVO(sn),t.KVO(t.Ql9),t.KVO(t.uvJ),t.KVO(Ur),t.KVO(nt))};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"})}return ve})();const bc=new t.nKC("");let Rl=(()=>{class ve{constructor(xe,Be,ft,Ot,qt={}){this.urlSerializer=xe,this.transitions=Be,this.viewportScroller=ft,this.zone=Ot,this.options=qt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,t.WQX)(t.uvJ),qt.scrollPositionRestoration||="disabled",qt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(xe=>{xe instanceof Ce?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=xe.navigationTrigger,this.restoredId=xe.restoredState?xe.restoredState.navigationId:0):xe instanceof ot?(this.lastId=xe.id,this.scheduleScrollEvent(xe,this.urlSerializer.parse(xe.urlAfterRedirects).fragment)):xe instanceof Pi&&xe.code===ii.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(xe,this.urlSerializer.parse(xe.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(xe=>{xe instanceof yi&&(xe.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(xe.position):xe.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(xe.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(xe,Be){var ft=this;this.zone.runOutsideAngular((0,e.A)(function*(){yield new Promise(Ot=>{setTimeout(()=>{Ot()}),(0,t.mal)(()=>{Ot()},{injector:ft.environmentInjector})}),ft.zone.run(()=>{ft.transitions.events.next(new yi(xe,"popstate"===ft.lastSource?ft.store[ft.restoredId]:null,Be))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Be){t.QTQ()};static#t=this.\u0275prov=t.jDH({token:ve,factory:ve.\u0275fac})}return ve})();function mo(ve,Pe){return{\u0275kind:ve,\u0275providers:Pe}}function Gi(){const ve=(0,t.WQX)(t.zZn);return Pe=>{const xe=ve.get(t.o8S);if(Pe!==xe.components[0])return;const Be=ve.get(sn),ft=ve.get(Fc);1===ve.get(Ps)&&Be.initialNavigation(),ve.get(Xo,null,t.$GK.Optional)?.setUpPreloading(),ve.get(bc,null,t.$GK.Optional)?.init(),Be.resetRootComponentType(xe.componentTypes[0]),ft.closed||(ft.next(),ft.complete(),ft.unsubscribe())}}const Fc=new t.nKC("",{factory:()=>new W.B}),Ps=new t.nKC("",{providedIn:"root",factory:()=>1}),Xo=new t.nKC("");function Ol(ve){return mo(0,[{provide:Xo,useExisting:Wn},{provide:Ur,useExisting:ve}])}function ba(ve){return mo(9,[{provide:We,useValue:ei},{provide:Dt,useValue:{skipNextTransition:!!ve?.skipInitialTransition,...ve}}])}const Vs=new t.nKC("ROUTER_FORROOT_GUARD"),Ja=[j.aZ,{provide:Yt,useClass:Nt},sn,sr,{provide:Rr,useFactory:function Qr(ve){return ve.routerState.root},deps:[sn]},nt,[]];let En=(()=>{class ve{constructor(xe){}static forRoot(xe,Be){return{ngModule:ve,providers:[Ja,[],{provide:Fs,multi:!0,useValue:xe},{provide:Vs,useFactory:$i,deps:[[sn,new t.Xx1,new t.kdw]]},{provide:ss,useValue:Be||{}},Be?.useHash?{provide:j.hb,useClass:j.fw}:{provide:j.hb,useClass:j.Sm},{provide:bc,useFactory:()=>{const ve=(0,t.WQX)(j.Xr),Pe=(0,t.WQX)(t.SKi),xe=(0,t.WQX)(ss),Be=(0,t.WQX)(an),ft=(0,t.WQX)(Yt);return xe.scrollOffset&&ve.setOffset(xe.scrollOffset),new Rl(ft,Be,ve,Pe,xe)}},Be?.preloadingStrategy?Ol(Be.preloadingStrategy).\u0275providers:[],Be?.initialNavigation?mr(Be):[],Be?.bindToComponentInputs?mo(8,[Co,{provide:Ta,useExisting:Co}]).\u0275providers:[],Be?.enableViewTransitions?ba().\u0275providers:[],[{provide:ca,useFactory:Gi},{provide:t.iLQ,multi:!0,useExisting:ca}]]}}static forChild(xe){return{ngModule:ve,providers:[{provide:Fs,multi:!0,useValue:xe}]}}static#e=this.\u0275fac=function(Be){return new(Be||ve)(t.KVO(Vs,8))};static#t=this.\u0275mod=t.$C({type:ve});static#i=this.\u0275inj=t.G2t({})}return ve})();function $i(ve){return"guarded"}function mr(ve){return["disabled"===ve.initialNavigation?mo(3,[{provide:t.hnV,multi:!0,useFactory:()=>{const Pe=(0,t.WQX)(sn);return()=>{Pe.setUpLocationChangeListener()}}},{provide:Ps,useValue:2}]).\u0275providers:[],"enabledBlocking"===ve.initialNavigation?mo(2,[{provide:Ps,useValue:0},{provide:t.hnV,multi:!0,deps:[t.zZn],useFactory:Pe=>{const xe=Pe.get(j.hj,Promise.resolve());return()=>xe.then(()=>new Promise(Be=>{const ft=Pe.get(sn),Ot=Pe.get(Fc);Cr(ft,()=>{Be(!0)}),Pe.get(an).afterPreactivation=()=>(Be(!0),Ot.closed?(0,l.of)(void 0):Ot),ft.initialNavigation()}))}}]).\u0275providers:[]]}const ca=new t.nKC("")},60:(Qe,te,g)=>{"use strict";g.d(te,{aY:()=>Os,dX:()=>Fs});var e=g(4438),t=g(177);function w(nt,Rt){var kt=Object.keys(nt);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(nt);Rt&&(Z=Z.filter(function(Ve){return Object.getOwnPropertyDescriptor(nt,Ve).enumerable})),kt.push.apply(kt,Z)}return kt}function S(nt){for(var Rt=1;Rt<arguments.length;Rt++){var kt=null!=arguments[Rt]?arguments[Rt]:{};Rt%2?w(Object(kt),!0).forEach(function(Z){T(nt,Z,kt[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(nt,Object.getOwnPropertyDescriptors(kt)):w(Object(kt)).forEach(function(Z){Object.defineProperty(nt,Z,Object.getOwnPropertyDescriptor(kt,Z))})}return nt}function l(nt){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Rt){return typeof Rt}:function(Rt){return Rt&&"function"==typeof Symbol&&Rt.constructor===Symbol&&Rt!==Symbol.prototype?"symbol":typeof Rt})(nt)}function I(nt,Rt){for(var kt=0;kt<Rt.length;kt++){var Z=Rt[kt];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(nt,Z.key,Z)}}function T(nt,Rt,kt){return Rt in nt?Object.defineProperty(nt,Rt,{value:kt,enumerable:!0,configurable:!0,writable:!0}):nt[Rt]=kt,nt}function R(nt,Rt){return function $(nt){if(Array.isArray(nt))return nt}(nt)||function Q(nt,Rt){var kt=null==nt?null:typeof Symbol<"u"&&nt[Symbol.iterator]||nt["@@iterator"];if(null!=kt){var We,Dt,Z=[],Ve=!0,De=!1;try{for(kt=kt.call(nt);!(Ve=(We=kt.next()).done)&&(Z.push(We.value),!Rt||Z.length!==Rt);Ve=!0);}catch(ei){De=!0,Dt=ei}finally{try{!Ve&&null!=kt.return&&kt.return()}finally{if(De)throw Dt}}return Z}}(nt,Rt)||J(nt,Rt)||function ge(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(nt){return function W(nt){if(Array.isArray(nt))return ee(nt)}(nt)||function j(nt){if(typeof Symbol<"u"&&null!=nt[Symbol.iterator]||null!=nt["@@iterator"])return Array.from(nt)}(nt)||J(nt)||function ie(){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 J(nt,Rt){if(nt){if("string"==typeof nt)return ee(nt,Rt);var kt=Object.prototype.toString.call(nt).slice(8,-1);if("Object"===kt&&nt.constructor&&(kt=nt.constructor.name),"Map"===kt||"Set"===kt)return Array.from(nt);if("Arguments"===kt||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(kt))return ee(nt,Rt)}}function ee(nt,Rt){(null==Rt||Rt>nt.length)&&(Rt=nt.length);for(var kt=0,Z=new Array(Rt);kt<Rt;kt++)Z[kt]=nt[kt];return Z}var ae=function(){},Me={},Te={},de=null,D={mark:ae,measure:ae};try{typeof window<"u"&&(Me=window),typeof document<"u"&&(Te=document),typeof MutationObserver<"u"&&(de=MutationObserver),typeof performance<"u"&&(D=performance)}catch{}var V,N,ne,Ee,ze,c=(Me.navigator||{}).userAgent,m=void 0===c?"":c,h=Me,C=Te,k=de,L=D,r=!!C.documentElement&&!!C.head&&"function"==typeof C.addEventListener&&"function"==typeof C.createElement,v=~m.indexOf("MSIE")||~m.indexOf("Trident/"),qe="___FONT_AWESOME___",se="fa",X="svg-inline--fa",me="data-fa-i2svg",ce="data-fa-pseudo-element",fe="data-fa-pseudo-element-pending",ke="data-prefix",mt="data-icon",_e="fontawesome-i2svg",be="async",pe=["HTML","HEAD","STYLE","SCRIPT"],Ze=function(){try{return!0}catch{return!1}}(),_t="classic",at="sharp",pt=[_t,at];function Xt(nt){return new Proxy(nt,{get:function(kt,Z){return Z in kt?kt[Z]:kt[_t]}})}var ye=Xt((T(V={},_t,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),T(V,at,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),V)),ue=Xt((T(N={},_t,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),T(N,at,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),N)),Ie=Xt((T(ne={},_t,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),T(ne,at,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),ne)),He=Xt((T(Ee={},_t,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),T(Ee,at,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Ee)),Xe=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,yt="fa-layers-text",Ye=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,rt=Xt((T(ze={},_t,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),T(ze,at,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),ze)),Yt=[1,2,3,4,5,6,7,8,9,10],Nt=Yt.concat([11,12,13,14,15,16,17,18,19,20]),Et=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Vt={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},oe=new Set;Object.keys(ue[_t]).map(oe.add.bind(oe)),Object.keys(ue[at]).map(oe.add.bind(oe));var tt=[].concat(pt,z(oe),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Vt.GROUP,Vt.SWAP_OPACITY,Vt.PRIMARY,Vt.SECONDARY]).concat(Yt.map(function(nt){return"".concat(nt,"x")})).concat(Nt.map(function(nt){return"w-".concat(nt)})),$t=h.FontAwesomeConfig||{};C&&"function"==typeof C.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(nt){var Rt=R(nt,2),Z=Rt[1],Ve=function Jt(nt){return""===nt||"false"!==nt&&("true"===nt||nt)}(function zt(nt){var Rt=C.querySelector("script["+nt+"]");if(Rt)return Rt.getAttribute(nt)}(Rt[0]));null!=Ve&&($t[Z]=Ve)});var dt={styleDefault:"solid",familyDefault:"classic",cssPrefix:se,replacementClass:X,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$t.familyPrefix&&($t.cssPrefix=$t.familyPrefix);var Ae=S(S({},dt),$t);Ae.autoReplaceSvg||(Ae.observeMutations=!1);var we={};Object.keys(dt).forEach(function(nt){Object.defineProperty(we,nt,{enumerable:!0,set:function(kt){Ae[nt]=kt,he.forEach(function(Z){return Z(we)})},get:function(){return Ae[nt]}})}),Object.defineProperty(we,"familyPrefix",{enumerable:!0,set:function(Rt){Ae.cssPrefix=Rt,he.forEach(function(kt){return kt(we)})},get:function(){return Ae.cssPrefix}}),h.FontAwesomeConfig=we;var he=[],Ne={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},$e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Fe(){for(var nt=12,Rt="";nt-- >0;)Rt+=$e[62*Math.random()|0];return Rt}function Ge(nt){for(var Rt=[],kt=(nt||[]).length>>>0;kt--;)Rt[kt]=nt[kt];return Rt}function et(nt){return nt.classList?Ge(nt.classList):(nt.getAttribute("class")||"").split(" ").filter(function(Rt){return Rt})}function st(nt){return"".concat(nt).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function mi(nt){return Object.keys(nt||{}).reduce(function(Rt,kt){return Rt+"".concat(kt,": ").concat(nt[kt].trim(),";")},"")}function Kt(nt){return nt.size!==Ne.size||nt.x!==Ne.x||nt.y!==Ne.y||nt.rotate!==Ne.rotate||nt.flipX||nt.flipY}var di=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function fi(){var nt=se,Rt=X,kt=we.cssPrefix,Z=we.replacementClass,Ve=di;if(kt!==nt||Z!==Rt){var De=new RegExp("\\.".concat(nt,"\\-"),"g"),We=new RegExp("\\--".concat(nt,"\\-"),"g"),Dt=new RegExp("\\.".concat(Rt),"g");Ve=Ve.replace(De,".".concat(kt,"-")).replace(We,"--".concat(kt,"-")).replace(Dt,".".concat(Z))}return Ve}var vn=!1;function Qi(){we.autoAddCss&&!vn&&(function gt(nt){if(nt&&r){var Rt=C.createElement("style");Rt.setAttribute("type","text/css"),Rt.innerHTML=nt;for(var kt=C.head.childNodes,Z=null,Ve=kt.length-1;Ve>-1;Ve--){var De=kt[Ve],We=(De.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(We)>-1&&(Z=De)}C.head.insertBefore(Rt,Z)}}(fi()),vn=!0)}var Li={mixout:function(){return{dom:{css:fi,insertCss:Qi}}},hooks:function(){return{beforeDOMElementCreation:function(){Qi()},beforeI2svg:function(){Qi()}}}},Zi=h||{};Zi[qe]||(Zi[qe]={}),Zi[qe].styles||(Zi[qe].styles={}),Zi[qe].hooks||(Zi[qe].hooks={}),Zi[qe].shims||(Zi[qe].shims=[]);var Qt=Zi[qe],Mt=[],ct=!1;function Ut(nt){var Rt=nt.tag,kt=nt.attributes,Z=void 0===kt?{}:kt,Ve=nt.children,De=void 0===Ve?[]:Ve;return"string"==typeof nt?st(nt):"<".concat(Rt," ").concat(function Tt(nt){return Object.keys(nt||{}).reduce(function(Rt,kt){return Rt+"".concat(kt,'="').concat(st(nt[kt]),'" ')},"").trim()}(Z),">").concat(De.map(Ut).join(""),"</").concat(Rt,">")}function xi(nt,Rt,kt){if(nt&&nt[Rt]&&nt[Rt][kt])return{prefix:Rt,iconName:kt,icon:nt[Rt][kt]}}r&&((ct=(C.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(C.readyState))||C.addEventListener("DOMContentLoaded",function nt(){C.removeEventListener("DOMContentLoaded",nt),ct=1,Mt.map(function(Rt){return Rt()})}));var zi=function(Rt,kt,Z,Ve){var ei,pi,Di,De=Object.keys(Rt),We=De.length,Dt=void 0!==Ve?function(Rt,kt){return function(Z,Ve,De,We){return Rt.call(kt,Z,Ve,De,We)}}(kt,Ve):kt;for(void 0===Z?(ei=1,Di=Rt[De[0]]):(ei=0,Di=Z);ei<We;ei++)Di=Dt(Di,Rt[pi=De[ei]],pi,Rt);return Di};function Ni(nt){var Rt=function en(nt){for(var Rt=[],kt=0,Z=nt.length;kt<Z;){var Ve=nt.charCodeAt(kt++);if(Ve>=55296&&Ve<=56319&&kt<Z){var De=nt.charCodeAt(kt++);56320==(64512&De)?Rt.push(((1023&Ve)<<10)+(1023&De)+65536):(Rt.push(Ve),kt--)}else Rt.push(Ve)}return Rt}(nt);return 1===Rt.length?Rt[0].toString(16):null}function Zt(nt){return Object.keys(nt).reduce(function(Rt,kt){var Z=nt[kt];return Z.icon?Rt[Z.iconName]=Z.icon:Rt[kt]=Z,Rt},{})}function bt(nt,Rt){var Z=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,Ve=void 0!==Z&&Z,De=Zt(Rt);"function"!=typeof Qt.hooks.addPack||Ve?Qt.styles[nt]=S(S({},Qt.styles[nt]||{}),De):Qt.hooks.addPack(nt,Zt(Rt)),"fas"===nt&&bt("fa",Rt)}var je,Ce,ot,ut=Qt.styles,ii=Qt.shims,si=(T(je={},_t,Object.values(Ie[_t])),T(je,at,Object.values(Ie[at])),je),Pi=null,mn={},Fn={},$n={},Yn={},Qn={},rr=(T(Ce={},_t,Object.keys(ye[_t])),T(Ce,at,Object.keys(ye[at])),Ce);var Oi=function(){var Rt=function(De){return zi(ut,function(We,Dt,ei){return We[ei]=zi(Dt,De,{}),We},{})};mn=Rt(function(Ve,De,We){return De[3]&&(Ve[De[3]]=We),De[2]&&De[2].filter(function(ei){return"number"==typeof ei}).forEach(function(ei){Ve[ei.toString(16)]=We}),Ve}),Fn=Rt(function(Ve,De,We){return Ve[We]=We,De[2]&&De[2].filter(function(ei){return"string"==typeof ei}).forEach(function(ei){Ve[ei]=We}),Ve}),Qn=Rt(function(Ve,De,We){var Dt=De[2];return Ve[We]=We,Dt.forEach(function(ei){Ve[ei]=We}),Ve});var kt="far"in ut||we.autoFetchSvg,Z=zi(ii,function(Ve,De){var We=De[0],Dt=De[1],ei=De[2];return"far"===Dt&&!kt&&(Dt="fas"),"string"==typeof We&&(Ve.names[We]={prefix:Dt,iconName:ei}),"number"==typeof We&&(Ve.unicodes[We.toString(16)]={prefix:Dt,iconName:ei}),Ve},{names:{},unicodes:{}});$n=Z.names,Yn=Z.unicodes,Pi=ar(we.styleDefault,{family:we.familyDefault})};function jt(nt,Rt){return(mn[nt]||{})[Rt]}function hi(nt,Rt){return(Qn[nt]||{})[Rt]}function yi(nt){return $n[nt]||{prefix:null,iconName:null}}function ji(){return Pi}(function q(nt){he.push(nt)})(function(nt){Pi=ar(nt.styleDefault,{family:we.familyDefault})}),Oi();var rn=function(){return{prefix:null,iconName:null,rest:[]}};function ar(nt){var kt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,Z=void 0===kt?_t:kt;return ue[Z][nt]||ue[Z][ye[Z][nt]]||(nt in Qt.styles?nt:null)||null}var sr=(T(ot={},_t,Object.keys(Ie[_t])),T(ot,at,Object.keys(Ie[at])),ot);function nr(nt){var Rt,Z=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Ve=void 0!==Z&&Z,De=(T(Rt={},_t,"".concat(we.cssPrefix,"-").concat(_t)),T(Rt,at,"".concat(we.cssPrefix,"-").concat(at)),Rt),We=null,Dt=_t;(nt.includes(De[_t])||nt.some(function(pi){return sr[_t].includes(pi)}))&&(Dt=_t),(nt.includes(De[at])||nt.some(function(pi){return sr[at].includes(pi)}))&&(Dt=at);var ei=nt.reduce(function(pi,Di){var an=function _i(nt,Rt){var kt=Rt.split("-"),Z=kt[0],Ve=kt.slice(1).join("-");return Z!==nt||""===Ve||function Rn(nt){return~tt.indexOf(nt)}(Ve)?null:Ve}(we.cssPrefix,Di);if(ut[Di]?(Di=si[Dt].includes(Di)?He[Dt][Di]:Di,We=Di,pi.prefix=Di):rr[Dt].indexOf(Di)>-1?(We=Di,pi.prefix=ar(Di,{family:Dt})):an?pi.iconName=an:Di!==we.replacementClass&&Di!==De[_t]&&Di!==De[at]&&pi.rest.push(Di),!Ve&&pi.prefix&&pi.iconName){var gn="fa"===We?yi(pi.iconName):{},yn=hi(pi.prefix,pi.iconName);gn.prefix&&(We=null),pi.iconName=gn.iconName||yn||pi.iconName,pi.prefix=gn.prefix||pi.prefix,"far"===pi.prefix&&!ut.far&&ut.fas&&!we.autoFetchSvg&&(pi.prefix="fas")}return pi},rn());return(nt.includes("fa-brands")||nt.includes("fab"))&&(ei.prefix="fab"),(nt.includes("fa-duotone")||nt.includes("fad"))&&(ei.prefix="fad"),!ei.prefix&&Dt===at&&(ut.fass||we.autoFetchSvg)&&(ei.prefix="fass",ei.iconName=hi(ei.prefix,ei.iconName)||ei.iconName),("fa"===ei.prefix||"fa"===We)&&(ei.prefix=ji()||"fas"),ei}var or=function(){function nt(){(function f(nt,Rt){if(!(nt instanceof Rt))throw new TypeError("Cannot call a class as a function")})(this,nt),this.definitions={}}return function d(nt,Rt,kt){Rt&&I(nt.prototype,Rt),kt&&I(nt,kt),Object.defineProperty(nt,"prototype",{writable:!1})}(nt,[{key:"add",value:function(){for(var kt=this,Z=arguments.length,Ve=new Array(Z),De=0;De<Z;De++)Ve[De]=arguments[De];var We=Ve.reduce(this._pullDefinitions,{});Object.keys(We).forEach(function(Dt){kt.definitions[Dt]=S(S({},kt.definitions[Dt]||{}),We[Dt]),bt(Dt,We[Dt]);var ei=Ie[_t][Dt];ei&&bt(ei,We[Dt]),Oi()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(kt,Z){var Ve=Z.prefix&&Z.iconName&&Z.icon?{0:Z}:Z;return Object.keys(Ve).map(function(De){var We=Ve[De],Dt=We.prefix,ei=We.iconName,pi=We.icon,Di=pi[2];kt[Dt]||(kt[Dt]={}),Di.length>0&&Di.forEach(function(an){"string"==typeof an&&(kt[Dt][an]=pi)}),kt[Dt][ei]=pi}),kt}}]),nt}(),Xr=[],Sr={},zr={},Ho=Object.keys(zr);function is(nt,Rt){for(var kt=arguments.length,Z=new Array(kt>2?kt-2:0),Ve=2;Ve<kt;Ve++)Z[Ve-2]=arguments[Ve];return(Sr[nt]||[]).forEach(function(We){Rt=We.apply(null,[Rt].concat(Z))}),Rt}function Rr(nt){for(var Rt=arguments.length,kt=new Array(Rt>1?Rt-1:0),Z=1;Z<Rt;Z++)kt[Z-1]=arguments[Z];(Sr[nt]||[]).forEach(function(De){De.apply(null,kt)})}function Ma(){var nt=arguments[0],Rt=Array.prototype.slice.call(arguments,1);return zr[nt]?zr[nt].apply(null,Rt):void 0}function Ea(nt){"fa"===nt.prefix&&(nt.prefix="fas");var Rt=nt.iconName,kt=nt.prefix||ji();if(Rt)return Rt=hi(kt,Rt)||Rt,xi(no.definitions,kt,Rt)||xi(Qt.styles,kt,Rt)}var no=new or,xr={i2svg:function(){var Rt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r?(Rr("beforeI2svg",Rt),Ma("pseudoElements2svg",Rt),Ma("i2svg",Rt)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var Rt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},kt=Rt.autoReplaceSvgRoot;!1===we.autoReplaceSvg&&(we.autoReplaceSvg=!0),we.observeMutations=!0,function wt(nt){r&&(ct?setTimeout(nt,0):Mt.push(nt))}(function(){ro({autoReplaceSvgRoot:kt}),Rr("watch",Rt)})}},zn={noAuto:function(){we.autoReplaceSvg=!1,we.observeMutations=!1,Rr("noAuto")},config:we,dom:xr,parse:{icon:function(Rt){if(null===Rt)return null;if("object"===l(Rt)&&Rt.prefix&&Rt.iconName)return{prefix:Rt.prefix,iconName:hi(Rt.prefix,Rt.iconName)||Rt.iconName};if(Array.isArray(Rt)&&2===Rt.length){var kt=0===Rt[1].indexOf("fa-")?Rt[1].slice(3):Rt[1],Z=ar(Rt[0]);return{prefix:Z,iconName:hi(Z,kt)||kt}}if("string"==typeof Rt&&(Rt.indexOf("".concat(we.cssPrefix,"-"))>-1||Rt.match(Xe))){var Ve=nr(Rt.split(" "),{skipLookups:!0});return{prefix:Ve.prefix||ji(),iconName:hi(Ve.prefix,Ve.iconName)||Ve.iconName}}if("string"==typeof Rt){var De=ji();return{prefix:De,iconName:hi(De,Rt)||Rt}}}},library:no,findIconDefinition:Ea,toHtml:Ut},ro=function(){var kt=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,Z=void 0===kt?C:kt;(Object.keys(Qt.styles).length>0||we.autoFetchSvg)&&r&&we.autoReplaceSvg&&zn.dom.i2svg({node:Z})};function hn(nt,Rt){return Object.defineProperty(nt,"abstract",{get:Rt}),Object.defineProperty(nt,"html",{get:function(){return nt.abstract.map(function(Z){return Ut(Z)})}}),Object.defineProperty(nt,"node",{get:function(){if(r){var Z=C.createElement("div");return Z.innerHTML=nt.html,Z.children}}}),nt}function Co(nt){var Rt=nt.icons,kt=Rt.main,Z=Rt.mask,Ve=nt.prefix,De=nt.iconName,We=nt.transform,Dt=nt.symbol,ei=nt.title,pi=nt.maskId,Di=nt.titleId,an=nt.extra,gn=nt.watchable,yn=void 0!==gn&&gn,Dn=Z.found?Z:kt,hr=Dn.width,ir=Dn.height,br="fak"===Ve,gr=[we.replacementClass,De?"".concat(we.cssPrefix,"-").concat(De):""].filter(function($r){return-1===an.classes.indexOf($r)}).filter(function($r){return""!==$r||!!$r}).concat(an.classes).join(" "),Cr={children:[],attributes:S(S({},an.attributes),{},{"data-prefix":Ve,"data-icon":De,class:gr,role:an.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(hr," ").concat(ir)})},sa=br&&!~an.classes.indexOf("fa-fw")?{width:"".concat(hr/ir*16*.0625,"em")}:{};yn&&(Cr.attributes[me]=""),ei&&(Cr.children.push({tag:"title",attributes:{id:Cr.attributes["aria-labelledby"]||"title-".concat(Di||Fe())},children:[ei]}),delete Cr.attributes.title);var Hn=S(S({},Cr),{},{prefix:Ve,iconName:De,main:kt,mask:Z,maskId:pi,transform:We,symbol:Dt,styles:S(S({},sa),an.styles)}),Bi=Z.found&&kt.found?Ma("generateAbstractMask",Hn)||{children:[],attributes:{}}:Ma("generateAbstractIcon",Hn)||{children:[],attributes:{}},fr=Bi.attributes;return Hn.children=Bi.children,Hn.attributes=fr,Dt?function Ta(nt){var kt=nt.iconName,Z=nt.children,Ve=nt.attributes,De=nt.symbol,We=!0===De?"".concat(nt.prefix,"-").concat(we.cssPrefix,"-").concat(kt):De;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:S(S({},Ve),{},{id:We}),children:Z}]}]}(Hn):function Yr(nt){var Rt=nt.children,kt=nt.main,Z=nt.mask,Ve=nt.attributes,De=nt.styles,We=nt.transform;if(Kt(We)&&kt.found&&!Z.found){var pi={x:kt.width/kt.height/2,y:.5};Ve.style=mi(S(S({},De),{},{"transform-origin":"".concat(pi.x+We.x/16,"em ").concat(pi.y+We.y/16,"em")}))}return[{tag:"svg",attributes:Ve,children:Rt}]}(Hn)}function wo(nt){var Rt=nt.content,kt=nt.width,Z=nt.height,Ve=nt.transform,De=nt.title,We=nt.extra,Dt=nt.watchable,ei=void 0!==Dt&&Dt,pi=S(S(S({},We.attributes),De?{title:De}:{}),{},{class:We.classes.join(" ")});ei&&(pi[me]="");var Di=S({},We.styles);Kt(Ve)&&(Di.transform=function Xi(nt){var Rt=nt.transform,kt=nt.width,Ve=nt.height,De=void 0===Ve?16:Ve,We=nt.startCentered,Dt=void 0!==We&&We,ei="";return ei+=Dt&&v?"translate(".concat(Rt.x/16-(void 0===kt?16:kt)/2,"em, ").concat(Rt.y/16-De/2,"em) "):Dt?"translate(calc(-50% + ".concat(Rt.x/16,"em), calc(-50% + ").concat(Rt.y/16,"em)) "):"translate(".concat(Rt.x/16,"em, ").concat(Rt.y/16,"em) "),(ei+="scale(".concat(Rt.size/16*(Rt.flipX?-1:1),", ").concat(Rt.size/16*(Rt.flipY?-1:1),") "))+"rotate(".concat(Rt.rotate,"deg) ")}({transform:Ve,startCentered:!0,width:kt,height:Z}),Di["-webkit-transform"]=Di.transform);var an=mi(Di);an.length>0&&(pi.style=an);var gn=[];return gn.push({tag:"span",attributes:pi,children:[Rt]}),De&&gn.push({tag:"span",attributes:{class:"sr-only"},children:[De]}),gn}var da=Qt.styles;function ao(nt){var Rt=nt[0],kt=nt[1],De=R(nt.slice(4),1)[0];return{found:!0,width:Rt,height:kt,icon:Array.isArray(De)?{tag:"g",attributes:{class:"".concat(we.cssPrefix,"-").concat(Vt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(we.cssPrefix,"-").concat(Vt.SECONDARY),fill:"currentColor",d:De[0]}},{tag:"path",attributes:{class:"".concat(we.cssPrefix,"-").concat(Vt.PRIMARY),fill:"currentColor",d:De[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:De}}}}var Oa={found:!1,width:512,height:512};function Fa(nt,Rt){var kt=Rt;return"fa"===Rt&&null!==we.styleDefault&&(Rt=ji()),new Promise(function(Z,Ve){if(Ma("missingIconAbstract"),"fa"===kt){var We=yi(nt)||{};nt=We.iconName||nt,Rt=We.prefix||Rt}if(nt&&Rt&&da[Rt]&&da[Rt][nt])return Z(ao(da[Rt][nt]));(function ns(nt,Rt){!Ze&&!we.showMissingIcons&&nt&&console.error('Icon with name "'.concat(nt,'" and prefix "').concat(Rt,'" is missing.'))})(nt,Rt),Z(S(S({},Oa),{},{icon:we.showMissingIcons&&nt&&Ma("missingIconAbstract")||{}}))})}var Ro=function(){},kr=we.measurePerformance&&L&&L.mark&&L.measure?L:{mark:Ro,measure:Ro},ha='FA "6.5.2"',Ua=function(Rt){kr.mark("".concat(ha," ").concat(Rt," ends")),kr.measure("".concat(ha," ").concat(Rt),"".concat(ha," ").concat(Rt," begins"),"".concat(ha," ").concat(Rt," ends"))},rs={begin:function(Rt){return kr.mark("".concat(ha," ").concat(Rt," begins")),function(){return Ua(Rt)}},end:Ua},Ga=function(){};function Na(nt){return"string"==typeof(nt.getAttribute?nt.getAttribute(me):null)}function uo(nt){return C.createElementNS("http://www.w3.org/2000/svg",nt)}function ga(nt){return C.createElement(nt)}function Za(nt){var kt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,Z=void 0===kt?"svg"===nt.tag?uo:ga:kt;if("string"==typeof nt)return C.createTextNode(nt);var Ve=Z(nt.tag);return Object.keys(nt.attributes||[]).forEach(function(We){Ve.setAttribute(We,nt.attributes[We])}),(nt.children||[]).forEach(function(We){Ve.appendChild(Za(We,{ceFn:Z}))}),Ve}var _a={replace:function(Rt){var kt=Rt[0];if(kt.parentNode)if(Rt[1].forEach(function(Ve){kt.parentNode.insertBefore(Za(Ve),kt)}),null===kt.getAttribute(me)&&we.keepOriginalSource){var Z=C.createComment(function Lr(nt){var Rt=" ".concat(nt.outerHTML," ");return"".concat(Rt,"Font Awesome fontawesome.com ")}(kt));kt.parentNode.replaceChild(Z,kt)}else kt.remove()},nest:function(Rt){var kt=Rt[0],Z=Rt[1];if(~et(kt).indexOf(we.replacementClass))return _a.replace(Rt);var Ve=new RegExp("".concat(we.cssPrefix,"-.*"));if(delete Z[0].attributes.id,Z[0].attributes.class){var De=Z[0].attributes.class.split(" ").reduce(function(Dt,ei){return ei===we.replacementClass||ei.match(Ve)?Dt.toSvg.push(ei):Dt.toNode.push(ei),Dt},{toNode:[],toSvg:[]});Z[0].attributes.class=De.toSvg.join(" "),0===De.toNode.length?kt.removeAttribute("class"):kt.setAttribute("class",De.toNode.join(" "))}var We=Z.map(function(Dt){return Ut(Dt)}).join("\n");kt.setAttribute(me,""),kt.innerHTML=We}};function Oo(nt){nt()}function qr(nt,Rt){var kt="function"==typeof Rt?Rt:Ga;if(0===nt.length)kt();else{var Z=Oo;we.mutateApproach===be&&(Z=h.requestAnimationFrame||Oo),Z(function(){var Ve=function Uo(){return!0===we.autoReplaceSvg?_a.replace:_a[we.autoReplaceSvg]||_a.replace}(),De=rs.begin("mutate");nt.map(Ve),De(),kt()})}}var Bn=!1;function Da(){Bn=!0}function Go(){Bn=!1}var Wa=null;function as(nt){if(k&&we.observeMutations){var Rt=nt.treeCallback,kt=void 0===Rt?Ga:Rt,Z=nt.nodeCallback,Ve=void 0===Z?Ga:Z,De=nt.pseudoElementsCallback,We=void 0===De?Ga:De,Dt=nt.observeMutationsRoot,ei=void 0===Dt?C:Dt;Wa=new k(function(pi){if(!Bn){var Di=ji();Ge(pi).forEach(function(an){if("childList"===an.type&&an.addedNodes.length>0&&!Na(an.addedNodes[0])&&(we.searchPseudoElements&&We(an.target),kt(an.target)),"attributes"===an.type&&an.target.parentNode&&we.searchPseudoElements&&We(an.target.parentNode),"attributes"===an.type&&Na(an.target)&&~Et.indexOf(an.attributeName))if("class"===an.attributeName&&function ja(nt){var Rt=nt.getAttribute?nt.getAttribute(ke):null,kt=nt.getAttribute?nt.getAttribute(mt):null;return Rt&&kt}(an.target)){var gn=nr(et(an.target)),Dn=gn.iconName;an.target.setAttribute(ke,gn.prefix||Di),Dn&&an.target.setAttribute(mt,Dn)}else(function Bo(nt){return nt&&nt.classList&&nt.classList.contains&&nt.classList.contains(we.replacementClass)})(an.target)&&Ve(an.target)})}}),r&&Wa.observe(ei,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ki(nt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},kt=function xt(nt){var Rt=nt.getAttribute("data-prefix"),kt=nt.getAttribute("data-icon"),Z=void 0!==nt.innerText?nt.innerText.trim():"",Ve=nr(et(nt));return Ve.prefix||(Ve.prefix=ji()),Rt&&kt&&(Ve.prefix=Rt,Ve.iconName=kt),Ve.iconName&&Ve.prefix||(Ve.prefix&&Z.length>0&&(Ve.iconName=function Ci(nt,Rt){return(Fn[nt]||{})[Rt]}(Ve.prefix,nt.innerText)||jt(Ve.prefix,Ni(nt.innerText))),!Ve.iconName&&we.autoFetchSvg&&nt.firstChild&&nt.firstChild.nodeType===Node.TEXT_NODE&&(Ve.iconName=nt.firstChild.data)),Ve}(nt),Z=kt.iconName,Ve=kt.prefix,De=kt.rest,We=function ai(nt){var Rt=Ge(nt.attributes).reduce(function(Ve,De){return"class"!==Ve.name&&"style"!==Ve.name&&(Ve[De.name]=De.value),Ve},{}),kt=nt.getAttribute("title"),Z=nt.getAttribute("data-fa-title-id");return we.autoA11y&&(kt?Rt["aria-labelledby"]="".concat(we.replacementClass,"-title-").concat(Z||Fe()):(Rt["aria-hidden"]="true",Rt.focusable="false")),Rt}(nt),Dt=is("parseNodeAttributes",{},nt),ei=Rt.styleParser?function ri(nt){var Rt=nt.getAttribute("style"),kt=[];return Rt&&(kt=Rt.split(";").reduce(function(Z,Ve){var De=Ve.split(":"),We=De[0],Dt=De.slice(1);return We&&Dt.length>0&&(Z[We]=Dt.join(":").trim()),Z},{})),kt}(nt):[];return S({iconName:Z,title:nt.getAttribute("title"),titleId:nt.getAttribute("data-fa-title-id"),prefix:Ve,transform:Ne,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:De,styles:ei,attributes:We}},Dt)}var tr=Qt.styles;function Or(nt){var Rt="nest"===we.autoReplaceSvg?Ki(nt,{styleParser:!1}):Ki(nt);return~Rt.extra.classes.indexOf(yt)?Ma("generateLayersText",nt,Rt):Ma("generateSvgReplacementMutation",nt,Rt)}var Fr=new Set;function Mo(nt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!r)return Promise.resolve();var kt=C.documentElement.classList,Z=function(an){return kt.add("".concat(_e,"-").concat(an))},Ve=function(an){return kt.remove("".concat(_e,"-").concat(an))},De=we.autoFetchSvg?Fr:pt.map(function(Di){return"fa-".concat(Di)}).concat(Object.keys(tr));De.includes("fa")||De.push("fa");var We=[".".concat(yt,":not([").concat(me,"])")].concat(De.map(function(Di){return".".concat(Di,":not([").concat(me,"])")})).join(", ");if(0===We.length)return Promise.resolve();var Dt=[];try{Dt=Ge(nt.querySelectorAll(We))}catch{}if(!(Dt.length>0))return Promise.resolve();Z("pending"),Ve("complete");var ei=rs.begin("onTree"),pi=Dt.reduce(function(Di,an){try{var gn=Or(an);gn&&Di.push(gn)}catch(yn){Ze||"MissingIcon"===yn.name&&console.error(yn)}return Di},[]);return new Promise(function(Di,an){Promise.all(pi).then(function(gn){qr(gn,function(){Z("active"),Z("complete"),Ve("pending"),"function"==typeof Rt&&Rt(),ei(),Di()})}).catch(function(gn){ei(),an(gn)})})}function gs(nt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Or(nt).then(function(kt){kt&&qr([kt],Rt)})}pt.map(function(nt){Fr.add("fa-".concat(nt))}),Object.keys(ye[_t]).map(Fr.add.bind(Fr)),Object.keys(ye[at]).map(Fr.add.bind(Fr)),Fr=z(Fr);var Ms=function(Rt){var kt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Z=kt.transform,Ve=void 0===Z?Ne:Z,De=kt.symbol,We=void 0!==De&&De,Dt=kt.mask,ei=void 0===Dt?null:Dt,pi=kt.maskId,Di=void 0===pi?null:pi,an=kt.title,gn=void 0===an?null:an,yn=kt.titleId,Dn=void 0===yn?null:yn,hr=kt.classes,ir=void 0===hr?[]:hr,br=kt.attributes,gr=void 0===br?{}:br,Cr=kt.styles,sa=void 0===Cr?{}:Cr;if(Rt){var Hn=Rt.prefix,Bi=Rt.iconName,sn=Rt.icon;return hn(S({type:"icon"},Rt),function(){return Rr("beforeDOMElementCreation",{iconDefinition:Rt,params:kt}),we.autoA11y&&(gn?gr["aria-labelledby"]="".concat(we.replacementClass,"-title-").concat(Dn||Fe()):(gr["aria-hidden"]="true",gr.focusable="false")),Co({icons:{main:ao(sn),mask:ei?ao(ei.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Hn,iconName:Bi,transform:S(S({},Ne),Ve),symbol:We,title:gn,maskId:Di,titleId:Dn,extra:{attributes:gr,styles:sa,classes:ir}})})}},oa={mixout:function(){return{icon:(nt=Ms,function(Rt){var kt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Z=(Rt||{}).icon?Rt:Ea(Rt||{}),Ve=kt.mask;return Ve&&(Ve=(Ve||{}).icon?Ve:Ea(Ve||{})),nt(Z,S(S({},kt),{},{mask:Ve}))})};var nt},hooks:function(){return{mutationObserverCallbacks:function(kt){return kt.treeCallback=Mo,kt.nodeCallback=gs,kt}}},provides:function(Rt){Rt.i2svg=function(kt){var Z=kt.node,De=kt.callback;return Mo(void 0===Z?C:Z,void 0===De?function(){}:De)},Rt.generateSvgReplacementMutation=function(kt,Z){var Ve=Z.iconName,De=Z.title,We=Z.titleId,Dt=Z.prefix,ei=Z.transform,pi=Z.symbol,Di=Z.mask,an=Z.maskId,gn=Z.extra;return new Promise(function(yn,Dn){Promise.all([Fa(Ve,Dt),Di.iconName?Fa(Di.iconName,Di.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(hr){var ir=R(hr,2);yn([kt,Co({icons:{main:ir[0],mask:ir[1]},prefix:Dt,iconName:Ve,transform:ei,symbol:pi,maskId:an,title:De,titleId:We,extra:gn,watchable:!0})])}).catch(Dn)})},Rt.generateAbstractIcon=function(kt){var pi,Z=kt.children,Ve=kt.attributes,De=kt.main,We=kt.transform,ei=mi(kt.styles);return ei.length>0&&(Ve.style=ei),Kt(We)&&(pi=Ma("generateAbstractTransformGrouping",{main:De,transform:We,containerWidth:De.width,iconWidth:De.width})),Z.push(pi||De.icon),{children:Z,attributes:Ve}}}},Ri={mixout:function(){return{layer:function(kt){var Z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ve=Z.classes,De=void 0===Ve?[]:Ve;return hn({type:"layer"},function(){Rr("beforeDOMElementCreation",{assembler:kt,params:Z});var We=[];return kt(function(Dt){Array.isArray(Dt)?Dt.map(function(ei){We=We.concat(ei.abstract)}):We=We.concat(Dt.abstract)}),[{tag:"span",attributes:{class:["".concat(we.cssPrefix,"-layers")].concat(z(De)).join(" ")},children:We}]})}}}},lt={mixout:function(){return{counter:function(kt){var Z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ve=Z.title,De=void 0===Ve?null:Ve,We=Z.classes,Dt=void 0===We?[]:We,ei=Z.attributes,pi=void 0===ei?{}:ei,Di=Z.styles,an=void 0===Di?{}:Di;return hn({type:"counter",content:kt},function(){return Rr("beforeDOMElementCreation",{content:kt,params:Z}),function zo(nt){var Rt=nt.content,kt=nt.title,Z=nt.extra,Ve=S(S(S({},Z.attributes),kt?{title:kt}:{}),{},{class:Z.classes.join(" ")}),De=mi(Z.styles);De.length>0&&(Ve.style=De);var We=[];return We.push({tag:"span",attributes:Ve,children:[Rt]}),kt&&We.push({tag:"span",attributes:{class:"sr-only"},children:[kt]}),We}({content:kt.toString(),title:De,extra:{attributes:pi,styles:an,classes:["".concat(we.cssPrefix,"-layers-counter")].concat(z(Dt))}})})}}}},ht={mixout:function(){return{text:function(kt){var Z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ve=Z.transform,De=void 0===Ve?Ne:Ve,We=Z.title,Dt=void 0===We?null:We,ei=Z.classes,pi=void 0===ei?[]:ei,Di=Z.attributes,an=void 0===Di?{}:Di,gn=Z.styles,yn=void 0===gn?{}:gn;return hn({type:"text",content:kt},function(){return Rr("beforeDOMElementCreation",{content:kt,params:Z}),wo({content:kt,transform:S(S({},Ne),De),title:Dt,extra:{attributes:an,styles:yn,classes:["".concat(we.cssPrefix,"-layers-text")].concat(z(pi))}})})}}},provides:function(Rt){Rt.generateLayersText=function(kt,Z){var Ve=Z.title,De=Z.transform,We=Z.extra,Dt=null,ei=null;if(v){var pi=parseInt(getComputedStyle(kt).fontSize,10),Di=kt.getBoundingClientRect();Dt=Di.width/pi,ei=Di.height/pi}return we.autoA11y&&!Ve&&(We.attributes["aria-hidden"]="true"),Promise.resolve([kt,wo({content:kt.innerHTML,width:Dt,height:ei,transform:De,title:Ve,extra:We,watchable:!0})])}}},Ue=new RegExp('"',"ug"),At=[1105920,1112319];function pn(nt,Rt){var kt="".concat(fe).concat(Rt.replace(":","-"));return new Promise(function(Z,Ve){if(null!==nt.getAttribute(kt))return Z();var We=Ge(nt.children).filter(function(sn){return sn.getAttribute(ce)===Rt})[0],Dt=h.getComputedStyle(nt,Rt),ei=Dt.getPropertyValue("font-family").match(Ye),pi=Dt.getPropertyValue("font-weight"),Di=Dt.getPropertyValue("content");if(We&&!ei)return nt.removeChild(We),Z();if(ei&&"none"!==Di&&""!==Di){var an=Dt.getPropertyValue("content"),gn=~["Sharp"].indexOf(ei[2])?at:_t,yn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(ei[2])?ue[gn][ei[2].toLowerCase()]:rt[gn][pi],Dn=function ni(nt){var Rt=nt.replace(Ue,""),kt=function fn(nt,Rt){var Ve,kt=nt.length,Z=nt.charCodeAt(Rt);return Z>=55296&&Z<=56319&&kt>Rt+1&&(Ve=nt.charCodeAt(Rt+1))>=56320&&Ve<=57343?1024*(Z-55296)+Ve-56320+65536:Z}(Rt,0),Z=kt>=At[0]&&kt<=At[1],Ve=2===Rt.length&&Rt[0]===Rt[1];return{value:Ni(Ve?Rt[0]:Rt),isSecondary:Z||Ve}}(an),hr=Dn.value,ir=Dn.isSecondary,br=ei[0].startsWith("FontAwesome"),gr=jt(yn,hr),Cr=gr;if(br){var sa=function Vi(nt){var Rt=Yn[nt],kt=jt("fas",nt);return Rt||(kt?{prefix:"fas",iconName:kt}:null)||{prefix:null,iconName:null}}(hr);sa.iconName&&sa.prefix&&(gr=sa.iconName,yn=sa.prefix)}if(!gr||ir||We&&We.getAttribute(ke)===yn&&We.getAttribute(mt)===Cr)Z();else{nt.setAttribute(kt,Cr),We&&nt.removeChild(We);var Hn=function Ei(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ne,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Bi=Hn.extra;Bi.attributes[ce]=Rt,Fa(gr,yn).then(function(sn){var fr=Co(S(S({},Hn),{},{icons:{main:sn,mask:rn()},prefix:yn,iconName:Cr,extra:Bi,watchable:!0})),$r=C.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===Rt?nt.insertBefore($r,nt.firstChild):nt.appendChild($r),$r.outerHTML=fr.map(function(fa){return Ut(fa)}).join("\n"),nt.removeAttribute(kt),Z()}).catch(Ve)}}else Z()})}function Zn(nt){return Promise.all([pn(nt,"::before"),pn(nt,"::after")])}function Fo(nt){return!(nt.parentNode===document.head||~pe.indexOf(nt.tagName.toUpperCase())||nt.getAttribute(ce)||nt.parentNode&&"svg"===nt.parentNode.tagName)}function vr(nt){if(r)return new Promise(function(Rt,kt){var Z=Ge(nt.querySelectorAll("*")).filter(Fo).map(Zn),Ve=rs.begin("searchPseudoElements");Da(),Promise.all(Z).then(function(){Ve(),Go(),Rt()}).catch(function(){Ve(),Go(),kt()})})}var lc=!1,hc=function(Rt){return Rt.toLowerCase().split(" ").reduce(function(Z,Ve){var De=Ve.toLowerCase().split("-"),We=De[0],Dt=De.slice(1).join("-");if(We&&"h"===Dt)return Z.flipX=!0,Z;if(We&&"v"===Dt)return Z.flipY=!0,Z;if(Dt=parseFloat(Dt),isNaN(Dt))return Z;switch(We){case"grow":Z.size=Z.size+Dt;break;case"shrink":Z.size=Z.size-Dt;break;case"left":Z.x=Z.x-Dt;break;case"right":Z.x=Z.x+Dt;break;case"up":Z.y=Z.y-Dt;break;case"down":Z.y=Z.y+Dt;break;case"rotate":Z.rotate=Z.rotate+Dt}return Z},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Wo={x:0,y:0,width:"100%",height:"100%"};function fo(nt){return nt.attributes&&(nt.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(nt.attributes.fill="black"),nt}!function xo(nt,Rt){var kt=Rt.mixoutsTo;Xr=nt,Sr={},Object.keys(zr).forEach(function(Z){-1===Ho.indexOf(Z)&&delete zr[Z]}),Xr.forEach(function(Z){var Ve=Z.mixout?Z.mixout():{};if(Object.keys(Ve).forEach(function(We){"function"==typeof Ve[We]&&(kt[We]=Ve[We]),"object"===l(Ve[We])&&Object.keys(Ve[We]).forEach(function(Dt){kt[We]||(kt[We]={}),kt[We][Dt]=Ve[We][Dt]})}),Z.hooks){var De=Z.hooks();Object.keys(De).forEach(function(We){Sr[We]||(Sr[We]=[]),Sr[We].push(De[We])})}Z.provides&&Z.provides(zr)})}([Li,oa,Ri,lt,ht,{hooks:function(){return{mutationObserverCallbacks:function(kt){return kt.pseudoElementsCallback=vr,kt}}},provides:function(Rt){Rt.pseudoElements2svg=function(kt){var Z=kt.node;we.searchPseudoElements&&vr(void 0===Z?C:Z)}}},{mixout:function(){return{dom:{unwatch:function(){Da(),lc=!0}}}},hooks:function(){return{bootstrap:function(){as(is("mutationObserverCallbacks",{}))},noAuto:function(){!function Ft(){Wa&&Wa.disconnect()}()},watch:function(kt){var Z=kt.observeMutationsRoot;lc?Go():as(is("mutationObserverCallbacks",{observeMutationsRoot:Z}))}}}},{mixout:function(){return{parse:{transform:function(kt){return hc(kt)}}}},hooks:function(){return{parseNodeAttributes:function(kt,Z){var Ve=Z.getAttribute("data-fa-transform");return Ve&&(kt.transform=hc(Ve)),kt}}},provides:function(Rt){Rt.generateAbstractTransformGrouping=function(kt){var Z=kt.main,Ve=kt.transform,We=kt.iconWidth,Dt={transform:"translate(".concat(kt.containerWidth/2," 256)")},ei="translate(".concat(32*Ve.x,", ").concat(32*Ve.y,") "),pi="scale(".concat(Ve.size/16*(Ve.flipX?-1:1),", ").concat(Ve.size/16*(Ve.flipY?-1:1),") "),Di="rotate(".concat(Ve.rotate," 0 0)"),yn={outer:Dt,inner:{transform:"".concat(ei," ").concat(pi," ").concat(Di)},path:{transform:"translate(".concat(We/2*-1," -256)")}};return{tag:"g",attributes:S({},yn.outer),children:[{tag:"g",attributes:S({},yn.inner),children:[{tag:Z.icon.tag,children:Z.icon.children,attributes:S(S({},Z.icon.attributes),yn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(kt,Z){var Ve=Z.getAttribute("data-fa-mask"),De=Ve?nr(Ve.split(" ").map(function(We){return We.trim()})):rn();return De.prefix||(De.prefix=ji()),kt.mask=De,kt.maskId=Z.getAttribute("data-fa-mask-id"),kt}}},provides:function(Rt){Rt.generateAbstractMask=function(kt){var nt,Z=kt.children,Ve=kt.attributes,De=kt.main,We=kt.mask,Dt=kt.maskId,Di=De.icon,gn=We.icon,yn=function Pt(nt){var Rt=nt.transform,Z=nt.iconWidth,Ve={transform:"translate(".concat(nt.containerWidth/2," 256)")},De="translate(".concat(32*Rt.x,", ").concat(32*Rt.y,") "),We="scale(".concat(Rt.size/16*(Rt.flipX?-1:1),", ").concat(Rt.size/16*(Rt.flipY?-1:1),") "),Dt="rotate(".concat(Rt.rotate," 0 0)");return{outer:Ve,inner:{transform:"".concat(De," ").concat(We," ").concat(Dt)},path:{transform:"translate(".concat(Z/2*-1," -256)")}}}({transform:kt.transform,containerWidth:We.width,iconWidth:De.width}),Dn={tag:"rect",attributes:S(S({},Wo),{},{fill:"white"})},hr=Di.children?{children:Di.children.map(fo)}:{},ir={tag:"g",attributes:S({},yn.inner),children:[fo(S({tag:Di.tag,attributes:S(S({},Di.attributes),yn.path)},hr))]},br={tag:"g",attributes:S({},yn.outer),children:[ir]},gr="mask-".concat(Dt||Fe()),Cr="clip-".concat(Dt||Fe()),sa={tag:"mask",attributes:S(S({},Wo),{},{id:gr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Dn,br]},Hn={tag:"defs",children:[{tag:"clipPath",attributes:{id:Cr},children:(nt=gn,"g"===nt.tag?nt.children:[nt])},sa]};return Z.push(Hn,{tag:"rect",attributes:S({fill:"currentColor","clip-path":"url(#".concat(Cr,")"),mask:"url(#".concat(gr,")")},Wo)}),{children:Z,attributes:Ve}}}},{provides:function(Rt){var kt=!1;h.matchMedia&&(kt=h.matchMedia("(prefers-reduced-motion: reduce)").matches),Rt.missingIconAbstract=function(){var Z=[],Ve={fill:"currentColor"},De={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Z.push({tag:"path",attributes:S(S({},Ve),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var We=S(S({},De),{},{attributeName:"opacity"}),Dt={tag:"circle",attributes:S(S({},Ve),{},{cx:"256",cy:"364",r:"28"}),children:[]};return kt||Dt.children.push({tag:"animate",attributes:S(S({},De),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:S(S({},We),{},{values:"1;0;1;1;0;1;"})}),Z.push(Dt),Z.push({tag:"path",attributes:S(S({},Ve),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:kt?[]:[{tag:"animate",attributes:S(S({},We),{},{values:"1;0;0;0;0;1;"})}]}),kt||Z.push({tag:"path",attributes:S(S({},Ve),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:S(S({},We),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Z}}}},{hooks:function(){return{parseNodeAttributes:function(kt,Z){var Ve=Z.getAttribute("data-fa-symbol");return kt.symbol=null!==Ve&&(""===Ve||Ve),kt}}}}],{mixoutsTo:zn});var Aa=zn.config,dn=zn.dom,Es=zn.parse,fc=zn.icon,Ll=g(345);const mc=["*"],Zs=nt=>{const Rt={[`fa-${nt.animation}`]:null!=nt.animation&&!nt.animation.startsWith("spin"),"fa-spin":"spin"===nt.animation||"spin-reverse"===nt.animation,"fa-spin-pulse":"spin-pulse"===nt.animation||"spin-pulse-reverse"===nt.animation,"fa-spin-reverse":"spin-reverse"===nt.animation||"spin-pulse-reverse"===nt.animation,"fa-pulse":"spin-pulse"===nt.animation||"spin-pulse-reverse"===nt.animation,"fa-fw":nt.fixedWidth,"fa-border":nt.border,"fa-inverse":nt.inverse,"fa-layers-counter":nt.counter,"fa-flip-horizontal":"horizontal"===nt.flip||"both"===nt.flip,"fa-flip-vertical":"vertical"===nt.flip||"both"===nt.flip,[`fa-${nt.size}`]:null!==nt.size,[`fa-rotate-${nt.rotate}`]:null!==nt.rotate,[`fa-pull-${nt.pull}`]:null!==nt.pull,[`fa-stack-${nt.stackItemSize}`]:null!=nt.stackItemSize};return Object.keys(Rt).map(kt=>Rt[kt]?kt:null).filter(kt=>kt)},Rs=new WeakSet,Eo="fa-auto-css";let gc=(()=>{class nt{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this._autoAddCss=!0}set autoAddCss(kt){Aa.autoAddCss=kt,this._autoAddCss=kt}get autoAddCss(){return this._autoAddCss}static#e=this.\u0275fac=function(Z){return new(Z||nt)};static#t=this.\u0275prov=e.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),_c=(()=>{class nt{constructor(){this.definitions={}}addIcons(...kt){for(const Z of kt){Z.prefix in this.definitions||(this.definitions[Z.prefix]={}),this.definitions[Z.prefix][Z.iconName]=Z;for(const Ve of Z.icon[2])"string"==typeof Ve&&(this.definitions[Z.prefix][Ve]=Z)}}addIconPacks(...kt){for(const Z of kt){const Ve=Object.keys(Z).map(De=>Z[De]);this.addIcons(...Ve)}}getIconDefinition(kt,Z){return kt in this.definitions&&Z in this.definitions[kt]?this.definitions[kt][Z]:null}static#e=this.\u0275fac=function(Z){return new(Z||nt)};static#t=this.\u0275prov=e.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),os=(()=>{class nt{constructor(){this.stackItemSize="1x"}ngOnChanges(kt){if("size"in kt)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}static#e=this.\u0275fac=function(Z){return new(Z||nt)};static#t=this.\u0275dir=e.FsC({type:nt,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[e.OA$]})}return nt})(),So=(()=>{class nt{constructor(kt,Z){this.renderer=kt,this.elementRef=Z}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(kt){"size"in kt&&(null!=kt.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${kt.size.currentValue}`),null!=kt.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${kt.size.previousValue}`))}static#e=this.\u0275fac=function(Z){return new(Z||nt)(e.rXU(e.sFG),e.rXU(e.aKT))};static#t=this.\u0275cmp=e.VBU({type:nt,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[e.OA$,e.aNF],ngContentSelectors:mc,decls:1,vars:0,template:function(Z,Ve){1&Z&&(e.NAR(),e.SdG(0))},encapsulation:2})}return nt})(),Os=(()=>{class nt{constructor(kt,Z,Ve,De,We){this.sanitizer=kt,this.config=Z,this.iconLibrary=Ve,this.stackItem=De,this.document=(0,e.WQX)(t.qQ),null!=We&&null==De&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(kt){if(null!=this.icon||null!=this.config.fallbackIcon){if(kt){const Z=this.findIconDefinition(this.icon??this.config.fallbackIcon);if(null!=Z){const Ve=this.buildParams();!function pc(nt,Rt){if(!Rt.autoAddCss||Rs.has(nt))return;if(null!=nt.getElementById(Eo))return Rt.autoAddCss=!1,void Rs.add(nt);const kt=nt.createElement("style");kt.setAttribute("type","text/css"),kt.setAttribute("id",Eo),kt.innerHTML=dn.css();const Z=nt.head.childNodes;let Ve=null;for(let De=Z.length-1;De>-1;De--){const We=Z[De],Dt=We.nodeName.toUpperCase();["STYLE","LINK"].indexOf(Dt)>-1&&(Ve=We)}nt.head.insertBefore(kt,Ve),Rt.autoAddCss=!1,Rs.add(nt)}(this.document,this.config);const De=fc(Z,Ve);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(De.html.join("\n"))}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(kt){const Z=((nt,Rt)=>(nt=>void 0!==nt.prefix&&void 0!==nt.iconName)(nt)?nt:Array.isArray(nt)&&2===nt.length?{prefix:nt[0],iconName:nt[1]}:{prefix:Rt,iconName:nt})(kt,this.config.defaultPrefix);return"icon"in Z?Z:this.iconLibrary.getIconDefinition(Z.prefix,Z.iconName)??((nt=>{throw new Error(`Could not find icon with iconName=${nt.iconName} and prefix=${nt.prefix} in the icon library.`)})(Z),null)}buildParams(){const kt={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},Z="string"==typeof this.transform?Es.transform(this.transform):this.transform;return{title:this.title,transform:Z,classes:Zs(kt),mask:null!=this.mask?this.findIconDefinition(this.mask):null,symbol:this.symbol,attributes:{role:this.a11yRole}}}static#e=this.\u0275fac=function(Z){return new(Z||nt)(e.rXU(Ll.up),e.rXU(gc),e.rXU(_c),e.rXU(os,8),e.rXU(So,8))};static#t=this.\u0275cmp=e.VBU({type:nt,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Z,Ve){2&Z&&(e.Mr5("innerHTML",Ve.renderedIconHTML,e.npT),e.BMQ("title",Ve.title))},inputs:{icon:"icon",title:"title",animation:"animation",mask:"mask",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[e.OA$,e.aNF],decls:0,vars:0,template:function(Z,Ve){},encapsulation:2})}return nt})(),Fs=(()=>{class nt{static#e=this.\u0275fac=function(Z){return new(Z||nt)};static#t=this.\u0275mod=e.$C({type:nt});static#i=this.\u0275inj=e.G2t({})}return nt})()},5383:(Qe,te,g)=>{"use strict";g.d(te,{$$g:()=>da,$Fj:()=>pl,$sC:()=>N6,BA1:()=>o0,C8j:()=>b9,CQO:()=>Lg,Ccf:()=>h7,D6w:()=>dl,DW4:()=>ei,EvL:()=>R4,FYJ:()=>Dm,GR4:()=>BC,GRI:()=>Cv,HEq:()=>jo,If6:()=>d_,Int:()=>e9,JKM:()=>Zh,Kcb:()=>JC,M29:()=>kh,McB:()=>Gt,Mf0:()=>Ng,MjD:()=>Og,Oh6:()=>Ci,QLR:()=>rp,TBz:()=>f3,Tq9:()=>Wg,Vpi:()=>q8,VwO:()=>U6,W1p:()=>J2,WKo:()=>Uv,WxX:()=>oe,Xbc:()=>s0,_eQ:()=>Dt,_qq:()=>Y8,aAJ:()=>p_,aFw:()=>rh,cbP:()=>ng,dB:()=>yo,e4L:()=>Gd,eGi:()=>q6,f6_:()=>Au,gdJ:()=>yc,hb3:()=>Mp,iW_:()=>yb,iy8:()=>E3,jPR:()=>qg,jTw:()=>N4,k02:()=>Wr,k6j:()=>Qr,knH:()=>Wp,ld_:()=>yp,njF:()=>f5,nsx:()=>Yp,o97:()=>Zm,pCJ:()=>ii,pS3:()=>d6,peG:()=>Hf,qFF:()=>Jg,qIE:()=>Ui,s5m:()=>js,vfE:()=>g1,xiI:()=>L_,ymQ:()=>Mc,zPk:()=>Du,zjW:()=>f7,zm_:()=>zm,zpE:()=>j3});var oe={prefix:"fas",iconName:"angles-down",icon:[448,512,["angle-double-down"],"f103","M246.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 361.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 361.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]},ii={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Ci={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},da={prefix:"fas",iconName:"pen-ruler",icon:[512,512,["pencil-ruler"],"f5ae","M469.3 19.3l23.4 23.4c25 25 25 65.5 0 90.5l-56.4 56.4L322.3 75.7l56.4-56.4c25-25 65.5-25 90.5 0zM44.9 353.2L299.7 98.3 413.7 212.3 158.8 467.1c-6.7 6.7-15.1 11.6-24.2 14.2l-104 29.7c-8.4 2.4-17.4 .1-23.6-6.1s-8.5-15.2-6.1-23.6l29.7-104c2.6-9.2 7.5-17.5 14.2-24.2zM249.4 103.4L103.4 249.4 16 161.9c-18.7-18.7-18.7-49.1 0-67.9L94.1 16c18.7-18.7 49.1-18.7 67.9 0l19.8 19.8c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1l45.1 45.1zM408.6 262.6l45.1 45.1c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1L496 350.1c18.7 18.7 18.7 49.1 0 67.9L417.9 496c-18.7 18.7-49.1 18.7-67.9 0l-87.4-87.4L408.6 262.6z"]},jo={prefix:"fas",iconName:"unlock-keyhole",icon:[448,512,["unlock-alt"],"f13e","M224 64c-44.2 0-80 35.8-80 80v48H384c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80V144C80 64.5 144.5 0 224 0c57.5 0 107 33.7 130.1 82.3c7.6 16 .8 35.1-15.2 42.6s-35.1 .8-42.6-15.2C283.4 82.6 255.9 64 224 64zm32 320c17.7 0 32-14.3 32-32s-14.3-32-32-32H192c-17.7 0-32 14.3-32 32s14.3 32 32 32h64z"]},Dt={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M339.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L568.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S517.7-4.4 499.1 9.6L262.4 187.2c-24 18-38.2 46.1-38.4 76.1L339.3 367.1zm-19.6 25.4l-116-104.4C143.9 290.3 96 339.6 96 400c0 3.9 .2 7.8 .6 11.6C98.4 429.1 86.4 448 68.8 448H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H208c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},ei={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},yc={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},Qr={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},Gd={prefix:"fas",iconName:"bullhorn",icon:[512,512,[128226,128363],"f0a1","M480 32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9L381.7 53c-48 48-113.1 75-181 75H192 160 64c-35.3 0-64 28.7-64 64v96c0 35.3 28.7 64 64 64l0 128c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V352l8.7 0c67.9 0 133 27 181 75l43.6 43.6c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V300.4c18.6-8.8 32-32.5 32-60.4s-13.4-51.6-32-60.4V32zm-64 76.7V240 371.3C357.2 317.8 280.5 288 200.7 288H192V192h8.7c79.8 0 156.5-29.8 215.3-83.3z"]},Mc={prefix:"fas",iconName:"money-bill-wave",icon:[576,512,[],"f53a","M0 112.5V422.3c0 18 10.1 35 27 41.3c87 32.5 174 10.3 261-11.9c79.8-20.3 159.6-40.7 239.3-18.9c23 6.3 48.7-9.5 48.7-33.4V89.7c0-18-10.1-35-27-41.3C462 15.9 375 38.1 288 60.3C208.2 80.6 128.4 100.9 48.7 79.1C25.6 72.8 0 88.6 0 112.5zM288 352c-44.2 0-80-43-80-96s35.8-96 80-96s80 43 80 96s-35.8 96-80 96zM64 352c35.3 0 64 28.7 64 64H64V352zm64-208c0 35.3-28.7 64-64 64V144h64zM512 304v64H448c0-35.3 28.7-64 64-64zM448 96h64v64c-35.3 0-64-28.7-64-64z"]},dl={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},pl={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},rh={prefix:"fas",iconName:"window-restore",icon:[512,512,[],"f2d2","M432 64H208c-8.8 0-16 7.2-16 16V96H128V80c0-44.2 35.8-80 80-80H432c44.2 0 80 35.8 80 80V304c0 44.2-35.8 80-80 80H416V320h16c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16zM0 192c0-35.3 28.7-64 64-64H320c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192zm64 32c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32 14.3-32 32z"]},js={prefix:"fas",iconName:"euro-sign",icon:[320,512,[8364,"eur","euro"],"f153","M48.1 240c-.1 2.7-.1 5.3-.1 8v16c0 2.7 0 5.3 .1 8H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H60.3C89.9 419.9 170 480 264 480h24c17.7 0 32-14.3 32-32s-14.3-32-32-32H264c-57.9 0-108.2-32.4-133.9-80H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H112.2c-.1-2.6-.2-5.3-.2-8V248c0-2.7 .1-5.4 .2-8H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H130.1c25.7-47.6 76-80 133.9-80h24c17.7 0 32-14.3 32-32s-14.3-32-32-32H264C170 32 89.9 92.1 60.3 176H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H48.1z"]},g1={prefix:"fas",iconName:"sterling-sign",icon:[320,512,[163,"gbp","pound-sign"],"f154","M112 160.4c0-35.5 28.8-64.4 64.4-64.4c6.9 0 13.8 1.1 20.4 3.3l81.2 27.1c16.8 5.6 34.9-3.5 40.5-20.2s-3.5-34.9-20.2-40.5L217 38.6c-13.1-4.4-26.8-6.6-40.6-6.6C105.5 32 48 89.5 48 160.4V224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H48v44.5c0 17.4-4.7 34.5-13.7 49.4L4.6 431.5c-5.9 9.9-6.1 22.2-.4 32.2S20.5 480 32 480H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H88.5l.7-1.1C104.1 390 112 361.5 112 332.5V288H224c17.7 0 32-14.3 32-32s-14.3-32-32-32H112V160.4z"]},kh={prefix:"fas",iconName:"burst",icon:[512,512,[],"e4dc","M37.6 4.2C28-2.3 15.2-1.1 7 7s-9.4 21-2.8 30.5l112 163.3L16.6 233.2C6.7 236.4 0 245.6 0 256s6.7 19.6 16.6 22.8l103.1 33.4L66.8 412.8c-4.9 9.3-3.2 20.7 4.3 28.1s18.8 9.2 28.1 4.3l100.6-52.9 33.4 103.1c3.2 9.9 12.4 16.6 22.8 16.6s19.6-6.7 22.8-16.6l33.4-103.1 100.6 52.9c9.3 4.9 20.7 3.2 28.1-4.3s9.2-18.8 4.3-28.1L392.3 312.2l103.1-33.4c9.9-3.2 16.6-12.4 16.6-22.8s-6.7-19.6-16.6-22.8L388.9 198.7l25.7-70.4c3.2-8.8 1-18.6-5.6-25.2s-16.4-8.8-25.2-5.6l-70.4 25.7L278.8 16.6C275.6 6.7 266.4 0 256 0s-19.6 6.7-22.8 16.6l-32.3 99.6L37.6 4.2z"]},Hf={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M297.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 160H128c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C0 153.3 57.3 96 128 96H338.7L297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416H96c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H242.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},Ui={prefix:"fas",iconName:"layer-group",icon:[576,512,[],"f5fd","M264.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 149.8C37.4 145.8 32 137.3 32 128s5.4-17.9 13.9-21.8L264.5 5.2zM476.9 209.6l53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 277.8C37.4 273.8 32 265.3 32 256s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0l152-70.2zm-152 198.2l152-70.2 53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 405.8C37.4 401.8 32 393.3 32 384s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0z"]},R4={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},N4={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},Zh={prefix:"fas",iconName:"won-sign",icon:[512,512,[8361,"krw","won"],"f159","M62.4 53.9C56.8 37.1 38.6 28.1 21.9 33.6S-3.9 57.4 1.6 74.1L51.6 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H72.9l56.7 170.1c4.5 13.5 17.4 22.4 31.6 21.9s26.4-10.4 29.8-24.2L233 288h46L321 455.8c3.4 13.8 15.6 23.7 29.8 24.2s27.1-8.4 31.6-21.9L439.1 288H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H460.4l50-149.9c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2L392.9 224H329L287 56.2C283.5 42 270.7 32 256 32s-27.5 10-31 24.2L183 224h-64L62.4 53.9zm78 234.1H167l-11.4 45.6L140.4 288zM249 224l7-28.1 7 28.1H249zm96 64h26.6l-15.2 45.6L345 288z"]},J2={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},f5={prefix:"fas",iconName:"eject",icon:[448,512,[9167],"f052","M224 32c13.5 0 26.3 5.6 35.4 15.6l176 192c12.9 14 16.2 34.3 8.6 51.8S419 320 400 320H48c-19 0-36.3-11.2-43.9-28.7s-4.3-37.7 8.6-51.8l176-192C197.7 37.6 210.5 32 224 32zM0 432c0-26.5 21.5-48 48-48H400c26.5 0 48 21.5 48 48s-21.5 48-48 48H48c-26.5 0-48-21.5-48-48z"]},Wp={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M224 32H64C46.3 32 32 46.3 32 64v64c0 17.7 14.3 32 32 32H441.4c4.2 0 8.3-1.7 11.3-4.7l48-48c6.2-6.2 6.2-16.4 0-22.6l-48-48c-3-3-7.1-4.7-11.3-4.7H288c0-17.7-14.3-32-32-32s-32 14.3-32 32zM480 256c0-17.7-14.3-32-32-32H288V192H224v32H70.6c-4.2 0-8.3 1.7-11.3 4.7l-48 48c-6.2 6.2-6.2 16.4 0 22.6l48 48c3 3 7.1 4.7 11.3 4.7H448c17.7 0 32-14.3 32-32V256zM288 480V384H224v96c0 17.7 14.3 32 32 32s32-14.3 32-32z"]},Yp={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},o0={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 272a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},s0={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},f3={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155c-3.8 4.4-9.4 6.1-14.5 5H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c53 0 96 43 96 96s-43 96-96 96H139.6c8.7-9.9 19.3-22.6 30-36.8c6.3-8.4 12.8-17.6 19-27.2H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-53 0-96-43-96-96s43-96 96-96h39.8c-21-31.5-39.8-67.7-39.8-96c0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8C59.8 473 0 402.5 0 352c0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9c-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},d6={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Gt={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v17.7c0 7.8 4.8 14.8 11.6 18.7c6.8 3.9 15.1 4.5 21.8 .6l13.8-7.9c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-14.4 8.3c-6.5 3.7-10 10.9-10 18.4s3.5 14.7 10 18.4l14.4 8.3c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-13.8-7.9c-6.7-3.9-15.1-3.3-21.8 .6c-6.8 3.9-11.6 10.9-11.6 18.7v17.7c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8V467.8c0-7.9-4.9-14.9-11.7-18.9c-6.8-3.9-15.2-4.5-22-.6l-13.5 7.8c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l14-8.1c6.5-3.8 10.1-11.1 10.1-18.6s-3.5-14.8-10.1-18.6l-14-8.1c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l13.6 7.8c6.8 3.9 15.2 3.3 22-.6c6.9-3.9 11.7-11 11.7-18.9V218.2zm92.1 133.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},Wr={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V32c0-17.7-14.3-32-32-32H352zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},N6={prefix:"fas",iconName:"angles-up",icon:[448,512,["angle-double-up"],"f102","M246.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 109.3 361.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 301.3 361.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]},yb={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},U6={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V224v64V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32H96V64zm448 0v64h32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H544v64c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},Dm={prefix:"fas",iconName:"indian-rupee-sign",icon:[320,512,["indian-rupee","inr"],"e1bc","M0 64C0 46.3 14.3 32 32 32H96h16H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H231.8c9.6 14.4 16.7 30.6 20.7 48H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H252.4c-13.2 58.3-61.9 103.2-122.2 110.9L274.6 422c14.4 10.3 17.7 30.3 7.4 44.6s-30.3 17.7-44.6 7.4L13.4 314C2.1 306-2.7 291.5 1.5 278.2S18.1 256 32 256h80c32.8 0 61-19.7 73.3-48H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H185.3C173 115.7 144.8 96 112 96H96 32C14.3 96 0 81.7 0 64z"]},h7={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM176 256a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm76-48c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},E3=h7,f7={prefix:"fas",iconName:"franc-sign",icon:[320,512,[],"e18f","M80 32C62.3 32 48 46.3 48 64V224v96H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H48v64c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H112V256H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H112V96H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},yo={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},q6={prefix:"fas",iconName:"network-wired",icon:[640,512,[],"f6ff","M256 64H384v64H256V64zM240 0c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h48v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96v32H80c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H240c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H192V288H448v32H400c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H560c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H512V288h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V192h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H240zM96 448V384H224v64H96zm320-64H544v64H416V384z"]},ng={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},zm={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z"]},Du={prefix:"fas",iconName:"yen-sign",icon:[320,512,[165,"cny","jpy","rmb","yen"],"f157","M58.6 46.2C48.8 31.5 29 27.6 14.3 37.4S-4.4 67 5.4 81.7L100.2 224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v32H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v64c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H192V288h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H219.8L314.6 81.7c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.2z"]},Au={prefix:"fas",iconName:"ruble-sign",icon:[384,512,[8381,"rouble","rub","ruble"],"f158","M96 32C78.3 32 64 46.3 64 64V256H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64v32c0 17.7 14.3 32 32 32s32-14.3 32-32V416H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H128V320H240c79.5 0 144-64.5 144-144s-64.5-144-144-144H96zM240 256H128V96H240c44.2 0 80 35.8 80 80s-35.8 80-80 80z"]},d_={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[512,512,[],"e4c1","M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM384 384a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 192A64 64 0 1 1 64 64a64 64 0 1 1 0 128z"]},p_={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},L_={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},Zm={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},Lg={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},Og={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Ng={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.3-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]},Wg={prefix:"fas",iconName:"brazilian-real-sign",icon:[512,512,[],"e46c","M400 0c17.7 0 32 14.3 32 32V50.2c12.5 2.3 24.7 6.4 36.2 12.1l10.1 5.1c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3l-10.2-5.1c-9.9-5-20.9-7.5-32-7.5h-1.7c-29.8 0-53.9 24.1-53.9 53.9c0 22 13.4 41.8 33.9 50l52 20.8c44.7 17.9 74.1 61.2 74.1 109.4v3.4c0 51.2-33.6 94.6-80 109.2V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V460.6c-15-3.5-29.4-9.7-42.3-18.3l-23.4-15.6c-14.7-9.8-18.7-29.7-8.9-44.4s29.7-18.7 44.4-8.9L361.2 389c10.8 7.2 23.4 11 36.3 11c27.9 0 50.5-22.6 50.5-50.5v-3.4c0-22-13.4-41.8-33.9-50l-52-20.8C317.3 257.4 288 214.1 288 165.9C288 114 321.5 70 368 54.2V32c0-17.7 14.3-32 32-32zM0 64C0 46.3 14.3 32 32 32h80c79.5 0 144 64.5 144 144c0 58.8-35.2 109.3-85.7 131.7l51.4 128.4c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8L106.3 320H64V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V288 64zM64 256h48c44.2 0 80-35.8 80-80s-35.8-80-80-80H64V256z"]},Jg={prefix:"fas",iconName:"diagram-project",icon:[576,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32h96c26.5 0 48 21.5 48 48V96H384V80c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H432c-26.5 0-48-21.5-48-48V160H192v16c0 1.7-.1 3.4-.3 5L272 288h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H272c-26.5 0-48-21.5-48-48V336c0-1.7 .1-3.4 .3-5L144 224H48c-26.5 0-48-21.5-48-48V80z"]},qg={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},rp={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},Cv={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Uv={prefix:"fas",iconName:"percent",icon:[384,512,[62101,62785,"percentage"],"25","M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128A64 64 0 1 0 0 128a64 64 0 1 0 128 0zM384 384a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"]},e9={prefix:"fas",iconName:"clock-rotate-left",icon:[512,512,["history"],"f1da","M75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75zm181 53c-13.3 0-24 10.7-24 24V256c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65V152c0-13.3-10.7-24-24-24z"]},b9={prefix:"fas",iconName:"infinity",icon:[640,512,[8734,9854],"f534","M0 241.1C0 161 65 96 145.1 96c38.5 0 75.4 15.3 102.6 42.5L320 210.7l72.2-72.2C419.5 111.3 456.4 96 494.9 96C575 96 640 161 640 241.1v29.7C640 351 575 416 494.9 416c-38.5 0-75.4-15.3-102.6-42.5L320 301.3l-72.2 72.2C220.5 400.7 183.6 416 145.1 416C65 416 0 351 0 270.9V241.1zM274.7 256l-72.2-72.2c-15.2-15.2-35.9-23.8-57.4-23.8C100.3 160 64 196.3 64 241.1v29.7c0 44.8 36.3 81.1 81.1 81.1c21.5 0 42.2-8.5 57.4-23.8L274.7 256zm90.5 0l72.2 72.2c15.2 15.2 35.9 23.8 57.4 23.8c44.8 0 81.1-36.3 81.1-81.1V241.1c0-44.8-36.3-81.1-81.1-81.1c-21.5 0-42.2 8.5-57.4 23.8L365.3 256z"]},BC={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"]},JC={prefix:"fas",iconName:"baht-sign",icon:[320,512,[],"e0ac","M144 0c-17.7 0-32 14.3-32 32V64H37.6C16.8 64 0 80.8 0 101.6V224v41.7V288 406.3c0 23 18.7 41.7 41.7 41.7H112v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448h32c61.9 0 112-50.1 112-112c0-40.1-21.1-75.3-52.7-95.1C280.3 222.6 288 200.2 288 176c0-61.9-50.1-112-112-112V32c0-17.7-14.3-32-32-32zM112 128v96H64V128h48zm64 96V128c26.5 0 48 21.5 48 48s-21.5 48-48 48zm-64 64v96H64V288h48zm64 96V288h32c26.5 0 48 21.5 48 48s-21.5 48-48 48H176z"]},j3={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},Y8={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M32 96l320 0V32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160L32 160c-17.7 0-32-14.3-32-32s14.3-32 32-32zM480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32H160v64c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-96-96c-6-6-9.4-14.1-9.4-22.6s3.4-16.6 9.4-22.6l96-96c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 64H480z"]},yp={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM352 368a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]},Mp={prefix:"fas",iconName:"turkish-lira-sign",icon:[384,512,["try","turkish-lira"],"e2bb","M96 32c17.7 0 32 14.3 32 32V99.3L247.2 65.2c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L128 165.9v29.4l119.2-34.1c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L128 261.9V416h63.8c68.2 0 124.4-53.5 127.8-121.6l.4-8c.9-17.7 15.9-31.2 33.6-30.4s31.2 15.9 30.4 33.6l-.4 8C378.5 399.8 294.1 480 191.8 480H96c-17.7 0-32-14.3-32-32V280.1l-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L64 213.6V184.1l-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L64 117.6V64c0-17.7 14.3-32 32-32z"]},q8={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M160 0c17.7 0 32 14.3 32 32V67.7c1.6 .2 3.1 .4 4.7 .7c.4 .1 .7 .1 1.1 .2l48 8.8c17.4 3.2 28.9 19.9 25.7 37.2s-19.9 28.9-37.2 25.7l-47.5-8.7c-31.3-4.6-58.9-1.5-78.3 6.2s-27.2 18.3-29 28.1c-2 10.7-.5 16.7 1.2 20.4c1.8 3.9 5.5 8.3 12.8 13.2c16.3 10.7 41.3 17.7 73.7 26.3l2.9 .8c28.6 7.6 63.6 16.8 89.6 33.8c14.2 9.3 27.6 21.9 35.9 39.5c8.5 17.9 10.3 37.9 6.4 59.2c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.1-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.5 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.6 .4-16.7-1.3-20.4c-1.9-4-5.6-8.4-13-13.3c-16.4-10.7-41.5-17.7-74-26.3l-2.8-.7 0 0C119.4 279.3 84.4 270 58.4 253c-14.2-9.3-27.5-22-35.8-39.6c-8.4-17.9-10.1-37.9-6.1-59.2C23.7 116 52.3 91.2 84.8 78.3c13.3-5.3 27.9-8.9 43.2-11V32c0-17.7 14.3-32 32-32z"]}},4054:(Qe,te,g)=>{"use strict";g.d(te,{En:()=>Ke,Vm:()=>oe,EH:()=>C,gp:()=>se});var e=g(7673);g(274),g(3993);var x=g(7786),f=g(1985),I=g(1413),d=g(3557),T=g(983),y=g(8810),F=g(8071);class z{constructor(Ae,we,he){this.kind=Ae,this.value=we,this.error=he,this.hasValue="N"===Ae}observe(Ae){return W(this,Ae)}do(Ae,we,he){const{kind:q,value:Re,error:Ne}=this;return"N"===q?Ae?.(Re):"E"===q?we?.(Ne):he?.()}accept(Ae,we,he){var q;return(0,F.T)(null===(q=Ae)||void 0===q?void 0:q.next)?this.observe(Ae):this.do(Ae,we,he)}toObservable(){const{kind:Ae,value:we,error:he}=this,q="N"===Ae?(0,e.of)(we):"E"===Ae?(0,y.$)(()=>he):"C"===Ae?T.w:0;if(!q)throw new TypeError(`Unexpected notification kind ${Ae}`);return q}static createNext(Ae){return new z("N",Ae)}static createError(Ae){return new z("E",void 0,Ae)}static createComplete(){return z.completeNotification}}function W(dt,Ae){var we,he,q;const{kind:Re,value:Ne,error:gt}=dt;if("string"!=typeof Re)throw new TypeError('Invalid notification, missing "kind"');"N"===Re?null===(we=Ae.next)||void 0===we||we.call(Ae,Ne):"E"===Re?null===(he=Ae.error)||void 0===he||he.call(Ae,gt):null===(q=Ae.complete)||void 0===q||q.call(Ae)}z.completeNotification=new z("C");var $=g(9974),j=g(4360),J=g(6354),ee=g(9437),ie=g(5964),ge=g(8750);function ae(dt,Ae,we,he){return(0,$.N)((q,Re)=>{let Ne;Ae&&"function"!=typeof Ae?({duration:we,element:Ne,connector:he}=Ae):Ne=Ae;const gt=new Map,$e=mi=>{gt.forEach(mi),mi(Re)},Fe=mi=>$e(Kt=>Kt.error(mi));let Ge=0,et=!1;const st=new j.H(Re,mi=>{try{const Kt=dt(mi);let Pt=gt.get(Kt);if(!Pt){gt.set(Kt,Pt=he?he():new I.B);const Xi=function Tt(mi,Kt){const Pt=new f.c(Xi=>{Ge++;const di=Kt.subscribe(Xi);return()=>{di.unsubscribe(),0==--Ge&&et&&st.unsubscribe()}});return Pt.key=mi,Pt}(Kt,Pt);if(Re.next(Xi),we){const di=(0,j._)(Pt,()=>{Pt.complete(),di?.unsubscribe()},void 0,void 0,()=>gt.delete(Kt));st.add((0,ge.Tg)(we(Xi)).subscribe(di))}}Pt.next(Ne?Ne(mi):mi)}catch(Kt){Fe(Kt)}},()=>$e(mi=>mi.complete()),Fe,()=>gt.clear(),()=>(et=!0,0===Ge));q.subscribe(st)})}var Me=g(1397);function Te(dt,Ae){return Ae?we=>we.pipe(Te((he,q)=>(0,ge.Tg)(dt(he,q)).pipe((0,J.T)((Re,Ne)=>Ae(he,Re,q,Ne))))):(0,$.N)((we,he)=>{let q=0,Re=null,Ne=!1;we.subscribe((0,j._)(he,gt=>{Re||(Re=(0,j._)(he,void 0,()=>{Re=null,Ne&&he.complete()}),(0,ge.Tg)(dt(gt,q++)).subscribe(Re))},()=>{Ne=!0,!Re&&he.complete()}))})}var D=g(6697),n=g(4438),c=g(9640);const m={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},h="__@ngrx/effects_create__";function C(dt,Ae={}){const we=Ae.functional?dt:dt(),he={...m,...Ae};return Object.defineProperty(we,h,{value:he}),we}function r(dt){return Object.getPrototypeOf(dt)}function V(dt){return"function"==typeof dt}function N(dt){return dt.filter(V)}function Ee(dt,Ae,we){const he=r(dt),Re=he&&"Object"!==he.constructor.name?he.constructor.name:null,Ne=function _(dt){return function k(dt){return Object.getOwnPropertyNames(dt).filter(he=>!(!dt[he]||!dt[he].hasOwnProperty(h))&&dt[he][h].hasOwnProperty("dispatch")).map(he=>({propertyName:he,...dt[he][h]}))}(dt)}(dt).map(({propertyName:gt,dispatch:$e,useEffectsErrorHandler:Fe})=>{const Ge="function"==typeof dt[gt]?dt[gt]():dt[gt],et=Fe?we(Ge,Ae):Ge;return!1===$e?et.pipe((0,d.w)()):et.pipe(function Q(){return(0,$.N)((dt,Ae)=>{dt.subscribe((0,j._)(Ae,we=>{Ae.next(z.createNext(we))},()=>{Ae.next(z.createComplete()),Ae.complete()},we=>{Ae.next(z.createError(we)),Ae.complete()}))})}()).pipe((0,J.T)(Tt=>({effect:dt[gt],notification:Tt,propertyName:gt,sourceName:Re,sourceInstance:dt})))});return(0,x.h)(...Ne)}function qe(dt,Ae,we=10){return dt.pipe((0,ee.W)(he=>(Ae&&Ae.handleError(he),we<=1?dt:qe(dt,Ae,we-1))))}let Ke=(()=>{class dt extends f.c{constructor(we){super(),we&&(this.source=we)}lift(we){const he=new dt;return he.source=this,he.operator=we,he}static#e=this.\u0275fac=function(he){return new(he||dt)(n.KVO(c.sA))};static#t=this.\u0275prov=n.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})();function se(...dt){return(0,ie.p)(Ae=>dt.some(we=>"string"==typeof we?we===Ae.type:we.type===Ae.type))}const X=new n.nKC("@ngrx/effects Internal Root Guard"),me=new n.nKC("@ngrx/effects User Provided Effects"),ce=new n.nKC("@ngrx/effects Internal Root Effects"),fe=new n.nKC("@ngrx/effects Internal Root Effects Instances"),ke=new n.nKC("@ngrx/effects Internal Feature Effects"),mt=new n.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),_e=new n.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>qe}),be="@ngrx/effects/init";(0,c.VP)(be);function Xe(dt){return yt(dt,"ngrxOnInitEffects")}function yt(dt,Ae){return dt&&Ae in dt&&"function"==typeof dt[Ae]}let Ye=(()=>{class dt extends I.B{constructor(we,he){super(),this.errorHandler=we,this.effectsErrorHandler=he}addEffects(we){this.next(we)}toActions(){return this.pipe(ae(we=>function v(dt){return!!dt.constructor&&"Object"!==dt.constructor.name&&"Function"!==dt.constructor.name}(we)?r(we):we),(0,Me.Z)(we=>we.pipe(ae(rt))),(0,Me.Z)(we=>{const he=we.pipe(Te(Re=>function Yt(dt,Ae){return we=>{const he=Ee(we,dt,Ae);return function Ie(dt){return yt(dt,"ngrxOnRunEffects")}(we)?we.ngrxOnRunEffects(he):he}}(this.errorHandler,this.effectsErrorHandler)(Re)),(0,J.T)(Re=>(function Ze(dt,Ae){if("N"===dt.notification.kind){const we=dt.notification.value;!function _t(dt){return"function"!=typeof dt&&dt&&dt.type&&"string"==typeof dt.type}(we)&&Ae.handleError(new Error(`Effect ${function at({propertyName:dt,sourceInstance:Ae,sourceName:we}){const he="function"==typeof Ae[dt];return we?`"${we}.${String(dt)}${he?"()":""}"`:`"${String(dt)}()"`}(dt)} dispatched an invalid action: ${function pt(dt){try{return JSON.stringify(dt)}catch{return dt}}(we)}`))}}(Re,this.errorHandler),Re.notification)),(0,ie.p)(Re=>"N"===Re.kind&&null!=Re.value),function de(){return(0,$.N)((dt,Ae)=>{dt.subscribe((0,j._)(Ae,we=>W(we,Ae)))})}()),q=we.pipe((0,D.s)(1),(0,ie.p)(Xe),(0,J.T)(Re=>Re.ngrxOnInitEffects()));return(0,x.h)(he,q)}))}static#e=this.\u0275fac=function(he){return new(he||dt)(n.KVO(n.zcH),n.KVO(_e))};static#t=this.\u0275prov=n.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})();function rt(dt){return function ye(dt){return yt(dt,"ngrxOnIdentifyEffects")}(dt)?dt.ngrxOnIdentifyEffects():""}let Nt=(()=>{class dt{get isStarted(){return!!this.effectsSubscription}constructor(we,he){this.effectSources=we,this.store=he,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=this.\u0275fac=function(he){return new(he||dt)(n.KVO(Ye),n.KVO(c.il))};static#t=this.\u0275prov=n.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),Et=(()=>{class dt{constructor(we,he,q,Re,Ne,gt,$e){this.sources=we,he.start();for(const Fe of Re)we.addEffects(Fe);q.dispatch({type:be})}addEffects(we){this.sources.addEffects(we)}static#e=this.\u0275fac=function(he){return new(he||dt)(n.KVO(Ye),n.KVO(Nt),n.KVO(c.il),n.KVO(fe),n.KVO(c.wc,8),n.KVO(c.ae,8),n.KVO(X,8))};static#t=this.\u0275mod=n.$C({type:dt});static#i=this.\u0275inj=n.G2t({})}return dt})(),Vt=(()=>{class dt{constructor(we,he,q,Re){const Ne=he.flat();for(const gt of Ne)we.addEffects(gt)}static#e=this.\u0275fac=function(he){return new(he||dt)(n.KVO(Et),n.KVO(mt),n.KVO(c.wc,8),n.KVO(c.ae,8))};static#t=this.\u0275mod=n.$C({type:dt});static#i=this.\u0275inj=n.G2t({})}return dt})(),oe=(()=>{class dt{static forFeature(...we){const he=we.flat(),q=N(he);return{ngModule:Vt,providers:[q,{provide:ke,multi:!0,useValue:he},{provide:me,multi:!0,useValue:[]},{provide:mt,multi:!0,useFactory:tt,deps:[ke,me]}]}}static forRoot(...we){const he=we.flat(),q=N(he);return{ngModule:Et,providers:[q,{provide:ce,useValue:[he]},{provide:X,useFactory:$t},{provide:me,multi:!0,useValue:[]},{provide:fe,useFactory:tt,deps:[ce,me]}]}}static#e=this.\u0275fac=function(he){return new(he||dt)};static#t=this.\u0275mod=n.$C({type:dt});static#i=this.\u0275inj=n.G2t({})}return dt})();function tt(dt,Ae){const we=[];for(const he of dt)we.push(...he);for(const he of Ae)we.push(...he);return we.map(he=>function ne(dt){return dt instanceof n.nKC||V(dt)}(he)?(0,n.WQX)(he):he)}function $t(){const dt=(0,n.WQX)(Nt,{optional:!0,skipSelf:!0}),Ae=(0,n.WQX)(ce,{self:!0});if((1!==Ae.length||0!==Ae[0].length)&&dt)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},9640:(Qe,te,g)=>{"use strict";g.d(te,{SS:()=>de,Zz:()=>Te,N_:()=>m,Bh:()=>at,QU:()=>_t,sA:()=>ue,h1:()=>He,il:()=>rt,ae:()=>rr,md:()=>Rn,wc:()=>Qn,q6:()=>pt,VP:()=>W,UX:()=>Kt,vy:()=>Oi,Mz:()=>st,on:()=>_i,xk:()=>$});var e=g(4438),t=g(4412),w=g(1985),S=g(1413),l=g(7242),x=g(941),f=g(3993),I=g(2816),d=g(6354),y=g(3294),F=g(9079);const R={};function W(jt,Ci){if(R[jt]=(R[jt]||0)+1,"function"==typeof Ci)return Q(jt,(...yi)=>({...Ci(...yi),type:jt}));switch(Ci?Ci._as:"empty"){case"empty":return Q(jt,()=>({type:jt}));case"props":return Q(jt,yi=>({...yi,type:jt}));default:throw new Error("Unexpected config.")}}function $(){return{_as:"props",_p:void 0}}function Q(jt,Ci){return Object.defineProperty(Ci,"type",{value:jt,writable:!1})}const Te="@ngrx/store/init";let de=(()=>{class jt extends t.t{constructor(){super({type:Te})}next(hi){if("function"==typeof hi)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof hi>"u")throw new TypeError("Actions must be objects");if(typeof hi.type>"u")throw new TypeError("Actions must have a type property");super.next(hi)}complete(){}ngOnDestroy(){super.complete()}static#e=this.\u0275fac=function(yi){return new(yi||jt)};static#t=this.\u0275prov=e.jDH({token:jt,factory:jt.\u0275fac})}return jt})();const D=[de],n=new e.nKC("@ngrx/store Internal Root Guard"),c=new e.nKC("@ngrx/store Internal Initial State"),m=new e.nKC("@ngrx/store Initial State"),h=new e.nKC("@ngrx/store Reducer Factory"),C=new e.nKC("@ngrx/store Internal Reducer Factory Provider"),k=new e.nKC("@ngrx/store Initial Reducers"),L=new e.nKC("@ngrx/store Internal Initial Reducers"),_=new e.nKC("@ngrx/store Store Features"),r=new e.nKC("@ngrx/store Internal Store Reducers"),v=new e.nKC("@ngrx/store Internal Feature Reducers"),V=new e.nKC("@ngrx/store Internal Feature Configs"),N=new e.nKC("@ngrx/store Internal Store Features"),ne=new e.nKC("@ngrx/store Internal Feature Reducers Token"),Ee=new e.nKC("@ngrx/store Feature Reducers"),ze=new e.nKC("@ngrx/store User Provided Meta Reducers"),qe=new e.nKC("@ngrx/store Meta Reducers"),Ke=new e.nKC("@ngrx/store Internal Resolved Meta Reducers"),se=new e.nKC("@ngrx/store User Runtime Checks Config"),X=new e.nKC("@ngrx/store Internal User Runtime Checks Config"),me=new e.nKC("@ngrx/store Internal Runtime Checks"),ce=new e.nKC("@ngrx/store Check if Action types are unique");function mt(jt,Ci={}){const hi=Object.keys(jt),yi={};for(let ji=0;ji<hi.length;ji++){const rn=hi[ji];"function"==typeof jt[rn]&&(yi[rn]=jt[rn])}const Vi=Object.keys(yi);return function(rn,ar){rn=void 0===rn?Ci:rn;let sr=!1;const nr={};for(let or=0;or<Vi.length;or++){const Xr=Vi[or],zr=rn[Xr],Ho=(0,yi[Xr])(zr,ar);nr[Xr]=Ho,sr=sr||Ho!==zr}return sr?nr:rn}}function be(...jt){return function(Ci){if(0===jt.length)return Ci;const hi=jt[jt.length-1];return jt.slice(0,-1).reduceRight((Vi,ji)=>ji(Vi),hi(Ci))}}function pe(jt,Ci){return Array.isArray(Ci)&&Ci.length>0&&(jt=be.apply(null,[...Ci,jt])),(hi,yi)=>{const Vi=jt(hi);return(ji,rn)=>Vi(ji=void 0===ji?yi:ji,rn)}}new e.nKC("@ngrx/store Root Store Provider"),new e.nKC("@ngrx/store Feature State Provider");class _t extends w.c{}class at extends de{}const pt="@ngrx/store/update-reducers";let Xt=(()=>{class jt extends t.t{get currentReducers(){return this.reducers}constructor(hi,yi,Vi,ji){super(ji(Vi,yi)),this.dispatcher=hi,this.initialState=yi,this.reducers=Vi,this.reducerFactory=ji}addFeature(hi){this.addFeatures([hi])}addFeatures(hi){const yi=hi.reduce((Vi,{reducers:ji,reducerFactory:rn,metaReducers:ar,initialState:sr,key:nr})=>{const or="function"==typeof ji?function Ze(jt){const Ci=Array.isArray(jt)&&jt.length>0?be(...jt):hi=>hi;return(hi,yi)=>(hi=Ci(hi),(Vi,ji)=>hi(Vi=void 0===Vi?yi:Vi,ji))}(ar)(ji,sr):pe(rn,ar)(ji,sr);return Vi[nr]=or,Vi},{});this.addReducers(yi)}removeFeature(hi){this.removeFeatures([hi])}removeFeatures(hi){this.removeReducers(hi.map(yi=>yi.key))}addReducer(hi,yi){this.addReducers({[hi]:yi})}addReducers(hi){this.reducers={...this.reducers,...hi},this.updateReducers(Object.keys(hi))}removeReducer(hi){this.removeReducers([hi])}removeReducers(hi){hi.forEach(yi=>{this.reducers=function _e(jt,Ci){return Object.keys(jt).filter(hi=>hi!==Ci).reduce((hi,yi)=>Object.assign(hi,{[yi]:jt[yi]}),{})}(this.reducers,yi)}),this.updateReducers(hi)}updateReducers(hi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:pt,features:hi})}ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(yi){return new(yi||jt)(e.KVO(at),e.KVO(m),e.KVO(k),e.KVO(h))};static#t=this.\u0275prov=e.jDH({token:jt,factory:jt.\u0275fac})}return jt})();const ye=[Xt,{provide:_t,useExisting:Xt},{provide:at,useExisting:de}];let ue=(()=>{class jt extends S.B{ngOnDestroy(){this.complete()}static#e=this.\u0275fac=(()=>{let hi;return function(Vi){return(hi||(hi=e.xGo(jt)))(Vi||jt)}})();static#t=this.\u0275prov=e.jDH({token:jt,factory:jt.\u0275fac})}return jt})();const Ie=[ue];class He extends w.c{}let Xe=(()=>{class jt extends t.t{static#e=this.INIT=Te;constructor(hi,yi,Vi,ji){super(ji);const nr=hi.pipe((0,x.Q)(l.T)).pipe((0,f.E)(yi)).pipe((0,I.S)(yt,{state:ji}));this.stateSubscription=nr.subscribe(({state:or,action:Xr})=>{this.next(or),Vi.next(Xr)}),this.state=(0,F.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#t=this.\u0275fac=function(yi){return new(yi||jt)(e.KVO(de),e.KVO(_t),e.KVO(ue),e.KVO(m))};static#i=this.\u0275prov=e.jDH({token:jt,factory:jt.\u0275fac})}return jt})();function yt(jt={state:void 0},[Ci,hi]){const{state:yi}=jt;return{state:hi(yi,Ci),action:Ci}}const Ye=[Xe,{provide:He,useExisting:Xe}];let rt=(()=>{class jt extends w.c{constructor(hi,yi,Vi){super(),this.actionsObserver=yi,this.reducerManager=Vi,this.source=hi,this.state=hi.state}select(hi,...yi){return Nt.call(null,hi,...yi)(this)}selectSignal(hi,yi){return(0,e.EWP)(()=>hi(this.state()),yi)}lift(hi){const yi=new jt(this,this.actionsObserver,this.reducerManager);return yi.operator=hi,yi}dispatch(hi){this.actionsObserver.next(hi)}next(hi){this.actionsObserver.next(hi)}error(hi){this.actionsObserver.error(hi)}complete(){this.actionsObserver.complete()}addReducer(hi,yi){this.reducerManager.addReducer(hi,yi)}removeReducer(hi){this.reducerManager.removeReducer(hi)}static#e=this.\u0275fac=function(yi){return new(yi||jt)(e.KVO(He),e.KVO(de),e.KVO(Xt))};static#t=this.\u0275prov=e.jDH({token:jt,factory:jt.\u0275fac})}return jt})();const Yt=[rt];function Nt(jt,Ci,...hi){return function(Vi){let ji;if("string"==typeof jt){const rn=[Ci,...hi].filter(Boolean);ji=Vi.pipe(function T(...jt){const Ci=jt.length;if(0===Ci)throw new Error("list of properties cannot be empty.");return(0,d.T)(hi=>{let yi=hi;for(let Vi=0;Vi<Ci;Vi++){const ji=yi?.[jt[Vi]];if(!(typeof ji<"u"))return;yi=ji}return yi})}(jt,...rn))}else{if("function"!=typeof jt)throw new TypeError(`Unexpected type '${typeof jt}' in select operator, expected 'string' or 'function'`);ji=Vi.pipe((0,d.T)(rn=>jt(rn,Ci)))}return ji.pipe((0,y.F)())}}const Et="https://ngrx.io/guide/store/configuration/runtime-checks";function Vt(jt){return void 0===jt}function oe(jt){return null===jt}function tt(jt){return Array.isArray(jt)}function St(jt){return"object"==typeof jt&&null!==jt}function we(jt){return"function"==typeof jt}let Re=!1;function $e(jt,Ci){return jt===Ci}function et(jt,Ci=$e,hi=$e){let ji,yi=null,Vi=null;return{memoized:function nr(){if(void 0!==ji)return ji.result;if(!yi)return Vi=jt.apply(null,arguments),yi=arguments,Vi;if(!function Fe(jt,Ci,hi){for(let yi=0;yi<jt.length;yi++)if(!hi(jt[yi],Ci[yi]))return!0;return!1}(arguments,yi,Ci))return Vi;const or=jt.apply(null,arguments);return yi=arguments,hi(Vi,or)?Vi:(Vi=or,or)},reset:function rn(){yi=null,Vi=null},setResult:function ar(or=void 0){ji={result:or}},clearResult:function sr(){ji=void 0}}}function st(...jt){return function mi(jt,Ci={stateFn:Tt}){return function(...hi){let yi=hi;if(Array.isArray(yi[0])){const[or,...Xr]=yi;yi=[...or,...Xr]}else 1===yi.length&&function Pt(jt){return!!jt&&"object"==typeof jt&&Object.values(jt).every(Ci=>"function"==typeof Ci)}(yi[0])&&(yi=function Xi(jt){const Ci=Object.values(jt),hi=Object.keys(jt);return[...Ci,(...Vi)=>hi.reduce((ji,rn,ar)=>({...ji,[rn]:Vi[ar]}),{})]}(yi[0]));const Vi=yi.slice(0,yi.length-1),ji=yi[yi.length-1],rn=Vi.filter(or=>or.release&&"function"==typeof or.release),ar=jt(function(...or){return ji.apply(null,or)}),sr=et(function(or,Xr){return Ci.stateFn.apply(null,[or,Vi,Xr,ar])});return Object.assign(sr.memoized,{release:function nr(){sr.reset(),ar.reset(),rn.forEach(or=>or.release())},projector:ar.memoized,setResult:sr.setResult,clearResult:sr.clearResult})}}(et)(...jt)}function Tt(jt,Ci,hi,yi){if(void 0===hi){const ji=Ci.map(rn=>rn(jt));return yi.memoized.apply(null,ji)}const Vi=Ci.map(ji=>ji(jt,hi));return yi.memoized.apply(null,[...Vi,hi])}function Kt(jt){return st(Ci=>{const hi=Ci[jt];return!function gt(){return Re}()&&(0,e.naY)()&&!(jt in Ci)&&console.warn(`@ngrx/store: The feature name "${jt}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${jt}', ...) or StoreModule.forFeature('${jt}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),hi},Ci=>Ci)}function Qi(jt){return jt instanceof e.nKC?(0,e.WQX)(jt):jt}function Li(jt,Ci){return Ci.map((hi,yi)=>{if(jt[yi]instanceof e.nKC){const Vi=(0,e.WQX)(jt[yi]);return{key:hi.key,reducerFactory:Vi.reducerFactory?Vi.reducerFactory:mt,metaReducers:Vi.metaReducers?Vi.metaReducers:[],initialState:Vi.initialState}}return hi})}function Zi(jt){return jt.map(Ci=>Ci instanceof e.nKC?(0,e.WQX)(Ci):Ci)}function Qt(jt){return"function"==typeof jt?jt():jt}function Mt(jt,Ci){return jt.concat(Ci)}function it(){if((0,e.WQX)(rt,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function wt(jt){Object.freeze(jt);const Ci=we(jt);return Object.getOwnPropertyNames(jt).forEach(hi=>{if(!hi.startsWith("\u0275")&&function q(jt,Ci){return Object.prototype.hasOwnProperty.call(jt,Ci)}(jt,hi)&&(!Ci||"caller"!==hi&&"callee"!==hi&&"arguments"!==hi)){const yi=jt[hi];(St(yi)||we(yi))&&!Object.isFrozen(yi)&&wt(yi)}}),jt}function xi(jt,Ci=[]){return(Vt(jt)||oe(jt))&&0===Ci.length?{path:["root"],value:jt}:Object.keys(jt).reduce((yi,Vi)=>{if(yi)return yi;const ji=jt[Vi];return function he(jt){return we(jt)&&jt.hasOwnProperty("\u0275cmp")}(ji)?yi:!(Vt(ji)||oe(ji)||function Jt(jt){return"number"==typeof jt}(ji)||function zt(jt){return"boolean"==typeof jt}(ji)||function $t(jt){return"string"==typeof jt}(ji)||tt(ji))&&(function Ae(jt){if(!function dt(jt){return St(jt)&&!tt(jt)}(jt))return!1;const Ci=Object.getPrototypeOf(jt);return Ci===Object.prototype||null===Ci}(ji)?xi(ji,[...Ci,Vi]):{path:[...Ci,Vi],value:ji})},!1)}function Si(jt,Ci){if(!1===jt)return;const hi=jt.path.join("."),yi=new Error(`Detected unserializable ${Ci} at "${hi}". ${Et}#strict${Ci}serializability`);throw yi.value=jt.value,yi.unserializablePath=hi,yi}function en(jt){return(0,e.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...jt}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Ni({strictActionSerializability:jt,strictStateSerializability:Ci}){return hi=>jt||Ci?function Ut(jt,Ci){return function(hi,yi){Ci.action(yi)&&Si(xi(yi),"action");const Vi=jt(hi,yi);return Ci.state()&&Si(xi(Vi),"state"),Vi}}(hi,{action:yi=>jt&&!Zt(yi),state:()=>Ci}):hi}function fn({strictActionImmutability:jt,strictStateImmutability:Ci}){return hi=>jt||Ci?function ct(jt,Ci){return function(hi,yi){const Vi=Ci.action(yi)?wt(yi):yi,ji=jt(hi,Vi);return Ci.state()?wt(ji):ji}}(hi,{action:yi=>jt&&!Zt(yi),state:()=>Ci}):hi}function Zt(jt){return jt.type.startsWith("@ngrx")}function bt({strictActionWithinNgZone:jt}){return Ci=>jt?function zi(jt,Ci){return function(hi,yi){if(Ci.action(yi)&&!e.SKi.isInAngularZone())throw new Error(`Action '${yi.type}' running outside NgZone. ${Et}#strictactionwithinngzone`);return jt(hi,yi)}}(Ci,{action:hi=>jt&&!Zt(hi)}):Ci}function re(jt){return[{provide:X,useValue:jt},{provide:se,useFactory:Ce,deps:[X]},{provide:me,deps:[se],useFactory:en},{provide:qe,multi:!0,deps:[me],useFactory:fn},{provide:qe,multi:!0,deps:[me],useFactory:Ni},{provide:qe,multi:!0,deps:[me],useFactory:bt}]}function je(){return[{provide:ce,multi:!0,deps:[me],useFactory:ot}]}function Ce(jt){return jt}function ot(jt){if(!jt.strictActionTypeUniqueness)return;const Ci=Object.entries(R).filter(([,hi])=>hi>1).map(([hi])=>hi);if(Ci.length)throw new Error(`Action types are registered more than once, ${Ci.map(hi=>`"${hi}"`).join(", ")}. ${Et}#strictactiontypeuniqueness`)}function ii(jt={},Ci={}){return[{provide:n,useFactory:it},{provide:c,useValue:Ci.initialState},{provide:m,useFactory:Qt,deps:[c]},{provide:L,useValue:jt},{provide:r,useExisting:jt instanceof e.nKC?jt:L},{provide:k,deps:[L,[new e.y_5(r)]],useFactory:Qi},{provide:ze,useValue:Ci.metaReducers?Ci.metaReducers:[]},{provide:Ke,deps:[qe,ze],useFactory:Mt},{provide:C,useValue:Ci.reducerFactory?Ci.reducerFactory:mt},{provide:h,deps:[C,Ke],useFactory:pe},D,ye,Ie,Ye,Yt,re(Ci.runtimeChecks),je()]}function Yn(jt,Ci,hi={}){return[{provide:V,multi:!0,useValue:jt instanceof Object?{}:hi},{provide:_,multi:!0,useValue:{key:jt instanceof Object?jt.name:jt,reducerFactory:hi instanceof e.nKC||!hi.reducerFactory?mt:hi.reducerFactory,metaReducers:hi instanceof e.nKC||!hi.metaReducers?[]:hi.metaReducers,initialState:hi instanceof e.nKC||!hi.initialState?void 0:hi.initialState}},{provide:N,deps:[V,_],useFactory:Li},{provide:v,multi:!0,useValue:jt instanceof Object?jt.reducer:Ci},{provide:ne,multi:!0,useExisting:Ci instanceof e.nKC?Ci:v},{provide:Ee,multi:!0,deps:[v,[new e.y_5(ne)]],useFactory:Zi},je()]}let Qn=(()=>{class jt{constructor(hi,yi,Vi,ji,rn,ar){}static#e=this.\u0275fac=function(yi){return new(yi||jt)(e.KVO(de),e.KVO(_t),e.KVO(ue),e.KVO(rt),e.KVO(n,8),e.KVO(ce,8))};static#t=this.\u0275mod=e.$C({type:jt});static#i=this.\u0275inj=e.G2t({})}return jt})(),rr=(()=>{class jt{constructor(hi,yi,Vi,ji,rn){this.features=hi,this.featureReducers=yi,this.reducerManager=Vi;const ar=hi.map((sr,nr)=>{const Xr=yi.shift()[nr];return{...sr,reducers:Xr,initialState:Qt(sr.initialState)}});Vi.addFeatures(ar)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=this.\u0275fac=function(yi){return new(yi||jt)(e.KVO(N),e.KVO(Ee),e.KVO(Xt),e.KVO(Qn),e.KVO(ce,8))};static#t=this.\u0275mod=e.$C({type:jt});static#i=this.\u0275inj=e.G2t({})}return jt})(),Rn=(()=>{class jt{static forRoot(hi,yi){return{ngModule:Qn,providers:[...ii(hi,yi)]}}static forFeature(hi,yi,Vi={}){return{ngModule:rr,providers:[...Yn(hi,yi,Vi)]}}static#e=this.\u0275fac=function(yi){return new(yi||jt)};static#t=this.\u0275mod=e.$C({type:jt});static#i=this.\u0275inj=e.G2t({})}return jt})();function _i(...jt){return{reducer:jt.pop(),types:jt.map(yi=>yi.type)}}function Oi(jt,...Ci){const hi=new Map;for(const yi of Ci)for(const Vi of yi.types){const ji=hi.get(Vi);hi.set(Vi,ji?(ar,sr)=>yi.reducer(ji(ar,sr),sr):yi.reducer)}return function(yi=jt,Vi){const ji=hi.get(Vi.type);return ji?ji(yi,Vi):yi}}},6064:(Qe,te,g)=>{"use strict";g.d(te,{Dl:()=>c6,L8:()=>um,dV:()=>C3});var e=g(4438),t=g(177),w=g(1635),S=g(6939),l=g(3726),x=g(152),f=g(9969);function I(){}function d(u){return null==u?I:function(){return this.querySelector(u)}}function F(){return[]}function R(u){return null==u?F:function(){return this.querySelectorAll(u)}}function $(u){return function(){return this.matches(u)}}function j(u){return function(A){return A.matches(u)}}var Q=Array.prototype.find;function ee(){return this.firstElementChild}var ge=Array.prototype.filter;function ae(){return Array.from(this.children)}function D(u){return new Array(u.length)}function c(u,A){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=A}function h(u,A,o,M,B,Y){for(var Ct,Le=0,Gt=A.length,Ht=Y.length;Le<Ht;++Le)(Ct=A[Le])?(Ct.__data__=Y[Le],M[Le]=Ct):o[Le]=new c(u,Y[Le]);for(;Le<Gt;++Le)(Ct=A[Le])&&(B[Le]=Ct)}function C(u,A,o,M,B,Y,Le){var Ct,Gt,Ai,Ht=new Map,li=A.length,gi=Y.length,wi=new Array(li);for(Ct=0;Ct<li;++Ct)(Gt=A[Ct])&&(wi[Ct]=Ai=Le.call(Gt,Gt.__data__,Ct,A)+"",Ht.has(Ai)?B[Ct]=Gt:Ht.set(Ai,Gt));for(Ct=0;Ct<gi;++Ct)Ai=Le.call(u,Y[Ct],Ct,Y)+"",(Gt=Ht.get(Ai))?(M[Ct]=Gt,Gt.__data__=Y[Ct],Ht.delete(Ai)):o[Ct]=new c(u,Y[Ct]);for(Ct=0;Ct<li;++Ct)(Gt=A[Ct])&&Ht.get(wi[Ct])===Gt&&(B[Ct]=Gt)}function k(u){return u.__data__}function _(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function Ee(u,A){return u<A?-1:u>A?1:u>=A?0:NaN}c.prototype={constructor:c,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,A){return this._parent.insertBefore(u,A)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var ce="http://www.w3.org/1999/xhtml";const fe={svg:"http://www.w3.org/2000/svg",xhtml:ce,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ke(u){var A=u+="",o=A.indexOf(":");return o>=0&&"xmlns"!==(A=u.slice(0,o))&&(u=u.slice(o+1)),fe.hasOwnProperty(A)?{space:fe[A],local:u}:u}function mt(u){return function(){this.removeAttribute(u)}}function _e(u){return function(){this.removeAttributeNS(u.space,u.local)}}function be(u,A){return function(){this.setAttribute(u,A)}}function pe(u,A){return function(){this.setAttributeNS(u.space,u.local,A)}}function Ze(u,A){return function(){var o=A.apply(this,arguments);null==o?this.removeAttribute(u):this.setAttribute(u,o)}}function _t(u,A){return function(){var o=A.apply(this,arguments);null==o?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,o)}}function pt(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function Xt(u){return function(){this.style.removeProperty(u)}}function ye(u,A,o){return function(){this.style.setProperty(u,A,o)}}function ue(u,A,o){return function(){var M=A.apply(this,arguments);null==M?this.style.removeProperty(u):this.style.setProperty(u,M,o)}}function He(u,A){return u.style.getPropertyValue(A)||pt(u).getComputedStyle(u,null).getPropertyValue(A)}function Xe(u){return function(){delete this[u]}}function yt(u,A){return function(){this[u]=A}}function Ye(u,A){return function(){var o=A.apply(this,arguments);null==o?delete this[u]:this[u]=o}}function Yt(u){return u.trim().split(/^|\s+/)}function Nt(u){return u.classList||new Et(u)}function Et(u){this._node=u,this._names=Yt(u.getAttribute("class")||"")}function Vt(u,A){for(var o=Nt(u),M=-1,B=A.length;++M<B;)o.add(A[M])}function oe(u,A){for(var o=Nt(u),M=-1,B=A.length;++M<B;)o.remove(A[M])}function tt(u){return function(){Vt(this,u)}}function $t(u){return function(){oe(this,u)}}function zt(u,A){return function(){(A.apply(this,arguments)?Vt:oe)(this,u)}}function St(){this.textContent=""}function dt(u){return function(){this.textContent=u}}function Ae(u){return function(){var A=u.apply(this,arguments);this.textContent=A??""}}function he(){this.innerHTML=""}function q(u){return function(){this.innerHTML=u}}function Re(u){return function(){var A=u.apply(this,arguments);this.innerHTML=A??""}}function gt(){this.nextSibling&&this.parentNode.appendChild(this)}function Fe(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function et(u){return function(){var A=this.ownerDocument,o=this.namespaceURI;return o===ce&&A.documentElement.namespaceURI===ce?A.createElement(u):A.createElementNS(o,u)}}function st(u){return function(){return this.ownerDocument.createElementNS(u.space,u.local)}}function Tt(u){var A=ke(u);return(A.local?st:et)(A)}function Kt(){return null}function Xi(){var u=this.parentNode;u&&u.removeChild(this)}function fi(){var u=this.cloneNode(!1),A=this.parentNode;return A?A.insertBefore(u,this.nextSibling):u}function vn(){var u=this.cloneNode(!0),A=this.parentNode;return A?A.insertBefore(u,this.nextSibling):u}function Mt(u){return function(){var A=this.__on;if(A){for(var Y,o=0,M=-1,B=A.length;o<B;++o)Y=A[o],u.type&&Y.type!==u.type||Y.name!==u.name?A[++M]=Y:this.removeEventListener(Y.type,Y.listener,Y.options);++M?A.length=M:delete this.__on}}}function it(u,A,o){return function(){var B,M=this.__on,Y=function Zi(u){return function(A){u.call(this,A,this.__data__)}}(A);if(M)for(var Le=0,Ct=M.length;Le<Ct;++Le)if((B=M[Le]).type===u.type&&B.name===u.name)return this.removeEventListener(B.type,B.listener,B.options),this.addEventListener(B.type,B.listener=Y,B.options=o),void(B.value=A);this.addEventListener(u.type,Y,o),B={type:u.type,name:u.name,value:A,listener:Y,options:o},M?M.push(B):this.__on=[B]}}function wt(u,A,o){var M=pt(u),B=M.CustomEvent;"function"==typeof B?B=new B(A,o):(B=M.document.createEvent("Event"),o?(B.initEvent(A,o.bubbles,o.cancelable),B.detail=o.detail):B.initEvent(A,!1,!1)),u.dispatchEvent(B)}function Ut(u,A){return function(){return wt(this,u,A)}}function xi(u,A){return function(){return wt(this,u,A.apply(this,arguments))}}Et.prototype={add:function(u){this._names.indexOf(u)<0&&(this._names.push(u),this._node.setAttribute("class",this._names.join(" ")))},remove:function(u){var A=this._names.indexOf(u);A>=0&&(this._names.splice(A,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var en=[null];function Ni(u,A){this._groups=u,this._parents=A}function fn(){return new Ni([[document.documentElement]],en)}Ni.prototype=fn.prototype={constructor:Ni,select:function T(u){"function"!=typeof u&&(u=d(u));for(var A=this._groups,o=A.length,M=new Array(o),B=0;B<o;++B)for(var Gt,Ht,Y=A[B],Le=Y.length,Ct=M[B]=new Array(Le),li=0;li<Le;++li)(Gt=Y[li])&&(Ht=u.call(Gt,Gt.__data__,li,Y))&&("__data__"in Gt&&(Ht.__data__=Gt.__data__),Ct[li]=Ht);return new Ni(M,this._parents)},selectAll:function W(u){u="function"==typeof u?function z(u){return function(){return function y(u){return null==u?[]:Array.isArray(u)?u:Array.from(u)}(u.apply(this,arguments))}}(u):R(u);for(var A=this._groups,o=A.length,M=[],B=[],Y=0;Y<o;++Y)for(var Gt,Le=A[Y],Ct=Le.length,Ht=0;Ht<Ct;++Ht)(Gt=Le[Ht])&&(M.push(u.call(Gt,Gt.__data__,Ht,Le)),B.push(Gt));return new Ni(M,B)},selectChild:function ie(u){return this.select(null==u?ee:function J(u){return function(){return Q.call(this.children,u)}}("function"==typeof u?u:j(u)))},selectChildren:function Te(u){return this.selectAll(null==u?ae:function Me(u){return function(){return ge.call(this.children,u)}}("function"==typeof u?u:j(u)))},filter:function de(u){"function"!=typeof u&&(u=$(u));for(var A=this._groups,o=A.length,M=new Array(o),B=0;B<o;++B)for(var Gt,Y=A[B],Le=Y.length,Ct=M[B]=[],Ht=0;Ht<Le;++Ht)(Gt=Y[Ht])&&u.call(Gt,Gt.__data__,Ht,Y)&&Ct.push(Gt);return new Ni(M,this._parents)},data:function L(u,A){if(!arguments.length)return Array.from(this,k);var o=A?C:h,M=this._parents,B=this._groups;"function"!=typeof u&&(u=function m(u){return function(){return u}}(u));for(var Y=B.length,Le=new Array(Y),Ct=new Array(Y),Gt=new Array(Y),Ht=0;Ht<Y;++Ht){var li=M[Ht],gi=B[Ht],wi=gi.length,Ai=_(u.call(li,li&&li.__data__,Ht,M)),cn=Ai.length,Tn=Ct[Ht]=new Array(cn),ki=Le[Ht]=new Array(cn);o(li,gi,Tn,ki,Gt[Ht]=new Array(wi),Ai,A);for(var qn,Xn,Ln=0,_n=0;Ln<cn;++Ln)if(qn=Tn[Ln]){for(Ln>=_n&&(_n=Ln+1);!(Xn=ki[_n])&&++_n<cn;);qn._next=Xn||null}}return(Le=new Ni(Le,M))._enter=Ct,Le._exit=Gt,Le},enter:function n(){return new Ni(this._enter||this._groups.map(D),this._parents)},exit:function r(){return new Ni(this._exit||this._groups.map(D),this._parents)},join:function v(u,A,o){var M=this.enter(),B=this,Y=this.exit();return"function"==typeof u?(M=u(M))&&(M=M.selection()):M=M.append(u+""),null!=A&&(B=A(B))&&(B=B.selection()),null==o?Y.remove():o(Y),M&&B?M.merge(B).order():B},merge:function V(u){for(var A=u.selection?u.selection():u,o=this._groups,M=A._groups,B=o.length,Le=Math.min(B,M.length),Ct=new Array(B),Gt=0;Gt<Le;++Gt)for(var Ai,Ht=o[Gt],li=M[Gt],gi=Ht.length,wi=Ct[Gt]=new Array(gi),cn=0;cn<gi;++cn)(Ai=Ht[cn]||li[cn])&&(wi[cn]=Ai);for(;Gt<B;++Gt)Ct[Gt]=o[Gt];return new Ni(Ct,this._parents)},selection:function Zt(){return this},order:function N(){for(var u=this._groups,A=-1,o=u.length;++A<o;)for(var Le,M=u[A],B=M.length-1,Y=M[B];--B>=0;)(Le=M[B])&&(Y&&4^Le.compareDocumentPosition(Y)&&Y.parentNode.insertBefore(Le,Y),Y=Le);return this},sort:function ne(u){function A(gi,wi){return gi&&wi?u(gi.__data__,wi.__data__):!gi-!wi}u||(u=Ee);for(var o=this._groups,M=o.length,B=new Array(M),Y=0;Y<M;++Y){for(var Ht,Le=o[Y],Ct=Le.length,Gt=B[Y]=new Array(Ct),li=0;li<Ct;++li)(Ht=Le[li])&&(Gt[li]=Ht);Gt.sort(A)}return new Ni(B,this._parents).order()},call:function ze(){var u=arguments[0];return arguments[0]=this,u.apply(null,arguments),this},nodes:function qe(){return Array.from(this)},node:function Ke(){for(var u=this._groups,A=0,o=u.length;A<o;++A)for(var M=u[A],B=0,Y=M.length;B<Y;++B){var Le=M[B];if(Le)return Le}return null},size:function se(){let u=0;for(const A of this)++u;return u},empty:function X(){return!this.node()},each:function me(u){for(var A=this._groups,o=0,M=A.length;o<M;++o)for(var Ct,B=A[o],Y=0,Le=B.length;Y<Le;++Y)(Ct=B[Y])&&u.call(Ct,Ct.__data__,Y,B);return this},attr:function at(u,A){var o=ke(u);if(arguments.length<2){var M=this.node();return o.local?M.getAttributeNS(o.space,o.local):M.getAttribute(o)}return this.each((null==A?o.local?_e:mt:"function"==typeof A?o.local?_t:Ze:o.local?pe:be)(o,A))},style:function Ie(u,A,o){return arguments.length>1?this.each((null==A?Xt:"function"==typeof A?ue:ye)(u,A,o??"")):He(this.node(),u)},property:function rt(u,A){return arguments.length>1?this.each((null==A?Xe:"function"==typeof A?Ye:yt)(u,A)):this.node()[u]},classed:function Jt(u,A){var o=Yt(u+"");if(arguments.length<2){for(var M=Nt(this.node()),B=-1,Y=o.length;++B<Y;)if(!M.contains(o[B]))return!1;return!0}return this.each(("function"==typeof A?zt:A?tt:$t)(o,A))},text:function we(u){return arguments.length?this.each(null==u?St:("function"==typeof u?Ae:dt)(u)):this.node().textContent},html:function Ne(u){return arguments.length?this.each(null==u?he:("function"==typeof u?Re:q)(u)):this.node().innerHTML},raise:function $e(){return this.each(gt)},lower:function Ge(){return this.each(Fe)},append:function mi(u){var A="function"==typeof u?u:Tt(u);return this.select(function(){return this.appendChild(A.apply(this,arguments))})},insert:function Pt(u,A){var o="function"==typeof u?u:Tt(u),M=null==A?Kt:"function"==typeof A?A:d(A);return this.select(function(){return this.insertBefore(o.apply(this,arguments),M.apply(this,arguments)||null)})},remove:function di(){return this.each(Xi)},clone:function Qi(u){return this.select(u?vn:fi)},datum:function Li(u){return arguments.length?this.property("__data__",u):this.node().__data__},on:function ct(u,A,o){var B,Le,M=function Qt(u){return u.trim().split(/^|\s+/).map(function(A){var o="",M=A.indexOf(".");return M>=0&&(o=A.slice(M+1),A=A.slice(0,M)),{type:A,name:o}})}(u+""),Y=M.length;if(!(arguments.length<2)){for(Ct=A?it:Mt,B=0;B<Y;++B)this.each(Ct(M[B],A,o));return this}var Ct=this.node().__on;if(Ct)for(var li,Gt=0,Ht=Ct.length;Gt<Ht;++Gt)for(B=0,li=Ct[Gt];B<Y;++B)if((Le=M[B]).type===li.type&&Le.name===li.name)return li.value},dispatch:function Si(u,A){return this.each(("function"==typeof A?xi:Ut)(u,A))},[Symbol.iterator]:function*zi(){for(var u=this._groups,A=0,o=u.length;A<o;++A)for(var Le,M=u[A],B=0,Y=M.length;B<Y;++B)(Le=M[B])&&(yield Le)}};const bt=fn;var je={value:()=>{}};function Ce(){for(var M,u=0,A=arguments.length,o={};u<A;++u){if(!(M=arguments[u]+"")||M in o||/[\s.]/.test(M))throw new Error("illegal type: "+M);o[M]=[]}return new ot(o)}function ot(u){this._=u}function ii(u,A){for(var B,o=0,M=u.length;o<M;++o)if((B=u[o]).name===A)return B.value}function si(u,A,o){for(var M=0,B=u.length;M<B;++M)if(u[M].name===A){u[M]=je,u=u.slice(0,M).concat(u.slice(M+1));break}return null!=o&&u.push({name:A,value:o}),u}ot.prototype=Ce.prototype={constructor:ot,on:function(u,A){var B,o=this._,M=function ut(u,A){return u.trim().split(/^|\s+/).map(function(o){var M="",B=o.indexOf(".");if(B>=0&&(M=o.slice(B+1),o=o.slice(0,B)),o&&!A.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:M}})}(u+"",o),Y=-1,Le=M.length;if(!(arguments.length<2)){if(null!=A&&"function"!=typeof A)throw new Error("invalid callback: "+A);for(;++Y<Le;)if(B=(u=M[Y]).type)o[B]=si(o[B],u.name,A);else if(null==A)for(B in o)o[B]=si(o[B],u.name,null);return this}for(;++Y<Le;)if((B=(u=M[Y]).type)&&(B=ii(o[B],u.name)))return B},copy:function(){var u={},A=this._;for(var o in A)u[o]=A[o].slice();return new ot(u)},call:function(u,A){if((B=arguments.length-2)>0)for(var B,Y,o=new Array(B),M=0;M<B;++M)o[M]=arguments[M+2];if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(M=0,B=(Y=this._[u]).length;M<B;++M)Y[M].value.apply(A,o)},apply:function(u,A,o){if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(var M=this._[u],B=0,Y=M.length;B<Y;++B)M[B].value.apply(A,o)}};const Pi=Ce;function Rn(u,A,o){u.prototype=A.prototype=o,o.constructor=u}function _i(u,A){var o=Object.create(u.prototype);for(var M in A)o[M]=A[M];return o}function Oi(){}var Ci=1/.7,hi="\\s*([+-]?\\d+)\\s*",yi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Vi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ji=/^#([0-9a-f]{3,8})$/,rn=new RegExp(`^rgb\\(${hi},${hi},${hi}\\)$`),ar=new RegExp(`^rgb\\(${Vi},${Vi},${Vi}\\)$`),sr=new RegExp(`^rgba\\(${hi},${hi},${hi},${yi}\\)$`),nr=new RegExp(`^rgba\\(${Vi},${Vi},${Vi},${yi}\\)$`),or=new RegExp(`^hsl\\(${yi},${Vi},${Vi}\\)$`),Xr=new RegExp(`^hsla\\(${yi},${Vi},${Vi},${yi}\\)$`),Sr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function zr(){return this.rgb().formatHex()}function is(){return this.rgb().formatRgb()}function Rr(u){var A,o;return u=(u+"").trim().toLowerCase(),(A=ji.exec(u))?(o=A[1].length,A=parseInt(A[1],16),6===o?Ma(A):3===o?new xr(A>>8&15|A>>4&240,A>>4&15|240&A,(15&A)<<4|15&A,1):8===o?Ea(A>>24&255,A>>16&255,A>>8&255,(255&A)/255):4===o?Ea(A>>12&15|A>>8&240,A>>8&15|A>>4&240,A>>4&15|240&A,((15&A)<<4|15&A)/255):null):(A=rn.exec(u))?new xr(A[1],A[2],A[3],1):(A=ar.exec(u))?new xr(255*A[1]/100,255*A[2]/100,255*A[3]/100,1):(A=sr.exec(u))?Ea(A[1],A[2],A[3],A[4]):(A=nr.exec(u))?Ea(255*A[1]/100,255*A[2]/100,255*A[3]/100,A[4]):(A=or.exec(u))?Co(A[1],A[2]/100,A[3]/100,1):(A=Xr.exec(u))?Co(A[1],A[2]/100,A[3]/100,A[4]):Sr.hasOwnProperty(u)?Ma(Sr[u]):"transparent"===u?new xr(NaN,NaN,NaN,0):null}function Ma(u){return new xr(u>>16&255,u>>8&255,255&u,1)}function Ea(u,A,o,M){return M<=0&&(u=A=o=NaN),new xr(u,A,o,M)}function ho(u,A,o,M){return 1===arguments.length?function no(u){return u instanceof Oi||(u=Rr(u)),u?new xr((u=u.rgb()).r,u.g,u.b,u.opacity):new xr}(u):new xr(u,A,o,M??1)}function xr(u,A,o,M){this.r=+u,this.g=+A,this.b=+o,this.opacity=+M}function Sa(){return`#${Ta(this.r)}${Ta(this.g)}${Ta(this.b)}`}function ro(){const u=hn(this.opacity);return`${1===u?"rgb(":"rgba("}${Yr(this.r)}, ${Yr(this.g)}, ${Yr(this.b)}${1===u?")":`, ${u})`}`}function hn(u){return isNaN(u)?1:Math.max(0,Math.min(1,u))}function Yr(u){return Math.max(0,Math.min(255,Math.round(u)||0))}function Ta(u){return((u=Yr(u))<16?"0":"")+u.toString(16)}function Co(u,A,o,M){return M<=0?u=A=o=NaN:o<=0||o>=1?u=A=NaN:A<=0&&(u=NaN),new da(u,A,o,M)}function wo(u){if(u instanceof da)return new da(u.h,u.s,u.l,u.opacity);if(u instanceof Oi||(u=Rr(u)),!u)return new da;if(u instanceof da)return u;var A=(u=u.rgb()).r/255,o=u.g/255,M=u.b/255,B=Math.min(A,o,M),Y=Math.max(A,o,M),Le=NaN,Ct=Y-B,Gt=(Y+B)/2;return Ct?(Le=A===Y?(o-M)/Ct+6*(o<M):o===Y?(M-A)/Ct+2:(A-o)/Ct+4,Ct/=Gt<.5?Y+B:2-Y-B,Le*=60):Ct=Gt>0&&Gt<1?0:Le,new da(Le,Ct,Gt,u.opacity)}function da(u,A,o,M){this.h=+u,this.s=+A,this.l=+o,this.opacity=+M}function ao(u){return(u=(u||0)%360)<0?u+360:u}function Oa(u){return Math.max(0,Math.min(1,u||0))}function ns(u,A,o){return 255*(u<60?A+(o-A)*u/60:u<180?o:u<240?A+(o-A)*(240-u)/60:A)}function Fa(u,A,o,M,B){var Y=u*u,Le=Y*u;return((1-3*u+3*Y-Le)*A+(4-6*Y+3*Le)*o+(1+3*u+3*Y-3*Le)*M+Le*B)/6}Rn(Oi,Rr,{copy(u){return Object.assign(new this.constructor,this,u)},displayable(){return this.rgb().displayable()},hex:zr,formatHex:zr,formatHex8:function Ho(){return this.rgb().formatHex8()},formatHsl:function xo(){return wo(this).formatHsl()},formatRgb:is,toString:is}),Rn(xr,ho,_i(Oi,{brighter(u){return u=null==u?Ci:Math.pow(Ci,u),new xr(this.r*u,this.g*u,this.b*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new xr(this.r*u,this.g*u,this.b*u,this.opacity)},rgb(){return this},clamp(){return new xr(Yr(this.r),Yr(this.g),Yr(this.b),hn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Sa,formatHex:Sa,formatHex8:function zn(){return`#${Ta(this.r)}${Ta(this.g)}${Ta(this.b)}${Ta(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:ro,toString:ro})),Rn(da,function zo(u,A,o,M){return 1===arguments.length?wo(u):new da(u,A,o,M??1)},_i(Oi,{brighter(u){return u=null==u?Ci:Math.pow(Ci,u),new da(this.h,this.s,this.l*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new da(this.h,this.s,this.l*u,this.opacity)},rgb(){var u=this.h%360+360*(this.h<0),A=isNaN(u)||isNaN(this.s)?0:this.s,o=this.l,M=o+(o<.5?o:1-o)*A,B=2*o-M;return new xr(ns(u>=240?u-240:u+120,B,M),ns(u,B,M),ns(u<120?u+240:u-120,B,M),this.opacity)},clamp(){return new da(ao(this.h),Oa(this.s),Oa(this.l),hn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const u=hn(this.opacity);return`${1===u?"hsl(":"hsla("}${ao(this.h)}, ${100*Oa(this.s)}%, ${100*Oa(this.l)}%${1===u?")":`, ${u})`}`}}));const ha=u=>()=>u;function Na(u,A){var o=A-u;return o?function Br(u,A){return function(o){return u+o*A}}(u,o):ha(isNaN(u)?A:u)}const ja=function u(A){var o=function Ga(u){return 1==(u=+u)?Na:function(A,o){return o-A?function Ua(u,A,o){return u=Math.pow(u,o),A=Math.pow(A,o)-u,o=1/o,function(M){return Math.pow(u+M*A,o)}}(A,o,u):ha(isNaN(A)?o:A)}}(A);function M(B,Y){var Le=o((B=ho(B)).r,(Y=ho(Y)).r),Ct=o(B.g,Y.g),Gt=o(B.b,Y.b),Ht=Na(B.opacity,Y.opacity);return function(li){return B.r=Le(li),B.g=Ct(li),B.b=Gt(li),B.opacity=Ht(li),B+""}}return M.gamma=u,M}(1);function Bo(u){return function(A){var Le,Ct,o=A.length,M=new Array(o),B=new Array(o),Y=new Array(o);for(Le=0;Le<o;++Le)Ct=ho(A[Le]),M[Le]=Ct.r||0,B[Le]=Ct.g||0,Y[Le]=Ct.b||0;return M=u(M),B=u(B),Y=u(Y),Ct.opacity=1,function(Gt){return Ct.r=M(Gt),Ct.g=B(Gt),Ct.b=Y(Gt),Ct+""}}}function Za(u,A){var Le,o=A?A.length:0,M=u?Math.min(o,u.length):0,B=new Array(M),Y=new Array(o);for(Le=0;Le<M;++Le)B[Le]=ri(u[Le],A[Le]);for(;Le<o;++Le)Y[Le]=A[Le];return function(Ct){for(Le=0;Le<M;++Le)Y[Le]=B[Le](Ct);return Y}}function Lr(u,A){var o=new Date;return u=+u,A=+A,function(M){return o.setTime(u*(1-M)+A*M),o}}function _a(u,A){return u=+u,A=+A,function(o){return u*(1-o)+A*o}}function Oo(u,A){var B,o={},M={};for(B in(null===u||"object"!=typeof u)&&(u={}),(null===A||"object"!=typeof A)&&(A={}),A)B in u?o[B]=ri(u[B],A[B]):M[B]=A[B];return function(Y){for(B in o)M[B]=o[B](Y);return M}}Bo(function Ro(u){var A=u.length-1;return function(o){var M=o<=0?o=0:o>=1?(o=1,A-1):Math.floor(o*A),B=u[M],Y=u[M+1];return Fa((o-M/A)*A,M>0?u[M-1]:2*B-Y,B,Y,M<A-1?u[M+2]:2*Y-B)}}),Bo(function kr(u){var A=u.length;return function(o){var M=Math.floor(((o%=1)<0?++o:o)*A);return Fa((o-M/A)*A,u[(M+A-1)%A],u[M%A],u[(M+1)%A],u[(M+2)%A])}});var qr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Bn=new RegExp(qr.source,"g");function Wa(u,A){var M,B,Y,o=qr.lastIndex=Bn.lastIndex=0,Le=-1,Ct=[],Gt=[];for(u+="",A+="";(M=qr.exec(u))&&(B=Bn.exec(A));)(Y=B.index)>o&&(Y=A.slice(o,Y),Ct[Le]?Ct[Le]+=Y:Ct[++Le]=Y),(M=M[0])===(B=B[0])?Ct[Le]?Ct[Le]+=B:Ct[++Le]=B:(Ct[++Le]=null,Gt.push({i:Le,x:_a(M,B)})),o=Bn.lastIndex;return o<A.length&&(Y=A.slice(o),Ct[Le]?Ct[Le]+=Y:Ct[++Le]=Y),Ct.length<2?Gt[0]?function Go(u){return function(A){return u(A)+""}}(Gt[0].x):function Da(u){return function(){return u}}(A):(A=Gt.length,function(Ht){for(var gi,li=0;li<A;++li)Ct[(gi=Gt[li]).i]=gi.x(Ht);return Ct.join("")})}function as(u,A){A||(A=[]);var B,o=u?Math.min(A.length,u.length):0,M=A.slice();return function(Y){for(B=0;B<o;++B)M[B]=u[B]*(1-Y)+A[B]*Y;return M}}function ri(u,A){var M,o=typeof A;return null==A||"boolean"===o?ha(A):("number"===o?_a:"string"===o?(M=Rr(A))?(A=M,ja):Wa:A instanceof Rr?ja:A instanceof Date?Lr:function Ft(u){return ArrayBuffer.isView(u)&&!(u instanceof DataView)}(A)?as:Array.isArray(A)?Za:"function"!=typeof A.valueOf&&"function"!=typeof A.toString||isNaN(A)?Oo:_a)(u,A)}var Fr,Mo,Ei=0,Ki=0,tr=0,Or=1e3,gs=0,oo=0,Ms=0,oa="object"==typeof performance&&performance.now?performance:Date,Ri="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(u){setTimeout(u,17)};function lt(){return oo||(Ri(ht),oo=oa.now()+Ms)}function ht(){oo=0}function Ue(){this._call=this._time=this._next=null}function At(u,A,o){var M=new Ue;return M.restart(u,A,o),M}function pn(){oo=(gs=oa.now())+Ms,Ei=Ki=0;try{!function ni(){lt(),++Ei;for(var A,u=Fr;u;)(A=oo-u._time)>=0&&u._call.call(void 0,A),u=u._next;--Ei}()}finally{Ei=0,function Fo(){for(var u,o,A=Fr,M=1/0;A;)A._call?(M>A._time&&(M=A._time),u=A,A=A._next):(o=A._next,A._next=null,A=u?u._next=o:Fr=o);Mo=u,vr(M)}(),oo=0}}function Zn(){var u=oa.now(),A=u-gs;A>Or&&(Ms-=A,gs=u)}function vr(u){Ei||(Ki&&(Ki=clearTimeout(Ki)),u-oo>24?(u<1/0&&(Ki=setTimeout(pn,u-oa.now()-Ms)),tr&&(tr=clearInterval(tr))):(tr||(gs=oa.now(),tr=setInterval(Zn,Or)),Ei=1,Ri(pn)))}function Xa(u,A,o){var M=new Ue;return M.restart(B=>{M.stop(),u(B+A)},A=null==A?0:+A,o),M}Ue.prototype=At.prototype={constructor:Ue,restart:function(u,A,o){if("function"!=typeof u)throw new TypeError("callback is not a function");o=(null==o?lt():+o)+(null==A?0:+A),!this._next&&Mo!==this&&(Mo?Mo._next=this:Fr=this,Mo=this),this._call=u,this._time=o,vr()},stop:function(){this._call&&(this._call=null,this._time=1/0,vr())}};var lc=Pi("start","end","cancel","interrupt"),dc=[],hc=0,fo=3;function ua(u,A,o,M,B,Y){var Le=u.__transition;if(Le){if(o in Le)return}else u.__transition={};!function $s(u,A,o){var B,M=u.__transition;function Le(Ht){var li,gi,wi,Ai;if(1!==o.state)return Gt();for(li in M)if((Ai=M[li]).name===o.name){if(Ai.state===fo)return Xa(Le);4===Ai.state?(Ai.state=6,Ai.timer.stop(),Ai.on.call("interrupt",u,u.__data__,Ai.index,Ai.group),delete M[li]):+li<A&&(Ai.state=6,Ai.timer.stop(),Ai.on.call("cancel",u,u.__data__,Ai.index,Ai.group),delete M[li])}if(Xa(function(){o.state===fo&&(o.state=4,o.timer.restart(Ct,o.delay,o.time),Ct(Ht))}),o.state=2,o.on.call("start",u,u.__data__,o.index,o.group),2===o.state){for(o.state=fo,B=new Array(wi=o.tween.length),li=0,gi=-1;li<wi;++li)(Ai=o.tween[li].value.call(u,u.__data__,o.index,o.group))&&(B[++gi]=Ai);B.length=gi+1}}function Ct(Ht){for(var li=Ht<o.duration?o.ease.call(null,Ht/o.duration):(o.timer.restart(Gt),o.state=5,1),gi=-1,wi=B.length;++gi<wi;)B[gi].call(u,li);5===o.state&&(o.on.call("end",u,u.__data__,o.index,o.group),Gt())}function Gt(){for(var Ht in o.state=6,o.timer.stop(),delete M[A],M)return;delete u.__transition}M[A]=o,o.timer=At(function Y(Ht){o.state=1,o.timer.restart(Le,o.delay,o.time),o.delay<=Ht&&Le(Ht-o.delay)},0,o.time)}(u,o,{name:A,index:M,group:B,on:lc,tween:dc,time:Y.time,delay:Y.delay,duration:Y.duration,ease:Y.ease,timer:null,state:hc})}function so(u,A){var o=Aa(u,A);if(o.state>hc)throw new Error("too late; already scheduled");return o}function Ir(u,A){var o=Aa(u,A);if(o.state>fo)throw new Error("too late; already running");return o}function Aa(u,A){var o=u.__transition;if(!o||!(o=o[A]))throw new Error("transition not found");return o}var _s,uc=180/Math.PI,Ss={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function fc(u,A,o,M,B,Y){var Le,Ct,Gt;return(Le=Math.sqrt(u*u+A*A))&&(u/=Le,A/=Le),(Gt=u*o+A*M)&&(o-=u*Gt,M-=A*Gt),(Ct=Math.sqrt(o*o+M*M))&&(o/=Ct,M/=Ct,Gt/=Ct),u*M<A*o&&(u=-u,A=-A,Gt=-Gt,Le=-Le),{translateX:B,translateY:Y,rotate:Math.atan2(A,u)*uc,skewX:Math.atan(Gt)*uc,scaleX:Le,scaleY:Ct}}function Ll(u,A,o,M){function B(Ht){return Ht.length?Ht.pop()+" ":""}return function(Ht,li){var gi=[],wi=[];return Ht=u(Ht),li=u(li),function Y(Ht,li,gi,wi,Ai,cn){if(Ht!==gi||li!==wi){var Tn=Ai.push("translate(",null,A,null,o);cn.push({i:Tn-4,x:_a(Ht,gi)},{i:Tn-2,x:_a(li,wi)})}else(gi||wi)&&Ai.push("translate("+gi+A+wi+o)}(Ht.translateX,Ht.translateY,li.translateX,li.translateY,gi,wi),function Le(Ht,li,gi,wi){Ht!==li?(Ht-li>180?li+=360:li-Ht>180&&(Ht+=360),wi.push({i:gi.push(B(gi)+"rotate(",null,M)-2,x:_a(Ht,li)})):li&&gi.push(B(gi)+"rotate("+li+M)}(Ht.rotate,li.rotate,gi,wi),function Ct(Ht,li,gi,wi){Ht!==li?wi.push({i:gi.push(B(gi)+"skewX(",null,M)-2,x:_a(Ht,li)}):li&&gi.push(B(gi)+"skewX("+li+M)}(Ht.skewX,li.skewX,gi,wi),function Gt(Ht,li,gi,wi,Ai,cn){if(Ht!==gi||li!==wi){var Tn=Ai.push(B(Ai)+"scale(",null,",",null,")");cn.push({i:Tn-4,x:_a(Ht,gi)},{i:Tn-2,x:_a(li,wi)})}else(1!==gi||1!==wi)&&Ai.push(B(Ai)+"scale("+gi+","+wi+")")}(Ht.scaleX,Ht.scaleY,li.scaleX,li.scaleY,gi,wi),Ht=li=null,function(Ai){for(var ki,cn=-1,Tn=wi.length;++cn<Tn;)gi[(ki=wi[cn]).i]=ki.x(Ai);return gi.join("")}}}var mc=Ll(function kl(u){const A=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(u+"");return A.isIdentity?Ss:fc(A.a,A.b,A.c,A.d,A.e,A.f)},"px, ","px)","deg)"),el=Ll(function vs(u){return null!=u&&(_s||(_s=document.createElementNS("http://www.w3.org/2000/svg","g")),_s.setAttribute("transform",u),u=_s.transform.baseVal.consolidate())?fc((u=u.matrix).a,u.b,u.c,u.d,u.e,u.f):Ss},", ",")",")");function Qs(u,A){var o,M;return function(){var B=Ir(this,u),Y=B.tween;if(Y!==o)for(var Le=0,Ct=(M=o=Y).length;Le<Ct;++Le)if(M[Le].name===A){(M=M.slice()).splice(Le,1);break}B.tween=M}}function Zs(u,A,o){var M,B;if("function"!=typeof o)throw new Error;return function(){var Y=Ir(this,u),Le=Y.tween;if(Le!==M){B=(M=Le).slice();for(var Ct={name:A,value:o},Gt=0,Ht=B.length;Gt<Ht;++Gt)if(B[Gt].name===A){B[Gt]=Ct;break}Gt===Ht&&B.push(Ct)}Y.tween=B}}function Eo(u,A,o){var M=u._id;return u.each(function(){var B=Ir(this,M);(B.value||(B.value={}))[A]=o.apply(this,arguments)}),function(B){return Aa(B,M).value[A]}}function pc(u,A){var o;return("number"==typeof A?_a:A instanceof Rr?ja:(o=Rr(A))?(A=o,ja):Wa)(u,A)}function Js(u){return function(){this.removeAttribute(u)}}function bs(u){return function(){this.removeAttributeNS(u.space,u.local)}}function gc(u,A,o){var M,Y,B=o+"";return function(){var Le=this.getAttribute(u);return Le===B?null:Le===M?Y:Y=A(M=Le,o)}}function _c(u,A,o){var M,Y,B=o+"";return function(){var Le=this.getAttributeNS(u.space,u.local);return Le===B?null:Le===M?Y:Y=A(M=Le,o)}}function os(u,A,o){var M,B,Y;return function(){var Le,Gt,Ct=o(this);return null==Ct?void this.removeAttribute(u):(Le=this.getAttribute(u))===(Gt=Ct+"")?null:Le===M&&Gt===B?Y:(B=Gt,Y=A(M=Le,Ct))}}function So(u,A,o){var M,B,Y;return function(){var Le,Gt,Ct=o(this);return null==Ct?void this.removeAttributeNS(u.space,u.local):(Le=this.getAttributeNS(u.space,u.local))===(Gt=Ct+"")?null:Le===M&&Gt===B?Y:(B=Gt,Y=A(M=Le,Ct))}}function Il(u,A){var o,M;function B(){var Y=A.apply(this,arguments);return Y!==M&&(o=(M=Y)&&function Rc(u,A){return function(o){this.setAttributeNS(u.space,u.local,A.call(this,o))}}(u,Y)),o}return B._value=A,B}function il(u,A){var o,M;function B(){var Y=A.apply(this,arguments);return Y!==M&&(o=(M=Y)&&function tl(u,A){return function(o){this.setAttribute(u,A.call(this,o))}}(u,Y)),o}return B._value=A,B}function Fs(u,A){return function(){so(this,u).delay=+A.apply(this,arguments)}}function nt(u,A){return A=+A,function(){so(this,u).delay=A}}function kt(u,A){return function(){Ir(this,u).duration=+A.apply(this,arguments)}}function Z(u,A){return A=+A,function(){Ir(this,u).duration=A}}var gr=bt.prototype.constructor;function Hn(u){return function(){this.style.removeProperty(u)}}var mo=0;function To(u,A,o,M){this._groups=u,this._parents=A,this._name=o,this._id=M}function Oc(){return++mo}var Ns=bt.prototype;To.prototype=function qs(u){return bt().transition(u)}.prototype={constructor:To,select:function ir(u){var A=this._name,o=this._id;"function"!=typeof u&&(u=d(u));for(var M=this._groups,B=M.length,Y=new Array(B),Le=0;Le<B;++Le)for(var li,gi,Ct=M[Le],Gt=Ct.length,Ht=Y[Le]=new Array(Gt),wi=0;wi<Gt;++wi)(li=Ct[wi])&&(gi=u.call(li,li.__data__,wi,Ct))&&("__data__"in li&&(gi.__data__=li.__data__),Ht[wi]=gi,ua(Ht[wi],A,o,wi,Ht,Aa(li,o)));return new To(Y,this._parents,A,o)},selectAll:function br(u){var A=this._name,o=this._id;"function"!=typeof u&&(u=R(u));for(var M=this._groups,B=M.length,Y=[],Le=[],Ct=0;Ct<B;++Ct)for(var li,Gt=M[Ct],Ht=Gt.length,gi=0;gi<Ht;++gi)if(li=Gt[gi]){for(var Ai,wi=u.call(li,li.__data__,gi,Gt),cn=Aa(li,o),Tn=0,ki=wi.length;Tn<ki;++Tn)(Ai=wi[Tn])&&ua(Ai,A,o,Tn,wi,cn);Y.push(wi),Le.push(li)}return new To(Y,Le,A,o)},selectChild:Ns.selectChild,selectChildren:Ns.selectChildren,filter:function pi(u){"function"!=typeof u&&(u=$(u));for(var A=this._groups,o=A.length,M=new Array(o),B=0;B<o;++B)for(var Gt,Y=A[B],Le=Y.length,Ct=M[B]=[],Ht=0;Ht<Le;++Ht)(Gt=Y[Ht])&&u.call(Gt,Gt.__data__,Ht,Y)&&Ct.push(Gt);return new To(M,this._parents,this._name,this._id)},merge:function Di(u){if(u._id!==this._id)throw new Error;for(var A=this._groups,o=u._groups,M=A.length,Y=Math.min(M,o.length),Le=new Array(M),Ct=0;Ct<Y;++Ct)for(var wi,Gt=A[Ct],Ht=o[Ct],li=Gt.length,gi=Le[Ct]=new Array(li),Ai=0;Ai<li;++Ai)(wi=Gt[Ai]||Ht[Ai])&&(gi[Ai]=wi);for(;Ct<M;++Ct)Le[Ct]=A[Ct];return new To(Le,this._parents,this._name,this._id)},selection:function Cr(){return new gr(this._groups,this._parents)},transition:function yc(){for(var u=this._name,A=this._id,o=Oc(),M=this._groups,B=M.length,Y=0;Y<B;++Y)for(var Gt,Le=M[Y],Ct=Le.length,Ht=0;Ht<Ct;++Ht)if(Gt=Le[Ht]){var li=Aa(Gt,A);ua(Gt,u,o,Ht,Le,{time:li.time+li.delay+li.duration,delay:0,duration:li.duration,ease:li.ease})}return new To(M,this._parents,u,o)},call:Ns.call,nodes:Ns.nodes,node:Ns.node,size:Ns.size,empty:Ns.empty,each:Ns.each,on:function yn(u,A){var o=this._id;return arguments.length<2?Aa(this.node(),o).on.on(u):this.each(function gn(u,A,o){var M,B,Y=function an(u){return(u+"").trim().split(/^|\s+/).every(function(A){var o=A.indexOf(".");return o>=0&&(A=A.slice(0,o)),!A||"start"===A})}(A)?so:Ir;return function(){var Le=Y(this,u),Ct=Le.on;Ct!==M&&(B=(M=Ct).copy()).on(A,o),Le.on=B}}(o,u,A))},attr:function Os(u,A){var o=ke(u),M="transform"===o?el:pc;return this.attrTween(u,"function"==typeof A?(o.local?So:os)(o,M,Eo(this,"attr."+u,A)):null==A?(o.local?bs:Js)(o):(o.local?_c:gc)(o,M,A))},attrTween:function ss(u,A){var o="attr."+u;if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==A)return this.tween(o,null);if("function"!=typeof A)throw new Error;var M=ke(u);return this.tween(o,(M.local?Il:il)(M,A))},style:function $r(u,A,o){var M="transform"==(u+="")?mc:pc;return null==A?this.styleTween(u,function sa(u,A){var o,M,B;return function(){var Y=He(this,u),Le=(this.style.removeProperty(u),He(this,u));return Y===Le?null:Y===o&&Le===M?B:B=A(o=Y,M=Le)}}(u,M)).on("end.style."+u,Hn(u)):"function"==typeof A?this.styleTween(u,function sn(u,A,o){var M,B,Y;return function(){var Le=He(this,u),Ct=o(this),Gt=Ct+"";return null==Ct&&(this.style.removeProperty(u),Gt=Ct=He(this,u)),Le===Gt?null:Le===M&&Gt===B?Y:(B=Gt,Y=A(M=Le,Ct))}}(u,M,Eo(this,"style."+u,A))).each(function fr(u,A){var o,M,B,Ct,Y="style."+A,Le="end."+Y;return function(){var Gt=Ir(this,u),Ht=Gt.on,li=null==Gt.value[Y]?Ct||(Ct=Hn(A)):void 0;(Ht!==o||B!==li)&&(M=(o=Ht).copy()).on(Le,B=li),Gt.on=M}}(this._id,u)):this.styleTween(u,function Bi(u,A,o){var M,Y,B=o+"";return function(){var Le=He(this,u);return Le===B?null:Le===M?Y:Y=A(M=Le,o)}}(u,M,A),o).on("end.style."+u,null)},styleTween:function vc(u,A,o){var M="style."+(u+="");if(arguments.length<2)return(M=this.tween(M))&&M._value;if(null==A)return this.tween(M,null);if("function"!=typeof A)throw new Error;return this.tween(M,function Ya(u,A,o){var M,B;function Y(){var Le=A.apply(this,arguments);return Le!==B&&(M=(B=Le)&&function fa(u,A,o){return function(M){this.style.setProperty(u,A.call(this,M),o)}}(u,Le,o)),M}return Y._value=A,Y}(u,A,o??""))},text:function cs(u){return this.tween("text","function"==typeof u?function va(u){return function(){var A=u(this);this.textContent=A??""}}(Eo(this,"text",u)):function Ur(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function Rl(u){var A="text";if(arguments.length<1)return(A=this.tween(A))&&A._value;if(null==u)return this.tween(A,null);if("function"!=typeof u)throw new Error;return this.tween(A,function bc(u){var A,o;function M(){var B=u.apply(this,arguments);return B!==o&&(A=(o=B)&&function Wn(u){return function(A){this.textContent=u.call(this,A)}}(B)),A}return M._value=u,M}(u))},remove:function hr(){return this.on("end.remove",function Dn(u){return function(){var A=this.parentNode;for(var o in this.__transition)if(+o!==u)return;A&&A.removeChild(this)}}(this._id))},tween:function Rs(u,A){var o=this._id;if(u+="",arguments.length<2){for(var Le,M=Aa(this.node(),o).tween,B=0,Y=M.length;B<Y;++B)if((Le=M[B]).name===u)return Le.value;return null}return this.each((null==A?Qs:Zs)(o,u,A))},delay:function Rt(u){var A=this._id;return arguments.length?this.each(("function"==typeof u?Fs:nt)(A,u)):Aa(this.node(),A).delay},duration:function Ve(u){var A=this._id;return arguments.length?this.each(("function"==typeof u?kt:Z)(A,u)):Aa(this.node(),A).duration},ease:function We(u){var A=this._id;return arguments.length?this.each(function De(u,A){if("function"!=typeof A)throw new Error;return function(){Ir(this,u).ease=A}}(A,u)):Aa(this.node(),A).ease},easeVarying:function ei(u){if("function"!=typeof u)throw new Error;return this.each(function Dt(u,A){return function(){var o=A.apply(this,arguments);if("function"!=typeof o)throw new Error;Ir(this,u).ease=o}}(this._id,u))},end:function Qr(){var u,A,o=this,M=o._id,B=o.size();return new Promise(function(Y,Le){var Ct={value:Le},Gt={value:function(){0==--B&&Y()}};o.each(function(){var Ht=Ir(this,M),li=Ht.on;li!==u&&((A=(u=li).copy())._.cancel.push(Ct),A._.interrupt.push(Ct),A._.end.push(Gt)),Ht.on=A}),0===B&&Y()})},[Symbol.iterator]:Ns[Symbol.iterator]};var kn={time:null,delay:0,duration:250,ease:function Ps(u){return((u*=2)<=1?u*u*u:(u-=2)*u*u+2)/2}};function nl(u,A){for(var o;!(o=u.__transition)||!(o=o[A]);)if(!(u=u.parentNode))throw new Error(`transition ${A} not found`);return o}bt.prototype.interrupt=function Es(u){return this.each(function(){!function dn(u,A){var M,B,Le,o=u.__transition,Y=!0;if(o){for(Le in A=null==A?null:A+"",o)(M=o[Le]).name===A?(B=M.state>2&&M.state<5,M.state=6,M.timer.stop(),M.on.call(B?"interrupt":"cancel",u,u.__data__,M.index,M.group),delete o[Le]):Y=!1;Y&&delete u.__transition}}(this,u)})},bt.prototype.transition=function rl(u){var A,o;u instanceof To?(A=u._id,u=u._name):(A=Oc(),(o=kn).time=lt(),u=null==u?null:u+"");for(var M=this._groups,B=M.length,Y=0;Y<B;++Y)for(var Gt,Le=M[Y],Ct=Le.length,Ht=0;Ht<Ct;++Ht)(Gt=Le[Ht])&&ua(Gt,u,A,Ht,Le,o||nl(Gt,A));return new To(M,this._parents,u,A)};Math;function Cn(u){return{type:u}}function vi(u,A){return null==u||null==A?NaN:u<A?-1:u>A?1:u>=A?0:NaN}function on(u,A){return null==u||null==A?NaN:A<u?-1:A>u?1:A>=u?0:NaN}function Sn(u){let A,o,M;function B(Ct,Gt,Ht=0,li=Ct.length){if(Ht<li){if(0!==A(Gt,Gt))return li;do{const gi=Ht+li>>>1;o(Ct[gi],Gt)<0?Ht=gi+1:li=gi}while(Ht<li)}return Ht}return 2!==u.length?(A=vi,o=(Ct,Gt)=>vi(u(Ct),Gt),M=(Ct,Gt)=>u(Ct)-Gt):(A=u===vi||u===on?u:Jn,o=u,M=u),{left:B,center:function Le(Ct,Gt,Ht=0,li=Ct.length){const gi=B(Ct,Gt,Ht,li-1);return gi>Ht&&M(Ct[gi-1],Gt)>-M(Ct[gi],Gt)?gi-1:gi},right:function Y(Ct,Gt,Ht=0,li=Ct.length){if(Ht<li){if(0!==A(Gt,Gt))return li;do{const gi=Ht+li>>>1;o(Ct[gi],Gt)<=0?Ht=gi+1:li=gi}while(Ht<li)}return Ht}}}function Jn(){return 0}["w","e"].map(Cn),["n","s"].map(Cn),["n","w","e","s","nw","ne","sw","se"].map(Cn);const _r=Math.sqrt(50),ys=Math.sqrt(10),Nr=Math.sqrt(2);function Ka(u,A,o){const M=(A-u)/Math.max(0,o),B=Math.floor(Math.log10(M)),Y=M/Math.pow(10,B),Le=Y>=_r?10:Y>=ys?5:Y>=Nr?2:1;let Ct,Gt,Ht;return B<0?(Ht=Math.pow(10,-B)/Le,Ct=Math.round(u*Ht),Gt=Math.round(A*Ht),Ct/Ht<u&&++Ct,Gt/Ht>A&&--Gt,Ht=-Ht):(Ht=Math.pow(10,B)*Le,Ct=Math.round(u/Ht),Gt=Math.round(A/Ht),Ct*Ht<u&&++Ct,Gt*Ht>A&&--Gt),Gt<Ct&&.5<=o&&o<2?Ka(u,A,2*o):[Ct,Gt,Ht]}function xc(u,A,o){return Ka(u=+u,A=+A,o=+o)[2]}function Pl(u,A,o){o=+o;const M=(A=+A)<(u=+u),B=M?xc(A,u,o):xc(u,A,o);return(M?-1:1)*(B<0?1/-B:B)}const Ko=1e3,Ds=6e4,Hs=60*Ds,Cc=24*Hs,As=7*Cc,Vl=30*Cc,Hd=365*Cc,wr=new Date,ld=new Date;function La(u,A,o,M){function B(Y){return u(Y=0===arguments.length?new Date:new Date(+Y)),Y}return B.floor=Y=>(u(Y=new Date(+Y)),Y),B.ceil=Y=>(u(Y=new Date(Y-1)),A(Y,1),u(Y),Y),B.round=Y=>{const Le=B(Y),Ct=B.ceil(Y);return Y-Le<Ct-Y?Le:Ct},B.offset=(Y,Le)=>(A(Y=new Date(+Y),null==Le?1:Math.floor(Le)),Y),B.range=(Y,Le,Ct)=>{const Gt=[];if(Y=B.ceil(Y),Ct=null==Ct?1:Math.floor(Ct),!(Y<Le&&Ct>0))return Gt;let Ht;do{Gt.push(Ht=new Date(+Y)),A(Y,Ct),u(Y)}while(Ht<Y&&Y<Le);return Gt},B.filter=Y=>La(Le=>{if(Le>=Le)for(;u(Le),!Y(Le);)Le.setTime(Le-1)},(Le,Ct)=>{if(Le>=Le)if(Ct<0)for(;++Ct<=0;)for(;A(Le,-1),!Y(Le););else for(;--Ct>=0;)for(;A(Le,1),!Y(Le););}),o&&(B.count=(Y,Le)=>(wr.setTime(+Y),ld.setTime(+Le),u(wr),u(ld),Math.floor(o(wr,ld))),B.every=Y=>(Y=Math.floor(Y),isFinite(Y)&&Y>0?Y>1?B.filter(M?Le=>M(Le)%Y==0:Le=>B.count(0,Le)%Y==0):B:null)),B}const po=La(()=>{},(u,A)=>{u.setTime(+u+A)},(u,A)=>A-u);po.every=u=>(u=Math.floor(u),isFinite(u)&&u>0?u>1?La(A=>{A.setTime(Math.floor(A/u)*u)},(A,o)=>{A.setTime(+A+o*u)},(A,o)=>(o-A)/u):po:null);const ec=La(u=>{u.setTime(u-u.getMilliseconds())},(u,A)=>{u.setTime(+u+A*Ko)},(u,A)=>(A-u)/Ko,u=>u.getUTCSeconds()),$o=La(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Ko)},(u,A)=>{u.setTime(+u+A*Ds)},(u,A)=>(A-u)/Ds,u=>u.getMinutes()),zd=La(u=>{u.setUTCSeconds(0,0)},(u,A)=>{u.setTime(+u+A*Ds)},(u,A)=>(A-u)/Ds,u=>u.getUTCMinutes()),qa=La(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Ko-u.getMinutes()*Ds)},(u,A)=>{u.setTime(+u+A*Hs)},(u,A)=>(A-u)/Hs,u=>u.getHours()),y0=La(u=>{u.setUTCMinutes(0,0,0)},(u,A)=>{u.setTime(+u+A*Hs)},(u,A)=>(A-u)/Hs,u=>u.getUTCHours()),al=La(u=>u.setHours(0,0,0,0),(u,A)=>u.setDate(u.getDate()+A),(u,A)=>(A-u-(A.getTimezoneOffset()-u.getTimezoneOffset())*Ds)/Cc,u=>u.getDate()-1),wc=(La(u=>{u.setUTCHours(0,0,0,0)},(u,A)=>{u.setUTCDate(u.getUTCDate()+A)},(u,A)=>(A-u)/Cc,u=>u.getUTCDate()-1),La(u=>{u.setUTCHours(0,0,0,0)},(u,A)=>{u.setUTCDate(u.getUTCDate()+A)},(u,A)=>(A-u)/Cc,u=>Math.floor(u/Cc)));function Nn(u){return La(A=>{A.setDate(A.getDate()-(A.getDay()+7-u)%7),A.setHours(0,0,0,0)},(A,o)=>{A.setDate(A.getDate()+7*o)},(A,o)=>(o-A-(o.getTimezoneOffset()-A.getTimezoneOffset())*Ds)/As)}const zl=Nn(0);function Ii(u){return La(A=>{A.setUTCDate(A.getUTCDate()-(A.getUTCDay()+7-u)%7),A.setUTCHours(0,0,0,0)},(A,o)=>{A.setUTCDate(A.getUTCDate()+7*o)},(A,o)=>(o-A)/As)}Nn(1),Nn(2),Nn(3),Nn(4),Nn(5),Nn(6);const ur=Ii(0),jd=(Ii(1),Ii(2),Ii(3),Ii(4),Ii(5),Ii(6),La(u=>{u.setDate(1),u.setHours(0,0,0,0)},(u,A)=>{u.setMonth(u.getMonth()+A)},(u,A)=>A.getMonth()-u.getMonth()+12*(A.getFullYear()-u.getFullYear()),u=>u.getMonth())),tc=La(u=>{u.setUTCDate(1),u.setUTCHours(0,0,0,0)},(u,A)=>{u.setUTCMonth(u.getUTCMonth()+A)},(u,A)=>A.getUTCMonth()-u.getUTCMonth()+12*(A.getUTCFullYear()-u.getUTCFullYear()),u=>u.getUTCMonth()),us=La(u=>{u.setMonth(0,1),u.setHours(0,0,0,0)},(u,A)=>{u.setFullYear(u.getFullYear()+A)},(u,A)=>A.getFullYear()-u.getFullYear(),u=>u.getFullYear());us.every=u=>isFinite(u=Math.floor(u))&&u>0?La(A=>{A.setFullYear(Math.floor(A.getFullYear()/u)*u),A.setMonth(0,1),A.setHours(0,0,0,0)},(A,o)=>{A.setFullYear(A.getFullYear()+o*u)}):null;const dd=La(u=>{u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},(u,A)=>{u.setUTCFullYear(u.getUTCFullYear()+A)},(u,A)=>A.getUTCFullYear()-u.getUTCFullYear(),u=>u.getUTCFullYear());function xa(u,A,o,M,B,Y){const Le=[[ec,1,Ko],[ec,5,5e3],[ec,15,15e3],[ec,30,3e4],[Y,1,Ds],[Y,5,5*Ds],[Y,15,15*Ds],[Y,30,30*Ds],[B,1,Hs],[B,3,3*Hs],[B,6,6*Hs],[B,12,12*Hs],[M,1,Cc],[M,2,2*Cc],[o,1,As],[A,1,Vl],[A,3,3*Vl],[u,1,Hd]];function Gt(Ht,li,gi){const wi=Math.abs(li-Ht)/gi,Ai=Sn(([,,ki])=>ki).right(Le,wi);if(Ai===Le.length)return u.every(Pl(Ht/Hd,li/Hd,gi));if(0===Ai)return po.every(Math.max(Pl(Ht,li,gi),1));const[cn,Tn]=Le[wi/Le[Ai-1][2]<Le[Ai][2]/wi?Ai-1:Ai];return cn.every(Tn)}return[function Ct(Ht,li,gi){const wi=li<Ht;wi&&([Ht,li]=[li,Ht]);const Ai=gi&&"function"==typeof gi.range?gi:Gt(Ht,li,gi),cn=Ai?Ai.range(Ht,+li+1):[];return wi?cn.reverse():cn},Gt]}dd.every=u=>isFinite(u=Math.floor(u))&&u>0?La(A=>{A.setUTCFullYear(Math.floor(A.getUTCFullYear()/u)*u),A.setUTCMonth(0,1),A.setUTCHours(0,0,0,0)},(A,o)=>{A.setUTCFullYear(A.getUTCFullYear()+o*u)}):null;const[Pa,n2]=xa(dd,tc,ur,wc,y0,zd),[Ca,Vc]=xa(us,jd,zl,al,qa,$o);var ic=new Date,Ul=new Date;function zs(u,A,o,M){function B(Y){return u(Y=0===arguments.length?new Date:new Date(+Y)),Y}return B.floor=function(Y){return u(Y=new Date(+Y)),Y},B.ceil=function(Y){return u(Y=new Date(Y-1)),A(Y,1),u(Y),Y},B.round=function(Y){var Le=B(Y),Ct=B.ceil(Y);return Y-Le<Ct-Y?Le:Ct},B.offset=function(Y,Le){return A(Y=new Date(+Y),null==Le?1:Math.floor(Le)),Y},B.range=function(Y,Le,Ct){var Ht,Gt=[];if(Y=B.ceil(Y),Ct=null==Ct?1:Math.floor(Ct),!(Y<Le&&Ct>0))return Gt;do{Gt.push(Ht=new Date(+Y)),A(Y,Ct),u(Y)}while(Ht<Y&&Y<Le);return Gt},B.filter=function(Y){return zs(function(Le){if(Le>=Le)for(;u(Le),!Y(Le);)Le.setTime(Le-1)},function(Le,Ct){if(Le>=Le)if(Ct<0)for(;++Ct<=0;)for(;A(Le,-1),!Y(Le););else for(;--Ct>=0;)for(;A(Le,1),!Y(Le););})},o&&(B.count=function(Y,Le){return ic.setTime(+Y),Ul.setTime(+Le),u(ic),u(Ul),Math.floor(o(ic,Ul))},B.every=function(Y){return Y=Math.floor(Y),isFinite(Y)&&Y>0?Y>1?B.filter(M?function(Le){return M(Le)%Y==0}:function(Le){return B.count(0,Le)%Y==0}):B:null}),B}const Gl=864e5,Xd=7*Gl;function Va(u){return zs(function(A){A.setUTCDate(A.getUTCDate()-(A.getUTCDay()+7-u)%7),A.setUTCHours(0,0,0,0)},function(A,o){A.setUTCDate(A.getUTCDate()+7*o)},function(A,o){return(o-A)/Xd})}var Hc=Va(0),Pr=Va(1),cl=(Va(2),Va(3),Va(4));const s2=(Va(5),Va(6),zs(function(u){u.setUTCHours(0,0,0,0)},function(u,A){u.setUTCDate(u.getUTCDate()+A)},function(u,A){return(A-u)/Gl},function(u){return u.getUTCDate()-1}));function ll(u){return zs(function(A){A.setDate(A.getDate()-(A.getDay()+7-u)%7),A.setHours(0,0,0,0)},function(A,o){A.setDate(A.getDate()+7*o)},function(A,o){return(o-A-6e4*(o.getTimezoneOffset()-A.getTimezoneOffset()))/Xd})}var zc=ll(0),Bc=ll(1),dl=(ll(2),ll(3),ll(4));const nf=(ll(5),ll(6),zs(u=>u.setHours(0,0,0,0),(u,A)=>u.setDate(u.getDate()+A),(u,A)=>(A-u-6e4*(A.getTimezoneOffset()-u.getTimezoneOffset()))/Gl,u=>u.getDate()-1));var Qd=zs(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,A){u.setFullYear(u.getFullYear()+A)},function(u,A){return A.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});Qd.every=function(u){return isFinite(u=Math.floor(u))&&u>0?zs(function(A){A.setFullYear(Math.floor(A.getFullYear()/u)*u),A.setMonth(0,1),A.setHours(0,0,0,0)},function(A,o){A.setFullYear(A.getFullYear()+o*u)}):null};const jl=Qd;var l2=zs(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,A){u.setUTCFullYear(u.getUTCFullYear()+A)},function(u,A){return A.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});l2.every=function(u){return isFinite(u=Math.floor(u))&&u>0?zs(function(A){A.setUTCFullYear(Math.floor(A.getUTCFullYear()/u)*u),A.setUTCMonth(0,1),A.setUTCHours(0,0,0,0)},function(A,o){A.setUTCFullYear(A.getUTCFullYear()+o*u)}):null};const Uc=l2;function Zd(u){if(0<=u.y&&u.y<100){var A=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return A.setFullYear(u.y),A}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function Wl(u){if(0<=u.y&&u.y<100){var A=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return A.setUTCFullYear(u.y),A}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function fl(u,A,o){return{y:u,m:A,d:o,H:0,M:0,S:0,L:0}}var d2={"-":"",_:" ",0:"0"},eo=/^\s*\d+/,N0=/^%/,h2=/[\\^$*+?|[\]().{}]/g;function Dr(u,A,o){var M=u<0?"-":"",B=(M?-u:u)+"",Y=B.length;return M+(Y<o?new Array(o-Y+1).join(A)+B:B)}function Jd(u){return u.replace(h2,"\\$&")}function ks(u){return new RegExp("^(?:"+u.map(Jd).join("|")+")","i")}function ud(u){return new Map(u.map((A,o)=>[A.toLowerCase(),o]))}function P0(u,A,o){var M=eo.exec(A.slice(o,o+1));return M?(u.w=+M[0],o+M[0].length):-1}function u2(u,A,o){var M=eo.exec(A.slice(o,o+1));return M?(u.u=+M[0],o+M[0].length):-1}function Xl(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.U=+M[0],o+M[0].length):-1}function Yl(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.V=+M[0],o+M[0].length):-1}function to(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.W=+M[0],o+M[0].length):-1}function V0(u,A,o){var M=eo.exec(A.slice(o,o+4));return M?(u.y=+M[0],o+M[0].length):-1}function f2(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.y=+M[0]+(+M[0]>68?1900:2e3),o+M[0].length):-1}function m2(u,A,o){var M=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(A.slice(o,o+6));return M?(u.Z=M[1]?0:-(M[2]+(M[3]||"00")),o+M[0].length):-1}function H0(u,A,o){var M=eo.exec(A.slice(o,o+1));return M?(u.q=3*M[0]-3,o+M[0].length):-1}function z0(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.m=M[0]-1,o+M[0].length):-1}function Kl(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.d=+M[0],o+M[0].length):-1}function rf(u,A,o){var M=eo.exec(A.slice(o,o+3));return M?(u.m=0,u.d=+M[0],o+M[0].length):-1}function qd(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.H=+M[0],o+M[0].length):-1}function p2(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.M=+M[0],o+M[0].length):-1}function e1(u,A,o){var M=eo.exec(A.slice(o,o+2));return M?(u.S=+M[0],o+M[0].length):-1}function B0(u,A,o){var M=eo.exec(A.slice(o,o+3));return M?(u.L=+M[0],o+M[0].length):-1}function af(u,A,o){var M=eo.exec(A.slice(o,o+6));return M?(u.L=Math.floor(M[0]/1e3),o+M[0].length):-1}function U0(u,A,o){var M=N0.exec(A.slice(o,o+1));return M?o+M[0].length:-1}function G0(u,A,o){var M=eo.exec(A.slice(o));return M?(u.Q=+M[0],o+M[0].length):-1}function t1(u,A,o){var M=eo.exec(A.slice(o));return M?(u.s=+M[0],o+M[0].length):-1}function fd(u,A){return Dr(u.getDate(),A,2)}function g2(u,A){return Dr(u.getHours(),A,2)}function sf(u,A){return Dr(u.getHours()%12||12,A,2)}function cf(u,A){return Dr(1+nf.count(jl(u),u),A,3)}function lf(u,A){return Dr(u.getMilliseconds(),A,3)}function j0(u,A){return lf(u,A)+"000"}function W0(u,A){return Dr(u.getMonth()+1,A,2)}function go(u,A){return Dr(u.getMinutes(),A,2)}function e4(u,A){return Dr(u.getSeconds(),A,2)}function X0(u){var A=u.getDay();return 0===A?7:A}function t4(u,A){return Dr(zc.count(jl(u)-1,u),A,2)}function _2(u){var A=u.getDay();return A>=4||0===A?dl(u):dl.ceil(u)}function i4(u,A){return u=_2(u),Dr(dl.count(jl(u),u)+(4===jl(u).getDay()),A,2)}function n1(u){return u.getDay()}function Bs(u,A){return Dr(Bc.count(jl(u)-1,u),A,2)}function r1(u,A){return Dr(u.getFullYear()%100,A,2)}function ml(u,A){return Dr((u=_2(u)).getFullYear()%100,A,2)}function df(u,A){return Dr(u.getFullYear()%1e4,A,4)}function Y0(u,A){var o=u.getDay();return Dr((u=o>=4||0===o?dl(u):dl.ceil(u)).getFullYear()%1e4,A,4)}function v2(u){var A=u.getTimezoneOffset();return(A>0?"-":(A*=-1,"+"))+Dr(A/60|0,"0",2)+Dr(A%60,"0",2)}function md(u,A){return Dr(u.getUTCDate(),A,2)}function hf(u,A){return Dr(u.getUTCHours(),A,2)}function n4(u,A){return Dr(u.getUTCHours()%12||12,A,2)}function r4(u,A){return Dr(1+s2.count(Uc(u),u),A,3)}function uf(u,A){return Dr(u.getUTCMilliseconds(),A,3)}function ff(u,A){return uf(u,A)+"000"}function $l(u,A){return Dr(u.getUTCMonth()+1,A,2)}function pd(u,A){return Dr(u.getUTCMinutes(),A,2)}function Ql(u,A){return Dr(u.getUTCSeconds(),A,2)}function mf(u){var A=u.getUTCDay();return 0===A?7:A}function a1(u,A){return Dr(Hc.count(Uc(u)-1,u),A,2)}function Us(u){var A=u.getUTCDay();return A>=4||0===A?cl(u):cl.ceil(u)}function K0(u,A){return u=Us(u),Dr(cl.count(Uc(u),u)+(4===Uc(u).getUTCDay()),A,2)}function o1(u){return u.getUTCDay()}function gd(u,A){return Dr(Pr.count(Uc(u)-1,u),A,2)}function $0(u,A){return Dr(u.getUTCFullYear()%100,A,2)}function Q0(u,A){return Dr((u=Us(u)).getUTCFullYear()%100,A,2)}function Z0(u,A){return Dr(u.getUTCFullYear()%1e4,A,4)}function _d(u,A){var o=u.getUTCDay();return Dr((u=o>=4||0===o?cl(u):cl.ceil(u)).getUTCFullYear()%1e4,A,4)}function s1(){return"+0000"}function c1(){return"%"}function J0(u){return+u}function q0(u){return Math.floor(+u/1e3)}function l1(u){return null===u?NaN:+u}!function y2(u){(function F0(u){var A=u.dateTime,o=u.date,M=u.time,B=u.periods,Y=u.days,Le=u.shortDays,Ct=u.months,Gt=u.shortMonths,Ht=ks(B),li=ud(B),gi=ks(Y),wi=ud(Y),Ai=ks(Le),cn=ud(Le),Tn=ks(Ct),ki=ud(Ct),xn=ks(Gt),Ln=ud(Gt),_n={a:function pa(Mn){return Le[Mn.getDay()]},A:function Do(Mn){return Y[Mn.getDay()]},b:function Zr(Mn){return Gt[Mn.getMonth()]},B:function Ao(Mn){return Ct[Mn.getMonth()]},c:null,d:fd,e:fd,f:j0,g:ml,G:Y0,H:g2,I:sf,j:cf,L:lf,m:W0,M:go,p:function co(Mn){return B[+(Mn.getHours()>=12)]},q:function lo(Mn){return 1+~~(Mn.getMonth()/3)},Q:J0,s:q0,S:e4,u:X0,U:t4,V:i4,w:n1,W:Bs,x:null,X:null,y:r1,Y:df,Z:v2,"%":c1},qn={a:function h0(Mn){return Le[Mn.getUTCDay()]},A:function P1(Mn){return Y[Mn.getUTCDay()]},b:function V1(Mn){return Gt[Mn.getUTCMonth()]},B:function H1(Mn){return Ct[Mn.getUTCMonth()]},c:null,d:md,e:md,f:ff,g:Q0,G:_d,H:hf,I:n4,j:r4,L:uf,m:$l,M:pd,p:function ko(Mn){return B[+(Mn.getUTCHours()>=12)]},q:function Pd(Mn){return 1+~~(Mn.getUTCMonth()/3)},Q:J0,s:q0,S:Ql,u:mf,U:a1,V:K0,w:o1,W:gd,x:null,X:null,y:$0,Y:Z0,Z:s1,"%":c1},Xn={a:function Hr(Mn,dr,yr){var tn=Ai.exec(dr.slice(yr));return tn?(Mn.w=cn.get(tn[0].toLowerCase()),yr+tn[0].length):-1},A:function Pn(Mn,dr,yr){var tn=gi.exec(dr.slice(yr));return tn?(Mn.w=wi.get(tn[0].toLowerCase()),yr+tn[0].length):-1},b:function Po(Mn,dr,yr){var tn=xn.exec(dr.slice(yr));return tn?(Mn.m=Ln.get(tn[0].toLowerCase()),yr+tn[0].length):-1},B:function Er(Mn,dr,yr){var tn=Tn.exec(dr.slice(yr));return tn?(Mn.m=ki.get(tn[0].toLowerCase()),yr+tn[0].length):-1},c:function aa(Mn,dr,yr){return ra(Mn,A,dr,yr)},d:Kl,e:Kl,f:af,g:f2,G:V0,H:qd,I:qd,j:rf,L:B0,m:z0,M:p2,p:function ms(Mn,dr,yr){var tn=Ht.exec(dr.slice(yr));return tn?(Mn.p=li.get(tn[0].toLowerCase()),yr+tn[0].length):-1},q:H0,Q:G0,s:t1,S:e1,u:u2,U:Xl,V:Yl,w:P0,W:to,x:function Ls(Mn,dr,yr){return ra(Mn,o,dr,yr)},X:function za(Mn,dr,yr){return ra(Mn,M,dr,yr)},y:f2,Y:V0,Z:m2,"%":U0};function In(Mn,dr){return function(yr){var Vo,Kn,Qa,tn=[],$a=-1,Wr=0,ps=Mn.length;for(yr instanceof Date||(yr=new Date(+yr));++$a<ps;)37===Mn.charCodeAt($a)&&(tn.push(Mn.slice(Wr,$a)),null!=(Kn=d2[Vo=Mn.charAt(++$a)])?Vo=Mn.charAt(++$a):Kn="e"===Vo?" ":"0",(Qa=dr[Vo])&&(Vo=Qa(yr,Kn)),tn.push(Vo),Wr=$a+1);return tn.push(Mn.slice(Wr,$a)),tn.join("")}}function na(Mn,dr){return function(yr){var Wr,ps,tn=fl(1900,void 0,1);if(ra(tn,Mn,yr+="",0)!=yr.length)return null;if("Q"in tn)return new Date(tn.Q);if("s"in tn)return new Date(1e3*tn.s+("L"in tn?tn.L:0));if(dr&&!("Z"in tn)&&(tn.Z=0),"p"in tn&&(tn.H=tn.H%12+12*tn.p),void 0===tn.m&&(tn.m="q"in tn?tn.q:0),"V"in tn){if(tn.V<1||tn.V>53)return null;"w"in tn||(tn.w=1),"Z"in tn?(ps=(Wr=Wl(fl(tn.y,0,1))).getUTCDay(),Wr=ps>4||0===ps?Pr.ceil(Wr):Pr(Wr),Wr=s2.offset(Wr,7*(tn.V-1)),tn.y=Wr.getUTCFullYear(),tn.m=Wr.getUTCMonth(),tn.d=Wr.getUTCDate()+(tn.w+6)%7):(ps=(Wr=Zd(fl(tn.y,0,1))).getDay(),Wr=ps>4||0===ps?Bc.ceil(Wr):Bc(Wr),Wr=nf.offset(Wr,7*(tn.V-1)),tn.y=Wr.getFullYear(),tn.m=Wr.getMonth(),tn.d=Wr.getDate()+(tn.w+6)%7)}else("W"in tn||"U"in tn)&&("w"in tn||(tn.w="u"in tn?tn.u%7:"W"in tn?1:0),ps="Z"in tn?Wl(fl(tn.y,0,1)).getUTCDay():Zd(fl(tn.y,0,1)).getDay(),tn.m=0,tn.d="W"in tn?(tn.w+6)%7+7*tn.W-(ps+5)%7:tn.w+7*tn.U-(ps+6)%7);return"Z"in tn?(tn.H+=tn.Z/100|0,tn.M+=tn.Z%100,Wl(tn)):Zd(tn)}}function ra(Mn,dr,yr,tn){for(var Vo,Kn,$a=0,Wr=dr.length,ps=yr.length;$a<Wr;){if(tn>=ps)return-1;if(37===(Vo=dr.charCodeAt($a++))){if(Vo=dr.charAt($a++),!(Kn=Xn[Vo in d2?dr.charAt($a++):Vo])||(tn=Kn(Mn,yr,tn))<0)return-1}else if(Vo!=yr.charCodeAt(tn++))return-1}return tn}return _n.x=In(o,_n),_n.X=In(M,_n),_n.c=In(A,_n),qn.x=In(o,qn),qn.X=In(M,qn),qn.c=In(A,qn),{format:function(Mn){var dr=In(Mn+="",_n);return dr.toString=function(){return Mn},dr},parse:function(Mn){var dr=na(Mn+="",!1);return dr.toString=function(){return Mn},dr},utcFormat:function(Mn){var dr=In(Mn+="",qn);return dr.toString=function(){return Mn},dr},utcParse:function(Mn){var dr=na(Mn+="",!0);return dr.toString=function(){return Mn},dr}}})(u)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const a4=Sn(vi).right,C2=(Sn(l1),a4);function w2(u,A){return u=+u,A=+A,function(o){return Math.round(u*(1-o)+A*o)}}function th(u){return+u}var ih=[0,1];function Gc(u){return u}function M2(u,A){return(A-=u=+u)?function(o){return(o-u)/A}:function _f(u){return function(){return u}}(isNaN(A)?NaN:.5)}function vf(u,A,o){var M=u[0],B=u[1],Y=A[0],Le=A[1];return B<M?(M=M2(B,M),Y=o(Le,Y)):(M=M2(M,B),Y=o(Y,Le)),function(Ct){return Y(M(Ct))}}function rh(u,A,o){var M=Math.min(u.length,A.length)-1,B=new Array(M),Y=new Array(M),Le=-1;for(u[M]<u[0]&&(u=u.slice().reverse(),A=A.slice().reverse());++Le<M;)B[Le]=M2(u[Le],u[Le+1]),Y[Le]=o(A[Le],A[Le+1]);return function(Ct){var Gt=C2(u,Ct,1,M)-1;return Y[Gt](B[Gt](Ct))}}function S2(){return function bf(){var M,B,Y,Ct,Gt,Ht,u=ih,A=ih,o=ri,Le=Gc;function li(){var wi=Math.min(u.length,A.length);return Le!==Gc&&(Le=function nh(u,A){var o;return u>A&&(o=u,u=A,A=o),function(M){return Math.max(u,Math.min(A,M))}}(u[0],u[wi-1])),Ct=wi>2?rh:vf,Gt=Ht=null,gi}function gi(wi){return null==wi||isNaN(wi=+wi)?Y:(Gt||(Gt=Ct(u.map(M),A,o)))(M(Le(wi)))}return gi.invert=function(wi){return Le(B((Ht||(Ht=Ct(A,u.map(M),_a)))(wi)))},gi.domain=function(wi){return arguments.length?(u=Array.from(wi,th),li()):u.slice()},gi.range=function(wi){return arguments.length?(A=Array.from(wi),li()):A.slice()},gi.rangeRound=function(wi){return A=Array.from(wi),o=w2,li()},gi.clamp=function(wi){return arguments.length?(Le=!!wi||Gc,li()):Le!==Gc},gi.interpolate=function(wi){return arguments.length?(o=wi,li()):o},gi.unknown=function(wi){return arguments.length?(Y=wi,gi):Y},function(wi,Ai){return M=wi,B=Ai,li()}}()(Gc,Gc)}function Jl(u,A){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(A).domain(u)}return this}var A2,xf=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function h1(u){if(!(A=xf.exec(u)))throw new Error("invalid format: "+u);var A;return new D2({fill:A[1],align:A[2],sign:A[3],symbol:A[4],zero:A[5],width:A[6],comma:A[7],precision:A[8]&&A[8].slice(1),trim:A[9],type:A[10]})}function D2(u){this.fill=void 0===u.fill?" ":u.fill+"",this.align=void 0===u.align?">":u.align+"",this.sign=void 0===u.sign?"-":u.sign+"",this.symbol=void 0===u.symbol?"":u.symbol+"",this.zero=!!u.zero,this.width=void 0===u.width?void 0:+u.width,this.comma=!!u.comma,this.precision=void 0===u.precision?void 0:+u.precision,this.trim=!!u.trim,this.type=void 0===u.type?"":u.type+""}function ql(u,A){if((o=(u=A?u.toExponential(A-1):u.toExponential()).indexOf("e"))<0)return null;var o,M=u.slice(0,o);return[M.length>1?M[0]+M.slice(2):M,+u.slice(o+1)]}function vd(u){return(u=ql(Math.abs(u)))?u[1]:NaN}function u1(u,A){var o=ql(u,A);if(!o)return u+"";var M=o[0],B=o[1];return B<0?"0."+new Array(-B).join("0")+M:M.length>B+1?M.slice(0,B+1)+"."+M.slice(B+1):M+new Array(B-M.length+2).join("0")}h1.prototype=D2.prototype,D2.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const ch={"%":(u,A)=>(100*u).toFixed(A),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function Cf(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,A)=>u.toExponential(A),f:(u,A)=>u.toFixed(A),g:(u,A)=>u.toPrecision(A),o:u=>Math.round(u).toString(8),p:(u,A)=>u1(100*u,A),r:u1,s:function sh(u,A){var o=ql(u,A);if(!o)return u+"";var M=o[0],B=o[1],Y=B-(A2=3*Math.max(-8,Math.min(8,Math.floor(B/3))))+1,Le=M.length;return Y===Le?M:Y>Le?M+new Array(Y-Le+1).join("0"):Y>0?M.slice(0,Y)+"."+M.slice(Y):"0."+new Array(1-Y).join("0")+ql(u,Math.max(0,A+Y-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function Dc(u){return u}var ed,dh,hh,f1=Array.prototype.map,k2=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function c4(u){var A=u.domain;return u.ticks=function(o){var M=A();return function ls(u,A,o){if(!((o=+o)>0))return[];if((u=+u)==(A=+A))return[u];const M=A<u,[B,Y,Le]=M?Ka(A,u,o):Ka(u,A,o);if(!(Y>=B))return[];const Ct=Y-B+1,Gt=new Array(Ct);if(M)if(Le<0)for(let Ht=0;Ht<Ct;++Ht)Gt[Ht]=(Y-Ht)/-Le;else for(let Ht=0;Ht<Ct;++Ht)Gt[Ht]=(Y-Ht)*Le;else if(Le<0)for(let Ht=0;Ht<Ct;++Ht)Gt[Ht]=(B+Ht)/-Le;else for(let Ht=0;Ht<Ct;++Ht)Gt[Ht]=(B+Ht)*Le;return Gt}(M[0],M[M.length-1],o??10)},u.tickFormat=function(o,M){var B=A();return function s4(u,A,o,M){var Y,B=Pl(u,A,o);switch((M=h1(M??",f")).type){case"s":var Le=Math.max(Math.abs(u),Math.abs(A));return null==M.precision&&!isNaN(Y=function bd(u,A){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(vd(A)/3)))-vd(Math.abs(u)))}(B,Le))&&(M.precision=Y),hh(M,Le);case"":case"e":case"g":case"p":case"r":null==M.precision&&!isNaN(Y=function Sf(u,A){return u=Math.abs(u),A=Math.abs(A)-u,Math.max(0,vd(A)-vd(u))+1}(B,Math.max(Math.abs(u),Math.abs(A))))&&(M.precision=Y-("e"===M.type));break;case"f":case"%":null==M.precision&&!isNaN(Y=function uh(u){return Math.max(0,-vd(Math.abs(u)))}(B))&&(M.precision=Y-2*("%"===M.type))}return dh(M)}(B[0],B[B.length-1],o??10,M)},u.nice=function(o){null==o&&(o=10);var Gt,Ht,M=A(),B=0,Y=M.length-1,Le=M[B],Ct=M[Y],li=10;for(Ct<Le&&(Ht=Le,Le=Ct,Ct=Ht,Ht=B,B=Y,Y=Ht);li-- >0;){if((Ht=xc(Le,Ct,o))===Gt)return M[B]=Le,M[Y]=Ct,A(M);if(Ht>0)Le=Math.floor(Le/Ht)*Ht,Ct=Math.ceil(Ct/Ht)*Ht;else{if(!(Ht<0))break;Le=Math.ceil(Le*Ht)/Ht,Ct=Math.floor(Ct*Ht)/Ht}Gt=Ht}return u},u}function Gs(){var u=S2();return u.copy=function(){return function E2(u,A){return A.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}(u,Gs())},Jl.apply(u,arguments),c4(u)}function fh(u,A,o){u=+u,A=+A,o=(B=arguments.length)<2?(A=u,u=0,1):B<3?1:+o;for(var M=-1,B=0|Math.max(0,Math.ceil((A-u)/o)),Y=new Array(B);++M<B;)Y[M]=u+M*o;return Y}!function Ef(u){ed=function lh(u){var A=void 0===u.grouping||void 0===u.thousands?Dc:function wf(u,A){return function(o,M){for(var B=o.length,Y=[],Le=0,Ct=u[0],Gt=0;B>0&&Ct>0&&(Gt+Ct+1>M&&(Ct=Math.max(1,M-Gt)),Y.push(o.substring(B-=Ct,B+Ct)),!((Gt+=Ct+1)>M));)Ct=u[Le=(Le+1)%u.length];return Y.reverse().join(A)}}(f1.call(u.grouping,Number),u.thousands+""),o=void 0===u.currency?"":u.currency[0]+"",M=void 0===u.currency?"":u.currency[1]+"",B=void 0===u.decimal?".":u.decimal+"",Y=void 0===u.numerals?Dc:function Mf(u){return function(A){return A.replace(/[0-9]/g,function(o){return u[+o]})}}(f1.call(u.numerals,String)),Le=void 0===u.percent?"%":u.percent+"",Ct=void 0===u.minus?"\u2212":u.minus+"",Gt=void 0===u.nan?"NaN":u.nan+"";function Ht(gi){var wi=(gi=h1(gi)).fill,Ai=gi.align,cn=gi.sign,Tn=gi.symbol,ki=gi.zero,xn=gi.width,Ln=gi.comma,_n=gi.precision,qn=gi.trim,Xn=gi.type;"n"===Xn?(Ln=!0,Xn="g"):ch[Xn]||(void 0===_n&&(_n=12),qn=!0,Xn="g"),(ki||"0"===wi&&"="===Ai)&&(ki=!0,wi="0",Ai="=");var In="$"===Tn?o:"#"===Tn&&/[boxX]/.test(Xn)?"0"+Xn.toLowerCase():"",na="$"===Tn?M:/[%p]/.test(Xn)?Le:"",ra=ch[Xn],ms=/[defgprs%]/.test(Xn);function Hr(Pn){var aa,Ls,za,Po=In,Er=na;if("c"===Xn)Er=ra(Pn)+Er,Pn="";else{var pa=(Pn=+Pn)<0||1/Pn<0;if(Pn=isNaN(Pn)?Gt:ra(Math.abs(Pn),_n),qn&&(Pn=function o4(u){e:for(var B,A=u.length,o=1,M=-1;o<A;++o)switch(u[o]){case".":M=B=o;break;case"0":0===M&&(M=o),B=o;break;default:if(!+u[o])break e;M>0&&(M=0)}return M>0?u.slice(0,M)+u.slice(B+1):u}(Pn)),pa&&0==+Pn&&"+"!==cn&&(pa=!1),Po=(pa?"("===cn?cn:Ct:"-"===cn||"("===cn?"":cn)+Po,Er=("s"===Xn?k2[8+A2/3]:"")+Er+(pa&&"("===cn?")":""),ms)for(aa=-1,Ls=Pn.length;++aa<Ls;)if(48>(za=Pn.charCodeAt(aa))||za>57){Er=(46===za?B+Pn.slice(aa+1):Pn.slice(aa))+Er,Pn=Pn.slice(0,aa);break}}Ln&&!ki&&(Pn=A(Pn,1/0));var Do=Po.length+Pn.length+Er.length,Zr=Do<xn?new Array(xn-Do+1).join(wi):"";switch(Ln&&ki&&(Pn=A(Zr+Pn,Zr.length?xn-Er.length:1/0),Zr=""),Ai){case"<":Pn=Po+Pn+Er+Zr;break;case"=":Pn=Po+Zr+Pn+Er;break;case"^":Pn=Zr.slice(0,Do=Zr.length>>1)+Po+Pn+Er+Zr.slice(Do);break;default:Pn=Zr+Po+Pn+Er}return Y(Pn)}return _n=void 0===_n?6:/[gprs]/.test(Xn)?Math.max(1,Math.min(21,_n)):Math.max(0,Math.min(20,_n)),Hr.toString=function(){return gi+""},Hr}return{format:Ht,formatPrefix:function li(gi,wi){var Ai=Ht(((gi=h1(gi)).type="f",gi)),cn=3*Math.max(-8,Math.min(8,Math.floor(vd(wi)/3))),Tn=Math.pow(10,-cn),ki=k2[8+cn/3];return function(xn){return Ai(Tn*xn)+ki}}}}(u),dh=ed.format,hh=ed.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class m1 extends Map{constructor(A,o=td){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:o}}),null!=A)for(const[M,B]of A)this.set(M,B)}get(A){return super.get(js(this,A))}has(A){return super.has(js(this,A))}set(A,o){return super.set(function yd({_intern:u,_key:A},o){const M=A(o);return u.has(M)?u.get(M):(u.set(M,o),o)}(this,A),o)}delete(A){return super.delete(function p1({_intern:u,_key:A},o){const M=A(o);return u.has(M)&&(o=u.get(M),u.delete(M)),o}(this,A))}}function js({_intern:u,_key:A},o){const M=A(o);return u.has(M)?u.get(M):o}function td(u){return null!==u&&"object"==typeof u?u.valueOf():u}Set;const id=Symbol("implicit");function Wc(){var u=new m1,A=[],o=[],M=id;function B(Y){let Le=u.get(Y);if(void 0===Le){if(M!==id)return M;u.set(Y,Le=A.push(Y)-1)}return o[Le%o.length]}return B.domain=function(Y){if(!arguments.length)return A.slice();A=[],u=new m1;for(const Le of Y)u.has(Le)||u.set(Le,A.push(Le)-1);return B},B.range=function(Y){return arguments.length?(o=Array.from(Y),B):o.slice()},B.unknown=function(Y){return arguments.length?(M=Y,B):M},B.copy=function(){return Wc(A,o).unknown(M)},Jl.apply(B,arguments),B}function Ac(){var Y,Le,u=Wc().unknown(void 0),A=u.domain,o=u.range,M=0,B=1,Ct=!1,Gt=0,Ht=0,li=.5;function gi(){var wi=A().length,Ai=B<M,cn=Ai?B:M,Tn=Ai?M:B;Y=(Tn-cn)/Math.max(1,wi-Gt+2*Ht),Ct&&(Y=Math.floor(Y)),cn+=(Tn-cn-Y*(wi-Gt))*li,Le=Y*(1-Gt),Ct&&(cn=Math.round(cn),Le=Math.round(Le));var ki=fh(wi).map(function(xn){return cn+Y*xn});return o(Ai?ki.reverse():ki)}return delete u.unknown,u.domain=function(wi){return arguments.length?(A(wi),gi()):A()},u.range=function(wi){return arguments.length?([M,B]=wi,M=+M,B=+B,gi()):[M,B]},u.rangeRound=function(wi){return[M,B]=wi,M=+M,B=+B,Ct=!0,gi()},u.bandwidth=function(){return Le},u.step=function(){return Y},u.round=function(wi){return arguments.length?(Ct=!!wi,gi()):Ct},u.padding=function(wi){return arguments.length?(Gt=Math.min(1,Ht=+wi),gi()):Gt},u.paddingInner=function(wi){return arguments.length?(Gt=Math.min(1,wi),gi()):Gt},u.paddingOuter=function(wi){return arguments.length?(Ht=+wi,gi()):Ht},u.align=function(wi){return arguments.length?(li=Math.max(0,Math.min(1,wi)),gi()):li},u.copy=function(){return Ac(A(),[M,B]).round(Ct).paddingInner(Gt).paddingOuter(Ht).align(li)},Jl.apply(gi(),arguments)}function l4(u,A,o=l1){if((M=u.length)&&!isNaN(A=+A)){if(A<=0||M<2)return+o(u[0],0,u);if(A>=1)return+o(u[M-1],M-1,u);var M,B=(M-1)*A,Y=Math.floor(B),Le=+o(u[Y],Y,u);return Le+(+o(u[Y+1],Y+1,u)-Le)*(B-Y)}}function Cd(){var M,u=[],A=[],o=[];function B(){var Le=0,Ct=Math.max(1,A.length);for(o=new Array(Ct-1);++Le<Ct;)o[Le-1]=l4(u,Le/Ct);return Y}function Y(Le){return null==Le||isNaN(Le=+Le)?M:A[C2(o,Le)]}return Y.invertExtent=function(Le){var Ct=A.indexOf(Le);return Ct<0?[NaN,NaN]:[Ct>0?o[Ct-1]:u[0],Ct<o.length?o[Ct]:u[u.length-1]]},Y.domain=function(Le){if(!arguments.length)return u.slice();u=[];for(let Ct of Le)null!=Ct&&!isNaN(Ct=+Ct)&&u.push(Ct);return u.sort(vi),B()},Y.range=function(Le){return arguments.length?(A=Array.from(Le),B()):A.slice()},Y.unknown=function(Le){return arguments.length?(M=Le,Y):M},Y.quantiles=function(){return o.slice()},Y.copy=function(){return Cd().domain(u).range(A).unknown(M)},Jl.apply(Y,arguments)}var d4=g(6021);const Tf=["caretElm"],h4=u=>({model:u});function Df(u,A){}function io(u,A){if(1&u&&(e.j41(0,"span"),e.DNE(1,Df,0,0,"ng-template",5),e.k0s()),2&u){const o=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",o.template)("ngTemplateOutletContext",e.eq3(2,h4,o.context))}}function _h(u,A){if(1&u&&e.nrm(0,"span",6),2&u){const o=e.XpG();e.Y8G("innerHTML",o.title,e.npT)}}function Af(u,A){if(1&u&&(e.j41(0,"header",4)(1,"span",5),e.EFF(2),e.k0s()()),2&u){const o=e.XpG();e.R7$(2),e.JRh(o.title)}}function vh(u,A){if(1&u){const o=e.RV6();e.j41(0,"li",6)(1,"ngx-charts-legend-entry",7),e.bIt("select",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.labelClick.emit(B))})("activate",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.activate(B))})("deactivate",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.deactivate(B))}),e.k0s()()}if(2&u){const o=A.$implicit,M=e.XpG();e.R7$(),e.Y8G("label",o.label)("formattedLabel",o.formattedLabel)("color",o.color)("isActive",M.isActive(o))}}const rd=["*"];function bh(u,A){if(1&u&&e.nrm(0,"ngx-charts-scale-legend",4),2&u){const o=e.XpG();e.Y8G("horizontal",o.legendOptions&&o.legendOptions.position===o.LegendPosition.Below)("valueRange",o.legendOptions.domain)("colors",o.legendOptions.colors)("height",o.view[1])("width",o.legendWidth)}}function L2(u,A){if(1&u){const o=e.RV6();e.j41(0,"ngx-charts-legend",5),e.bIt("labelClick",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.legendLabelClick.emit(B))})("labelActivate",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.legendLabelActivate.emit(B))})("labelDeactivate",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.legendLabelDeactivate.emit(B))}),e.k0s()}if(2&u){const o=e.XpG();e.Y8G("horizontal",o.legendOptions&&o.legendOptions.position===o.LegendPosition.Below)("data",o.legendOptions.domain)("title",o.legendOptions.title)("colors",o.legendOptions.colors)("height",o.view[1])("width",o.legendWidth)("activeEntries",o.activeEntries)}}const kf=["ngx-charts-axis-label",""],g1=["ticksel"],u4=["ngx-charts-x-axis-ticks",""];function wd(u,A){1&u&&(e.qSk(),e.eu8(0))}function Lf(u,A){if(1&u&&(e.qSk(),e.j41(0,"tspan",10),e.EFF(1),e.k0s()),2&u){const o=A.$implicit;e.BMQ("y",12*A.index),e.R7$(),e.SpI(" ",o," ")}}function _1(u,A){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,Lf,2,2,"tspan",9),e.bVm()),2&u){const o=A.ngIf;e.R7$(),e.Y8G("ngForOf",o)}}function I2(u,A){if(1&u&&e.DNE(0,_1,2,1,"ng-container",6),2&u){const o=e.XpG(2).$implicit,M=e.XpG();e.Y8G("ngIf",M.tickChunks(o))}}function R2(u,A){if(1&u&&e.EFF(0),2&u){const o=e.XpG().ngIf,M=e.XpG(2);e.SpI(" ",M.tickTrim(o)," ")}}function No(u,A){if(1&u&&(e.qSk(),e.qex(0),e.j41(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",7),e.DNE(4,wd,1,0,"ng-container",8),e.k0s(),e.DNE(5,I2,1,1,"ng-template",null,1,e.C5r)(7,R2,1,1,"ng-template",null,2,e.C5r),e.bVm()),2&u){const o=A.ngIf,M=e.sdS(6),B=e.sdS(8),Y=e.XpG(2);e.R7$(2),e.JRh(o),e.R7$(),e.BMQ("text-anchor",Y.textAnchor)("transform",Y.textTransform),e.R7$(),e.Y8G("ngIf",Y.isWrapTicksSupported)("ngIfThen",M)("ngIfElse",B)}}function O2(u,A){if(1&u&&(e.qSk(),e.j41(0,"g",5),e.DNE(1,No,9,6,"ng-container",6),e.k0s()),2&u){const o=A.$implicit,M=e.XpG();e.BMQ("transform",M.tickTransform(o)),e.R7$(),e.Y8G("ngIf",M.tickFormat(o))}}function F2(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.nrm(1,"line",11),e.k0s()),2&u){const o=e.XpG(2);e.BMQ("transform",o.gridLineTransform()),e.R7$(),e.BMQ("y1",-o.gridLineHeight)}}function N2(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,F2,2,2,"g",6),e.k0s()),2&u){const o=A.$implicit,M=e.XpG();e.BMQ("transform",M.tickTransform(o)),e.R7$(),e.Y8G("ngIf",M.showGridLines)}}const Md=["ngx-charts-x-axis",""];function yh(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("dimensionsChanged",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.emitTicksHeight(B))}),e.k0s()}if(2&u){const o=e.XpG();e.Y8G("trimTicks",o.trimTicks)("rotateTicks",o.rotateTicks)("maxTickLength",o.maxTickLength)("tickFormatting",o.tickFormatting)("tickArguments",o.tickArguments)("tickStroke",o.tickStroke)("scale",o.xScale)("orient",o.xOrient)("showGridLines",o.showGridLines)("gridLineHeight",o.dims.height)("width",o.dims.width)("tickValues",o.ticks)("wrapTicks",o.wrapTicks)}}function Ed(u,A){if(1&u&&(e.qSk(),e.nrm(0,"g",3)),2&u){const o=e.XpG();e.Y8G("label",o.labelText)("offset",o.labelOffset)("orient",o.orientation.Bottom)("height",o.dims.height)("width",o.dims.width)}}const xh=["ngx-charts-y-axis-ticks",""];function P2(u,A){1&u&&(e.qSk(),e.eu8(0))}function Ch(u,A){if(1&u&&(e.qSk(),e.j41(0,"tspan",12),e.EFF(1),e.k0s()),2&u){const o=A.$implicit,M=A.index,B=e.XpG(6);e.BMQ("y",M*(8+B.tickSpacing)),e.R7$(),e.SpI(" ",o," ")}}function wh(u,A){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,Ch,2,2,"tspan",11),e.bVm()),2&u){const o=e.XpG().ngIf;e.R7$(),e.Y8G("ngForOf",o)}}function Sd(u,A){if(1&u&&(e.qSk(),e.qex(0),e.DNE(1,wh,2,1,"ng-container",10),e.bVm()),2&u){const o=A.ngIf;e.XpG(2);const M=e.sdS(8);e.R7$(),e.Y8G("ngIf",o.length>1)("ngIfElse",M)}}function V2(u,A){if(1&u&&e.DNE(0,Sd,2,2,"ng-container",7),2&u){const o=e.XpG(2).$implicit,M=e.XpG();e.Y8G("ngIf",M.tickChunks(o))}}function gl(u,A){if(1&u&&e.EFF(0),2&u){const o=e.XpG().ngIf,M=e.XpG(2);e.SpI(" ",M.tickTrim(o)," ")}}function If(u,A){if(1&u&&(e.qSk(),e.qex(0),e.j41(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",8),e.DNE(4,P2,1,0,"ng-container",9),e.k0s(),e.DNE(5,V2,1,1,"ng-template",null,1,e.C5r)(7,gl,1,1,"ng-template",null,2,e.C5r),e.bVm()),2&u){const o=A.ngIf,M=e.sdS(6),B=e.sdS(8),Y=e.XpG(2);e.R7$(2),e.JRh(o),e.R7$(),e.xc7("font-size","12px"),e.BMQ("dy",Y.dy)("x",Y.x1)("y",Y.y1)("text-anchor",Y.textAnchor),e.R7$(),e.Y8G("ngIf",Y.wrapTicks)("ngIfThen",M)("ngIfElse",B)}}function Mh(u,A){if(1&u&&(e.qSk(),e.j41(0,"g",6),e.DNE(1,If,9,10,"ng-container",7),e.k0s()),2&u){const o=A.$implicit,M=e.XpG();e.BMQ("transform",M.transform(o)),e.R7$(),e.Y8G("ngIf",M.tickFormat(o))}}function f4(u,A){if(1&u&&(e.qSk(),e.nrm(0,"path",13)),2&u){const o=e.XpG();e.BMQ("d",o.referenceAreaPath)("transform",o.gridLineTransform())}}function v1(u,A){if(1&u&&(e.qSk(),e.nrm(0,"line",15)),2&u){const o=e.XpG(3);e.BMQ("x2",o.gridLineWidth)}}function H2(u,A){if(1&u&&(e.qSk(),e.nrm(0,"line",15)),2&u){const o=e.XpG(3);e.BMQ("x2",-o.gridLineWidth)}}function Eh(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,v1,1,1,"line",14)(2,H2,1,1,"line",14),e.k0s()),2&u){const o=e.XpG(2);e.BMQ("transform",o.gridLineTransform()),e.R7$(),e.Y8G("ngIf",o.orient===o.Orientation.Left),e.R7$(),e.Y8G("ngIf",o.orient===o.Orientation.Right)}}function Sh(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Eh,3,3,"g",7),e.k0s()),2&u){const o=A.$implicit,M=e.XpG();e.BMQ("transform",M.transform(o)),e.R7$(),e.Y8G("ngIf",M.showGridLines)}}function Th(u,A){if(1&u&&(e.qSk(),e.j41(0,"g")(1,"title"),e.EFF(2),e.k0s(),e.j41(3,"text",17),e.EFF(4),e.k0s()()),2&u){const o=e.XpG(2).$implicit,M=e.XpG();e.R7$(2),e.JRh(M.tickTrim(M.tickFormat(o.value))),e.R7$(),e.BMQ("dy",M.dy)("y",-6)("x",M.gridLineWidth)("text-anchor",M.textAnchor),e.R7$(),e.SpI(" ",o.name," ")}}function _l(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.nrm(1,"line",16),e.DNE(2,Th,5,6,"g",7),e.k0s()),2&u){const o=e.XpG().$implicit,M=e.XpG();e.BMQ("transform",M.transform(o.value)),e.R7$(),e.BMQ("x2",M.gridLineWidth)("transform",M.gridLineTransform()),e.R7$(),e.Y8G("ngIf",M.showRefLabels)}}function b1(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,_l,3,4,"g",7),e.k0s()),2&u){const o=e.XpG();e.R7$(),e.Y8G("ngIf",o.showRefLines)}}const Rf=["ngx-charts-y-axis",""];function Of(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("dimensionsChanged",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.emitTicksWidth(B))}),e.k0s()}if(2&u){const o=e.XpG();e.Y8G("trimTicks",o.trimTicks)("maxTickLength",o.maxTickLength)("tickFormatting",o.tickFormatting)("tickArguments",o.tickArguments)("tickValues",o.ticks)("tickStroke",o.tickStroke)("scale",o.yScale)("orient",o.yOrient)("showGridLines",o.showGridLines)("gridLineWidth",o.dims.width)("referenceLines",o.referenceLines)("showRefLines",o.showRefLines)("showRefLabels",o.showRefLabels)("height",o.dims.height)("wrapTicks",o.wrapTicks)}}function Ff(u,A){if(1&u&&(e.qSk(),e.nrm(0,"g",3)),2&u){const o=e.XpG();e.Y8G("label",o.labelText)("offset",o.labelOffset)("orient",o.yOrient)("height",o.dims.height)("width",o.dims.width)}}const Nf=["ngx-charts-svg-linear-gradient",""];function Ws(u,A){if(1&u&&(e.qSk(),e.nrm(0,"stop")),2&u){const o=A.$implicit;e.xc7("stop-color",o.color)("stop-opacity",o.opacity),e.BMQ("offset",o.offset+"%")}}const Dh=["ngx-charts-grid-panel",""],Ah=["ngx-charts-grid-panel-series",""];function kh(u,A){if(1&u&&(e.qSk(),e.nrm(0,"g",1)),2&u){const o=A.$implicit;e.AVh("grid-panel",!0)("odd","odd"===o.class)("even","even"===o.class),e.Y8G("height",o.height)("width",o.width)("x",o.x)("y",o.y)}}const Dd=["tooltipTemplate"],vl=(u,A)=>[u,A],C1=".ngx-charts-outer{animation:chartFadeIn linear .6s}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .node,.ngx-charts .link,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .node.active,.ngx-charts .node:hover,.ngx-charts .link.active,.ngx-charts .link:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .node:focus,.ngx-charts .link:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .node.hidden,.ngx-charts .link.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n",Ad=["ngx-charts-bar",""];function jh(u,A){if(1&u&&(e.qSk(),e.j41(0,"defs"),e.nrm(1,"g",2),e.k0s()),2&u){const o=e.XpG();e.R7$(),e.Y8G("orientation",o.orientation)("name",o.gradientId)("stops",o.gradientStops)}}const Wh=["ngx-charts-bar-label",""],bn=["ngx-charts-series-vertical",""];function Yi(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("select",function(B){e.eBV(o);const Y=e.XpG(2);return e.Njj(Y.onClick(B))})("activate",function(B){e.eBV(o);const Y=e.XpG(2);return e.Njj(Y.activate.emit(B))})("deactivate",function(B){e.eBV(o);const Y=e.XpG(2);return e.Njj(Y.deactivate.emit(B))}),e.k0s()}if(2&u){const o=A.$implicit,M=e.XpG(2);e.Y8G("@animationState","active")("@.disabled",!M.animations)("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",M.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",M.gradient)("ariaLabel",o.ariaLabel)("isActive",M.isActive(o.data))("tooltipDisabled",M.tooltipDisabled)("tooltipPlacement",M.tooltipPlacement)("tooltipType",M.tooltipType)("tooltipTitle",M.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",M.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",M.noBarWhenZero)("animations",M.animations)}}function Ji(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Yi,1,22,"g",1),e.k0s()),2&u){const o=e.XpG();e.R7$(),e.Y8G("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function An(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",2),e.bIt("select",function(B){e.eBV(o);const Y=e.XpG(2);return e.Njj(Y.onClick(B))})("activate",function(B){e.eBV(o);const Y=e.XpG(2);return e.Njj(Y.activate.emit(B))})("deactivate",function(B){e.eBV(o);const Y=e.XpG(2);return e.Njj(Y.deactivate.emit(B))}),e.k0s()}if(2&u){const o=A.$implicit,M=e.XpG(2);e.Y8G("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",M.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",M.gradient)("ariaLabel",o.ariaLabel)("isActive",M.isActive(o.data))("tooltipDisabled",M.tooltipDisabled)("tooltipPlacement",M.tooltipPlacement)("tooltipType",M.tooltipType)("tooltipTitle",M.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",M.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",M.noBarWhenZero)("animations",M.animations)}}function Un(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,An,1,20,"g",1),e.k0s()),2&u){const o=e.XpG();e.R7$(),e.Y8G("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function Vr(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",4),e.bIt("dimensionsChanged",function(B){const Y=e.eBV(o).index,Le=e.XpG(2);return e.Njj(Le.dataLabelHeightChanged.emit({size:B,index:Y}))}),e.k0s()}if(2&u){const o=A.$implicit,M=e.XpG(2);e.Y8G("barX",o.x)("barY",o.y)("barWidth",o.width)("barHeight",o.height)("value",o.total)("valueFormatting",M.dataLabelFormatting)("orientation",M.barOrientation.Vertical)}}function la(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Vr,1,7,"g",3),e.k0s()),2&u){const o=e.XpG();e.R7$(),e.Y8G("ngForOf",o.barsForDataLabels)("ngForTrackBy",o.trackDataLabelBy)}}function cr(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",5),e.bIt("dimensionsChanged",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.updateXAxisHeight(B))}),e.k0s()}if(2&u){const o=e.XpG();e.Y8G("xScale",o.xScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showXAxisLabel)("labelText",o.xAxisLabel)("trimTicks",o.trimXAxisTicks)("rotateTicks",o.rotateXAxisTicks)("maxTickLength",o.maxXAxisTickLength)("tickFormatting",o.xAxisTickFormatting)("ticks",o.xAxisTicks)("xAxisOffset",o.dataLabelMaxHeight.negative)("wrapTicks",o.wrapTicks)}}function ta(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",6),e.bIt("dimensionsChanged",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.updateYAxisWidth(B))}),e.k0s()}if(2&u){const o=e.XpG();e.Y8G("yScale",o.yScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showYAxisLabel)("labelText",o.yAxisLabel)("trimTicks",o.trimYAxisTicks)("maxTickLength",o.maxYAxisTickLength)("tickFormatting",o.yAxisTickFormatting)("ticks",o.yAxisTicks)("wrapTicks",o.wrapTicks)}}function Ar(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",6),e.bIt("dimensionsChanged",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.updateXAxisHeight(B))}),e.k0s()}if(2&u){const o=e.XpG();e.Y8G("xScale",o.groupScale)("dims",o.dims)("showLabel",o.showXAxisLabel)("labelText",o.xAxisLabel)("trimTicks",o.trimXAxisTicks)("rotateTicks",o.rotateXAxisTicks)("maxTickLength",o.maxXAxisTickLength)("tickFormatting",o.xAxisTickFormatting)("ticks",o.xAxisTicks)("xAxisOffset",o.dataLabelMaxHeight.negative)("wrapTicks",o.wrapTicks)}}function ma(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",7),e.bIt("dimensionsChanged",function(B){e.eBV(o);const Y=e.XpG();return e.Njj(Y.updateYAxisWidth(B))}),e.k0s()}if(2&u){const o=e.XpG();e.Y8G("yScale",o.valueScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showYAxisLabel)("labelText",o.yAxisLabel)("trimTicks",o.trimYAxisTicks)("maxTickLength",o.maxYAxisTickLength)("tickFormatting",o.yAxisTickFormatting)("ticks",o.yAxisTicks)("wrapTicks",o.wrapTicks)}}function ia(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",9),e.bIt("select",function(B){const Y=e.eBV(o).$implicit,Le=e.XpG(2);return e.Njj(Le.onClick(B,Y))})("activate",function(B){const Y=e.eBV(o).$implicit,Le=e.XpG(2);return e.Njj(Le.onActivate(B,Y))})("deactivate",function(B){const Y=e.eBV(o).$implicit,Le=e.XpG(2);return e.Njj(Le.onDeactivate(B,Y))})("dataLabelHeightChanged",function(B){const Y=e.eBV(o).index,Le=e.XpG(2);return e.Njj(Le.onDataLabelMaxHeightChanged(B,Y))}),e.k0s()}if(2&u){const o=A.$implicit,M=e.XpG(2);e.Y8G("@animationState","active")("activeEntries",M.activeEntries)("xScale",M.innerScale)("yScale",M.valueScale)("colors",M.colors)("series",o.series)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("seriesName",o.name)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero),e.BMQ("transform",M.groupTransform(o))}}function rc(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,ia,1,17,"g",8),e.k0s()),2&u){const o=e.XpG();e.R7$(),e.Y8G("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function Lc(u,A){if(1&u){const o=e.RV6();e.qSk(),e.j41(0,"g",9),e.bIt("select",function(B){const Y=e.eBV(o).$implicit,Le=e.XpG(2);return e.Njj(Le.onClick(B,Y))})("activate",function(B){const Y=e.eBV(o).$implicit,Le=e.XpG(2);return e.Njj(Le.onActivate(B,Y))})("deactivate",function(B){const Y=e.eBV(o).$implicit,Le=e.XpG(2);return e.Njj(Le.onDeactivate(B,Y))})("dataLabelHeightChanged",function(B){const Y=e.eBV(o).index,Le=e.XpG(2);return e.Njj(Le.onDataLabelMaxHeightChanged(B,Y))}),e.k0s()}if(2&u){const o=A.$implicit,M=e.XpG(2);e.Y8G("activeEntries",M.activeEntries)("xScale",M.innerScale)("yScale",M.valueScale)("colors",M.colors)("series",o.series)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("seriesName",o.name)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero),e.BMQ("transform",M.groupTransform(o))}}function M1(u,A){if(1&u&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Lc,1,16,"g",8),e.k0s()),2&u){const o=e.XpG();e.R7$(),e.Y8G("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function Zc(u,A,o){o=o||{};let M,B,Y,Le=null,Ct=0;function Gt(){Ct=!1===o.leading?0:+new Date,Le=null,Y=u.apply(M,B)}return function(){const Ht=+new Date;!Ct&&!1===o.leading&&(Ct=Ht);const li=A-(Ht-Ct);return M=this,B=arguments,li<=0?(clearTimeout(Le),Le=null,Ct=Ht,Y=u.apply(M,B)):!Le&&!1!==o.trailing&&(Le=setTimeout(Gt,li)),Y}}function qp(u,A){return function(M,B,Y){return{configurable:!0,enumerable:Y.enumerable,get:function(){return Object.defineProperty(this,B,{configurable:!0,enumerable:Y.enumerable,value:Zc(Y.value,u,A)}),this[B]}}}}var pr=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",u}(pr||{});function Q4(u,A,o){return o===pr.Top?u.top-7:o===pr.Bottom?u.top+u.height-A.height+7:o===pr.Center?u.top+u.height/2-A.height/2:void 0}function Rd(u,A,o){return o===pr.Left?u.left-7:o===pr.Right?u.left+u.width-A.width+7:o===pr.Center?u.left+u.width/2-A.width/2:void 0}class Cs{static calculateVerticalAlignment(A,o,M){let B=Q4(A,o,M);return B+o.height>window.innerHeight&&(B=window.innerHeight-o.height),B}static calculateVerticalCaret(A,o,M,B){let Y;B===pr.Top&&(Y=A.height/2-M.height/2+7),B===pr.Bottom&&(Y=o.height-A.height/2-M.height/2-7),B===pr.Center&&(Y=o.height/2-M.height/2);const Le=Q4(A,o,B);return Le+o.height>window.innerHeight&&(Y+=Le+o.height-window.innerHeight),Y}static calculateHorizontalAlignment(A,o,M){let B=Rd(A,o,M);return B+o.width>window.innerWidth&&(B=window.innerWidth-o.width),B}static calculateHorizontalCaret(A,o,M,B){let Y;B===pr.Left&&(Y=A.width/2-M.width/2+7),B===pr.Right&&(Y=o.width-A.width/2-M.width/2-7),B===pr.Center&&(Y=o.width/2-M.width/2);const Le=Rd(A,o,B);return Le+o.width>window.innerWidth&&(Y+=Le+o.width-window.innerWidth),Y}static shouldFlip(A,o,M,B){let Y=!1;return M===pr.Right&&A.left+A.width+o.width+B>window.innerWidth&&(Y=!0),M===pr.Left&&A.left-o.width-B<0&&(Y=!0),M===pr.Top&&A.top-o.height-B<0&&(Y=!0),M===pr.Bottom&&A.top+A.height+o.height+B>window.innerHeight&&(Y=!0),Y}static positionCaret(A,o,M,B,Y){let Le=0,Ct=0;return A===pr.Right?(Ct=-7,Le=Cs.calculateVerticalCaret(M,o,B,Y)):A===pr.Left?(Ct=o.width,Le=Cs.calculateVerticalCaret(M,o,B,Y)):A===pr.Top?(Le=o.height,Ct=Cs.calculateHorizontalCaret(M,o,B,Y)):A===pr.Bottom&&(Le=-7,Ct=Cs.calculateHorizontalCaret(M,o,B,Y)),{top:Le,left:Ct}}static positionContent(A,o,M,B,Y){let Le=0,Ct=0;return A===pr.Right?(Ct=M.left+M.width+B,Le=Cs.calculateVerticalAlignment(M,o,Y)):A===pr.Left?(Ct=M.left-o.width-B,Le=Cs.calculateVerticalAlignment(M,o,Y)):A===pr.Top?(Le=M.top-o.height-B,Ct=Cs.calculateHorizontalAlignment(M,o,Y)):A===pr.Bottom&&(Le=M.top+M.height+B,Ct=Cs.calculateHorizontalAlignment(M,o,Y)),{top:Le,left:Ct}}static determinePlacement(A,o,M,B){if(Cs.shouldFlip(M,o,A,B)){if(A===pr.Right)return pr.Left;if(A===pr.Left)return pr.Right;if(A===pr.Top)return pr.Bottom;if(A===pr.Bottom)return pr.Top}return A}}let Od=(()=>{class u{constructor(o,M,B){this.element=o,this.renderer=M,this.platformId=B}get cssClasses(){let o="ngx-charts-tooltip-content";return o+=` position-${this.placement}`,o+=` type-${this.type}`,o+=` ${this.cssClass}`,o}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.UE)(this.platformId))return;const o=this.element.nativeElement,M=this.host.nativeElement.getBoundingClientRect();if(!M.height&&!M.width)return;const B=o.getBoundingClientRect();this.checkFlip(M,B),this.positionContent(o,M,B),this.showCaret&&this.positionCaret(M,B),setTimeout(()=>this.renderer.addClass(o,"animate"),1)}positionContent(o,M,B){const{top:Y,left:Le}=Cs.positionContent(this.placement,B,M,this.spacing,this.alignment);this.renderer.setStyle(o,"top",`${Y}px`),this.renderer.setStyle(o,"left",`${Le}px`)}positionCaret(o,M){const B=this.caretElm.nativeElement,Y=B.getBoundingClientRect(),{top:Le,left:Ct}=Cs.positionCaret(this.placement,M,o,Y,this.alignment);this.renderer.setStyle(B,"top",`${Le}px`),this.renderer.setStyle(B,"left",`${Ct}px`)}checkFlip(o,M){this.placement=Cs.determinePlacement(this.placement,M,o,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(o,M){if(1&o&&e.GBs(Tf,5),2&o){let B;e.mGM(B=e.lsd())&&(M.caretElm=B.first)}},hostVars:2,hostBindings:function(o,M){1&o&&e.bIt("resize",function(){return M.onWindowResize()},!1,e.tSv),2&o&&e.HbH(M.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[["caretElm",""],[3,"hidden"],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(o,M){1&o&&(e.j41(0,"div"),e.nrm(1,"span",1,0),e.j41(3,"div",2),e.DNE(4,io,2,4,"span",3)(5,_h,1,1,"span",4),e.k0s()()),2&o&&(e.R7$(),e.ZvI("tooltip-caret position-",M.placement,""),e.Y8G("hidden",!M.showCaret),e.R7$(3),e.Y8G("ngIf",!M.title),e.R7$(),e.Y8G("ngIf",M.title))},dependencies:[t.bT,t.T3],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),(0,w.Cg)([qp(100)],u.prototype,"onWindowResize",null),u})();class S1{constructor(A){this.injectionService=A,this.defaults={},this.components=new Map}getByType(A=this.type){return this.components.get(A)}create(A){return this.createByType(this.type,A)}createByType(A,o){o=this.assignDefaults(o);const M=this.injectComponent(A,o);return this.register(A,M),M}destroy(A){const o=this.components.get(A.componentType);if(o&&o.length){const M=o.indexOf(A);M>-1&&(o[M].destroy(),o.splice(M,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(A){const o=this.components.get(A);if(o&&o.length){let M=o.length-1;for(;M>=0;)this.destroy(o[M--])}}injectComponent(A,o){return this.injectionService.appendComponent(A,o)}assignDefaults(A){const o={...this.defaults.inputs},M={...this.defaults.outputs};return!A.inputs&&!A.outputs&&(A={inputs:A}),o&&(A.inputs={...o,...A.inputs}),M&&(A.outputs={...M,...A.outputs}),A}register(A,o){this.components.has(A)||this.components.set(A,[]),this.components.get(A).push(o)}}let Cl=(()=>{class u{constructor(o,M,B){this.applicationRef=o,this.componentFactoryResolver=M,this.injector=B}static setGlobalRootViewContainer(o){u.globalRootViewContainer=o}getRootViewContainer(){if(this._container)return this._container;if(u.globalRootViewContainer)return u.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(o){this._container=o}getComponentRootNode(o){return function n3(u){return u.element}(o)?o.element.nativeElement:o.hostView&&o.hostView.rootNodes.length>0?o.hostView.rootNodes[0]:o.location.nativeElement}getRootViewContainerNode(o){return this.getComponentRootNode(o)}projectComponentBindings(o,M){if(M){if(void 0!==M.inputs){const B=Object.getOwnPropertyNames(M.inputs);for(const Y of B)o.instance[Y]=M.inputs[Y]}if(void 0!==M.outputs){const B=Object.getOwnPropertyNames(M.outputs);for(const Y of B)o.instance[Y]=M.outputs[Y]}}return o}appendComponent(o,M={},B){B||(B=this.getRootViewContainer());const Y=this.getComponentRootNode(B),Le=new S.aI(Y,this.componentFactoryResolver,this.applicationRef,this.injector),Ct=new S.A8(o),Gt=Le.attach(Ct);return this.projectComponentBindings(Gt,M),Gt}}return u.globalRootViewContainer=null,u.\u0275fac=function(o){return new(o||u)(e.KVO(e.o8S),e.KVO(e.OM3),e.KVO(e.zZn))},u.\u0275prov=e.jDH({token:u,factory:u.\u0275fac}),u})(),qh=(()=>{class u extends S1{constructor(o){super(o),this.type=Od}}return u.\u0275fac=function(o){return new(o||u)(e.KVO(Cl))},u.\u0275prov=e.jDH({token:u,factory:u.\u0275fac}),u})();var wl=function(u){return u.Right="right",u.Below="below",u}(wl||{}),e0=function(u){return u.ScaleLegend="scaleLegend",u.Legend="legend",u}(e0||{}),jn=function(u){return u.Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",u}(jn||{});let Z4=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(o){const M=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${M})`}gradientString(o,M){M.push(1);const B=[];return o.reverse().forEach((Y,Le)=>{B.push(`${Y} ${Math.round(100*M[Le])}%`)}),B.join(", ")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[e.OA$],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(o,M){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"span"),e.EFF(3),e.k0s()(),e.nrm(4,"div",2),e.j41(5,"div",1)(6,"span"),e.EFF(7),e.k0s()()()),2&o&&(e.xc7("height",M.horizontal?void 0:M.height,"px")("width",M.width,"px"),e.AVh("horizontal-legend",M.horizontal),e.R7$(3),e.JRh(M.valueRange[1].toLocaleString()),e.R7$(),e.xc7("background",M.gradient),e.R7$(3),e.JRh(M.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}),u})();function t0(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}let n0=(()=>{class u{constructor(){this.isActive=!1,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.toggle=new e.bkB}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(o,M){1&o&&e.bIt("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(){return M.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"click","title"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(o,M){1&o&&(e.j41(0,"span",0),e.bIt("click",function(){return M.select.emit(M.formattedLabel)}),e.j41(1,"span",1),e.bIt("click",function(){return M.toggle.emit(M.formattedLabel)}),e.k0s(),e.j41(2,"span",2),e.EFF(3),e.k0s()()),2&o&&(e.AVh("active",M.isActive),e.Y8G("title",M.formattedLabel),e.R7$(),e.xc7("background-color",M.color),e.R7$(2),e.SpI(" ",M.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),J4=(()=>{class u{constructor(o){this.cd=o,this.horizontal=!1,this.labelClick=new e.bkB,this.labelActivate=new e.bkB,this.labelDeactivate=new e.bkB,this.legendEntries=[]}ngOnChanges(o){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const o=[];for(const M of this.data){const B=t0(M);-1===o.findIndex(Le=>Le.label===B)&&o.push({label:M,formattedLabel:B,color:this.colors.getColor(M)})}return o}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(B=>o.label===B.name)}activate(o){this.labelActivate.emit(o)}deactivate(o){this.labelDeactivate.emit(o)}trackBy(o,M){return M.label}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.gRc))},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[e.OA$],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"select","activate","deactivate","label","formattedLabel","color","isActive"]],template:function(o,M){1&o&&(e.j41(0,"div"),e.DNE(1,Af,3,1,"header",0),e.j41(2,"div",1)(3,"ul",2),e.DNE(4,vh,2,4,"li",3),e.k0s()()()),2&o&&(e.xc7("width",M.width,"px"),e.R7$(),e.Y8G("ngIf",(null==M.title?null:M.title.length)>0),e.R7$(2),e.xc7("max-height",M.height-45,"px"),e.AVh("horizontal-legend",M.horizontal),e.R7$(),e.Y8G("ngForOf",M.legendEntries)("ngForTrackBy",M.trackBy))},dependencies:[n0,t.bT,t.Sq],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),u})(),eu=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.bkB,this.legendLabelActivate=new e.bkB,this.legendLabelDeactivate=new e.bkB,this.LegendPosition=wl,this.LegendType=e0}ngOnChanges(o){this.update()}update(){let o=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===wl.Right)&&(o=this.legendType===e0.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-o)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==wl.Right?this.chartWidth:Math.floor(this.view[0]*o/12)}getLegendType(){return this.legendOptions.scaleType===jn.Linear?e0.ScaleLegend:e0.Legend}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[e.Jv_([qh]),e.OA$],ngContentSelectors:rd,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"labelClick","labelActivate","labelDeactivate","horizontal","data","title","colors","height","width","activeEntries"]],template:function(o,M){1&o&&(e.NAR(),e.j41(0,"div",0),e.qSk(),e.j41(1,"svg",1),e.SdG(2),e.k0s(),e.DNE(3,bh,1,5,"ngx-charts-scale-legend",2)(4,L2,1,7,"ngx-charts-legend",3),e.k0s()),2&o&&(e.xc7("width",M.view[0],"px")("height",M.view[1],"px"),e.R7$(),e.BMQ("width",M.chartWidth)("height",M.view[1]),e.R7$(2),e.Y8G("ngIf",M.showLegend&&M.legendType===M.LegendType.ScaleLegend),e.R7$(),e.Y8G("ngIf",M.showLegend&&M.legendType===M.LegendType.Legend))},dependencies:[Z4,J4,t.bT],encapsulation:2,changeDetection:0}),u})(),e6=(()=>{class u{constructor(o,M){this.element=o,this.zone=M,this.visible=new e.bkB,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const o=()=>{if(!this.element)return;const{offsetHeight:M,offsetWidth:B}=this.element.nativeElement;M&&B?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>o(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>o())})}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.aKT),e.rXU(e.SKi))},u.\u0275dir=e.FsC({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function q4(u){return"[object Date]"===toString.call(u)}let a3=(()=>{class u{constructor(o,M,B,Y){this.chartElement=o,this.zone=M,this.cd=B,this.platformId=Y,this.scheme="cool",this.schemeType=jn.Ordinal,this.animations=!0,this.select=new e.bkB}ngOnInit(){(0,t.Vy)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new e6(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(o){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const o=this.getContainerDims();o&&(this.width=o.width,this.height=o.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let o,M;const B=this.chartElement.nativeElement;if((0,t.UE)(this.platformId)&&null!==B.parentNode){const Y=B.parentNode.getBoundingClientRect();o=Y.width,M=Y.height}return o&&M?{width:o,height:M}:null}formatDates(){for(let o=0;o<this.results.length;o++){const M=this.results[o];if(M.label=M.name,q4(M.label)&&(M.label=M.label.toLocaleDateString()),M.series)for(let B=0;B<M.series.length;B++){const Y=M.series[B];Y.label=Y.name,q4(Y.label)&&(Y.label=Y.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,t.UE)(this.platformId))return;const M=(0,l.R)(window,"resize").pipe((0,x.B)(200)).subscribe(B=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=M}cloneData(o){const M=[];for(const B of o){const Y={};if(void 0!==B.name&&(Y.name=B.name),void 0!==B.value&&(Y.value=B.value),void 0!==B.series){Y.series=[];for(const Le of B.series){const Ct=Object.assign({},Le);Y.series.push(Ct)}}void 0!==B.extra&&(Y.extra=JSON.parse(JSON.stringify(B.extra))),void 0!==B.source&&(Y.source=B.source),void 0!==B.target&&(Y.target=B.target),M.push(Y)}return M}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[e.OA$],decls:1,vars:0,template:function(o,M){1&o&&e.nrm(0,"div")},encapsulation:2}),u})();var Jo=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u}(Jo||{});let tu=(()=>{class u{constructor(o){this.textHeight=25,this.margin=5,this.element=o.nativeElement}ngOnChanges(o){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Jo.Top:case Jo.Bottom:this.y=this.offset,this.x=this.width/2;break;case Jo.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Jo.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.aKT))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.OA$],attrs:kf,decls:2,vars:6,template:function(o,M){1&o&&(e.qSk(),e.j41(0,"text"),e.EFF(1),e.k0s()),2&o&&(e.BMQ("stroke-width",M.strokeWidth)("x",M.x)("y",M.y)("text-anchor",M.textAnchor)("transform",M.transform),e.R7$(),e.SpI(" ",M.label," "))},encapsulation:2,changeDetection:0}),u})();function r0(u,A=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=A?u:`${u.slice(0,A)}...`}function o3(u,A){if(u.length>A){const o=[],M=Math.floor(u.length/A);for(let B=0;B<u.length;B++)B%M==0&&o.push(u[B]);u=o}return u}function T1(u,A,o){const M=(u||"").toString();let B=[];if(/\s/.test(M))B=M.split(/\s+/).reduce((Y,Le)=>{const Ct=(Y.pop()||"")+" ";return Ct.length+Le.length>A?[...Y,Ct.trim(),Le.trim()]:[...Y,Ct+Le]},[]);else{let Y=0;for(;Y<M.length;)B.push(M.substring(Y,Y+A)),Y+=A}return B.length>o&&(B=B.splice(0,o),B[B.length-1]+="..."),B}var Ys=function(u){return u.Start="start",u.Middle="middle",u.End="end",u}(Ys||{});let D1=(()=>{class u{constructor(o){this.platformId=o,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Ys.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16}get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.UE)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const o=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);o!==this.height&&(this.height=o,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const o=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:o.tickFormat?o.tickFormat.apply(o,this.tickArguments):function(B){return"Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString()};const M=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(B){return this.scale(B)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",M&&0!==M?(this.textTransform=`rotate(${M})`,this.textAnchor=Ys.End,this.verticalSpacing=10):this.textAnchor=Ys.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(o){let M=0;this.maxTicksLength=0;for(let gi=0;gi<o.length;gi++){const wi=this.tickFormat(o[gi]).toString();let Ai=wi.length;this.trimTicks&&(Ai=this.tickTrim(wi).length),Ai>this.maxTicksLength&&(this.maxTicksLength=Ai)}const Le=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let Ct=Le;const Gt=Math.floor(this.width/o.length);for(;Ct>Gt&&M>-90;)M-=30,Ct=Math.cos(M*(Math.PI/180))*Le;let Ht=14;if(this.isWrapTicksSupported){const gi=this.ticks.reduce((Ai,cn)=>cn.length>Ai.length?cn:Ai,"");Ht=14*(this.tickChunks(gi).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(gi)}const li=0!==M?Math.max(Math.abs(Math.sin(M*Math.PI/180))*this.maxTickLength*7,10):Ht;return this.approxHeight=Math.min(li,200),M}getTicks(){let o;const M=this.getMaxTicks(20),B=this.getMaxTicks(100);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[B]):(o=this.scale.domain(),o=o3(o,M)),o}getMaxTicks(o){return Math.floor(this.width/o)}tickTransform(o){return"translate("+this.adjustedScale(o)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(o){return this.trimTicks?r0(o,this.maxTickLength):o}getMaxPossibleLengthForTick(o){if(this.scale.bandwidth){const B=Math.floor(this.scale.bandwidth()/7),Y=o.slice(0,B);return Math.max(Y.length,this.maxTickLength)}return this.maxTickLength}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){let B=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(B<=1)return[this.tickTrim(o)];let Y=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,t.UE)(this.platformId)||(Y=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),B=Math.min(B,5),T1(o,Y,B<1?1:B)}return[this.tickTrim(o)]}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(o,M){if(1&o&&e.GBs(g1,5),2&o){let B;e.mGM(B=e.lsd())&&(M.ticksElement=B.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:u4,decls:4,vars:2,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(o,M){1&o&&(e.qSk(),e.j41(0,"g",null,0),e.DNE(2,O2,2,2,"g",3),e.k0s(),e.DNE(3,N2,2,2,"g",4)),2&o&&(e.R7$(2),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngForOf",M.ticks))},dependencies:[t.Sq,t.bT],encapsulation:2,changeDetection:0}),u})(),s3=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Jo.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=Jo}ngOnChanges(o){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:o}){const M=o+25+5;M!==this.labelOffset&&(this.labelOffset=M,setTimeout(()=>{this.dimensionsChanged.emit({height:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(o,M){if(1&o&&e.GBs(D1,5),2&o){let B;e.mGM(B=e.lsd())&&(M.ticksComponent=B.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:Md,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"dimensionsChanged","trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,M){1&o&&(e.qSk(),e.j41(0,"g"),e.DNE(1,yh,1,13,"g",0)(2,Ed,1,5,"g",1),e.k0s()),2&o&&(e.BMQ("class",M.xAxisClassName)("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.xScale),e.R7$(),e.Y8G("ngIf",M.showLabel))},dependencies:[D1,tu,t.bT],encapsulation:2,changeDetection:0}),u})();function ad(u,A,o,M,B,[Y,Le,Ct,Gt]){let Ht="";return Ht=`M${[u+B,A]}`,Ht+="h"+((o=0===(o=Math.floor(o))?1:o)-2*B),Ht+=Le?`a${[B,B]} 0 0 1 ${[B,B]}`:`h${B}v${B}`,Ht+="v"+((M=0===(M=Math.floor(M))?1:M)-2*B),Ht+=Gt?`a${[B,B]} 0 0 1 ${[-B,B]}`:`v${B}h${-B}`,Ht+="h"+(2*B-o),Ht+=Ct?`a${[B,B]} 0 0 1 ${[-B,-B]}`:`h${-B}v${-B}`,Ht+="v"+(2*B-M),Ht+=Y?`a${[B,B]} 0 0 1 ${[B,-B]}`:`v${-B}h${B}`,Ht+="z",Ht}let tm=(()=>{class u{constructor(o){this.platformId=o,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Ys.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Jo}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.UE)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const o=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);o!==this.width&&(this.width=o,this.dimensionsChanged.emit({width:o}),setTimeout(()=>this.updateDims()))}update(){const o=this.scale,M=this.orient===Jo.Top||this.orient===Jo.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:o.tickFormat?o.tickFormat.apply(o,this.tickArguments):function(B){return"Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString()},this.adjustedScale=o.bandwidth?B=>{const Y=o(B)+.5*o.bandwidth();if(this.wrapTicks&&B.toString().length>this.maxTickLength){const Le=this.tickChunks(B).length;if(1===Le)return Y;const Ht=.5*o.bandwidth()-8*Le*.5;return o(B)+Ht}return Y}:o,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Jo.Top:case Jo.Bottom:this.transform=function(B){return"translate("+this.adjustedScale(B)+",0)"},this.textAnchor=Ys.Middle,this.y2=this.innerTickSize*M,this.y1=this.tickSpacing*M,this.dy=M<0?"0em":".71em";break;case Jo.Left:this.transform=function(B){return"translate(0,"+this.adjustedScale(B)+")"},this.textAnchor=Ys.End,this.x2=this.innerTickSize*-M,this.x1=this.tickSpacing*-M,this.dy=".32em";break;case Jo.Right:this.transform=function(B){return"translate(0,"+this.adjustedScale(B)+")"},this.textAnchor=Ys.Start,this.x2=this.innerTickSize*-M,this.x1=this.tickSpacing*-M,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(o=>o.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(o=>o.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=ad(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let o;const M=this.getMaxTicks(20),B=this.getMaxTicks(50);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[B]):(o=this.scale.domain(),o=o3(o,M)),o}getMaxTicks(o){return Math.floor(this.height/o)}tickTransform(o){return`translate(${this.adjustedScale(o)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(o){return this.trimTicks?r0(o,this.maxTickLength):o}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(B=>this.tickTrim(this.tickFormat(B)).length))}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){const M=this.maxTickLength,B=Math.floor(this.scale.bandwidth()/15);return B<=1?[this.tickTrim(o)]:T1(o,M,Math.min(B,5))}return[this.tickFormat(o)]}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(o,M){if(1&o&&e.GBs(g1,5),2&o){let B;e.mGM(B=e.lsd())&&(M.ticksElement=B.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:xh,decls:6,vars:4,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01"],[4,"ngIf","ngIfThen","ngIfElse"],[4,"ngIf","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],[1,"reference-area"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(o,M){1&o&&(e.qSk(),e.j41(0,"g",null,0),e.DNE(2,Mh,2,2,"g",3),e.k0s(),e.DNE(3,f4,1,2,"path",4)(4,Sh,2,2,"g",5)(5,b1,2,1,"g",5)),2&o&&(e.R7$(2),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngIf",M.referenceLineLength>1&&M.refMax&&M.refMin&&M.showRefLines),e.R7$(),e.Y8G("ngForOf",M.ticks),e.R7$(),e.Y8G("ngForOf",M.referenceLines))},dependencies:[t.Sq,t.bT],encapsulation:2,changeDetection:0}),u})(),A1=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=Jo.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.bkB,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(o){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Jo.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:o}){o!==this.labelOffset&&this.yOrient===Jo.Right?(this.labelOffset=o+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:o})},0)):o!==this.labelOffset&&(this.labelOffset=o,setTimeout(()=>{this.dimensionsChanged.emit({width:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(o,M){if(1&o&&e.GBs(tm,5),2&o){let B;e.mGM(B=e.lsd())&&(M.ticksComponent=B.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:Rf,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"dimensionsChanged","trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,M){1&o&&(e.qSk(),e.j41(0,"g"),e.DNE(1,Of,1,15,"g",0)(2,Ff,1,5,"g",1),e.k0s()),2&o&&(e.BMQ("class",M.yAxisClassName)("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.yScale),e.R7$(),e.Y8G("ngIf",M.showLabel))},dependencies:[tm,tu,t.bT],encapsulation:2,changeDetection:0}),u})(),iu=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[t.MD]]}),u})();var k1=function(u){return u.popover="popover",u.tooltip="tooltip",u}(k1||{}),a0=function(u){return u[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",u}(a0||{});let c3=(()=>{class u{constructor(o,M,B){this.tooltipService=o,this.viewContainerRef=M,this.renderer=B,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=pr.Top,this.tooltipAlignment=pr.Center,this.tooltipType=k1.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=a0.all,this.tooltipImmediateExit=!1,this.show=new e.bkB,this.hide=new e.bkB}get listensForFocus(){return this.tooltipShowEvent===a0.all||this.tooltipShowEvent===a0.focus}get listensForHover(){return this.tooltipShowEvent===a0.all||this.tooltipShowEvent===a0.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(o){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(o))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(o){if(this.component||this.tooltipDisabled)return;const M=o?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const B=this.createBoundOptions();this.component=this.tooltipService.create(B),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},M)}addHideListeners(o){this.mouseEnterContentEvent=this.renderer.listen(o,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(o,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",M=>{o.contains(M.target)||this.hideTooltip()}))}hideTooltip(o=!1){if(!this.component)return;const M=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),o?M():this.timeout=setTimeout(M,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(qh),e.rXU(e.c1b),e.rXU(e.sFG))},u.\u0275dir=e.FsC({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(o,M){1&o&&e.bIt("focusin",function(){return M.onFocus()})("blur",function(){return M.onBlur()})("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(Y){return M.onMouseLeave(Y.target)})("click",function(){return M.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),u})(),im=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({providers:[Cl,qh],imports:[[t.MD]]}),u})();const nm={};function o0(){let u=("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4);return u=`a${u}`,nm[u]?o0():(nm[u]=!0,u)}var bo=function(u){return u.Vertical="vertical",u.Horizontal="horizontal",u}(bo||{});let l3=(()=>{class u{constructor(){this.orientation=bo.Vertical}ngOnChanges(o){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===bo.Horizontal?this.x2="100%":this.orientation===bo.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.OA$],attrs:Nf,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(o,M){1&o&&(e.qSk(),e.j41(0,"linearGradient",0),e.DNE(1,Ws,1,5,"stop",1),e.k0s()),2&o&&(e.Y8G("id",M.name),e.BMQ("x1",M.x1)("y1",M.y1)("x2",M.x2)("y2",M.y2),e.R7$(),e.Y8G("ngForOf",M.stops))},dependencies:[t.Sq],encapsulation:2,changeDetection:0}),u})(),ru=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:Dh,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(o,M){1&o&&(e.qSk(),e.nrm(0,"rect",0)),2&o&&e.BMQ("height",M.height)("width",M.width)("x",M.x)("y",M.y)},encapsulation:2,changeDetection:0}),u})();var Ml=function(u){return u.Odd="odd",u.Even="even",u}(Ml||{});let s0,au=(()=>{class u{ngOnChanges(o){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(o=>{let M,B,Y,Le,Ct,Gt=Ml.Odd;if(this.orient===bo.Vertical){const Ht=this.xScale(o.name);Number.parseInt((Ht/this.xScale.step()).toString(),10)%2==1&&(Gt=Ml.Even),M=this.xScale.bandwidth()*this.xScale.paddingInner(),B=this.xScale.bandwidth()+M,Y=this.dims.height,Le=this.xScale(o.name)-M/2,Ct=0}else if(this.orient===bo.Horizontal){const Ht=this.yScale(o.name);Number.parseInt((Ht/this.yScale.step()).toString(),10)%2==1&&(Gt=Ml.Even),M=this.yScale.bandwidth()*this.yScale.paddingInner(),B=this.dims.width,Y=this.yScale.bandwidth()+M,Le=0,Ct=this.yScale(o.name)-M/2}return{name:o.name,class:Gt,height:Y,width:B,x:Le,y:Ct}})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.OA$],attrs:Ah,decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(o,M){1&o&&e.DNE(0,kh,1,10,"g",0),2&o&&e.Y8G("ngForOf",M.gridPanels)},dependencies:[ru,t.Sq],encapsulation:2,changeDetection:0}),u})();typeof window<"u"?s0=window:typeof global<"u"&&(s0=global);let qo=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[t.MD,iu,im],t.MD,iu,im]}),u})();function om({width:u,height:A,margins:o,showXAxis:M=!1,showYAxis:B=!1,xAxisHeight:Y=0,yAxisWidth:Le=0,showXLabel:Ct=!1,showYLabel:Gt=!1,showLegend:Ht=!1,legendType:li=jn.Ordinal,legendPosition:gi=wl.Right,columns:wi=12}){let Ai=o[3],cn=u,Tn=A-o[0]-o[2];return Ht&&gi===wl.Right&&(wi-=li===jn.Ordinal?2:1),cn=cn*wi/12,cn=cn-o[1]-o[3],M&&(Tn-=5,Tn-=Y,Ct&&(Tn-=30)),B&&(cn-=5,cn-=Le,Ai+=Le,Ai+=10,Gt&&(cn-=30,Ai+=30)),cn=Math.max(0,cn),Tn=Math.max(0,Tn),{width:Math.floor(cn),height:Math.floor(Tn),xOffset:Math.floor(Ai)}}const f3=[{name:"vivid",selectable:!0,group:jn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:jn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:jn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:jn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:jn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:jn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:jn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:jn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:jn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:jn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:jn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:jn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:jn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:jn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:jn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class sm{constructor(A,o,M,B){"string"==typeof A&&(A=f3.find(Y=>Y.name===A)),this.colorDomain=A.domain,this.scaleType=o,this.domain=M,this.customColors=B,this.scale=this.generateColorScheme(A,o,this.domain)}generateColorScheme(A,o,M){let B;switch("string"==typeof A&&(A=f3.find(Y=>Y.name===A)),o){case jn.Quantile:B=Cd().range(A.domain).domain(M);break;case jn.Ordinal:B=Wc().range(A.domain).domain(M);break;case jn.Linear:{const Y=[...A.domain];1===Y.length&&(Y.push(Y[0]),this.colorDomain=Y);const Le=fh(0,1,1/Y.length);B=Gs().range(Y).domain(Le)}}return B}getColor(A){if(null==A)throw new Error("Value can not be null");if(this.scaleType===jn.Linear){const o=Gs().domain(this.domain).range([0,1]);return this.scale(o(A))}{if("function"==typeof this.customColors)return this.customColors(A);const o=A.toString();let M;return this.customColors&&this.customColors.length>0&&(M=this.customColors.find(B=>B.name.toLowerCase()===o.toLowerCase())),M?M.value:this.scale(A)}}getLinearGradientStops(A,o){void 0===o&&(o=this.domain[0]);const M=Gs().domain(this.domain).range([0,1]),B=Ac().domain(this.colorDomain).range([0,1]),Y=this.getColor(A),Le=M(o),Ct=this.getColor(o),Gt=M(A);let Ht=1,li=Le;const gi=[];for(gi.push({color:Ct,offset:Le,originalOffset:Le,opacity:1});li<Gt&&Ht<this.colorDomain.length;){const wi=this.colorDomain[Ht],Ai=B(wi);if(Ai<=Le)Ht++;else{if(Ai.toFixed(4)>=(Gt-B.bandwidth()).toFixed(4))break;gi.push({color:wi,offset:Ai,opacity:1}),li=Ai,Ht++}}if(gi[gi.length-1].offset<100&&gi.push({color:Y,offset:Gt,opacity:1}),Gt===Le)gi[0].offset=0,gi[1].offset=100;else if(100!==gi[gi.length-1].offset)for(const wi of gi)wi.offset=(wi.offset-Le)/(Gt-Le)*100;return gi}}let cu=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})(),c0=(()=>{class u{constructor(o){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.hasGradient=!1,this.hideBar=!1,this.element=o.nativeElement}ngOnChanges(o){o.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+o0().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const o=function re(u){return"string"==typeof u?new Ni([[document.querySelector(u)]],[document.documentElement]):new Ni([[u]],en)}(this.element).select(".bar"),M=this.getPath();this.animations?o.transition().duration(500).attr("d",M):o.attr("d",M)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let M,o=this.getRadius();return this.roundEdges?this.orientation===bo.Vertical?(o=Math.min(this.height,o),M=ad(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===bo.Horizontal&&(o=Math.min(this.width,o),M=ad(this.x,this.y,1,this.height,0,this.edges)):this.orientation===bo.Vertical?M=ad(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===bo.Horizontal&&(M=ad(this.x,this.y,1,this.height,0,this.edges)),M}getPath(){let M,o=this.getRadius();return this.roundEdges?this.orientation===bo.Vertical?(o=Math.min(this.height,o),M=ad(this.x,this.y,this.width,this.height,o,this.edges)):this.orientation===bo.Horizontal&&(o=Math.min(this.width,o),M=ad(this.x,this.y,this.width,this.height,o,this.edges)):M=ad(this.x,this.y,this.width,this.height,o,this.edges),M}getRadius(){let o=0;return this.roundEdges&&this.height>5&&this.width>5&&(o=Math.floor(Math.min(5,this.height/2,this.width/2))),o}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let o=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===bo.Vertical?o=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===bo.Horizontal&&(o=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),o}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===bo.Vertical&&0===this.height||this.orientation===bo.Horizontal&&0===this.width)}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.aKT))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(o,M){1&o&&e.bIt("mouseenter",function(){return M.onMouseEnter()})("mouseleave",function(){return M.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.OA$],attrs:Ad,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(o,M){1&o&&(e.DNE(0,jh,2,3,"defs",0),e.qSk(),e.j41(1,"path",1),e.bIt("click",function(){return M.select.emit(M.data)}),e.k0s()),2&o&&(e.Y8G("ngIf",M.hasGradient),e.R7$(),e.AVh("active",M.isActive)("hidden",M.hideBar),e.BMQ("d",M.path)("aria-label",M.ariaLabel)("fill",M.hasGradient?M.gradientFill:M.fill))},dependencies:[l3,t.bT],encapsulation:2,changeDetection:0}),u})();var El=function(u){return u.Standard="standard",u.Normalized="normalized",u.Stacked="stacked",u}(El||{}),Fd=function(u){return u.positive="positive",u.negative="negative",u}(Fd||{});let l0=(()=>{class u{constructor(o){this.dimensionsChanged=new e.bkB,this.horizontalPadding=2,this.verticalPadding=5,this.element=o.nativeElement}ngOnChanges(o){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):t0(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.aKT))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.OA$],attrs:Wh,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(o,M){1&o&&(e.qSk(),e.j41(0,"text",0),e.EFF(1),e.k0s()),2&o&&(e.BMQ("text-anchor",M.textAnchor)("transform",M.transform)("x",M.x)("y",M.y),e.R7$(),e.SpI(" ",M.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),hm=(()=>{class u{constructor(o){this.platformId=o,this.type=El.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new e.bkB,this.activate=new e.bkB,this.deactivate=new e.bkB,this.dataLabelHeightChanged=new e.bkB,this.barsForDataLabels=[],this.barOrientation=bo,this.isSSR=!1}ngOnInit(){(0,t.Vy)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(o){this.update()}update(){let o;this.updateTooltipSettings(),this.series.length&&(o=this.xScale.bandwidth()),o=Math.round(o);const M=Math.max(this.yScale.domain()[0],0),B={[Fd.positive]:0,[Fd.negative]:0};let Le,Y=Fd.positive;this.type===El.Normalized&&(Le=this.series.map(Ct=>Ct.value).reduce((Ct,Gt)=>Ct+Gt,0)),this.bars=this.series.map((Ct,Gt)=>{let Ht=Ct.value;const li=this.getLabel(Ct),gi=t0(li);Y=Ht>0?Fd.positive:Fd.negative;const Ai={value:Ht,label:li,roundEdges:this.roundEdges,data:Ct,width:o,formattedLabel:gi,height:0,x:0,y:0};if(this.type===El.Standard)Ai.height=Math.abs(this.yScale(Ht)-this.yScale(M)),Ai.x=this.xScale(li),Ai.y=this.yScale(Ht<0?0:Ht);else if(this.type===El.Stacked){const Tn=B[Y],ki=Tn+Ht;B[Y]+=Ht,Ai.height=this.yScale(Tn)-this.yScale(ki),Ai.x=0,Ai.y=this.yScale(ki),Ai.offset0=Tn,Ai.offset1=ki}else if(this.type===El.Normalized){let Tn=B[Y],ki=Tn+Ht;B[Y]+=Ht,Le>0?(Tn=100*Tn/Le,ki=100*ki/Le):(Tn=0,ki=0),Ai.height=this.yScale(Tn)-this.yScale(ki),Ai.x=0,Ai.y=this.yScale(ki),Ai.offset0=Tn,Ai.offset1=ki,Ht=(ki-Tn).toFixed(2)+"%"}this.colors.scaleType===jn.Ordinal?Ai.color=this.colors.getColor(li):this.type===El.Standard?(Ai.color=this.colors.getColor(Ht),Ai.gradientStops=this.colors.getLinearGradientStops(Ht)):(Ai.color=this.colors.getColor(Ai.offset1),Ai.gradientStops=this.colors.getLinearGradientStops(Ai.offset1,Ai.offset0));let cn=gi;return Ai.ariaLabel=gi+" "+Ht.toLocaleString(),null!=this.seriesName&&(cn=`${this.seriesName} \u2022 ${gi}`,Ai.data.series=this.seriesName,Ai.ariaLabel=this.seriesName+" "+Ai.ariaLabel),Ai.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function r3(u){return u.toLocaleString().replace(/[&'`"<>]/g,A=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[A]))}(cn)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(Ht):Ht.toLocaleString()}</span>\n `,Ai}),this.updateDataLabels()}updateDataLabels(){if(this.type===El.Stacked){this.barsForDataLabels=[];const o={};o.series=this.seriesName;const M=this.series.map(Y=>Y.value).reduce((Y,Le)=>Le>0?Y+Le:Y,0),B=this.series.map(Y=>Y.value).reduce((Y,Le)=>Le<0?Y+Le:Y,0);o.total=M+B,o.x=0,o.y=0,o.height=this.yScale(o.total>0?M:B),o.width=this.xScale.bandwidth(),this.barsForDataLabels.push(o)}else this.barsForDataLabels=this.series.map(o=>{const M={};return M.series=this.seriesName??o.label,M.total=o.value,M.x=this.xScale(o.label),M.y=this.yScale(0),M.height=this.yScale(M.total)-this.yScale(0),M.width=this.xScale.bandwidth(),M})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:pr.Top,this.tooltipType=this.tooltipDisabled?void 0:k1.tooltip}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(B=>o.name===B.name&&o.value===B.value)}onClick(o){this.select.emit(o)}getLabel(o){return o.label?o.label:o.name}trackBy(o,M){return M.label}trackDataLabelBy(o,M){return o+"#"+M.series+"#"+M.total}}return u.\u0275fac=function(o){return new(o||u)(e.rXU(e.Agw))},u.\u0275cmp=e.VBU({type:u,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[e.OA$],attrs:bn,decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"select","activate","deactivate","width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"dimensionsChanged","barX","barY","barWidth","barHeight","value","valueFormatting","orientation"]],template:function(o,M){1&o&&e.DNE(0,Ji,2,2,"g",0)(1,Un,2,2,"g",0)(2,la,2,2,"g",0),2&o&&(e.Y8G("ngIf",!M.isSSR),e.R7$(),e.Y8G("ngIf",M.isSSR),e.R7$(),e.Y8G("ngIf",M.showDataLabel))},dependencies:[c0,l0,t.bT,t.Sq,c3],encapsulation:2,data:{animation:[(0,f.hZ)("animationState",[(0,f.kY)(":leave",[(0,f.iF)({opacity:1}),(0,f.i0)(500,(0,f.iF)({opacity:0}))])])]},changeDetection:0}),u})(),um=(()=>{class u extends a3{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=wl.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.bkB,this.deactivate=new e.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=om({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const o=this.xDomain.length/(this.dims.width/this.barPadding+1);return Ac().range([0,this.dims.width]).paddingInner(o).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const o=Gs().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?o.nice():o}getXDomain(){return this.results.map(o=>o.label)}getYDomain(){const o=this.results.map(Y=>Y.value);let M=this.yScaleMin?Math.min(this.yScaleMin,...o):Math.min(0,...o);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(M=Math.min(M,...this.yAxisTicks));let B=this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(B=Math.max(B,...this.yAxisTicks)),[M,B]}onClick(o){this.select.emit(o)}setColors(){let o;o=this.schemeType===jn.Ordinal?this.xDomain:this.yDomain,this.colors=new sm(this.scheme,this.schemeType,o,this.customColors)}getLegendOptions(){const o={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return o.scaleType===jn.Ordinal?(o.domain=this.xDomain,o.colors=this.colors,o.title=this.legendTitle):(o.domain=this.yDomain,o.colors=this.colors.scale),o}updateYAxisWidth({width:o}){this.yAxisWidth=o,this.update()}updateXAxisHeight({height:o}){this.xAxisHeight=o,this.update()}onDataLabelMaxHeightChanged(o){o.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,o.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,o.size.height),o.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(o,M=!1){o=this.results.find(Y=>M?Y.label===o.name:Y.name===o.name),!(this.activeEntries.findIndex(Y=>Y.name===o.name&&Y.value===o.value&&Y.series===o.series)>-1)&&(this.activeEntries=[o,...this.activeEntries],this.activate.emit({value:o,entries:this.activeEntries}))}onDeactivate(o,M=!1){o=this.results.find(Y=>M?Y.label===o.name:Y.name===o.name);const B=this.activeEntries.findIndex(Y=>Y.name===o.name&&Y.value===o.value&&Y.series===o.series);this.activeEntries.splice(B,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:o,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let A;return function(M){return(A||(A=e.xGo(u)))(M||u)}})(),u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(o,M,B){if(1&o&&e.wni(B,Dd,5),2&o){let Y;e.mGM(Y=e.lsd())&&(M.tooltipTemplate=Y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.Vt3],decls:5,vars:25,consts:[[3,"legendLabelClick","legendLabelActivate","legendLabelDeactivate","view","showLegend","legendOptions","activeEntries","animations"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"activate","deactivate","select","dataLabelHeightChanged","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero"],["ngx-charts-x-axis","",3,"dimensionsChanged","xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks"],["ngx-charts-y-axis","",3,"dimensionsChanged","yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks"]],template:function(o,M){1&o&&(e.j41(0,"ngx-charts-chart",0),e.bIt("legendLabelClick",function(Y){return M.onClick(Y)})("legendLabelActivate",function(Y){return M.onActivate(Y,!0)})("legendLabelDeactivate",function(Y){return M.onDeactivate(Y,!0)}),e.qSk(),e.j41(1,"g",1),e.DNE(2,cr,1,12,"g",2)(3,ta,1,10,"g",3),e.j41(4,"g",4),e.bIt("activate",function(Y){return M.onActivate(Y)})("deactivate",function(Y){return M.onDeactivate(Y)})("select",function(Y){return M.onClick(Y)})("dataLabelHeightChanged",function(Y){return M.onDataLabelMaxHeightChanged(Y)}),e.k0s()()()),2&o&&(e.Y8G("view",e.l_i(22,vl,M.width,M.height))("showLegend",M.legend)("legendOptions",M.legendOptions)("activeEntries",M.activeEntries)("animations",M.animations),e.R7$(),e.BMQ("transform",M.transform),e.R7$(),e.Y8G("ngIf",M.xAxis),e.R7$(),e.Y8G("ngIf",M.yAxis),e.R7$(),e.Y8G("xScale",M.xScale)("yScale",M.yScale)("colors",M.colors)("series",M.results)("dims",M.dims)("gradient",M.gradient)("tooltipDisabled",M.tooltipDisabled)("tooltipTemplate",M.tooltipTemplate)("showDataLabel",M.showDataLabel)("dataLabelFormatting",M.dataLabelFormatting)("activeEntries",M.activeEntries)("roundEdges",M.roundEdges)("animations",M.animations)("noBarWhenZero",M.noBarWhenZero))},dependencies:[eu,s3,A1,hm,t.bT],styles:[C1],encapsulation:2,changeDetection:0}),u})(),c6=(()=>{class u extends a3{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=wl.Right,this.tooltipDisabled=!1,this.scaleType=jn.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.bkB,this.deactivate=new e.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=bo,this.trackBy=(o,M)=>M.name}ngOnInit(){(0,t.Vy)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=om({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(o,M){o.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,o.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,o.size.height),M===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const o=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Ac().rangeRound([0,this.dims.width]).paddingInner(o).paddingOuter(o/2).domain(this.groupDomain)}getInnerScale(){const o=this.groupScale.bandwidth(),M=this.innerDomain.length/(o/this.barPadding+1);return Ac().rangeRound([0,o]).paddingInner(M).domain(this.innerDomain)}getValueScale(){const o=Gs().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?o.nice():o}getGroupDomain(){const o=[];for(const M of this.results)o.includes(M.label)||o.push(M.label);return o}getInnerDomain(){const o=[];for(const M of this.results)for(const B of M.series)o.includes(B.label)||o.push(B.label);return o}getValueDomain(){const o=[];for(const Y of this.results)for(const Le of Y.series)o.includes(Le.value)||o.push(Le.value);return[Math.min(0,...o),this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o)]}groupTransform(o){return`translate(${this.groupScale(o.label)}, 0)`}onClick(o,M){M&&(o.series=M.name),this.select.emit(o)}setColors(){let o;o=this.schemeType===jn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new sm(this.scheme,this.schemeType,o,this.customColors)}getLegendOptions(){const o={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return o.scaleType===jn.Ordinal?(o.domain=this.innerDomain,o.colors=this.colors,o.title=this.legendTitle):(o.domain=this.valueDomain,o.colors=this.colors.scale),o}updateYAxisWidth({width:o}){this.yAxisWidth=o,this.update()}updateXAxisHeight({height:o}){this.xAxisHeight=o,this.update()}onActivate(o,M,B=!1){const Y=Object.assign({},o);M&&(Y.series=M.name);const Le=this.results.map(Ct=>Ct.series).flat().filter(Ct=>B?Ct.label===Y.name:Ct.name===Y.name&&Ct.series===Y.series);this.activeEntries=[...Le],this.activate.emit({value:Y,entries:this.activeEntries})}onDeactivate(o,M,B=!1){const Y=Object.assign({},o);M&&(Y.series=M.name),this.activeEntries=this.activeEntries.filter(Le=>B?Le.label!==Y.name:!(Le.name===Y.name&&Le.series===Y.series)),this.deactivate.emit({value:Y,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let A;return function(M){return(A||(A=e.xGo(u)))(M||u)}})(),u.\u0275cmp=e.VBU({type:u,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(o,M,B){if(1&o&&e.wni(B,Dd,5),2&o){let Y;e.mGM(Y=e.lsd())&&(M.tooltipTemplate=Y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.Vt3],decls:7,vars:18,consts:[[3,"legendLabelActivate","legendLabelDeactivate","legendLabelClick","view","showLegend","legendOptions","activeEntries","animations"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"dimensionsChanged","xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks"],["ngx-charts-y-axis","",3,"dimensionsChanged","yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"select","activate","deactivate","dataLabelHeightChanged","activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero"]],template:function(o,M){1&o&&(e.j41(0,"ngx-charts-chart",0),e.bIt("legendLabelActivate",function(Y){return M.onActivate(Y,void 0,!0)})("legendLabelDeactivate",function(Y){return M.onDeactivate(Y,void 0,!0)})("legendLabelClick",function(Y){return M.onClick(Y)}),e.qSk(),e.j41(1,"g",1),e.nrm(2,"g",2),e.DNE(3,Ar,1,11,"g",3)(4,ma,1,10,"g",4)(5,rc,2,2,"g",5),e.k0s(),e.DNE(6,M1,2,2,"g",5),e.k0s()),2&o&&(e.Y8G("view",e.l_i(15,vl,M.width,M.height))("showLegend",M.legend)("legendOptions",M.legendOptions)("activeEntries",M.activeEntries)("animations",M.animations),e.R7$(),e.BMQ("transform",M.transform),e.R7$(),e.Y8G("xScale",M.groupScale)("yScale",M.valueScale)("data",M.results)("dims",M.dims)("orient",M.barOrientation.Vertical),e.R7$(),e.Y8G("ngIf",M.xAxis),e.R7$(),e.Y8G("ngIf",M.yAxis),e.R7$(),e.Y8G("ngIf",!M.isSSR),e.R7$(),e.Y8G("ngIf",M.isSSR))},dependencies:[eu,au,s3,A1,hm,t.bT,t.Sq],styles:[C1],encapsulation:2,data:{animation:[(0,f.hZ)("animationState",[(0,f.kY)(":leave",[(0,f.iF)({opacity:1,transform:"*"}),(0,f.i0)(500,(0,f.iF)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),u})(),g3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})();d4();let u6=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})(),d0=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})(),O1=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})(),v3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})();Math;let Nd=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})(),g6=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo,Nd,v3]]}),u})(),b3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})(),y3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})(),x3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo,Nd,g3]]}),u})(),S6=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[[qo]]}),u})(),C3=(()=>{class u{constructor(){!function U5(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.$C({type:u}),u.\u0275inj=e.G2t({imports:[qo,cu,g3,u6,d0,O1,S6,v3,g6,b3,Nd,y3,x3]}),u})()},8288:(Qe,te,g)=>{"use strict";g.d(te,{Um:()=>d,XK:()=>T});var e=g(467),t=g(4438),w=g(177),S=g(8314);function l(y,F){if(1&y&&t.nrm(0,"canvas",1),2&y){const R=t.XpG();t.HbH(R.styleClass),t.Y8G("qrCode",R.value)("qrCodeErrorCorrectionLevel",R.errorCorrectionLevel)("qrCodeCenterImageSrc",R.centerImageSrc)("qrCodeCenterImageWidth",R.centerImageSize)("qrCodeCenterImageHeight",R.centerImageSize)("qrCodeMargin",R.margin)("width",R.size)("height",R.size)("ngStyle",R.style)("darkColor",R.darkColor)("lightColor",R.lightColor)}}const x=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let f=(()=>{class y{static#e=this.DEFAULT_ERROR_CORRECTION_LEVEL="M";static#t=this.DEFAULT_CENTER_IMAGE_SIZE=40;constructor(R){this.viewContainerRef=R,this.errorCorrectionLevel=y.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var R=this;return(0,e.A)(function*(){if(!R.value)return;R.version&&R.version>40?(console.warn("[qrCode] max version is 40, clamping"),R.version=40):R.version&&R.version<1?(console.warn("[qrCode] min version is 1, clamping"),R.version=1):void 0!==R.version&&isNaN(R.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),R.version=void 0);const z=R.viewContainerRef.element.nativeElement;if(!z)return;const W=z.getContext("2d");W&&W.clearRect(0,0,W.canvas.width,W.canvas.height);const $=R.errorCorrectionLevel??y.DEFAULT_ERROR_CORRECTION_LEVEL,j=x.test(R.darkColor)?R.darkColor:void 0,Q=x.test(R.lightColor)?R.lightColor:void 0;(0,t.naY)()&&(!j&&R.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!Q&&R.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield S.toCanvas(z,R.value,{version:R.version,errorCorrectionLevel:$,width:R.width,margin:R.margin,color:{dark:j,light:Q}});const J=R.centerImageSrc,ee=I(R.centerImageWidth,y.DEFAULT_CENTER_IMAGE_SIZE),ie=I(R.centerImageHeight,y.DEFAULT_CENTER_IMAGE_SIZE);if(J&&W){R.centerImage||(R.centerImage=new Image(ee,ie));const ge=R.centerImage;J!==R.centerImage.src&&(ge.src=J),ee!==R.centerImage.width&&(ge.width=ee),ie!==R.centerImage.height&&(ge.height=ie);const ae=()=>{W.drawImage(ge,z.width/2-ee/2,z.height/2-ie/2,ee,ie)};ge.onload=ae,ge.complete&&ae()}})()}static#i=this.\u0275fac=function(z){return new(z||y)(t.rXU(t.c1b))};static#n=this.\u0275dir=t.FsC({type:y,selectors:[["canvas","qrCode",""]],inputs:{value:[0,"qrCode","value"],version:[0,"qrCodeVersion","version"],errorCorrectionLevel:[0,"qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:[0,"qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:[0,"qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:[0,"qrCodeCenterImageHeight","centerImageHeight"],margin:[0,"qrCodeMargin","margin"]},features:[t.OA$]})}return y})();function I(y,F){return void 0===y||""===y?F:"string"==typeof y?parseInt(y,10):y}let d=(()=>{class y{static#e=this.\u0275fac=function(z){return new(z||y)};static#t=this.\u0275cmp=t.VBU({type:y,selectors:[["qr-code"]],inputs:{value:"value",size:"size",style:"style",styleClass:"styleClass",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","class","ngStyle","darkColor","lightColor"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","ngStyle","darkColor","lightColor"]],template:function(z,W){1&z&&t.DNE(0,l,1,13,"canvas",0),2&z&&t.vxM(W.value?0:-1)},dependencies:[w.B3,f],encapsulation:2})}return y})(),T=(()=>{class y{static#e=this.\u0275fac=function(z){return new(z||y)};static#t=this.\u0275mod=t.$C({type:y});static#i=this.\u0275inj=t.G2t({imports:[w.MD]})}return y})()},497:(Qe,te,g)=>{"use strict";g.d(te,{kU:()=>St,ZF:()=>Re,Ld:()=>q,U$:()=>gt});var e=g(1413),t=g(3726),w=g(7786),S=g(3798),l=g(6977),x=g(3294),f=g(3703),I=g(4438),d=g(177);function T($e){return getComputedStyle($e)}function y($e,Fe){for(var Ge in Fe){var et=Fe[Ge];"number"==typeof et&&(et+="px"),$e.style[Ge]=et}return $e}function F($e){var Fe=document.createElement("div");return Fe.className=$e,Fe}var R=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function z($e,Fe){if(!R)throw new Error("No element matching method supported");return R.call($e,Fe)}function W($e){$e.remove?$e.remove():$e.parentNode&&$e.parentNode.removeChild($e)}function $($e,Fe){return Array.prototype.filter.call($e.children,function(Ge){return z(Ge,Fe)})}var j={main:"ps",rtl:"ps__rtl",element:{thumb:function($e){return"ps__thumb-"+$e},rail:function($e){return"ps__rail-"+$e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function($e){return"ps--active-"+$e},scrolling:function($e){return"ps--scrolling-"+$e}}},Q={x:null,y:null};function J($e,Fe){var Ge=$e.element.classList,et=j.state.scrolling(Fe);Ge.contains(et)?clearTimeout(Q[Fe]):Ge.add(et)}function ee($e,Fe){Q[Fe]=setTimeout(function(){return $e.isAlive&&$e.element.classList.remove(j.state.scrolling(Fe))},$e.settings.scrollingThreshold)}var ge=function(Fe){this.element=Fe,this.handlers={}},ae={isEmpty:{configurable:!0}};ge.prototype.bind=function(Fe,Ge){typeof this.handlers[Fe]>"u"&&(this.handlers[Fe]=[]),this.handlers[Fe].push(Ge),this.element.addEventListener(Fe,Ge,!1)},ge.prototype.unbind=function(Fe,Ge){var et=this;this.handlers[Fe]=this.handlers[Fe].filter(function(st){return!(!Ge||st===Ge)||(et.element.removeEventListener(Fe,st,!1),!1)})},ge.prototype.unbindAll=function(){for(var Fe in this.handlers)this.unbind(Fe)},ae.isEmpty.get=function(){var $e=this;return Object.keys(this.handlers).every(function(Fe){return 0===$e.handlers[Fe].length})},Object.defineProperties(ge.prototype,ae);var Me=function(){this.eventElements=[]};function Te($e){if("function"==typeof window.CustomEvent)return new CustomEvent($e);var Fe=document.createEvent("CustomEvent");return Fe.initCustomEvent($e,!1,!1,void 0),Fe}function de($e,Fe,Ge,et,st){var Tt;if(void 0===et&&(et=!0),void 0===st&&(st=!1),"top"===Fe)Tt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Fe)throw new Error("A proper axis should be provided");Tt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function D($e,Fe,Ge,et,st){var Tt=Ge[0],mi=Ge[1],Kt=Ge[2],Pt=Ge[3],Xi=Ge[4],di=Ge[5];void 0===et&&(et=!0),void 0===st&&(st=!1);var fi=$e.element;$e.reach[Pt]=null,fi[Kt]<1&&($e.reach[Pt]="start"),fi[Kt]>$e[Tt]-$e[mi]-1&&($e.reach[Pt]="end"),Fe&&(fi.dispatchEvent(Te("ps-scroll-"+Pt)),Fe<0?fi.dispatchEvent(Te("ps-scroll-"+Xi)):Fe>0&&fi.dispatchEvent(Te("ps-scroll-"+di)),et&&function ie($e,Fe){J($e,Fe),ee($e,Fe)}($e,Pt)),$e.reach[Pt]&&(Fe||st)&&fi.dispatchEvent(Te("ps-"+Pt+"-reach-"+$e.reach[Pt]))}($e,Ge,Tt,et,st)}function n($e){return parseInt($e,10)||0}Me.prototype.eventElement=function(Fe){var Ge=this.eventElements.filter(function(et){return et.element===Fe})[0];return Ge||(Ge=new ge(Fe),this.eventElements.push(Ge)),Ge},Me.prototype.bind=function(Fe,Ge,et){this.eventElement(Fe).bind(Ge,et)},Me.prototype.unbind=function(Fe,Ge,et){var st=this.eventElement(Fe);st.unbind(Ge,et),st.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(st),1)},Me.prototype.unbindAll=function(){this.eventElements.forEach(function(Fe){return Fe.unbindAll()}),this.eventElements=[]},Me.prototype.once=function(Fe,Ge,et){var st=this.eventElement(Fe),Tt=function(mi){st.unbind(Ge,Tt),et(mi)};st.bind(Ge,Tt)};var h={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function C($e){var Fe=$e.element,Ge=Math.floor(Fe.scrollTop),et=Fe.getBoundingClientRect();$e.containerWidth=Math.round(et.width),$e.containerHeight=Math.round(et.height),$e.contentWidth=Fe.scrollWidth,$e.contentHeight=Fe.scrollHeight,Fe.contains($e.scrollbarXRail)||($(Fe,j.element.rail("x")).forEach(function(st){return W(st)}),Fe.appendChild($e.scrollbarXRail)),Fe.contains($e.scrollbarYRail)||($(Fe,j.element.rail("y")).forEach(function(st){return W(st)}),Fe.appendChild($e.scrollbarYRail)),!$e.settings.suppressScrollX&&$e.containerWidth+$e.settings.scrollXMarginOffset<$e.contentWidth?($e.scrollbarXActive=!0,$e.railXWidth=$e.containerWidth-$e.railXMarginWidth,$e.railXRatio=$e.containerWidth/$e.railXWidth,$e.scrollbarXWidth=k($e,n($e.railXWidth*$e.containerWidth/$e.contentWidth)),$e.scrollbarXLeft=n(($e.negativeScrollAdjustment+Fe.scrollLeft)*($e.railXWidth-$e.scrollbarXWidth)/($e.contentWidth-$e.containerWidth))):$e.scrollbarXActive=!1,!$e.settings.suppressScrollY&&$e.containerHeight+$e.settings.scrollYMarginOffset<$e.contentHeight?($e.scrollbarYActive=!0,$e.railYHeight=$e.containerHeight-$e.railYMarginHeight,$e.railYRatio=$e.containerHeight/$e.railYHeight,$e.scrollbarYHeight=k($e,n($e.railYHeight*$e.containerHeight/$e.contentHeight)),$e.scrollbarYTop=n(Ge*($e.railYHeight-$e.scrollbarYHeight)/($e.contentHeight-$e.containerHeight))):$e.scrollbarYActive=!1,$e.scrollbarXLeft>=$e.railXWidth-$e.scrollbarXWidth&&($e.scrollbarXLeft=$e.railXWidth-$e.scrollbarXWidth),$e.scrollbarYTop>=$e.railYHeight-$e.scrollbarYHeight&&($e.scrollbarYTop=$e.railYHeight-$e.scrollbarYHeight),function L($e,Fe){var Ge={width:Fe.railXWidth},et=Math.floor($e.scrollTop);Ge.left=Fe.isRtl?Fe.negativeScrollAdjustment+$e.scrollLeft+Fe.containerWidth-Fe.contentWidth:$e.scrollLeft,Fe.isScrollbarXUsingBottom?Ge.bottom=Fe.scrollbarXBottom-et:Ge.top=Fe.scrollbarXTop+et,y(Fe.scrollbarXRail,Ge);var st={top:et,height:Fe.railYHeight};Fe.isScrollbarYUsingRight?st.right=Fe.isRtl?Fe.contentWidth-(Fe.negativeScrollAdjustment+$e.scrollLeft)-Fe.scrollbarYRight-Fe.scrollbarYOuterWidth-9:Fe.scrollbarYRight-$e.scrollLeft:st.left=Fe.isRtl?Fe.negativeScrollAdjustment+$e.scrollLeft+2*Fe.containerWidth-Fe.contentWidth-Fe.scrollbarYLeft-Fe.scrollbarYOuterWidth:Fe.scrollbarYLeft+$e.scrollLeft,y(Fe.scrollbarYRail,st),y(Fe.scrollbarX,{left:Fe.scrollbarXLeft,width:Fe.scrollbarXWidth-Fe.railBorderXWidth}),y(Fe.scrollbarY,{top:Fe.scrollbarYTop,height:Fe.scrollbarYHeight-Fe.railBorderYWidth})}(Fe,$e),$e.scrollbarXActive?Fe.classList.add(j.state.active("x")):(Fe.classList.remove(j.state.active("x")),$e.scrollbarXWidth=0,$e.scrollbarXLeft=0,Fe.scrollLeft=!0===$e.isRtl?$e.contentWidth:0),$e.scrollbarYActive?Fe.classList.add(j.state.active("y")):(Fe.classList.remove(j.state.active("y")),$e.scrollbarYHeight=0,$e.scrollbarYTop=0,Fe.scrollTop=0)}function k($e,Fe){return $e.settings.minScrollbarLength&&(Fe=Math.max(Fe,$e.settings.minScrollbarLength)),$e.settings.maxScrollbarLength&&(Fe=Math.min(Fe,$e.settings.maxScrollbarLength)),Fe}function v($e,Fe){var Ge=Fe[0],et=Fe[1],st=Fe[2],Tt=Fe[3],mi=Fe[4],Kt=Fe[5],Pt=Fe[6],Xi=Fe[7],di=Fe[8],fi=$e.element,vn=null,Qi=null,Li=null;function Zi(it){it.touches&&it.touches[0]&&(it[st]=it.touches[0].pageY),fi[Pt]=vn+Li*(it[st]-Qi),J($e,Xi),C($e),it.stopPropagation(),it.type.startsWith("touch")&&it.changedTouches.length>1&&it.preventDefault()}function Qt(){ee($e,Xi),$e[di].classList.remove(j.state.clicking),$e.event.unbind($e.ownerDocument,"mousemove",Zi)}function Mt(it,ct){vn=fi[Pt],ct&&it.touches&&(it[st]=it.touches[0].pageY),Qi=it[st],Li=($e[et]-$e[Ge])/($e[Tt]-$e[Kt]),ct?$e.event.bind($e.ownerDocument,"touchmove",Zi):($e.event.bind($e.ownerDocument,"mousemove",Zi),$e.event.once($e.ownerDocument,"mouseup",Qt),it.preventDefault()),$e[di].classList.add(j.state.clicking),it.stopPropagation()}$e.event.bind($e[mi],"mousedown",function(it){Mt(it)}),$e.event.bind($e[mi],"touchstart",function(it){Mt(it,!0)})}var ze={"click-rail":function _($e){$e.event.bind($e.scrollbarY,"mousedown",function(Ge){return Ge.stopPropagation()}),$e.event.bind($e.scrollbarYRail,"mousedown",function(Ge){var et=Ge.pageY-window.pageYOffset-$e.scrollbarYRail.getBoundingClientRect().top;$e.element.scrollTop+=(et>$e.scrollbarYTop?1:-1)*$e.containerHeight,C($e),Ge.stopPropagation()}),$e.event.bind($e.scrollbarX,"mousedown",function(Ge){return Ge.stopPropagation()}),$e.event.bind($e.scrollbarXRail,"mousedown",function(Ge){var et=Ge.pageX-window.pageXOffset-$e.scrollbarXRail.getBoundingClientRect().left;$e.element.scrollLeft+=(et>$e.scrollbarXLeft?1:-1)*$e.containerWidth,C($e),Ge.stopPropagation()})},"drag-thumb":function r($e){v($e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),v($e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function V($e){var Fe=$e.element;$e.event.bind($e.ownerDocument,"keydown",function(Tt){if(!(Tt.isDefaultPrevented&&Tt.isDefaultPrevented()||Tt.defaultPrevented)&&(z(Fe,":hover")||z($e.scrollbarX,":focus")||z($e.scrollbarY,":focus"))){var mi=document.activeElement?document.activeElement:$e.ownerDocument.activeElement;if(mi){if("IFRAME"===mi.tagName)mi=mi.contentDocument.activeElement;else for(;mi.shadowRoot;)mi=mi.shadowRoot.activeElement;if(function c($e){return z($e,"input,[contenteditable]")||z($e,"select,[contenteditable]")||z($e,"textarea,[contenteditable]")||z($e,"button,[contenteditable]")}(mi))return}var Kt=0,Pt=0;switch(Tt.which){case 37:Kt=Tt.metaKey?-$e.contentWidth:Tt.altKey?-$e.containerWidth:-30;break;case 38:Pt=Tt.metaKey?$e.contentHeight:Tt.altKey?$e.containerHeight:30;break;case 39:Kt=Tt.metaKey?$e.contentWidth:Tt.altKey?$e.containerWidth:30;break;case 40:Pt=Tt.metaKey?-$e.contentHeight:Tt.altKey?-$e.containerHeight:-30;break;case 32:Pt=Tt.shiftKey?$e.containerHeight:-$e.containerHeight;break;case 33:Pt=$e.containerHeight;break;case 34:Pt=-$e.containerHeight;break;case 36:Pt=$e.contentHeight;break;case 35:Pt=-$e.contentHeight;break;default:return}$e.settings.suppressScrollX&&0!==Kt||$e.settings.suppressScrollY&&0!==Pt||(Fe.scrollTop-=Pt,Fe.scrollLeft+=Kt,C($e),function st(Tt,mi){var Kt=Math.floor(Fe.scrollTop);if(0===Tt){if(!$e.scrollbarYActive)return!1;if(0===Kt&&mi>0||Kt>=$e.contentHeight-$e.containerHeight&&mi<0)return!$e.settings.wheelPropagation}var Pt=Fe.scrollLeft;if(0===mi){if(!$e.scrollbarXActive)return!1;if(0===Pt&&Tt<0||Pt>=$e.contentWidth-$e.containerWidth&&Tt>0)return!$e.settings.wheelPropagation}return!0}(Kt,Pt)&&Tt.preventDefault())}})},wheel:function N($e){var Fe=$e.element;function Tt(mi){var Kt=function et(mi){var Kt=mi.deltaX,Pt=-1*mi.deltaY;return(typeof Kt>"u"||typeof Pt>"u")&&(Kt=-1*mi.wheelDeltaX/6,Pt=mi.wheelDeltaY/6),mi.deltaMode&&1===mi.deltaMode&&(Kt*=10,Pt*=10),Kt!=Kt&&Pt!=Pt&&(Kt=0,Pt=mi.wheelDelta),mi.shiftKey?[-Pt,-Kt]:[Kt,Pt]}(mi),Pt=Kt[0],Xi=Kt[1];if(!function st(mi,Kt,Pt){if(!h.isWebKit&&Fe.querySelector("select:focus"))return!0;if(!Fe.contains(mi))return!1;for(var Xi=mi;Xi&&Xi!==Fe;){if(Xi.classList.contains(j.element.consuming))return!0;var di=T(Xi);if(Pt&&di.overflowY.match(/(scroll|auto)/)){var fi=Xi.scrollHeight-Xi.clientHeight;if(fi>0&&(Xi.scrollTop>0&&Pt<0||Xi.scrollTop<fi&&Pt>0))return!0}if(Kt&&di.overflowX.match(/(scroll|auto)/)){var vn=Xi.scrollWidth-Xi.clientWidth;if(vn>0&&(Xi.scrollLeft>0&&Kt<0||Xi.scrollLeft<vn&&Kt>0))return!0}Xi=Xi.parentNode}return!1}(mi.target,Pt,Xi)){var di=!1;$e.settings.useBothWheelAxes?$e.scrollbarYActive&&!$e.scrollbarXActive?(Xi?Fe.scrollTop-=Xi*$e.settings.wheelSpeed:Fe.scrollTop+=Pt*$e.settings.wheelSpeed,di=!0):$e.scrollbarXActive&&!$e.scrollbarYActive&&(Pt?Fe.scrollLeft+=Pt*$e.settings.wheelSpeed:Fe.scrollLeft-=Xi*$e.settings.wheelSpeed,di=!0):(Fe.scrollTop-=Xi*$e.settings.wheelSpeed,Fe.scrollLeft+=Pt*$e.settings.wheelSpeed),C($e),di=di||function Ge(mi,Kt){var Pt=Math.floor(Fe.scrollTop),Xi=0===Fe.scrollTop,di=Pt+Fe.offsetHeight===Fe.scrollHeight,fi=0===Fe.scrollLeft,vn=Fe.scrollLeft+Fe.offsetWidth===Fe.scrollWidth;return!(Math.abs(Kt)>Math.abs(mi)?Xi||di:fi||vn)||!$e.settings.wheelPropagation}(Pt,Xi),di&&!mi.ctrlKey&&(mi.stopPropagation(),mi.preventDefault())}}typeof window.onwheel<"u"?$e.event.bind(Fe,"wheel",Tt):typeof window.onmousewheel<"u"&&$e.event.bind(Fe,"mousewheel",Tt)},touch:function ne($e){if(h.supportsTouch||h.supportsIePointer){var Fe=$e.element,st={},Tt=0,mi={},Kt=null;h.supportsTouch?($e.event.bind(Fe,"touchstart",di),$e.event.bind(Fe,"touchmove",vn),$e.event.bind(Fe,"touchend",Qi)):h.supportsIePointer&&(window.PointerEvent?($e.event.bind(Fe,"pointerdown",di),$e.event.bind(Fe,"pointermove",vn),$e.event.bind(Fe,"pointerup",Qi)):window.MSPointerEvent&&($e.event.bind(Fe,"MSPointerDown",di),$e.event.bind(Fe,"MSPointerMove",vn),$e.event.bind(Fe,"MSPointerUp",Qi)))}function et(Li,Zi){Fe.scrollTop-=Zi,Fe.scrollLeft-=Li,C($e)}function Pt(Li){return Li.targetTouches?Li.targetTouches[0]:Li}function Xi(Li){return!(Li.pointerType&&"pen"===Li.pointerType&&0===Li.buttons||!(Li.targetTouches&&1===Li.targetTouches.length||Li.pointerType&&"mouse"!==Li.pointerType&&Li.pointerType!==Li.MSPOINTER_TYPE_MOUSE))}function di(Li){if(Xi(Li)){var Zi=Pt(Li);st.pageX=Zi.pageX,st.pageY=Zi.pageY,Tt=(new Date).getTime(),null!==Kt&&clearInterval(Kt)}}function vn(Li){if(Xi(Li)){var Zi=Pt(Li),Qt={pageX:Zi.pageX,pageY:Zi.pageY},Mt=Qt.pageX-st.pageX,it=Qt.pageY-st.pageY;if(function fi(Li,Zi,Qt){if(!Fe.contains(Li))return!1;for(var Mt=Li;Mt&&Mt!==Fe;){if(Mt.classList.contains(j.element.consuming))return!0;var it=T(Mt);if(Qt&&it.overflowY.match(/(scroll|auto)/)){var ct=Mt.scrollHeight-Mt.clientHeight;if(ct>0&&(Mt.scrollTop>0&&Qt<0||Mt.scrollTop<ct&&Qt>0))return!0}if(Zi&&it.overflowX.match(/(scroll|auto)/)){var wt=Mt.scrollWidth-Mt.clientWidth;if(wt>0&&(Mt.scrollLeft>0&&Zi<0||Mt.scrollLeft<wt&&Zi>0))return!0}Mt=Mt.parentNode}return!1}(Li.target,Mt,it))return;et(Mt,it),st=Qt;var ct=(new Date).getTime(),wt=ct-Tt;wt>0&&(mi.x=Mt/wt,mi.y=it/wt,Tt=ct),function Ge(Li,Zi){var Qt=Math.floor(Fe.scrollTop),Mt=Fe.scrollLeft,it=Math.abs(Li),ct=Math.abs(Zi);if(ct>it){if(Zi<0&&Qt===$e.contentHeight-$e.containerHeight||Zi>0&&0===Qt)return 0===window.scrollY&&Zi>0&&h.isChrome}else if(it>ct&&(Li<0&&Mt===$e.contentWidth-$e.containerWidth||Li>0&&0===Mt))return!0;return!0}(Mt,it)&&Li.preventDefault()}}function Qi(){$e.settings.swipeEasing&&(clearInterval(Kt),Kt=setInterval(function(){$e.isInitialized?clearInterval(Kt):mi.x||mi.y?Math.abs(mi.x)<.01&&Math.abs(mi.y)<.01?clearInterval(Kt):$e.element?(et(30*mi.x,30*mi.y),mi.x*=.8,mi.y*=.8):clearInterval(Kt):clearInterval(Kt)},10))}}},qe=function(Fe,Ge){var et=this;if(void 0===Ge&&(Ge={}),"string"==typeof Fe&&(Fe=document.querySelector(Fe)),!Fe||!Fe.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var st in this.element=Fe,Fe.classList.add(j.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Ge)this.settings[st]=Ge[st];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var di,Xi,Tt=function(){return Fe.classList.add(j.state.focus)},mi=function(){return Fe.classList.remove(j.state.focus)};this.isRtl="rtl"===T(Fe).direction,!0===this.isRtl&&Fe.classList.add(j.rtl),this.isNegativeScroll=(Xi=Fe.scrollLeft,Fe.scrollLeft=-1,di=Fe.scrollLeft<0,Fe.scrollLeft=Xi,di),this.negativeScrollAdjustment=this.isNegativeScroll?Fe.scrollWidth-Fe.clientWidth:0,this.event=new Me,this.ownerDocument=Fe.ownerDocument||document,this.scrollbarXRail=F(j.element.rail("x")),Fe.appendChild(this.scrollbarXRail),this.scrollbarX=F(j.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Tt),this.event.bind(this.scrollbarX,"blur",mi),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Kt=T(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Kt.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=n(Kt.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=n(Kt.borderLeftWidth)+n(Kt.borderRightWidth),y(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=n(Kt.marginLeft)+n(Kt.marginRight),y(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=F(j.element.rail("y")),Fe.appendChild(this.scrollbarYRail),this.scrollbarY=F(j.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Tt),this.event.bind(this.scrollbarY,"blur",mi),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Pt=T(this.scrollbarYRail);this.scrollbarYRight=parseInt(Pt.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=n(Pt.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function m($e){var Fe=T($e);return n(Fe.width)+n(Fe.paddingLeft)+n(Fe.paddingRight)+n(Fe.borderLeftWidth)+n(Fe.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=n(Pt.borderTopWidth)+n(Pt.borderBottomWidth),y(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=n(Pt.marginTop)+n(Pt.marginBottom),y(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Fe.scrollLeft<=0?"start":Fe.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Fe.scrollTop<=0?"start":Fe.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Xi){return ze[Xi](et)}),this.lastScrollTop=Math.floor(Fe.scrollTop),this.lastScrollLeft=Fe.scrollLeft,this.event.bind(this.element,"scroll",function(Xi){return et.onScroll(Xi)}),C(this)};qe.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,y(this.scrollbarXRail,{display:"block"}),y(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=n(T(this.scrollbarXRail).marginLeft)+n(T(this.scrollbarXRail).marginRight),this.railYMarginHeight=n(T(this.scrollbarYRail).marginTop)+n(T(this.scrollbarYRail).marginBottom),y(this.scrollbarXRail,{display:"none"}),y(this.scrollbarYRail,{display:"none"}),C(this),de(this,"top",0,!1,!0),de(this,"left",0,!1,!0),y(this.scrollbarXRail,{display:""}),y(this.scrollbarYRail,{display:""}))},qe.prototype.onScroll=function(Fe){this.isAlive&&(C(this),de(this,"top",this.element.scrollTop-this.lastScrollTop),de(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},qe.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),W(this.scrollbarX),W(this.scrollbarY),W(this.scrollbarXRail),W(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},qe.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Fe){return!Fe.match(/^ps([-_].+|)$/)}).join(" ")};const Ke=qe;var se=function(){if(typeof Map<"u")return Map;function $e(Fe,Ge){var et=-1;return Fe.some(function(st,Tt){return st[0]===Ge&&(et=Tt,!0)}),et}return function(){function Fe(){this.__entries__=[]}return Object.defineProperty(Fe.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Fe.prototype.get=function(Ge){var et=$e(this.__entries__,Ge),st=this.__entries__[et];return st&&st[1]},Fe.prototype.set=function(Ge,et){var st=$e(this.__entries__,Ge);~st?this.__entries__[st][1]=et:this.__entries__.push([Ge,et])},Fe.prototype.delete=function(Ge){var et=this.__entries__,st=$e(et,Ge);~st&&et.splice(st,1)},Fe.prototype.has=function(Ge){return!!~$e(this.__entries__,Ge)},Fe.prototype.clear=function(){this.__entries__.splice(0)},Fe.prototype.forEach=function(Ge,et){void 0===et&&(et=null);for(var st=0,Tt=this.__entries__;st<Tt.length;st++){var mi=Tt[st];Ge.call(et,mi[1],mi[0])}},Fe}()}(),X=typeof window<"u"&&typeof document<"u"&&window.document===document,me=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),ce="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(me):function($e){return setTimeout(function(){return $e(Date.now())},1e3/60)},_e=["top","right","bottom","left","width","height","size","weight"],be=typeof MutationObserver<"u",pe=function(){function $e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function ke($e,Fe){var Ge=!1,et=!1,st=0;function Tt(){Ge&&(Ge=!1,$e()),et&&Kt()}function mi(){ce(Tt)}function Kt(){var Pt=Date.now();if(Ge){if(Pt-st<2)return;et=!0}else Ge=!0,et=!1,setTimeout(mi,Fe);st=Pt}return Kt}(this.refresh.bind(this),20)}return $e.prototype.addObserver=function(Fe){~this.observers_.indexOf(Fe)||this.observers_.push(Fe),this.connected_||this.connect_()},$e.prototype.removeObserver=function(Fe){var Ge=this.observers_,et=Ge.indexOf(Fe);~et&&Ge.splice(et,1),!Ge.length&&this.connected_&&this.disconnect_()},$e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},$e.prototype.updateObservers_=function(){var Fe=this.observers_.filter(function(Ge){return Ge.gatherActive(),Ge.hasActive()});return Fe.forEach(function(Ge){return Ge.broadcastActive()}),Fe.length>0},$e.prototype.connect_=function(){!X||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),be?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},$e.prototype.disconnect_=function(){!X||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},$e.prototype.onTransitionEnd_=function(Fe){var Ge=Fe.propertyName,et=void 0===Ge?"":Ge;_e.some(function(Tt){return!!~et.indexOf(Tt)})&&this.refresh()},$e.getInstance=function(){return this.instance_||(this.instance_=new $e),this.instance_},$e.instance_=null,$e}(),Ze=function($e,Fe){for(var Ge=0,et=Object.keys(Fe);Ge<et.length;Ge++){var st=et[Ge];Object.defineProperty($e,st,{value:Fe[st],enumerable:!1,writable:!1,configurable:!0})}return $e},_t=function($e){return $e&&$e.ownerDocument&&$e.ownerDocument.defaultView||me},at=rt(0,0,0,0);function pt($e){return parseFloat($e)||0}function Xt($e){for(var Fe=[],Ge=1;Ge<arguments.length;Ge++)Fe[Ge-1]=arguments[Ge];return Fe.reduce(function(et,st){return et+pt($e["border-"+st+"-width"])},0)}var He=function(){return typeof SVGGraphicsElement<"u"?function($e){return $e instanceof _t($e).SVGGraphicsElement}:function($e){return $e instanceof _t($e).SVGElement&&"function"==typeof $e.getBBox}}();function yt($e){return X?He($e)?function ue($e){var Fe=$e.getBBox();return rt(0,0,Fe.width,Fe.height)}($e):function Ie($e){var Fe=$e.clientWidth,Ge=$e.clientHeight;if(!Fe&&!Ge)return at;var et=_t($e).getComputedStyle($e),st=function ye($e){for(var Ge={},et=0,st=["top","right","bottom","left"];et<st.length;et++){var Tt=st[et];Ge[Tt]=pt($e["padding-"+Tt])}return Ge}(et),Tt=st.left+st.right,mi=st.top+st.bottom,Kt=pt(et.width),Pt=pt(et.height);if("border-box"===et.boxSizing&&(Math.round(Kt+Tt)!==Fe&&(Kt-=Xt(et,"left","right")+Tt),Math.round(Pt+mi)!==Ge&&(Pt-=Xt(et,"top","bottom")+mi)),!function Xe($e){return $e===_t($e).document.documentElement}($e)){var Xi=Math.round(Kt+Tt)-Fe,di=Math.round(Pt+mi)-Ge;1!==Math.abs(Xi)&&(Kt-=Xi),1!==Math.abs(di)&&(Pt-=di)}return rt(st.left,st.top,Kt,Pt)}($e):at}function rt($e,Fe,Ge,et){return{x:$e,y:Fe,width:Ge,height:et}}var Yt=function(){function $e(Fe){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=rt(0,0,0,0),this.target=Fe}return $e.prototype.isActive=function(){var Fe=yt(this.target);return this.contentRect_=Fe,Fe.width!==this.broadcastWidth||Fe.height!==this.broadcastHeight},$e.prototype.broadcastRect=function(){var Fe=this.contentRect_;return this.broadcastWidth=Fe.width,this.broadcastHeight=Fe.height,Fe},$e}(),Nt=function(){return function $e(Fe,Ge){var et=function Ye($e){var Fe=$e.x,Ge=$e.y,et=$e.width,st=$e.height,Tt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,mi=Object.create(Tt.prototype);return Ze(mi,{x:Fe,y:Ge,width:et,height:st,top:Ge,right:Fe+et,bottom:st+Ge,left:Fe}),mi}(Ge);Ze(this,{target:Fe,contentRect:et})}}(),Et=function(){function $e(Fe,Ge,et){if(this.activeObservations_=[],this.observations_=new se,"function"!=typeof Fe)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=Fe,this.controller_=Ge,this.callbackCtx_=et}return $e.prototype.observe=function(Fe){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(Fe instanceof _t(Fe).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ge=this.observations_;Ge.has(Fe)||(Ge.set(Fe,new Yt(Fe)),this.controller_.addObserver(this),this.controller_.refresh())}},$e.prototype.unobserve=function(Fe){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(Fe instanceof _t(Fe).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ge=this.observations_;Ge.has(Fe)&&(Ge.delete(Fe),Ge.size||this.controller_.removeObserver(this))}},$e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},$e.prototype.gatherActive=function(){var Fe=this;this.clearActive(),this.observations_.forEach(function(Ge){Ge.isActive()&&Fe.activeObservations_.push(Ge)})},$e.prototype.broadcastActive=function(){if(this.hasActive()){var Fe=this.callbackCtx_,Ge=this.activeObservations_.map(function(et){return new Nt(et.target,et.broadcastRect())});this.callback_.call(Fe,Ge,Fe),this.clearActive()}},$e.prototype.clearActive=function(){this.activeObservations_.splice(0)},$e.prototype.hasActive=function(){return this.activeObservations_.length>0},$e}(),Vt=typeof WeakMap<"u"?new WeakMap:new se,oe=function(){return function $e(Fe){if(!(this instanceof $e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ge=pe.getInstance(),et=new Et(Fe,Ge,this);Vt.set(this,et)}}();["observe","unobserve","disconnect"].forEach(function($e){oe.prototype[$e]=function(){var Fe;return(Fe=Vt.get(this))[$e].apply(Fe,arguments)}});const $t=typeof me.ResizeObserver<"u"?me.ResizeObserver:oe,zt=["*"];function Jt($e,Fe){if(1&$e&&(I.j41(0,"div",3),I.nrm(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),I.k0s()),2&$e){const Ge=I.XpG();I.AVh("ps-at-top",Ge.states.top)("ps-at-left",Ge.states.left)("ps-at-right",Ge.states.right)("ps-at-bottom",Ge.states.bottom),I.R7$(),I.AVh("ps-indicator-show",Ge.indicatorY&&Ge.interaction),I.R7$(),I.AVh("ps-indicator-show",Ge.indicatorX&&Ge.interaction),I.R7$(),I.AVh("ps-indicator-show",Ge.indicatorX&&Ge.interaction),I.R7$(),I.AVh("ps-indicator-show",Ge.indicatorY&&Ge.interaction)}}const St=new I.nKC("PERFECT_SCROLLBAR_CONFIG");class dt{constructor(Fe,Ge,et,st){this.x=Fe,this.y=Ge,this.w=et,this.h=st}}class Ae{constructor(Fe,Ge){this.x=Fe,this.y=Ge}}const we=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class he{constructor(Fe={}){this.assign(Fe)}assign(Fe={}){for(const Ge in Fe)this[Ge]=Fe[Ge]}}let q=(()=>{class $e{constructor(Ge,et,st,Tt,mi){this.zone=Ge,this.differs=et,this.elementRef=st,this.platformId=Tt,this.defaults=mi,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new e.B,this.disabled=!1,this.psScrollY=new I.bkB,this.psScrollX=new I.bkB,this.psScrollUp=new I.bkB,this.psScrollDown=new I.bkB,this.psScrollLeft=new I.bkB,this.psScrollRight=new I.bkB,this.psYReachEnd=new I.bkB,this.psYReachStart=new I.bkB,this.psXReachEnd=new I.bkB,this.psXReachStart=new I.bkB}ngOnInit(){if(!this.disabled&&(0,d.UE)(this.platformId)){const Ge=new he(this.defaults);Ge.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Ke(this.elementRef.nativeElement,Ge)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new $t(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{we.forEach(et=>{const st=et.replace(/([A-Z])/g,Tt=>`-${Tt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,st).pipe((0,S.Z)(20),(0,l.Q)(this.ngDestroy)).subscribe(Tt=>{this[et].emit(Tt)})})})}}ngOnDestroy(){(0,d.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,d.UE)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Ge){Ge.disabled&&!Ge.disabled.isFirstChange()&&(0,d.UE)(this.platformId)&&Ge.disabled.currentValue!==Ge.disabled.previousValue&&(!0===Ge.disabled.currentValue?this.ngOnDestroy():!1===Ge.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){typeof window<"u"&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch{}},0))}geometry(Ge="scroll"){return new dt(this.elementRef.nativeElement[Ge+"Left"],this.elementRef.nativeElement[Ge+"Top"],this.elementRef.nativeElement[Ge+"Width"],this.elementRef.nativeElement[Ge+"Height"])}position(Ge=!1){return!Ge&&this.instance?new Ae(this.instance.reach.x||0,this.instance.reach.y||0):new Ae(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Ge="any"){const et=this.elementRef.nativeElement;return"any"===Ge?et.classList.contains("ps--active-x")||et.classList.contains("ps--active-y"):"both"===Ge?et.classList.contains("ps--active-x")&&et.classList.contains("ps--active-y"):et.classList.contains("ps--active-"+Ge)}scrollTo(Ge,et,st){this.disabled||(null==et&&null==st?this.animateScrolling("scrollTop",Ge,st):(null!=Ge&&this.animateScrolling("scrollLeft",Ge,st),null!=et&&this.animateScrolling("scrollTop",et,st)))}scrollToX(Ge,et){this.animateScrolling("scrollLeft",Ge,et)}scrollToY(Ge,et){this.animateScrolling("scrollTop",Ge,et)}scrollToTop(Ge,et){this.animateScrolling("scrollTop",Ge||0,et)}scrollToLeft(Ge,et){this.animateScrolling("scrollLeft",Ge||0,et)}scrollToRight(Ge,et){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Ge||0),et)}scrollToBottom(Ge,et){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Ge||0),et)}scrollToElement(Ge,et,st){if("string"==typeof Ge&&(Ge=this.elementRef.nativeElement.querySelector(Ge)),Ge){const Tt=Ge.getBoundingClientRect(),mi=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Tt.left-mi.left+this.elementRef.nativeElement.scrollLeft+(et||0),st),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Tt.top-mi.top+this.elementRef.nativeElement.scrollTop+(et||0),st)}}animateScrolling(Ge,et,st){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!st||typeof window>"u")this.elementRef.nativeElement[Ge]=et;else if(et!==this.elementRef.nativeElement[Ge]){let Tt=0,mi=0,Kt=performance.now(),Pt=this.elementRef.nativeElement[Ge];const Xi=(Pt-et)/2,di=fi=>{mi+=Math.PI/(st/(fi-Kt)),Tt=Math.round(et+Xi+Xi*Math.cos(mi)),this.elementRef.nativeElement[Ge]===Pt&&(mi>=Math.PI?this.animateScrolling(Ge,et,0):(this.elementRef.nativeElement[Ge]=Tt,Pt=this.elementRef.nativeElement[Ge],Kt=fi,this.animation=window.requestAnimationFrame(di)))};window.requestAnimationFrame(di)}}}return $e.\u0275fac=function(Ge){return new(Ge||$e)(I.rXU(I.SKi),I.rXU(I.MKu),I.rXU(I.aKT),I.rXU(I.Agw),I.rXU(St,8))},$e.\u0275dir=I.FsC({type:$e,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:[0,"perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[I.OA$]}),$e})(),Re=(()=>{class $e{constructor(Ge,et,st){this.zone=Ge,this.cdRef=et,this.platformId=st,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new e.B,this.stateUpdate=new e.B,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new I.bkB,this.psScrollX=new I.bkB,this.psScrollUp=new I.bkB,this.psScrollDown=new I.bkB,this.psScrollLeft=new I.bkB,this.psScrollRight=new I.bkB,this.psYReachEnd=new I.bkB,this.psYReachStart=new I.bkB,this.psXReachEnd=new I.bkB,this.psXReachStart=new I.bkB}ngOnInit(){(0,d.UE)(this.platformId)&&(this.stateUpdate.pipe((0,l.Q)(this.ngDestroy),(0,x.F)((Ge,et)=>Ge===et&&!this.stateTimeout)).subscribe(Ge=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Ge||"y"===Ge?(this.interaction=!1,"x"===Ge?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Ge&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Ge||"right"===Ge?(this.states.left=!1,this.states.right=!1,this.states[Ge]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Ge||"bottom"===Ge)&&(this.states.top=!1,this.states.bottom=!1,this.states[Ge]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&typeof window<"u"&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const Ge=this.directiveRef.elementRef.nativeElement;(0,t.R)(Ge,"wheel").pipe((0,l.Q)(this.ngDestroy)).subscribe(et=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(et,et.deltaX,et.deltaY)}),(0,t.R)(Ge,"touchmove").pipe((0,l.Q)(this.ngDestroy)).subscribe(et=>{if(!this.disabled&&this.autoPropagation){const st=et.touches[0].clientX,Tt=et.touches[0].clientY;this.checkPropagation(et,st-this.scrollPositionX,Tt-this.scrollPositionY),this.scrollPositionX=st,this.scrollPositionY=Tt}}),(0,w.h)((0,t.R)(Ge,"ps-scroll-x").pipe((0,f.u)("x")),(0,t.R)(Ge,"ps-scroll-y").pipe((0,f.u)("y")),(0,t.R)(Ge,"ps-x-reach-end").pipe((0,f.u)("right")),(0,t.R)(Ge,"ps-y-reach-end").pipe((0,f.u)("bottom")),(0,t.R)(Ge,"ps-x-reach-start").pipe((0,f.u)("left")),(0,t.R)(Ge,"ps-y-reach-start").pipe((0,f.u)("top"))).pipe((0,l.Q)(this.ngDestroy)).subscribe(et=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(et)})}}),window.setTimeout(()=>{we.forEach(Ge=>{this.directiveRef&&(this.directiveRef[Ge]=this[Ge])})},0))}ngOnDestroy(){(0,d.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,d.UE)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Ge=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Ge.classList.contains("ps--active-x"),this.usePropagationY=Ge.classList.contains("ps--active-y")}}checkPropagation(Ge,et,st){this.interaction=!0;const Tt=et<0?-1:1,mi=st<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Tt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==mi))&&(Ge.preventDefault(),Ge.stopPropagation()),et&&(this.scrollDirectionX=Tt),st&&(this.scrollDirectionY=mi),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return $e.\u0275fac=function(Ge){return new(Ge||$e)(I.rXU(I.SKi),I.rXU(I.gRc),I.rXU(I.Agw))},$e.\u0275cmp=I.VBU({type:$e,selectors:[["perfect-scrollbar"]],viewQuery:function(Ge,et){if(1&Ge&&I.GBs(q,7),2&Ge){let st;I.mGM(st=I.lsd())&&(et.directiveRef=st.first)}},hostVars:4,hostBindings:function(Ge,et){2&Ge&&I.AVh("ps-show-limits",et.autoPropagation)("ps-show-active",et.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:zt,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Ge,et){1&Ge&&(I.NAR(),I.j41(0,"div",0)(1,"div",1),I.SdG(2),I.k0s(),I.DNE(3,Jt,5,16,"div",2),I.k0s()),2&Ge&&(I.AVh("ps",et.usePSClass),I.Y8G("perfectScrollbar",et.config)("disabled",et.disabled),I.R7$(3),I.Y8G("ngIf",et.scrollIndicators))},dependencies:[q,d.bT],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-width:0;min-height:0}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit}perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{position:absolute;opacity:0;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y,perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y,perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:linear-gradient(to bottom,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:linear-gradient(to top,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:linear-gradient(to right,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:linear-gradient(to left,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(to bottom,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(to top,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(to right,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(to left,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show{opacity:1}\n",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}\n"],encapsulation:2}),$e})(),gt=(()=>{class $e{}return $e.\u0275fac=function(Ge){return new(Ge||$e)},$e.\u0275mod=I.$C({type:$e}),$e.\u0275inj=I.G2t({imports:[[d.MD],d.MD]}),$e})()},467:(Qe,te,g)=>{"use strict";function e(w,S,l,x,f,I,d){try{var T=w[I](d),y=T.value}catch(F){return void l(F)}T.done?S(y):Promise.resolve(y).then(x,f)}function t(w){return function(){var S=this,l=arguments;return new Promise(function(x,f){var I=w.apply(S,l);function d(y){e(I,x,f,d,T,"next",y)}function T(y){e(I,x,f,d,T,"throw",y)}d(void 0)})}}g.d(te,{A:()=>t})},1635:(Qe,te,g)=>{"use strict";function l(r,v,V,N){var ze,ne=arguments.length,Ee=ne<3?v:null===N?N=Object.getOwnPropertyDescriptor(v,V):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ee=Reflect.decorate(r,v,V,N);else for(var qe=r.length-1;qe>=0;qe--)(ze=r[qe])&&(Ee=(ne<3?ze(Ee):ne>3?ze(v,V,Ee):ze(v,V))||Ee);return ne>3&&Ee&&Object.defineProperty(v,V,Ee),Ee}function F(r,v,V,N){return new(V||(V=Promise))(function(Ee,ze){function qe(X){try{se(N.next(X))}catch(me){ze(me)}}function Ke(X){try{se(N.throw(X))}catch(me){ze(me)}}function se(X){X.done?Ee(X.value):function ne(Ee){return Ee instanceof V?Ee:new V(function(ze){ze(Ee)})}(X.value).then(qe,Ke)}se((N=N.apply(r,v||[])).next())})}function ie(r){return this instanceof ie?(this.v=r,this):new ie(r)}function ge(r,v,V){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,N=V.apply(r,v||[]),Ee=[];return ne={},qe("next"),qe("throw"),qe("return",function ze(fe){return function(ke){return Promise.resolve(ke).then(fe,me)}}),ne[Symbol.asyncIterator]=function(){return this},ne;function qe(fe,ke){N[fe]&&(ne[fe]=function(mt){return new Promise(function(_e,be){Ee.push([fe,mt,_e,be])>1||Ke(fe,mt)})},ke&&(ne[fe]=ke(ne[fe])))}function Ke(fe,ke){try{!function se(fe){fe.value instanceof ie?Promise.resolve(fe.value.v).then(X,me):ce(Ee[0][2],fe)}(N[fe](ke))}catch(mt){ce(Ee[0][3],mt)}}function X(fe){Ke("next",fe)}function me(fe){Ke("throw",fe)}function ce(fe,ke){fe(ke),Ee.shift(),Ee.length&&Ke(Ee[0][0],Ee[0][1])}}function Me(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,v=r[Symbol.asyncIterator];return v?v.call(r):(r=function $(r){var v="function"==typeof Symbol&&Symbol.iterator,V=v&&r[v],N=0;if(V)return V.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&N>=r.length&&(r=void 0),{value:r&&r[N++],done:!r}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),V={},N("next"),N("throw"),N("return"),V[Symbol.asyncIterator]=function(){return this},V);function N(Ee){V[Ee]=r[Ee]&&function(ze){return new Promise(function(qe,Ke){!function ne(Ee,ze,qe,Ke){Promise.resolve(Ke).then(function(se){Ee({value:se,done:qe})},ze)}(qe,Ke,(ze=r[Ee](ze)).done,ze.value)})}}}g.d(te,{AQ:()=>ge,Cg:()=>l,N3:()=>ie,sH:()=>F,xN:()=>Me}),"function"==typeof SuppressedError&&SuppressedError},3219:Qe=>{"use strict";Qe.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"}}')},2951:Qe=>{"use strict";Qe.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"}}')},4589:Qe=>{"use strict";Qe.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"}')},3241:Qe=>{"use strict";Qe.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":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636:Qe=>{"use strict";Qe.exports={rE:"6.5.5"}},5579:Qe=>{"use strict";Qe.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"}')}},Qe=>{Qe(Qe.s=3471)}]); |